mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-30 19:23:30 +01:00
Fix android settings crash on API level 28 and lower
These API levels don't allow color selectors to be used as backgrounds. Switch to MaterialDivider and set the color via dividerColor instead of background.
This commit is contained in:
1 parent
465c652da1
commit
b5748b81d6
1 file changed
+4
-3
@@ -140,10 +140,11 @@
|
||||
|
||||
</com.google.android.material.appbar.MaterialToolbar>
|
||||
|
||||
<View
|
||||
<com.google.android.material.divider.MaterialDivider
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/settings_search_outline" />
|
||||
android:layout_height="wrap_content"
|
||||
app:dividerColor="@color/settings_search_outline"
|
||||
app:dividerThickness="1dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
Reference in new issue
Block a user