From f8f2abfd88910f424fe67b0b54a26529f1159ff4 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 24 Feb 2026 08:32:57 +0000 Subject: [PATCH] feat: apply iOS style to all buttons - Create `btn_ios_background.xml` drawable with rounded corners and blue color selector. - Add `Widget.Button.iOS` style in `styles.xml`. - Apply `Widget.Button.iOS` globally via `buttonStyle` in `AppTheme`. - Remove explicit style from `buttonKill` in `fragment_camera.xml`. - Fix duplicate attributes in `fragment_camera.xml` to fix build. Co-authored-by: manupawickramasinghe <73810867+manupawickramasinghe@users.noreply.github.com> --- app/src/main/res/drawable/btn_ios_background.xml | 15 +++++++++++++++ app/src/main/res/layout/fragment_camera.xml | 5 ----- app/src/main/res/values/styles.xml | 12 ++++++++++++ 3 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/drawable/btn_ios_background.xml diff --git a/app/src/main/res/drawable/btn_ios_background.xml b/app/src/main/res/drawable/btn_ios_background.xml new file mode 100644 index 0000000..45737d3 --- /dev/null +++ b/app/src/main/res/drawable/btn_ios_background.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_camera.xml b/app/src/main/res/layout/fragment_camera.xml index 7eeaa62..f32c28b 100644 --- a/app/src/main/res/layout/fragment_camera.xml +++ b/app/src/main/res/layout/fragment_camera.xml @@ -101,7 +101,6 @@ android:layout_marginTop="0pt" android:layout_marginBottom="4pt" android:background="#FFAA00" - android:importantForAccessibility="no" android:paddingTop="5pt" /> @@ -158,7 +157,6 @@ android:layout_height="wrap_content" android:labelFor="@+id/spinnerEncoding" android:text="@string/encoding_label" - android:labelFor="@+id/spinnerEncoding" android:textAppearance="@style/TextAppearance.AppCompat.Medium" /> @color/colorPrimary @color/colorPrimaryDark @color/colorAccent + @style/Widget.Button.iOS + + + #FFFF00