made swipe handle more unified and smaller across various screen sizes
This commit is contained in:
parent
cb203f5fd3
commit
b86dd584dc
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="@dimen/conversations_overview_width"
|
android:layout_width="match_parent"
|
||||||
|
android:layout_marginRight="@dimen/swipe_handle_size"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="?attr/color_background_primary"
|
android:background="?attr/color_background_primary"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
<resources>
|
|
||||||
<dimen name="conversations_overview_width">276dp</dimen>
|
|
||||||
</resources>
|
|
|
@ -1,3 +0,0 @@
|
||||||
<resources>
|
|
||||||
<dimen name="conversations_overview_width">304dp</dimen>
|
|
||||||
</resources>
|
|
|
@ -1,4 +1,6 @@
|
||||||
<resources>
|
<resources>
|
||||||
<dimen name="conversations_overview_width">336dp</dimen>
|
<!-- 384dp is the screen width of the Nexus 4. Something like a Moto G is smaller but a Nexus 5X is larger -->
|
||||||
|
<!-- https://material.io/devices/ -->
|
||||||
<dimen name="fineprint_size">12sp</dimen>
|
<dimen name="fineprint_size">12sp</dimen>
|
||||||
|
<dimen name="swipe_handle_size">48dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<resources>
|
<resources>
|
||||||
<dimen name="conversations_overview_width">416dp</dimen>
|
|
||||||
<dimen name="activity_horizontal_margin">32dp</dimen>
|
<dimen name="activity_horizontal_margin">32dp</dimen>
|
||||||
|
<dimen name="swipe_handle_size">72dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<dimen name="activity_horizontal_margin">8dp</dimen>
|
<dimen name="activity_horizontal_margin">8dp</dimen>
|
||||||
<dimen name="activity_vertical_margin">8dp</dimen>
|
<dimen name="activity_vertical_margin">8dp</dimen>
|
||||||
<dimen name="infocard_padding">16dp</dimen>
|
<dimen name="infocard_padding">16dp</dimen>
|
||||||
<dimen name="conversations_overview_width">288dp</dimen>
|
|
||||||
<dimen name="image_button_padding">8dp</dimen>
|
<dimen name="image_button_padding">8dp</dimen>
|
||||||
<dimen name="fineprint_size">11sp</dimen>
|
<dimen name="fineprint_size">11sp</dimen>
|
||||||
<dimen name="menu_item_icon_size">24dp</dimen>
|
<dimen name="menu_item_icon_size">24dp</dimen>
|
||||||
|
<dimen name="swipe_handle_size">24dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue