Fix oversized icons and removed title line limit.

am: e6c38677a4

Change-Id: Ic97878c26ec49ee4632becfaffcb23d6d329e41e
This commit is contained in:
Michael Kwan
2016-10-17 23:23:40 +00:00
committed by android-build-merger
3 changed files with 3 additions and 1 deletions

View File

@@ -22,6 +22,7 @@
android:gravity="top|center_horizontal"
android:minHeight="@dimen/alert_dialog_title_height">
<ImageView android:id="@+id/icon"
android:adjustViewBounds="true"
android:maxHeight="24dp"
android:maxWidth="24dp"
android:layout_marginTop="8dp"

View File

@@ -21,6 +21,7 @@
android:gravity="top|center_horizontal"
android:minHeight="@dimen/alert_dialog_title_height">
<ImageView android:id="@+id/icon"
android:adjustViewBounds="true"
android:maxHeight="24dp"
android:maxWidth="24dp"
android:layout_marginTop="12dp"

View File

@@ -95,7 +95,7 @@ please see styles_device_defaults.xml.
</style>
<style name="DialogWindowTitle.Material">
<item name="maxLines">3</item>
<item name="maxLines">@empty</item>
<item name="scrollHorizontally">false</item>
<item name="textAppearance">@style/TextAppearance.Material.DialogWindowTitle</item>
<item name="gravity">@integer/config_dialogTextGravity</item>