mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-20 06:47:06 -04:00
Let buttons go all the way to the left, not just to the icon.
On languages with longer translations, there is not enough space to fit the relevant translations on a single line of the button. Fixes #937.
This commit is contained in:
@@ -125,8 +125,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/icon"
|
||||
android:layout_toEndOf="@id/icon"
|
||||
android:layout_toRightOf="@id/icon"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:clipToPadding="false"
|
||||
@@ -141,7 +141,7 @@
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="marquee"
|
||||
android:padding="12dp"
|
||||
tools:text="THIS IS BUTTON 1" />
|
||||
tools:text="Uninstall" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/primaryButtonView"
|
||||
@@ -152,7 +152,7 @@
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="marquee"
|
||||
tools:text="THIS IS 2" />
|
||||
tools:text="Run" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
Reference in New Issue
Block a user