5 Commits

Author SHA1 Message Date
Andrew Overton
bf5d5e1c1d
[Dialogs] Graduate Dialogs theming extensions to ready (#7190)
This PR updates the dialogs theming extensions to ready.

Closes #7163.
2019-04-23 11:28:02 -04:00
Andrew Overton
94e5a978d7
[Buttons] Graduate Buttons+Theming to ready (#7187)
This PR graduates the buttons theming extension to ready.

Closes #7158.
2019-04-19 13:57:00 -04:00
Yarden Eitan
5bed3961e6
[ContainerScheme] Graduate ContainerScheme to ready. (#7170)
This PR graduates ContainerScheme to ready.

This includes updating the podspecs, podfile, all the import statements related to ContainerScheme, updating .kokoro rewrite rules, and finally the readme to not have ContainerScheme regarded to as being in beta.

Ran locally kokoro with -b bazel successfully.

Resolves #6732
2019-04-18 09:25:02 -04:00
Robert Moore
95705a7b6f
[Dialogs] Fix Tall Font example (#7151)
Adds a background color (no longer completely transparent) to the example's
view and applies theming to the button and dialog.

|Before|After|
|----|----|
|![dialog-tall-before](https://user-images.githubusercontent.com/1753199/56212182-80a81180-6027-11e9-812c-ff92c52eb758.gif)|![dialog-tall-after](https://user-images.githubusercontent.com/1753199/56212189-856cc580-6027-11e9-85b1-cec11940cc90.gif)|

Follow-up to #7062
Closes #7148
2019-04-16 10:16:01 -04:00
Wenyu Zhang
8c407c22c4
[Dialogs] Layout MDC Dialogs correctly for tall fonts. (#7126)
Closes https://github.com/material-components/material-components-ios/issues/7062

Reference: cl/241537224

Layout MDC Dialogs correctly for tall fonts

The MDC Dialog layout code had some hard coded assumptions about the amount of vertical space to allocate for action buttons that were violated when using taller fonts such as Urdu with large Dynamic Type sizes.
There was also a related bug where vertical vs. horizontal action button layout was calculated in two different places.

Snapshot test before change:
<img width="569" alt="snapshot_test_goldens_goldens_64_MDCAlertControllerLocalizationSnapshotTests_testPreferredContentSizeWithNotoNastaliqUrdu_11_2@2x_Before_01dd7fb1a36bc24b27e05c1079c6420994c9f904" src="https://user-images.githubusercontent.com/8836258/56166158-dc7c8700-5fa2-11e9-8fa1-ed4dbfdc947b.png">

Snapshot test result after change:
<img width="569" alt="snapshot_test_goldens_goldens_64_MDCAlertControllerLocalizationSnapshotTests_testPreferredContentSizeWithNotoNastaliqUrdu_11_2@2x_After_78d3fd9172a202641400c0536a9c2e3a33b0455b" src="https://user-images.githubusercontent.com/8836258/56166182-e7371c00-5fa2-11e9-976e-4f9c93efc98f.png">


Example screenshot before change:
![Simulator Screen Shot - iPhone 7 - 2019-04-15 at 17 42 09](https://user-images.githubusercontent.com/8836258/56167426-1dc26600-5fa6-11e9-9d5f-180f7960f458.png)


Example screenshot after change:
![Simulator Screen Shot - iPhone 7 - 2019-04-15 at 17 43 58](https://user-images.githubusercontent.com/8836258/56167432-2024c000-5fa6-11e9-8e44-5a88b48425f2.png)
2019-04-15 19:26:55 -04:00