Fix UI crash in Asus 5.0 devices

Closes: #267 , #463 .
This is the same fix made by emv412 here: https://github.com/microg/android_external_MicroGUiTools/pull/11
This commit is contained in:
David 2021-10-15 16:03:41 +02:00 committed by Marvin W
parent a4a20dc87a
commit 925ce2ddd9
2 changed files with 2 additions and 3 deletions

View File

@ -44,8 +44,7 @@
android:layout_marginStart="72dp"
android:gravity="start"
android:textAlignment="viewStart"
android:textColor="?android:attr/textColorPrimaryInverse"
android:theme="@style/TextAppearance.AppCompat.Title.Inverse"/>
android:textColor="?android:attr/textColorPrimaryInverse"/>
</RelativeLayout>

View File

@ -29,7 +29,7 @@
android:ellipsize="end"
android:maxLines="2"
android:text="@string/v7_preference_on"
android:theme="@style/TextAppearance.AppCompat.Title.Inverse"/>
android:textAppearance="@style/TextAppearance.AppCompat.Title.Inverse"/>
<org.microg.tools.ui.ToggleSwitch
android:id="@+id/switch_widget"