From 3c890c85ee33377c3e8547fceccc8fb75f418316 Mon Sep 17 00:00:00 2001 From: dom_Ryan Date: Sat, 31 Jan 2026 13:36:18 -0300 Subject: [PATCH 1/3] ui: modernize ExampleActivity with minimalist design - Implement rounded black buttons with modern styling. - Update input fields with black borders and blended backgrounds. - Reposition news text below inputs for better spacing and hierarchy. - Refactor UI components while maintaining original structure. --- demo/build.gradle | 1 + .../res/drawable/custom_button_background.xml | 9 +++ .../main/res/drawable/custom_edit_text.xml | 36 +++++++++ demo/src/main/res/layout/example.xml | 78 ++++++++++++++----- demo/src/main/res/values/styles.xml | 3 +- 5 files changed, 107 insertions(+), 20 deletions(-) create mode 100644 demo/src/main/res/drawable/custom_button_background.xml create mode 100644 demo/src/main/res/drawable/custom_edit_text.xml diff --git a/demo/build.gradle b/demo/build.gradle index 6497514..df0774c 100644 --- a/demo/build.gradle +++ b/demo/build.gradle @@ -25,4 +25,5 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation project(':library') + implementation 'com.google.android.material:material:1.11.0' } diff --git a/demo/src/main/res/drawable/custom_button_background.xml b/demo/src/main/res/drawable/custom_button_background.xml new file mode 100644 index 0000000..c92a4e8 --- /dev/null +++ b/demo/src/main/res/drawable/custom_button_background.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/demo/src/main/res/drawable/custom_edit_text.xml b/demo/src/main/res/drawable/custom_edit_text.xml new file mode 100644 index 0000000..f7719cc --- /dev/null +++ b/demo/src/main/res/drawable/custom_edit_text.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/demo/src/main/res/layout/example.xml b/demo/src/main/res/layout/example.xml index b9f4877..3239bbc 100644 --- a/demo/src/main/res/layout/example.xml +++ b/demo/src/main/res/layout/example.xml @@ -1,7 +1,8 @@ + android:layout_height="wrap_content" + android:layout_gravity="center_vertical"> + android:layout_height="wrap_content" + android:layout_marginBottom="8dp" + android:background="@drawable/custom_edit_text" + android:hint="USERNAME" + android:paddingBottom="10dp" + android:textColor="#000000" + android:textColorHint="#C1C1C1" + /> + android:layout_height="wrap_content" + android:background="@drawable/custom_edit_text" + android:hint="PASSWORD" + android:paddingBottom="10dp" + android:textColor="#000000" + android:textColorHint="#C1C1C1" + android:textSize="15sp" /> + + - -