aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/password_row_layout.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/password_row_layout.xml')
-rw-r--r--app/src/main/res/layout/password_row_layout.xml94
1 files changed, 26 insertions, 68 deletions
diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml
index 05bf3457..3636a20b 100644
--- a/app/src/main/res/layout/password_row_layout.xml
+++ b/app/src/main/res/layout/password_row_layout.xml
@@ -1,71 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/front"
+ android:tag="front"
+ android:background="@drawable/rectangle"
+ android:layout_marginTop="8dp"
+ android:layout_marginBottom="8dp"
+ android:layout_gravity="start|center_vertical">
-
- <GridLayout
- android:id="@+id/back"
- android:orientation="horizontal"
- android:layout_width="match_parent"
+ <TextView
+ android:id="@+id/type"
+ android:text="TYPE"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:tag="back"
- android:background="@drawable/gray_rectangle"
- android:layout_gravity="left|center_vertical">
-
- <TextView
- android:id="@+id/label_back"
- android:text="FILE_NAME"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:padding="8dp"
- android:layout_column="0"/>
-
- <ImageButton
- android:id="@+id/crypto_delete_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ico_del"
- android:background="@drawable/red_rectangle"
- android:layout_gravity="center_vertical"
- android:layout_column="2"/>
-
- <ImageButton
- android:id="@+id/crypto_show_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ico_eye"
- android:background="@drawable/blue_rectangle"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="8dp"
- android:layout_column="3"/>
- </GridLayout>
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="fill_parent"
- android:id="@+id/front"
- android:tag="front"
- android:background="@android:color/white"
- android:layout_gravity="left|center_vertical">
-
- <TextView
- android:id="@+id/type"
- android:text="TYPE"
- android:layout_column="0"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="8dp"
- android:textStyle="bold"
- android:layout_gravity="center_vertical"
- />
- <TextView
- android:id="@+id/label"
- android:text="FILE_NAME"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:padding="8dp"/>
- </LinearLayout>
-</FrameLayout>
+ android:padding="8dp"
+ android:textStyle="bold"
+ android:layout_gravity="center_vertical"
+ />
+ <TextView
+ android:id="@+id/label"
+ android:text="FILE_NAME"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="8dp"/>
+</LinearLayout> \ No newline at end of file