commit | 7e5dceb9db244d763db053176fe47ab335b8a65b | [log] [tgz] |
---|---|---|
author | Galia Kaufman <galiak@google.com> | Mon Mar 16 11:37:58 2020 |
committer | Galia Kaufman <galiak@google.com> | Mon Mar 16 11:37:58 2020 |
tree | 8e1d5e0d0bc4a6baaac421018814e2a9d0ad1cae | |
parent | c66e0c307c44f2f14ddadc149e48432e5ef12424 [diff] |
[Dialogs] Fix incorrect vertical layout for uppercase buttons Making sure layout subviews calculates content size based on the available size, not based on the size of the previous layout calculations. This fixes an issue in which the dialog unexpectedly changed vertical vs horizontal actions layout after the first layout pass (see b/137070719). PiperOrigin-RevId: 299735842
Material Components for iOS (MDC-iOS) helps developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional iOS apps. Learn more about how Material Components for iOS supports design and usability best practices across platforms in the Material Design Platform Adaptation guidelines.
Material Components for iOS are written in Objective-C and support Swift and Interface Builder.
CocoaPods is the easiest way to get started (if you're new to CocoaPods, check out their getting started documentation.)
To install CocoaPods, run the following commands:
sudo gem install cocoapods
Our catalog showcases Material Components. You can use the pod try
command from anywhere on your machine to try the components, even if you haven't checked out the repo yet:
pod try MaterialComponents
In case you have already checked out the repo, run the following command:
pod install --project-directory=catalog/
The component implementations can be found in Xcode within Pods > Development Pods > MaterialComponents
.
Material Components for iOS uses Material Design icons, copyright Google Inc. and licensed under CC BY 4.0.
Several components use MDFTextAccessibility, copyright Google Inc. and licensed under Apache 2.0 without a NOTICE file.
MDCCatalog uses the Roboto font, copyright 2011 Google Inc. and licensed under Apache 2.0 without a NOTICE file.