Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bitfireAT/davx5-ose.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicki Hirner <hirner@bitfire.at>2022-10-11 11:09:10 +0300
committerRicki Hirner <hirner@bitfire.at>2022-10-11 11:15:01 +0300
commit31fb7ec190c67f95ab78a05802b26f7377817d46 (patch)
tree13de0970f7d3fec4aea225881aef13a91c27dda5
parent99710ca94e3af4f08809dd05bd54abc6dd14bd5d (diff)
CalDAV/CardDAV UI: replace checkbox by switch (bitfireAT/davx5#143)
Closes bitfireAT/davx5#142
-rw-r--r--app/src/main/res/layout/account_caldav_item.xml2
-rw-r--r--app/src/main/res/layout/account_carddav_item.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/res/layout/account_caldav_item.xml b/app/src/main/res/layout/account_caldav_item.xml
index a0496294..d39316e4 100644
--- a/app/src/main/res/layout/account_caldav_item.xml
+++ b/app/src/main/res/layout/account_caldav_item.xml
@@ -23,7 +23,7 @@
android:paddingBottom="4dp"
android:orientation="horizontal">
- <CheckBox
+ <com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/sync"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/layout/account_carddav_item.xml b/app/src/main/res/layout/account_carddav_item.xml
index a2abe824..bb64e6e3 100644
--- a/app/src/main/res/layout/account_carddav_item.xml
+++ b/app/src/main/res/layout/account_carddav_item.xml
@@ -10,7 +10,7 @@
android:paddingEnd="8dp"
android:gravity="center_vertical">
- <CheckBox
+ <com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/sync"
android:layout_width="wrap_content"
android:layout_height="wrap_content"