increased padding on image buttons on v21 to match material guidelines
This commit is contained in:
parent
93e942f96d
commit
92d14c4a00
|
@ -337,7 +337,7 @@
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:background="?android:selectableItemBackground"
|
android:background="?android:selectableItemBackground"
|
||||||
android:padding="8dp"
|
android:padding="@dimen/image_button_padding"
|
||||||
android:src="?attr/icon_copy"
|
android:src="?attr/icon_copy"
|
||||||
android:visibility="visible"
|
android:visibility="visible"
|
||||||
android:contentDescription="@string/copy_otr_clipboard_description"/>
|
android:contentDescription="@string/copy_otr_clipboard_description"/>
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:background="?android:selectableItemBackground"
|
android:background="?android:selectableItemBackground"
|
||||||
android:padding="8dp"
|
android:padding="@dimen/image_button_padding"
|
||||||
android:src="?attr/icon_edit_dark"/>
|
android:src="?attr/icon_edit_dark"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:background="?android:selectableItemBackground"
|
android:background="?android:selectableItemBackground"
|
||||||
android:padding="8dp"
|
android:padding="@dimen/image_button_padding"
|
||||||
android:src="?attr/icon_settings"/>
|
android:src="?attr/icon_settings"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:background="?android:selectableItemBackground"
|
android:background="?android:selectableItemBackground"
|
||||||
android:padding="8dp"
|
android:padding="@dimen/image_button_padding"
|
||||||
android:src="?attr/icon_remove"
|
android:src="?attr/icon_remove"
|
||||||
android:visibility="invisible" />
|
android:visibility="invisible" />
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<dimen name="elv_undo_bottom_offset">63dp</dimen> <!-- 48dp + 15dp -->
|
<dimen name="elv_undo_bottom_offset">63dp</dimen> <!-- 48dp + 15dp -->
|
||||||
|
<dimen name="image_button_padding">12dp</dimen>
|
||||||
</resources>
|
</resources>
|
|
@ -1,7 +1,8 @@
|
||||||
<resources>
|
<resources>
|
||||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||||
<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="conversations_overview_width">288dp</dimen>
|
||||||
|
<dimen name="image_button_padding">8dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue