[android] Improve dimensions

Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste 2024-01-11 22:10:05 +01:00 committed by Alexander Borsuk
parent 42ee6c4afc
commit c3a6ac4882
3 changed files with 6 additions and 6 deletions

View file

@ -97,8 +97,8 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/share_button"
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_width="@dimen/place_page_top_button"
android:layout_height="@dimen/place_page_top_button"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/share"
android:insetLeft="0dp"
@ -115,8 +115,8 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/close_button"
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_width="@dimen/place_page_top_button"
android:layout_height="@dimen/place_page_top_button"
android:layout_marginStart="@dimen/margin_quarter"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/close"

View file

@ -44,7 +44,7 @@
<dimen name="place_page_width">320dp</dimen>
<dimen name="place_page_buttons_height">56dp</dimen>
<dimen name="place_page_top_button">36dp</dimen>
<dimen name="place_page_top_button">40dp</dimen>
<dimen name="downloader_status_size">40dp</dimen>
<dimen name="search_progress_size">32dp</dimen>

View file

@ -56,7 +56,7 @@
<dimen name="text_size_nav_street">17sp</dimen>
<dimen name="text_size_nav_next_turn">24sp</dimen>
<dimen name="text_size_nav_circle_exit">20sp</dimen>
<dimen name="text_size_nav_circle_exit">22sp</dimen>
<dimen name="text_size_nav_number">24sp</dimen>
<dimen name="text_size_nav_dimension">20sp</dimen>
<dimen name="text_size_nav_menu_number">28sp</dimen>