From 4b7427563d334dab50eb77028a78e709ea58880b Mon Sep 17 00:00:00 2001 From: Anthony Hugh Date: Mon, 21 Sep 2015 15:49:08 -0700 Subject: Add new dialog for warning confirmations This change updates the Wear warning dialog for when users try to change permissions for system apps and apps that are targeting old SDKs. Because Wear does not have a common dialog yet, I needed to create a new activity to hold our confirmation view. Changes: - Update logic to show Wear confirmation screen instead of using AlertDialog - Added WarningConfirmationActivity - Change font size for confirmation dialog - Make ConfirmationViewHandler support hiding one of the 3 vertical buttons - rename grant_permissions.xml to more generic confirmation_dialog BUG: 24132857 Change-Id: Id225e663f0a2cd7b99fb177f780a6a3d0da15214 --- res/layout-watch/confirmation_dialog.xml | 119 +++++++++++++++++++++++++++++++ res/layout-watch/grant_permissions.xml | 119 ------------------------------- res/values-watch/themes.xml | 2 +- 3 files changed, 120 insertions(+), 120 deletions(-) create mode 100644 res/layout-watch/confirmation_dialog.xml delete mode 100644 res/layout-watch/grant_permissions.xml (limited to 'res') diff --git a/res/layout-watch/confirmation_dialog.xml b/res/layout-watch/confirmation_dialog.xml new file mode 100644 index 00000000..2eedae35 --- /dev/null +++ b/res/layout-watch/confirmation_dialog.xml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + +