From e2ce35c85e2c54b4c801ef24edfc468a546c335c Mon Sep 17 00:00:00 2001 From: Zeapo Date: Sat, 2 Aug 2014 18:56:36 +0100 Subject: improved the add button and other visual stuffs --- .../java/com/zeapo/pwdstore/crypto/PgpHandler.java | 2 +- app/src/main/res/drawable-xxhdpi/oval.xml | 37 ++++++++++++++++++ app/src/main/res/drawable-xxhdpi/rectangle.xml | 1 + app/src/main/res/layout/activity_pgp_handler.xml | 1 + app/src/main/res/layout/activity_pwdstore.xml | 44 +++++++--------------- 5 files changed, 54 insertions(+), 31 deletions(-) create mode 100644 app/src/main/res/drawable-xxhdpi/oval.xml (limited to 'app/src') diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java index c7504e69..198a2d9d 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java @@ -140,7 +140,7 @@ public class PgpHandler extends Activity { TextView extraText = (TextView) findViewById(R.id.crypto_extra_show); if (extraText.getText().length() != 0) - ((LinearLayout) findViewById(R.id.crypto_extra_show_layout)).setVisibility(View.VISIBLE); + ((LinearLayout) findViewById(R.id.crypto_extra_show_layout )).setVisibility(View.VISIBLE); this.pb = (ProgressBar) findViewById(R.id.pbLoading); this.pb.setVisibility(ProgressBar.VISIBLE); diff --git a/app/src/main/res/drawable-xxhdpi/oval.xml b/app/src/main/res/drawable-xxhdpi/oval.xml new file mode 100644 index 00000000..d2149d04 --- /dev/null +++ b/app/src/main/res/drawable-xxhdpi/oval.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable-xxhdpi/rectangle.xml b/app/src/main/res/drawable-xxhdpi/rectangle.xml index 67e169df..1f88f6df 100644 --- a/app/src/main/res/drawable-xxhdpi/rectangle.xml +++ b/app/src/main/res/drawable-xxhdpi/rectangle.xml @@ -6,6 +6,7 @@ android:dither="true"> + 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"/> + android:orientation="vertical"> - - - - - - + - + -- cgit v1.2.3