diff options
author | Zeapo <mohamed@zenadi.com> | 2014-08-02 18:56:36 +0100 |
---|---|---|
committer | Zeapo <mohamed@zenadi.com> | 2014-08-02 18:56:36 +0100 |
commit | e2ce35c85e2c54b4c801ef24edfc468a546c335c (patch) | |
tree | a3a28b2c84c69348ca8e17d5b34f1e603364b481 /app/src/main/res/layout | |
parent | 280e662fc3f6df01088a1a615540289fc61db9cb (diff) |
improved the add button and other visual stuffs
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_pgp_handler.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_pwdstore.xml | 44 |
2 files changed, 15 insertions, 30 deletions
diff --git a/app/src/main/res/layout/activity_pgp_handler.xml b/app/src/main/res/layout/activity_pgp_handler.xml index 4fe6c529..ced0ec33 100644 --- a/app/src/main/res/layout/activity_pgp_handler.xml +++ b/app/src/main/res/layout/activity_pgp_handler.xml @@ -23,6 +23,7 @@ android:text="Large Text" android:id="@+id/crypto_password_file" android:layout_gravity="center_vertical" + android:layout_marginLeft="8dp" android:layout_column="0"/> <ImageButton diff --git a/app/src/main/res/layout/activity_pwdstore.xml b/app/src/main/res/layout/activity_pwdstore.xml index 66c5dedb..de559be0 100644 --- a/app/src/main/res/layout/activity_pwdstore.xml +++ b/app/src/main/res/layout/activity_pwdstore.xml @@ -1,4 +1,4 @@ -<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" @@ -14,35 +14,19 @@ android:id="@+id/main_layout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical" - android:layout_row="0"></LinearLayout> + android:orientation="vertical"></LinearLayout> - <GridLayout - android:id="@+id/bottom_layout" - android:orientation="horizontal" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:layout_row="2"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="@android:color/holo_orange_dark" - android:layout_gravity="center_vertical" - android:text="Large Text" - android:id="@+id/crypto_password_file" - android:background="#fff" - android:layout_marginBottom="@dimen/activity_vertical_margin"/> - <ImageButton - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@android:drawable/ic_input_add" - android:background="@drawable/rectangle" - android:layout_gravity="center_vertical" - android:onClick="createPassword" - android:layout_column="2"/> - - </GridLayout> + <ImageButton + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@android:drawable/ic_input_add" + android:background="@drawable/oval" + android:layout_gravity="center_vertical" + android:onClick="createPassword" + android:layout_column="2" + android:layout_alignParentBottom="true" + android:layout_alignRight="@+id/main_layout" + android:layout_alignEnd="@+id/main_layout" /> -</GridLayout> +</RelativeLayout> |