|
@@ -1,71 +1,235 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@color/black"
|
|
|
android:orientation="vertical"
|
|
|
- tools:context=".Activity.InputPinActivity">
|
|
|
+ android:background="@color/black"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ >
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:background="#292929"
|
|
|
+ android:id="@+id/mEditLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="30dp">
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:layout_marginStart="5dp"
|
|
|
- android:layout_marginEnd="2dp"
|
|
|
- android:id="@+id/password"
|
|
|
- android:layout_gravity="center|start"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:layout_width="106dp"
|
|
|
- android:background="@null"
|
|
|
+ android:layout_height="32dp"
|
|
|
+ android:layout_marginTop="34dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text1"
|
|
|
+ android:layout_width="30dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:textSize="15sp"
|
|
|
- android:maxLines="1"
|
|
|
- android:lines="1"
|
|
|
- android:inputType="text"
|
|
|
+ android:background="#262626"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textFontWeight="600"
|
|
|
android:textColor="@color/white"
|
|
|
- tools:ignore="TextFields" />
|
|
|
- <FrameLayout
|
|
|
- android:id="@+id/check"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginEnd="2dp"
|
|
|
- android:layout_width="25dp"
|
|
|
- android:layout_height="25dp">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="25dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:background="#3A3A3A" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="16dp"
|
|
|
- android:layout_height="9dp"
|
|
|
+ android:textSize="18sp"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text2"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="2dp"
|
|
|
+ android:background="#262626"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textFontWeight="600"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="18sp"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text3"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="2dp"
|
|
|
+ android:background="#262626"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textFontWeight="600"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="18sp"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text4"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="2dp"
|
|
|
+ android:background="#262626"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textFontWeight="600"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="18sp"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
- android:src="@drawable/ic_keyboard_check" />
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/mLine1Layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_weight="1"
|
|
|
+ >
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button1"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="1"
|
|
|
+ android:tag="1" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button2"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="2"
|
|
|
+ android:tag="2" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button3"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="3"
|
|
|
+ android:tag="3" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </FrameLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/mLine2Layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_weight="1"
|
|
|
+ >
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button4"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="4"
|
|
|
+ android:tag="4" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button5"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="5"
|
|
|
+ android:tag="5" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button6"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="6"
|
|
|
+ android:tag="6" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/mLine3Layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_weight="1"
|
|
|
+ >
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button7"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="7"
|
|
|
+ android:tag="7" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button8"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="8"
|
|
|
+ android:tag="8" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button9"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="9"
|
|
|
+ android:tag="9" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <android.inputmethodservice.KeyboardView
|
|
|
- android:id="@+id/main_keyview"
|
|
|
- android:background="@color/black"
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/mLine4Layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="125dp"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
- android:keyBackground="@color/black"
|
|
|
- android:keyTextColor="@color/white"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:keyTextSize="14sp"
|
|
|
- android:labelTextSize="14sp"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- />
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ >
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/buttonBack"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:backgroundTint="@color/transparent"
|
|
|
+ android:src="@drawable/pin_delete"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:tag="100" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button0"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="#FBD460"
|
|
|
+ android:text="0"
|
|
|
+ android:tag="0" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/buttonOK"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textFontWeight="800"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:text="OK"
|
|
|
+ android:tag="101" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
-</RelativeLayout>
|
|
|
+</LinearLayout>
|