mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-18 09:46:19 -06: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:
@@ -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