Use MD style for key trust toggle switch

Andreas Straub created

Change summary

src/main/res/layout/contact_key.xml | 2 +-
src/main/res/values/styles.xml      | 6 ------
2 files changed, 1 insertion(+), 7 deletions(-)

Detailed changes

src/main/res/layout/contact_key.xml 🔗

@@ -59,7 +59,7 @@
         android:layout_height="wrap_content"
         android:layout_alignParentRight="true"
         android:layout_centerVertical="true"
-        style="@style/MaterialDesignButton"/>
+        style="@style/MD"/>
 
     </RelativeLayout>
 </RelativeLayout>

src/main/res/values/styles.xml 🔗

@@ -18,10 +18,4 @@
         <item name="android:padding">16dp</item>
     </style>
 
-    <style name="MaterialDesignButton" parent="MD">
-        <item name="android:layout_width">wrap_content</item>
-        <item name="android:layout_height">wrap_content</item>
-        <item name="android:padding">16dp</item>
-    </style>
-
 </resources>