summaryrefslogtreecommitdiffstats
path: root/res/layout-watch
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash on small square watches.Michael Kwan2016-10-261-1/+1
| | | | | Bug: 32420957 Change-Id: I8566b6ba786267ba374113565709a8e794a962c5
* Fix icon positioning for AcceptDenyDialog.Michael Kwan2016-10-241-12/+15
| | | | | | | | | Update the layout used in AcceptDenyDialog to match the layout in AlertDialogs. Test: manual inspection Bug: 32315229 Change-Id: I4250f785bc2fbcb3f951e3f066ca71597e565973
* Update permissions UI to match new watch UI.Michael Kwan2016-10-115-257/+108
| | | | | | Bug: 29250733 Bug: 31779188 Change-Id: I814db5f94bdb840b04c5e8d9e12b565cfcd5fbc1
* Add basic accessibility to Wear permissions dialogErik Wolsheimer2016-07-281-2/+4
| | | | | BUG: 30067232 Change-Id: I98ff09ce150d8c597ec7f4b1f1b86ec0997e7c02
* Show No permissions, if there are no permissionsVinod Krishnan2016-03-181-11/+30
| | | | Change-Id: I285e326994268fc5b561e4a445ac2af326a64397
* Reduce the top padding when message isn't at top.Danny Epstein2015-10-201-13/+20
| | | | | | | | If either the page number or an icon is shown above the message, reduce the top padding on round screens. Bug: 24961379 Change-Id: Iec9193e3bbdd8ac607743cd0010f2331edbebc81
* Add top padding to grant permission content.Danny Epstein2015-10-191-1/+2
| | | | | | | | | Add top padding to the content inside the scroll view for the grant permission dialog so that you can read the beginning of the text on round watches. Bug: 24961379 Change-Id: I9311fbaabd72bd8f8aee4f71845c1ae11bfeab8c
* Modifies wear Permission title height to avoid clippingAlex Hills2015-10-131-1/+2
| | | | | | | | | | | | We were explicitly setting the height of the permission screen title, which wasn't 100% guaranteed to work in all languages. This change sets minHeight (to maintain UI consistency) instead, and changes the height to wrap_content to enable it to expand further if necessary. Bug:24774285 Bug:24391658 Change-Id: Icf25ad6a176537b0f34a30f53220c73fccec2d24
* Permissions redline fixesAnthony Hugh2015-10-051-4/+8
| | | | | | | | | | | | This fixes the button bar animation to work on round devices and also fixes the max height animation to make sure the vertical button layout animates to max height when there are only two buttons. Also adjust some redlines like margins on the buttons and updated some files that were missing our licensing header. Change-Id: Ifad4d0f92605be04db2d3c991b4e8a26eadb4b14
* Merge "Add enabled/disabled icons for permissions on Wear" into cw-e-devAnthony Hugh2015-09-251-1/+2
|\
| * Add enabled/disabled icons for permissions on WearAnthony Hugh2015-09-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Adds proper enabled/disabled icons for permissions on Wear and adds the logic to flip between the two states when the permissions are toggled. BUG: 24132450 BUG: 24131441 BUG: 24277624 BUG: 24131983 Change-Id: Ie654c84fe3d648e47a76142a6f82c4348bb7fc0c
* | Fix CTS test by renaming button ids to matchAnthony Hugh2015-09-241-3/+3
|/ | | | | BUG: 24264373 Change-Id: I9f04ff68dcd11f48df9331abf2f1775c95f31f99
* Add new dialog for warning confirmationsAnthony Hugh2015-09-231-0/+0
| | | | | | | | | | | | | | | | | | | | | | 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
* Update Grant Permissions dialog to redlinesAnthony Hugh2015-09-221-11/+9
| | | | | | | | | | | | Changes: - Refactor the ViewHandler a bit to be more generic. This should help with another upcoming Wear dialog. - Update assets for buttons - Add deny asset - Fix margins and other UI number tweaks BUG: 24133550 Change-Id: I330bdf3217fa5c554f71d9105a0475106b6f3e12
* Permissions Settings UI updatesAnthony Hugh2015-09-171-3/+4
| | | | | | | | | | | | | Changes: - Moved non-system permission groups to the end of the list - Updated "disabled" look to match non-center looked - Fixed state string alpha to match other alphas when not centered - Minor code clean ups BUG: 24132393 BUG: 24132470 BUG: 24131983 Change-Id: I65a64d59e6fff8e0cbdaaa3da4e4a79987d6e624
* Build initial Permissions Settings UI page for WearAnthony Hugh2015-09-151-0/+45
| | | | | | | | | | | | | | | | | | | | This is a first pass to build a functional settings UI page for Permissions on Android Wear. The user flow is a little different than the phone version, so there are some nuances that need to be adjusted from the normal flow. I have forked off of the AppPermissionsFragment and created a Wear version for us to use. Rather than try to link the Wearable-Support lib into AOSP code, I have made a duplicate of the few files I needed. This change adds a Wear layout version of the Settings UI page. The UI is fully functional for most cases, but there are some tweaks still needed for full parity. The tweaks are primarily around UI and special edge case functions. BUG: 23080561 Change-Id: I8477f6b966cacaae9e77aa0fb61b4b1e621a9ead
* Merge "Permissions Watch settings UI port" into cw-e-devAnthony Hugh2015-09-162-0/+57
|\
| * Permissions Watch settings UI portAnthony Hugh2015-09-152-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL contains all the UI elements needed to build the Wear version of the Settings UI for permissions. The actual implementation for the Wear version of SettingsUI will be done in a follow up bug. This is basically a straight port from our Settings app and wearable-support lib. I tweaked two strings and changed the package paths to make it easier to group the files together. BUG: 23080561 Change-Id: I6d72d29dd1926ad07d63f85b52ccf9f72ff70df1
* | Changing layout to make button animations workVinod Krishnan2015-09-141-56/+56
|/ | | | | | | | | | | - Fix the Permissions Dialogs for round layout - Show animation for the buttons - Also fixed the names ellipsis issue. - Fixed the theming of the dialogs. Bug: 23118402 Change-Id: I385c827ac41b06222334c36bfda2c70b346232a2
* Implement base version of GrantPermissions dialogAnthony Hugh2015-08-211-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | With the Emerald release, we need to support the new permission APIs. This changelist adds a dialog for the Activity.requestPermissions() API so that users can request permissions. This check in is a functional version, but not polished. will need to be a follow up CL to add the correct animations and update the UI to the appropriate redlines. The implementation for the confirmation dialog is modeled after the one in the clockwork libs/Views folder. There are some tweaks to match the designed behavior of the permission dialog. When there's more time in the future, we should try to condense this to one implementation. This is a resubmit without the wearable-support lib. I will figure out how to get that referenced in the next UI pass. BUG: 23118402 Change-Id: Ib2fb94b356aa965b999b3e12726fda86928a963e
* Revert "Implement base version of GrantPermissions dialog"Anthony Hugh2015-08-211-126/+0
| | | | | | | | This reverts commit b7da1f5f9886ff8a4ad81b0d617d442c461ca1e5. We can't reference vendor from this package. Need to add the references manually. Change-Id: I3ee31de110f24014100ce804b0659055b26f963b
* Implement base version of GrantPermissions dialogAnthony Hugh2015-08-211-0/+126
With the Emerald release, we need to support the new permission APIs. This changelist adds a dialog for the Activity.requestPermissions() API so that users can request permissions. This check in is a functional version, but not polished. will need to be a follow up CL to add the correct animations and update the UI to the appropriate redlines. The implementation for the confirmation dialog is modeled after the one in the clockwork libs/Views folder. There are some tweaks to match the designed behavior of the permission dialog. When there's more time in the future, we should try to condense this to one implementation. BUG: 23118402 Change-Id: Ic90d37a2ce8a7adacb7c4e004b0a5260b624f5c8