aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-07-16 03:25:42 +0530
committerGitHub <noreply@github.com>2022-07-15 21:55:42 +0000
commita15ff1b137fa480120f9d0b670dd9d639294ed4d (patch)
tree4769a1b0019d41d0aab6b76a58b973285a06c57e /app/src/main/res
parent0695f42e07e2ce7c241c2ea2e954c843c324bd85 (diff)
Switch SettingsActivity to use Material3 Switch (#2006)
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/map_preference_widget_switch.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/layout/map_preference_widget_switch.xml b/app/src/main/res/layout/map_preference_widget_switch.xml
new file mode 100644
index 00000000..f06bd9bf
--- /dev/null
+++ b/app/src/main/res/layout/map_preference_widget_switch.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<com.google.android.material.materialswitch.MaterialSwitch xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/checkbox"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@null"
+ android:clickable="false"
+ android:focusable="false" />