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:
Peter Serwylo 2017-04-12 12:10:54 +10:00
parent c73a65656a
commit 3c1b66dcd1

View File

@ -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>