Apply a better view on the pattern screen activity_pattern_request.xml
This commit is contained in:
parent
f403ee22d4
commit
6606e8c238
1 changed files with 12 additions and 15 deletions
|
@ -1,18 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:background="@color/colorPrimary">
|
||||
<com.andrognito.patternlockview.PatternLockView
|
||||
android:id="@+id/patternLockView"
|
||||
android:layout_width="280dp"
|
||||
android:layout_height="280dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/gradient">
|
||||
|
||||
<com.andrognito.patternlockview.PatternLockView
|
||||
android:id="@+id/patternLockView"
|
||||
android:layout_width="280dp"
|
||||
android:layout_height="280dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/gradient"/>
|
||||
|
||||
</RelativeLayout>
|
Loading…
Reference in a new issue