Adjust bottom sheet item height to material 3

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-02-07 14:41:32 +01:00
parent 86f2c563c3
commit bb1c82fbe7
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
3 changed files with 12 additions and 12 deletions

View file

@ -34,7 +34,7 @@
<TextView
android:id="@+id/upload"
android:layout_width="wrap_content"
android:layout_height="@dimen/headline_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:gravity="start|center_vertical"
android:text="@string/nc_add_file"
android:textAlignment="viewStart"
@ -44,7 +44,7 @@
<LinearLayout
android:id="@+id/menu_attach_contact"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
@ -75,7 +75,7 @@
<LinearLayout
android:id="@+id/menu_share_location"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
@ -106,7 +106,7 @@
<LinearLayout
android:id="@+id/menu_attach_picture_from_cam"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
@ -137,7 +137,7 @@
<LinearLayout
android:id="@+id/menu_attach_file_from_local"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
@ -168,7 +168,7 @@
<LinearLayout
android:id="@+id/menu_attach_file_from_cloud"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"

View file

@ -32,7 +32,7 @@
<TextView
android:id="@+id/upload"
android:layout_width="wrap_content"
android:layout_height="@dimen/headline_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:gravity="start|center_vertical"
android:text="@string/audio_output_dialog_headline"
android:textColor="@color/medium_emphasis_text_dark_background"
@ -41,7 +41,7 @@
<LinearLayout
android:id="@+id/audio_output_bluetooth"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
@ -72,7 +72,7 @@
<LinearLayout
android:id="@+id/audio_output_speaker"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
@ -103,7 +103,7 @@
<LinearLayout
android:id="@+id/audio_output_earspeaker"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
@ -134,7 +134,7 @@
<LinearLayout
android:id="@+id/audio_output_wired_headset"
android:layout_width="match_parent"
android:layout_height="@dimen/small_item_height"
android:layout_height="@dimen/bottom_sheet_item_height"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"

View file

@ -23,7 +23,7 @@
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="item_height">72dp</dimen>
<dimen name="headline_item_height">56dp</dimen>
<dimen name="bottom_sheet_item_height">56dp</dimen>
<dimen name="small_item_height">48dp</dimen>
<dimen name="min_size_clickable_area">48dp</dimen>