Created buttons style to make them comply with Carbon's video

This commit is contained in:
Severiano Jaramillo 2018-01-16 11:56:49 -06:00
parent 312de0f74b
commit a0db8f8a4f
3 changed files with 16 additions and 14 deletions

View file

@ -23,8 +23,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
style="@style/Widget.Button"
android:text="@string/upgrade"
android:textStyle="bold"
android:textColor="@color/white"
@ -48,8 +47,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
style="@style/Widget.Button"
android:text="@string/import_"
android:textStyle="bold"
android:textColor="@color/white"
@ -73,8 +71,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
style="@style/Widget.Button"
android:text="@string/refresh"
android:textStyle="bold"
android:textColor="@color/white"
@ -98,8 +95,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
style="@style/Widget.Button"
android:text="@string/remove"
android:textStyle="bold"
android:textColor="@color/white"

View file

@ -23,8 +23,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
style="@style/Widget.Button"
android:text="@string/create_a_backup"
android:textStyle="bold"
android:textColor="@color/white"
@ -48,8 +47,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
style="@style/Widget.Button"
android:text="@string/view_and_copy"
android:textStyle="bold"
android:textColor="@color/white"
@ -73,8 +71,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
style="@style/Widget.Button"
android:text="@string/view_and_copy"
android:textStyle="bold"
android:textColor="@color/white"

View file

@ -102,4 +102,13 @@
<item name="android:windowEnterAnimation">@anim/accounts_in</item>
<item name="android:windowExitAnimation">@anim/accounts_out</item>
</style>
<style name="Widget.Button" parent="android:Widget.Button">
<item name="android:paddingTop">8dp</item>
<item name="android:paddingBottom">8dp</item>
<item name="android:paddingStart">16dp</item>
<item name="android:paddingEnd">16dp</item>
<item name="android:minHeight">16dp</item>
<item name="android:textAllCaps">true</item>
</style>
</resources>