From 43b9d95dbc8d645564bd82a4f264d9d3cfb47270 Mon Sep 17 00:00:00 2001 From: PixelyIon Date: Thu, 11 Nov 2021 13:47:20 +0530 Subject: [PATCH] Rework App Dialog Buttons Aligning the buttons to the bottom of the game image was determined to look odd due to the amount of padding between the title and buttons. They are now back to being below the title but the buttons have been resized with "Play" being a wide button while "Pin" has been replaced with Google Material Icons's "Add To Home Screen" icon and sized down to an icon-only button. --- app/src/main/res/drawable/ic_add_home.xml | 11 +++++++++++ app/src/main/res/layout/app_dialog.xml | 12 ++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/drawable/ic_add_home.xml diff --git a/app/src/main/res/drawable/ic_add_home.xml b/app/src/main/res/drawable/ic_add_home.xml new file mode 100644 index 00000000..ca546a67 --- /dev/null +++ b/app/src/main/res/drawable/ic_add_home.xml @@ -0,0 +1,11 @@ + + + diff --git a/app/src/main/res/layout/app_dialog.xml b/app/src/main/res/layout/app_dialog.xml index babc8239..98a530f2 100644 --- a/app/src/main/res/layout/app_dialog.xml +++ b/app/src/main/res/layout/app_dialog.xml @@ -45,12 +45,12 @@ tools:text="Nintendo" />