Increase action buttons size
This commit is contained in:
parent
a8617342c3
commit
8bed7c0856
|
@ -30,7 +30,6 @@
|
|||
android:id="@+id/main_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:orientation="vertical">
|
||||
|
@ -527,19 +526,15 @@
|
|||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/action_buttons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="28dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="48dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/action_button_reply"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_marginStart="6dp"
|
||||
style="@style/Widget.AppCompat.Button.ActionButton"
|
||||
android:adjustViewBounds="true"
|
||||
app:srcCompat="@drawable/ic_reply" />
|
||||
|
||||
|
@ -556,8 +551,8 @@
|
|||
|
||||
<com.varunest.sparkbutton.SparkButton
|
||||
android:id="@+id/action_button_boost"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:sparkbutton_activeImage="@drawable/ic_repeat"
|
||||
|
@ -569,8 +564,8 @@
|
|||
|
||||
<com.varunest.sparkbutton.SparkButton
|
||||
android:id="@+id/action_button_favorite"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:sparkbutton_activeImage="@drawable/ic_baseline_star_24"
|
||||
|
@ -596,23 +591,23 @@
|
|||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/status_add_custom_emoji"
|
||||
android:layout_width="28dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
android:layout_height="28dp"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:padding="3dp"
|
||||
android:src="@drawable/ic_baseline_emoji_emotions_24" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/status_emoji"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
android:layout_marginStart="6dp"
|
||||
|
@ -622,14 +617,12 @@
|
|||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/action_button_more"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
style="@style/Widget.AppCompat.Button.ActionButton"
|
||||
android:adjustViewBounds="true"
|
||||
app:srcCompat="@drawable/ic_more_horiz" />
|
||||
|
||||
|
|
|
@ -364,34 +364,27 @@
|
|||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/action_buttons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="28dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/action_button_reply"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
style="@style/Widget.AppCompat.Button.ActionButton"
|
||||
android:layout_marginStart="6dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:srcCompat="@drawable/ic_reply" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/action_button_favorite"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
style="@style/Widget.AppCompat.Button.ActionButton"
|
||||
android:layout_marginStart="12dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:srcCompat="@drawable/ic_star_outline" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/action_button_boost"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
style="@style/Widget.AppCompat.Button.ActionButton"
|
||||
android:layout_marginStart="12dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:srcCompat="@drawable/ic_repeat" />
|
||||
|
@ -404,9 +397,7 @@
|
|||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/action_button_more"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
style="@style/Widget.AppCompat.Button.ActionButton"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:srcCompat="@drawable/ic_more_horiz" />
|
||||
|
|
|
@ -197,4 +197,9 @@
|
|||
<item name="android:textColor">@color/cyanea_accent_dark_reference</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Button.ActionButton" parent="Widget.AppCompat.Button.Borderless">
|
||||
<item name="android:layout_width">40dp</item>
|
||||
<item name="android:layout_height">40dp</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue