From 7209ab87f5f9b62eba5fc790391ed1b78e66f6ad Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Thu, 8 Dec 2016 07:04:31 +1100 Subject: [PATCH] Tweak some button styles with those added in !419. The styles used by the app details showed good padding on either side of the buttons text. This was because they had a certain amount of screen space to fill up which resulted in nice empty space on either side of the text. Other buttons do not have this type of layout, so need to have a minimum amount of padding thrust upon them. Required breaking out into values-v17 too, so refactored common styles into base style to make this easier. --- app/src/main/res/layout/category_item.xml | 1 + app/src/main/res/layout/main_tab_swap.xml | 1 + .../main/res/layout/my_apps_updates_header.xml | 1 + app/src/main/res/values-v17/styles_detail.xml | 7 +++++++ app/src/main/res/values/styles_detail.xml | 17 +++++++++++------ 5 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 app/src/main/res/values-v17/styles_detail.xml diff --git a/app/src/main/res/layout/category_item.xml b/app/src/main/res/layout/category_item.xml index 392ee0889..d2e516f80 100644 --- a/app/src/main/res/layout/category_item.xml +++ b/app/src/main/res/layout/category_item.xml @@ -24,6 +24,7 @@