summaryrefslogtreecommitdiffstats
path: root/res/layout/grant_permissions.xml
Commit message (Collapse)AuthorAgeFilesLines
* Make the permission request dialog's layout robustSvetoslav Ganov2016-01-211-51/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | The old implementation was relying on a fixed window size where the content is positioned by a custom layout manager. It is possible however that subsequent permissions requests do not fit in the window as its size is computed based on the content of the first permissions request. There were also cases where the content is chopped after a rotation as the dialog size width was not re-evaluated while it should be. Further, animation from one permission request state to another was not properly done resulting in content being chopped off in some cases. The current approach is to have a dialog width for the content activity but the height is as tall as the screen allowing us to fit arbitrary large permission request content. Also we are resetting the fixed width on a configuration change so the dialog is robust to adjust size as needed. bug:24679384 bug:25755378 Change-Id: I4d23f81d8e59ce23bf9a27155ebb5ec6e2e6752c (cherry picked from commit c6dc4bb52b07886346b02b326c5c32a8299ed73e)
* Fix some UI glitches in PackageInstallerSvetoslav2015-12-081-14/+23
| | | | | | | | | | 1. Add missing tinting in ic_info.xml 2. Improve button stacking in the request permissions UI 3. Align text and icon in request permissions UI bug:26071925 Change-Id: I12f631e902203d3f31970b28e420e20b7b454812
* Clean up package installer stylingSvetoslav2015-11-181-7/+12
| | | | | | | | | | | | | | | | | Package installer should be using exclusively the device defaut themes on handhelds (phones and tables) to allow OEMs customize its look and feel. Also for handhelds the installer should use the same preference framework as the settings app to ensure it looks like the settings app on an OEMs device. This change needs to be picked up by a GMS build to deliver to partners ensuring the installer UI is consistent with the device UI. bug:24286616 Change-Id: I92e39fd1488e76b0b23b7f1efa13e04ed5bbc7ba
* Show warning when touches are being blocked by overlaysJason Monk2015-08-071-1/+0
| | | | | Bug: 22317719 Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
* Use vertically stacked buttons when we don't have spaceJason Monk2015-06-221-9/+17
| | | | | Bug: 21997648 Change-Id: I72a9952f0f6d4134cacb18d1cef92701770e6c9d
* Fix truncated permission message if 'Do not ask again' is shownSvet Ganov2015-05-141-1/+1
| | | | Change-Id: I4b1d3b815b6047937b89d4767583efe9bce3fab0
* Add animation for multiple permission checksJason Monk2015-05-081-67/+61
| | | | | | | | | | | | | - DialogFragment was removed and just use the dialog-themed activity instead. The previously GrantPermissionFragment, now acts as a helper class. - The dialog always tells the window its the same size, but then draws at whatever height is required for the current permission. (this allows it to stay in one position) - Touching outside now does nothing so that the user must respond to the permission request. Change-Id: I12f27de4de5ad83e123cb9acfa062950db39f61b
* Prevent apps from spoofing permissions grant UISvet Ganov2015-04-271-1/+2
| | | | Change-Id: If6be16a59cf33ccd61a86a241f3325bafd95236b
* Update permissions dialog from redlinesJason Monk2015-04-071-12/+18
| | | | Change-Id: I0b3146add8984fdea1a702d447461e82f4aa7c31
* Minor updates to permission request dialogJason Monk2015-03-271-1/+6
| | | | | | | | | - Show correct icon and tinting for it - Bold/color the app name - Update the string, location and themeing of the checkbox, although its not actually hooked up yet. Change-Id: Ia7da81abb3d427f6d37ea29e8a38531cb743e878
* Initial version of the grant permission UI.Svet Ganov2015-03-241-0/+82
Change-Id: Ieb311d29d122cfce130ae1a26889dd7794548833