A bunch of minor RTL fixes

This commit is contained in:
Grishka 2023-10-11 00:49:40 +03:00
parent 4dea7d2a52
commit 84026afb92
10 changed files with 26 additions and 13 deletions

View File

@ -2,7 +2,8 @@
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
android:viewportHeight="24"
android:autoMirrored="true">
<path
android:fillColor="@android:color/white"
android:pathData="M10,17V7L15,12Z"/>

View File

@ -73,8 +73,9 @@
android:singleLine="true"
android:ellipsize="end"
android:textAppearance="@style/m3_body_medium"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textColor="?colorM3OnSurfaceVariant"
android:textAlignment="viewStart"
tools:text="9h ago · \@Gargron@mastodon.social"/>
</RelativeLayout>

View File

@ -15,7 +15,8 @@
android:layout_width="0dp"
android:layout_height="24dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAlignment="viewStart"
android:textAppearance="@style/m3_title_medium"
android:textColor="?colorM3OnSurface"
android:singleLine="true"

View File

@ -32,7 +32,8 @@
android:id="@+id/search_text"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAlignment="viewStart"
android:singleLine="true"
android:textColor="?colorM3OnSurfaceVariant"
android:textAppearance="@style/m3_body_large"

View File

@ -41,9 +41,10 @@
android:layout_marginStart="4dp"
android:singleLine="true"
android:ellipsize="end"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAppearance="@style/m3_body_medium"
android:textColor="?colorM3Secondary"
android:textAlignment="viewStart"
tools:text="\@user@server"/>
</LinearLayout>

View File

@ -32,7 +32,8 @@
android:layout_toStartOf="@id/radiobtn"
android:textAppearance="@style/m3_body_large"
android:textColor="?colorM3OnSurface"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAlignment="viewStart"
android:singleLine="true"
android:ellipsize="end"/>
@ -46,7 +47,8 @@
android:textColor="?colorM3OnSurfaceVariant"
android:textAppearance="@style/m3_body_medium"
android:singleLine="true"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAlignment="viewStart"
android:ellipsize="end"/>
</org.joinmastodon.android.ui.views.CheckableRelativeLayout>

View File

@ -7,11 +7,12 @@
android:paddingEnd="24dp"
android:drawablePadding="16dp"
android:maxLines="2"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAppearance="@style/m3_body_large"
android:textColor="?colorM3OnSurface"
android:drawableTint="?colorM3OnSurface"
android:ellipsize="end"
android:textAlignment="viewStart"
tools:text="Menu item">
</TextView>

View File

@ -22,9 +22,10 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="24dp"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAppearance="@style/m3_body_large"
android:textColor="?colorM3OnSurface"
android:textAlignment="viewStart"
tools:text="Title"/>
<TextView
@ -32,9 +33,10 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="20dp"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAppearance="@style/m3_body_medium"
android:textColor="?colorM3OnSurfaceVariant"
android:textAlignment="viewStart"
tools:text="Subtitle"/>
</LinearLayout>

View File

@ -15,7 +15,8 @@
android:layout_marginBottom="8dp"
android:textAppearance="@style/m3_headline_medium"
android:minHeight="36dp"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAlignment="viewStart"
android:textColor="?colorM3OnSurface"
tools:text="Title"/>
@ -26,7 +27,8 @@
android:textAppearance="@style/m3_title_medium"
android:textColor="?colorM3OnSurfaceVariant"
android:minHeight="24dp"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAlignment="viewStart"
tools:text="Subtitle"/>
</LinearLayout>

View File

@ -3,7 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="56dp"
android:gravity="center_vertical"
android:gravity="center_vertical|start"
android:textAlignment="viewStart"
android:textColor="?colorM3OnSurface"
android:textAppearance="@style/m3_body_large"
android:singleLine="true"