-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Robin Duda
committed
Dec 2, 2018
1 parent
46f69cb
commit 35050b6
Showing
11 changed files
with
147 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@drawable/gradient"> | ||
android:layout_height="match_parent"> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,80 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:background="@drawable/gradient" | ||
android:layout_height="match_parent" | ||
android:layout_width="match_parent" | ||
android:windowSoftInputMode="adjustNothing" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<RelativeLayout | ||
<View | ||
android:id="@+id/center" | ||
android:layout_width="1dp" | ||
android:layout_height="1dp" | ||
android:layout_centerInParent="true" | ||
android:layout_centerHorizontal="true" | ||
android:layout_centerVertical="true" | ||
android:visibility="invisible" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/container" | ||
android:layout_width="wrap_content" | ||
android:layout_height="192dp" | ||
android:layout_alignParentStart="true" | ||
android:layout_centerVertical="true"> | ||
|
||
<ImageView | ||
android:id="@+id/fp_icon" | ||
android:layout_width="48dp" | ||
android:layout_height="48dp" | ||
android:layout_below="@+id/master_password_header" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginTop="128dp" | ||
android:scaleType="center" | ||
app:srcCompat="@drawable/baseline_fingerprint_24" /> | ||
|
||
<TextView | ||
android:id="@+id/master_password_header" | ||
android:layout_height="wrap_content" | ||
android:layout_alignBottom="@id/center" | ||
android:layout_centerVertical="true" | ||
android:layout_marginBottom="-64dp"> | ||
|
||
<RelativeLayout | ||
android:id="@+id/panel" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentTop="true" | ||
android:layout_centerHorizontal="true" | ||
android:text="@string/master_password_header" /> | ||
|
||
<com.google.android.material.textfield.TextInputLayout | ||
android:id="@+id/master_password_layout" | ||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="12dp" | ||
android:layout_marginTop="24dp" | ||
android:layout_marginRight="12dp" | ||
android:visibility="visible"> | ||
|
||
<com.google.android.material.textfield.TextInputEditText | ||
android:id="@+id/master_password" | ||
android:layout_height="192dp"> | ||
|
||
<ImageView | ||
android:id="@+id/fp_icon" | ||
android:layout_width="48dp" | ||
android:layout_height="48dp" | ||
android:layout_below="@+id/master_password_header" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginTop="128dp" | ||
android:scaleType="center" | ||
app:srcCompat="@drawable/baseline_fingerprint_24" /> | ||
|
||
<TextView | ||
android:id="@+id/master_password_header" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentTop="true" | ||
android:layout_centerHorizontal="true" | ||
android:text="@string/master_password_header" /> | ||
|
||
<com.google.android.material.textfield.TextInputLayout | ||
android:id="@+id/master_password_layout" | ||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:hint="@string/master_password_hint" | ||
android:inputType="textVisiblePassword" /> | ||
</com.google.android.material.textfield.TextInputLayout> | ||
|
||
<TextView | ||
android:id="@+id/fp_header" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentStart="true" | ||
android:layout_alignParentBottom="true" | ||
android:layout_marginStart="0dp" | ||
android:layout_marginTop="32dp" | ||
android:layout_marginBottom="64dp" | ||
android:text="@string/master_scan_fp_text" | ||
android:textAlignment="center" /> | ||
</RelativeLayout> | ||
android:layout_marginLeft="12dp" | ||
android:layout_marginTop="24dp" | ||
android:layout_marginRight="12dp" | ||
android:visibility="visible"> | ||
|
||
<com.google.android.material.textfield.TextInputEditText | ||
android:id="@+id/master_password" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:hint="@string/master_password_hint" | ||
android:inputType="textVisiblePassword" /> | ||
</com.google.android.material.textfield.TextInputLayout> | ||
|
||
<TextView | ||
android:id="@+id/fp_header" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentStart="true" | ||
android:layout_alignParentBottom="true" | ||
android:layout_marginStart="0dp" | ||
android:layout_marginTop="32dp" | ||
android:layout_marginBottom="64dp" | ||
android:text="@string/master_scan_fp_text" | ||
android:textAlignment="center" /> | ||
</RelativeLayout> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters