mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-24 08:28:58 -05:00
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
|
||||
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:background="?attr/color_background_primary"
|
||||
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>
|
||||
<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="swipe_handle_size">48dp</dimen>
|
||||
</resources>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<resources>
|
||||
<dimen name="conversations_overview_width">416dp</dimen>
|
||||
<dimen name="activity_horizontal_margin">32dp</dimen>
|
||||
<dimen name="swipe_handle_size">72dp</dimen>
|
||||
</resources>
|
||||
|
@ -3,8 +3,8 @@
|
||||
<dimen name="activity_horizontal_margin">8dp</dimen>
|
||||
<dimen name="activity_vertical_margin">8dp</dimen>
|
||||
<dimen name="infocard_padding">16dp</dimen>
|
||||
<dimen name="conversations_overview_width">288dp</dimen>
|
||||
<dimen name="image_button_padding">8dp</dimen>
|
||||
<dimen name="fineprint_size">11sp</dimen>
|
||||
<dimen name="menu_item_icon_size">24dp</dimen>
|
||||
<dimen name="swipe_handle_size">24dp</dimen>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user