Change the buttons style to the buttons to material one in the backup_seed.xml and java source

This commit is contained in:
dtvv 2018-10-12 14:26:17 -05:00
parent ecfe5ce8e5
commit d3a55fae02
2 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="#868f96"
android:endColor="#596164"
android:angle="45"/>
</shape>

View file

@ -3,13 +3,14 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/lightGray"> android:background="@drawable/gradient_dark">
<TextView <TextView
android:id="@+id/tvPatternText" android:id="@+id/tvPatternText"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="@color/white"
android:layout_marginTop="15dp"/> android:layout_marginTop="15dp"/>
<com.andrognito.patternlockview.PatternLockView <com.andrognito.patternlockview.PatternLockView
@ -18,7 +19,8 @@
android:layout_height="280dp" android:layout_height="280dp"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_below="@+id/tvPatternText"/> android:layout_below="@+id/tvPatternText"
android:background="@drawable/gradient_dark"/>
</RelativeLayout> </RelativeLayout>