From e6ad605d1784886b8dd16af3db19f68f77a3ed0b Mon Sep 17 00:00:00 2001 From: knuthy Date: Fri, 15 Aug 2014 13:36:14 +0200 Subject: some improvements to decrypt ui --- .../main/res/drawable-xxhdpi/blue_rectangle.xml | 24 +++++++ app/src/main/res/drawable-xxhdpi/red_rectangle.xml | 2 +- app/src/main/res/layout/decrypt_layout.xml | 82 +++++++++++++--------- app/src/main/res/values/strings.xml | 3 + 4 files changed, 76 insertions(+), 35 deletions(-) create mode 100644 app/src/main/res/drawable-xxhdpi/blue_rectangle.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-xxhdpi/blue_rectangle.xml b/app/src/main/res/drawable-xxhdpi/blue_rectangle.xml new file mode 100644 index 00000000..61cb44f5 --- /dev/null +++ b/app/src/main/res/drawable-xxhdpi/blue_rectangle.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable-xxhdpi/red_rectangle.xml b/app/src/main/res/drawable-xxhdpi/red_rectangle.xml index b8e6a5d6..a6c48d0f 100644 --- a/app/src/main/res/drawable-xxhdpi/red_rectangle.xml +++ b/app/src/main/res/drawable-xxhdpi/red_rectangle.xml @@ -10,7 +10,7 @@ - + diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml index c1ae7c6c..e81f288b 100644 --- a/app/src/main/res/layout/decrypt_layout.xml +++ b/app/src/main/res/layout/decrypt_layout.xml @@ -1,12 +1,8 @@ - @@ -19,30 +15,59 @@ + android:background="@drawable/rectangle"> + + + android:layout_columnSpan="2" + android:layout_row="1"/> + + + + android:layout_column="4" + android:layout_row="0" + android:layout_rowSpan="2"/> @@ -53,6 +78,10 @@ android:layout_height="wrap_content" android:background="@drawable/rectangle" android:layout_marginTop="@dimen/activity_vertical_margin" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:paddingBottom="@dimen/activity_vertical_margin" android:visibility="invisible"> - - - + @@ -119,15 +144,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 51ebc463..9c874b12 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -26,5 +26,8 @@ Password Extra + + Category + -- cgit v1.2.3