Material Buttons (draft)
[pub/Android/ownCloud.git] / res / layout / ssl_untrusted_cert_layout.xml
index 6a30c2e..2342a8a 100644 (file)
@@ -2,7 +2,7 @@
 <!-- 
     ownCloud Android client application
 
-    Copyright (C) 2012-2013 ownCloud Inc.
+    Copyright (C) 2015 ownCloud Inc.
 
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2,
@@ -21,6 +21,7 @@
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:gravity="center"
+       android:layout_margin="16dp"
     android:orientation="vertical" >
 
        <TextView
@@ -28,8 +29,8 @@
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="0"
+               android:paddingBottom="16dp"
                android:text="@string/ssl_validator_header"
-               android:padding="5dp"
                android:textAppearance="?android:attr/textAppearanceMedium"
                 />
     
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
                android:layout_weight="0"
-               android:padding="5dp"
+               android:paddingTop="16dp"
         android:text="@string/ssl_validator_question"
         android:textAppearance="?android:attr/textAppearanceMedium"
         >
        <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-               android:layout_weight="0"
         android:gravity="center" >
 
-        <Button
+               <android.support.v7.widget.AppCompatButton
             android:id="@+id/cancel"
+                       style="@style/ownCloud.Button"
             android:layout_width="0dp"
             android:layout_height="wrap_content"
             android:layout_weight="1"
             android:text="@string/common_cancel" />
 
-        <Button
+               <android.support.v7.widget.AppCompatButton
             android:id="@+id/details_btn"
+                       style="@style/ownCloud.Button"
             android:layout_width="0dp"
             android:layout_height="wrap_content"
             android:layout_weight="1"
             android:text="@string/ssl_validator_btn_details_see" />
 
-        <Button
+               <android.support.v7.widget.AppCompatButton
             android:id="@+id/ok"
+                       style="@style/ownCloud.Button"
             android:layout_width="0dp"
             android:layout_height="wrap_content"
             android:layout_weight="1"