From 0f5f4c0362af91da476b6e02ca19a9955db9f496 Mon Sep 17 00:00:00 2001 From: Songlin Jiang Date: Sun, 6 Aug 2023 22:59:13 +0300 Subject: [PATCH] Update tray UI Signed-off-by: Songlin Jiang --- .../drawable/tray_background_left_round.xml | 9 +++++ .../drawable/tray_background_right_round.xml | 9 +++++ app/src/main/res/layout/tray.xml | 36 +++++++++++-------- app/src/main/res/values/dimen.xml | 2 +- 4 files changed, 40 insertions(+), 16 deletions(-) create mode 100644 app/src/main/res/drawable/tray_background_left_round.xml create mode 100644 app/src/main/res/drawable/tray_background_right_round.xml diff --git a/app/src/main/res/drawable/tray_background_left_round.xml b/app/src/main/res/drawable/tray_background_left_round.xml new file mode 100644 index 00000000000..cfe61b72a45 --- /dev/null +++ b/app/src/main/res/drawable/tray_background_left_round.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/src/main/res/drawable/tray_background_right_round.xml b/app/src/main/res/drawable/tray_background_right_round.xml new file mode 100644 index 00000000000..3562f730833 --- /dev/null +++ b/app/src/main/res/drawable/tray_background_right_round.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/src/main/res/layout/tray.xml b/app/src/main/res/layout/tray.xml index 98307bf0043..66a45dba770 100644 --- a/app/src/main/res/layout/tray.xml +++ b/app/src/main/res/layout/tray.xml @@ -22,7 +22,7 @@ android:layout_height="20dp" android:layout_alignStart="@+id/tray_buttons" android:layout_alignEnd="@+id/tray_buttons" - android:background="@drawable/tray_background_top" + android:background="@drawable/tray_background_left_round" android:paddingStart="10dp" android:paddingEnd="10dp"> - - - + + - + + @@ -275,7 +281,7 @@ -2.5 1.2 408dp - 66dp + 62dp 3.0 20dp 10dp