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:
@@ -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">
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user