]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/switch_item.xml
Migrate from Switch to SwitchMaterial
[mobile-ledger.git] / app / src / main / res / layout / switch_item.xml
index 5835f1440fa6376db14e3a21ade7be5d9e1dcf25..e11755d03a0d626f3aa1077a35060f19fb83bbc6 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-  ~ Copyright © 2019 Damyan Ivanov.
+  ~ Copyright © 2020 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
     android:layout_width="match_parent"
     android:layout_height="match_parent">
 
-    <Switch
+    <com.google.android.material.switchmaterial.SwitchMaterial
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_centerHorizontal="true"
-        android:layout_centerVertical="true" />
+        android:layout_centerVertical="true"
+        />
 </RelativeLayout>