Make titles and subtitles align properly in RTL
This is just a cosmetic fix to make the RTL layout look like the normal LTR one. It is, effectively, making non-RTL text be aligned to the right. I suppose that's fine, for the sake of making it readable since we don't want it aligned to the left, breaking the layout.
This commit is contained in:
parent
8b823cdf59
commit
31aa3fcf30
@ -49,6 +49,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:layout_toStartOf="@id/license" />
|
android:layout_toStartOf="@id/license" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -70,6 +71,7 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:layout_toStartOf="@id/categories"
|
android:layout_toStartOf="@id/categories"
|
||||||
android:layout_below="@id/title" />
|
android:layout_below="@id/title" />
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:layout_toStartOf="@id/status" />
|
android:layout_toStartOf="@id/status" />
|
||||||
|
|
||||||
<TextView android:id="@+id/license"
|
<TextView android:id="@+id/license"
|
||||||
@ -64,6 +65,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/name"
|
android:layout_below="@id/name"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:layout_toStartOf="@id/license" />
|
android:layout_toStartOf="@id/license" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user