mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-08 13:27:57 +00:00
[android] Migrate bottomsheet to Material components
Signed-off-by: Jean-Baptiste Charron <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
committed by
Harry Bond
parent
59fe3c08ab
commit
1e35bdaa0e
@@ -13,7 +13,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/bottomSheetTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:layout_marginTop="@dimen/margin_quarter"
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
android:background="?clickableBackground"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/bottom_sheet_menu_item_icon"
|
||||
android:layout_width="@dimen/bookmark_icon_size"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
tools:src="@drawable/ic_menu_download"
|
||||
app:tint="?android:textColorSecondary"/>
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/bottom_sheet_menu_item_text"
|
||||
android:textAppearance="@style/MwmTextAppearance.Body1"
|
||||
android:layout_width="0dp"
|
||||
@@ -29,7 +29,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
tools:text="Menu Item" />
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/bottom_sheet_menu_item_badge"
|
||||
style="@style/MwmWidget.Counter"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
|
||||
Reference in New Issue
Block a user