Enlarged the touch areas of status action buttons slightly.
This commit is contained in:
parent
2e45a0bbff
commit
ea7f666062
1 changed files with 11 additions and 8 deletions
|
@ -243,14 +243,14 @@
|
||||||
android:layout_toRightOf="@+id/status_avatar"
|
android:layout_toRightOf="@+id/status_avatar"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:paddingBottom="8dp"
|
android:paddingBottom="2dp">
|
||||||
android:paddingTop="6dp">
|
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
app:srcCompat="@drawable/ic_reply_24dp"
|
app:srcCompat="@drawable/ic_reply_24dp"
|
||||||
android:id="@+id/status_reply"
|
android:id="@+id/status_reply"
|
||||||
android:layout_width="32dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="32dp"
|
android:layout_height="40dp"
|
||||||
|
android:padding="4dp"
|
||||||
style="?attr/image_button_style"
|
style="?attr/image_button_style"
|
||||||
android:contentDescription="@string/action_reply" />
|
android:contentDescription="@string/action_reply" />
|
||||||
|
|
||||||
|
@ -267,8 +267,9 @@
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
app:sparkbutton_primaryColor="@color/status_reblog_button_marked_dark"
|
app:sparkbutton_primaryColor="@color/status_reblog_button_marked_dark"
|
||||||
app:sparkbutton_secondaryColor="@color/status_reblog_button_marked_light"
|
app:sparkbutton_secondaryColor="@color/status_reblog_button_marked_light"
|
||||||
android:layout_width="32dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="32dp"
|
android:layout_height="40dp"
|
||||||
|
android:padding="4dp"
|
||||||
android:contentDescription="@string/action_reblog" />
|
android:contentDescription="@string/action_reblog" />
|
||||||
|
|
||||||
<Space
|
<Space
|
||||||
|
@ -277,8 +278,8 @@
|
||||||
android:layout_weight="1" />
|
android:layout_weight="1" />
|
||||||
|
|
||||||
<com.varunest.sparkbutton.SparkButton
|
<com.varunest.sparkbutton.SparkButton
|
||||||
android:layout_width="32dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="32dp"
|
android:layout_height="40dp"
|
||||||
app:sparkbutton_activeImage="?attr/status_favourite_active_drawable"
|
app:sparkbutton_activeImage="?attr/status_favourite_active_drawable"
|
||||||
app:sparkbutton_inActiveImage="?attr/status_favourite_inactive_drawable"
|
app:sparkbutton_inActiveImage="?attr/status_favourite_inactive_drawable"
|
||||||
app:sparkbutton_iconSize="28dp"
|
app:sparkbutton_iconSize="28dp"
|
||||||
|
@ -286,6 +287,7 @@
|
||||||
app:sparkbutton_primaryColor="@color/status_favourite_button_marked_dark"
|
app:sparkbutton_primaryColor="@color/status_favourite_button_marked_dark"
|
||||||
app:sparkbutton_secondaryColor="@color/status_favourite_button_marked_light"
|
app:sparkbutton_secondaryColor="@color/status_favourite_button_marked_light"
|
||||||
android:id="@+id/status_favourite"
|
android:id="@+id/status_favourite"
|
||||||
|
android:padding="4dp"
|
||||||
android:contentDescription="@string/action_favourite" />
|
android:contentDescription="@string/action_favourite" />
|
||||||
|
|
||||||
<Space
|
<Space
|
||||||
|
@ -298,6 +300,7 @@
|
||||||
android:id="@+id/status_more"
|
android:id="@+id/status_more"
|
||||||
android:layout_width="32dp"
|
android:layout_width="32dp"
|
||||||
android:layout_height="32dp"
|
android:layout_height="32dp"
|
||||||
|
android:padding="4dp"
|
||||||
style="?attr/image_button_style"
|
style="?attr/image_button_style"
|
||||||
android:contentDescription="@string/action_more" />
|
android:contentDescription="@string/action_more" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue