scale button size on compose activity
This commit is contained in:
parent
48205c8ace
commit
1636f60636
|
@ -128,6 +128,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:padding="5dp"
|
||||
android:text="@string/cw"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_gravity="center"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="50dp"
|
||||
|
|
|
@ -103,8 +103,8 @@
|
|||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/toot_select_image"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@string/toot_select_image"
|
||||
android:src="@drawable/ic_insert_photo" />
|
||||
<ImageButton
|
||||
android:id="@+id/poll_action"
|
||||
|
@ -112,6 +112,7 @@
|
|||
android:scaleType="centerCrop"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:adjustViewBounds="true"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:src="@drawable/ic_view_list_poll"
|
||||
android:contentDescription="@string/poll" />
|
||||
|
@ -120,6 +121,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:id="@+id/toot_visibility"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
|
@ -131,8 +133,9 @@
|
|||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:scaleType="fitXY"
|
||||
android:layout_gravity="center"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:padding="2dp"
|
||||
|
@ -145,6 +148,7 @@
|
|||
android:layout_height="45dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="5dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:contentDescription="@string/emoji_picker"
|
||||
android:minWidth="0dp"
|
||||
|
|
Loading…
Reference in New Issue