From 6cd81f593cf07e9a53bbcbfad5c4c5240a8f3dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Crupeshshandilya=E2=80=9D?= <“rupeshkshandilya@gmail.com”> Date: Wed, 5 Apr 2023 09:55:15 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style(activity=5Fencryption.xml)?= =?UTF-8?q?:=20improve=20layout=20design=20This=20commit=20adds=20new=20fi?= =?UTF-8?q?les=20and=20modifies=20the=20existing=20activity=5Fencryption.x?= =?UTF-8?q?ml=20file=20to=20improve=20the=20layout=20design=20of=20the=20E?= =?UTF-8?q?ncryptionActivity.=20The=20changes=20include=20adding=20a=20new?= =?UTF-8?q?=20vector=20image,=20changing=20the=20background=20color,=20add?= =?UTF-8?q?ing=20a=20white=20background=20to=20the=20EditText=20fields,=20?= =?UTF-8?q?and=20adding=20a=20custom=20button=20shape.=20The=20ImageView?= =?UTF-8?q?=20and=20EditText=20fields=20are=20now=20centered,=20and=20the?= =?UTF-8?q?=20button=20is=20now=20smaller=20and=20has=20a=20custom=20shape?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/render.experimental 2.xml | 6 + .../baseline_enhanced_encryption_24.xml | 5 + .../res/drawable/encrypt_and_decrypt_btn.xml | 4 + .../main/res/layout/activity_encryption.xml | 130 ++++++++++++++---- 4 files changed, 117 insertions(+), 28 deletions(-) create mode 100644 .idea/render.experimental 2.xml create mode 100644 app/src/main/res/drawable/baseline_enhanced_encryption_24.xml create mode 100644 app/src/main/res/drawable/encrypt_and_decrypt_btn.xml diff --git a/.idea/render.experimental 2.xml b/.idea/render.experimental 2.xml new file mode 100644 index 0000000..8ec256a --- /dev/null +++ b/.idea/render.experimental 2.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/baseline_enhanced_encryption_24.xml b/app/src/main/res/drawable/baseline_enhanced_encryption_24.xml new file mode 100644 index 0000000..874ffdf --- /dev/null +++ b/app/src/main/res/drawable/baseline_enhanced_encryption_24.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/drawable/encrypt_and_decrypt_btn.xml b/app/src/main/res/drawable/encrypt_and_decrypt_btn.xml new file mode 100644 index 0000000..e5d6be9 --- /dev/null +++ b/app/src/main/res/drawable/encrypt_and_decrypt_btn.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_encryption.xml b/app/src/main/res/layout/activity_encryption.xml index d726cdd..68d1b3a 100644 --- a/app/src/main/res/layout/activity_encryption.xml +++ b/app/src/main/res/layout/activity_encryption.xml @@ -4,76 +4,150 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/black" + android:background="@drawable/encryption" android:orientation="vertical" tools:context=".EncryptionActivity"> + + android:inputType="textPassword" + /> + android:layout_marginTop="15dp" + android:layout_gravity="center"/>