Fix layout height for suggestion tile.

- set minHeight instead of using a fix height, so that when the
font/display size is set to larger, the height will expand accordingly
to fit all elements in the suggestion card.

- revert the change that tint all suggestion icons. The previous logic
should be used to determine if we should tint the icon or not.

Change-Id: I2451490130cee216ff65301a600eb91d2e65c321
Fixes: 74261827
Test: visual and make RunSettingsRoboTests
This commit is contained in:
Doris Ling
2018-03-07 15:04:11 -08:00
parent d9eba6b856
commit 8f5773b834
4 changed files with 34 additions and 4 deletions

View File

@@ -29,7 +29,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="112dp"
android:layout_height="wrap_content"
android:minHeight="112dp"
android:paddingBottom="8dp"
android:orientation="vertical">

View File

@@ -29,7 +29,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="160dp"
android:layout_height="wrap_content"
android:minHeight="160dp"
android:orientation="vertical">
<RelativeLayout