Fix max height for settings_entity_header
If user uses <include> tag to include settings_entity_header in layout XML, it will take up all the screen and nothing below it is shown. The reason is layout_height of two button views in settings_entity_header is match_parent. So we simply changed it to wrap_content. Test: visual test, robotest Change-Id: Ib73382ab26b485bf6b993fb0d308e4b943f5a0a7 Fixes: 120884132
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
Reference in New Issue
Block a user