Fix #5165
This commit is contained in:
parent
51e0d34707
commit
1ad3b0b7d5
2 changed files with 66 additions and 54 deletions
|
@ -2,9 +2,9 @@
|
|||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="@dimen/grid_menu_item_width"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/bottom_sheet_content_padding_small"
|
||||
android:paddingRight="@dimen/bottom_sheet_content_padding_small"
|
||||
|
@ -15,9 +15,8 @@
|
|||
android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="@dimen/grid_menu_item_bottom_top_margin"
|
||||
android:layout_marginLeft="@dimen/grid_menu_item_sides_margin"
|
||||
android:layout_marginRight="@dimen/grid_menu_item_sides_margin"
|
||||
android:layout_marginTop="@dimen/grid_menu_item_bottom_top_margin"
|
||||
tools:src="@drawable/ic_action_delete_dark"
|
||||
tools:tint="#808080"/>
|
||||
|
|
|
@ -5,29 +5,42 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingTop="@dimen/bottom_sheet_content_padding_small">
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.25"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/first_item_container"
|
||||
android:layout_width="@dimen/grid_menu_item_width"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="3"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="0.5"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/second_item_container"
|
||||
android:layout_width="@dimen/grid_menu_item_width"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="3"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="0.5"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/third_item_container"
|
||||
android:layout_width="@dimen/grid_menu_item_width"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="3"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.25"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in a new issue