aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorZeapo <mohamed@zenadi.com>2014-08-02 23:23:43 +0100
committerZeapo <mohamed@zenadi.com>2014-08-02 23:23:43 +0100
commitd4380507b03479f9fd70d741d07e105c76ab3ea6 (patch)
treedc664ab7d10bd022e5eafe2d955373aa4a2795bd /app/src/main/res
parentcb8216b5878183005890a6deefde0797462de966 (diff)
improved ui for decrypt/encrypt
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/encrypt_layout.xml18
-rw-r--r--app/src/main/res/layout/fragment_password_list.xml2
2 files changed, 11 insertions, 9 deletions
diff --git a/app/src/main/res/layout/encrypt_layout.xml b/app/src/main/res/layout/encrypt_layout.xml
index 4efc049f..ca891d31 100644
--- a/app/src/main/res/layout/encrypt_layout.xml
+++ b/app/src/main/res/layout/encrypt_layout.xml
@@ -11,24 +11,26 @@
android:orientation="vertical"
android:background="#eee">
- <GridLayout
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rectangle"
android:orientation="horizontal">
<TextView
+ android:layout_gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="@android:color/holo_orange_dark"
- android:text="Large Text"
- android:id="@+id/crypto_password_file"
+ android:textStyle="bold"
+ android:text="Name: "/>
+
+ <EditText
android:layout_gravity="center_vertical"
- android:layout_marginLeft="8dp"
- android:layout_column="0"
- android:layout_row="0"/>
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textColor="@android:color/holo_orange_dark"/>
- </GridLayout>
+ </LinearLayout>
<LinearLayout
diff --git a/app/src/main/res/layout/fragment_password_list.xml b/app/src/main/res/layout/fragment_password_list.xml
index a2091272..64dd3d94 100644
--- a/app/src/main/res/layout/fragment_password_list.xml
+++ b/app/src/main/res/layout/fragment_password_list.xml
@@ -9,7 +9,7 @@
android:id="@+id/pass_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:dividerHeight="8dp"
+ android:dividerHeight="@dimen/activity_vertical_margin"
android:divider="@android:color/transparent"/>
</FrameLayout>