[android] Improve edit bookmark button on the place page

Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2025-10-19 20:49:30 +02:00
parent 6d774667c5
commit b5d65a0f78
4 changed files with 5 additions and 20 deletions

View File

@@ -18,16 +18,6 @@
android:textAppearance="?android:attr/textAppearance"
tools:text="Long, long text Long, long text Long, long text Long, long text Long, long text Long, long text "/>
<com.google.android.material.textview.MaterialTextView
android:id="@+id/tv__bookmark_edit"
style="@style/PlacePageMetadataText.Button"
android:gravity="center"
android:layout_height="@dimen/height_block_base"
android:background="?clickableBackground"
android:paddingEnd="@dimen/margin_base"
android:paddingStart="@dimen/margin_base"
android:text="@string/placepage_edit_bookmark_button"/>
<include
layout="@layout/divider_horizontal"/>
</LinearLayout>

View File

@@ -217,17 +217,14 @@
android:background="?clickableBackground"
android:textAllCaps="false"
tools:text="@string/categories" />
<com.google.android.material.imageview.ShapeableImageView
<com.google.android.material.button.MaterialButton
android:id="@+id/edit_Bookmark"
style="@style/MwmWidget.Editor.MetadataIcon"
style="@style/MwmWidget.M3.Button.Secondary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="@dimen/margin_base"
android:background="?clickableBackground"
android:clickable="true"
android:focusable="true"
android:src="@drawable/ic_edit" />
android:text="@string/edit"
app:icon="@drawable/ic_edit" />
</LinearLayout>
<androidx.fragment.app.FragmentContainerView
android:id="@+id/place_page_bookmark_fragment"