Apply a better view on the pattern screen activity_pattern_request.xml

This commit is contained in:
dtvv 2018-10-12 14:01:15 -05:00
parent f403ee22d4
commit 6606e8c238

View file

@ -1,18 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?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_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical"
<LinearLayout android:background="@drawable/gradient">
android:layout_width="match_parent"
android:layout_height="wrap_content" <com.andrognito.patternlockview.PatternLockView
android:layout_weight="1" android:id="@+id/patternLockView"
android:gravity="center" android:layout_width="280dp"
android:padding="5dp" android:layout_height="280dp"
android:background="@color/colorPrimary"> android:layout_centerInParent="true"
<com.andrognito.patternlockview.PatternLockView android:background="@drawable/gradient"/>
android:id="@+id/patternLockView"
android:layout_width="280dp" </RelativeLayout>
android:layout_height="280dp" />
</LinearLayout>
</LinearLayout>