Simplify android:gravity in two layouts

The "Inspect Code" linter complained that these two files
had Right-to-left text compatibility issues. I couldn't
really see any problems neither in English nor in Hebrew,
but the linter's suggestion still made sense, so I cleaned it up.

This fixes all the errors of the type
"Android Lint: Internationalization / Right-to-left text compatibility issues".
This commit is contained in:
Amir E. Aharoni 2025-10-14 20:58:03 -04:00
parent 2e52adbef8
commit f964559138
2 changed files with 2 additions and 5 deletions

View file

@ -22,9 +22,8 @@
android:id="@+id/tv_review_question"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:gravity="center"
tools:text="testing1"
android:textAlignment="center"
android:textColor="?attr/reviewHeading"
android:textSize="32sp"/>
@ -33,9 +32,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/filter_padding"
android:gravity="center_vertical"
android:gravity="center"
tools:text="testing2"
android:textAlignment="center"
android:textSize="22sp"/>
</LinearLayout>

View file

@ -35,7 +35,6 @@
android:layout_height="wrap_content"
android:id="@+id/appwidget_title"
android:textAlignment="center"
android:layout_gravity="bottom"
android:textColor="@color/white"
android:layout_marginTop="@dimen/filter_padding"
android:layout_marginStart="@dimen/tiny_padding"