Skip to content

Commit 925ce2d

Browse files
Davidmar-v-in
authored andcommitted
Fix UI crash in Asus 5.0 devices
Closes: #267 , #463 . This is the same fix made by emv412 here: microg/android_external_MicroGUiTools#11
1 parent a4a20dc commit 925ce2d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

play-services-core/microg-ui-tools/src/main/res/layout/app_bar.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
android:layout_marginStart="72dp"
4545
android:gravity="start"
4646
android:textAlignment="viewStart"
47-
android:textColor="?android:attr/textColorPrimaryInverse"
48-
android:theme="@style/TextAppearance.AppCompat.Title.Inverse"/>
47+
android:textColor="?android:attr/textColorPrimaryInverse"/>
4948

5049
</RelativeLayout>
5150

play-services-core/microg-ui-tools/src/main/res/layout/switch_bar.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
android:ellipsize="end"
3030
android:maxLines="2"
3131
android:text="@string/v7_preference_on"
32-
android:theme="@style/TextAppearance.AppCompat.Title.Inverse"/>
32+
android:textAppearance="@style/TextAppearance.AppCompat.Title.Inverse"/>
3333

3434
<org.microg.tools.ui.ToggleSwitch
3535
android:id="@+id/switch_widget"

0 commit comments

Comments
 (0)