summaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* Do not cut off top and bottom in landscape view.Philip P. Moltmann2016-05-261-1/+2
| | | | | | | | | In landscape view the title bar height is less than in portait mode and the padding on top and bottom cause cut-offs. Hence make the layout like in install_start.xml Fixes: 28756671 Change-Id: I4df68e41fee6ce67e21a0a282f46c1dcb641f9b8
* Add shadow to permissions dialog.Philip P. Moltmann2016-05-161-1/+7
| | | | | Fixes: 28746698 Change-Id: I3a742ce5afb6020bd24bfd0d9bfec59873f1e7d6
* Make corners on grant permision dialog roundPhilip P. Moltmann2016-05-161-2/+1
| | | | | Bug: 28746698 Change-Id: Id4bdbad5efd4dba71a62a8afb22324a1236d675b
* Merge "Take advantage of new MotionEvent flag to prevent tapjacking." into ↵TreeHugger Robot2016-05-161-2/+2
|\ | | | | | | nyc-dev
| * Take advantage of new MotionEvent flag to prevent tapjacking.Michael Wright2016-03-311-2/+2
| | | | | | | | | | Bug: 26677796 Change-Id: I563541f0a42564b854af0f8037c1d4741c79a2ac
* | Fix checkbox touch target to be at least 48dpJason Monk2016-04-191-2/+3
| | | | | | | | | | | | | | Adjust margins to keep placement exactly the same. Change-Id: I3d9b51f3ec36eb1695ae6518a4e631e960d0eced Fixes: 25284953
* | Make permissions dialog mostly material compliantPhilip P. Moltmann2016-04-142-17/+15
| | | | | | | | | | Fixes: 21495581 Change-Id: I86bd21c0bf359b2169ba2552d24bccfcd3750484
* | Apply material design make-over to uninstall path.Philip P. Moltmann2016-04-111-85/+60
| | | | | | | | | | Bug: 26932948 Change-Id: I7552eaad562c2772c02cfa6f13cb044b6db17a19
* | Make side-load install path material design-yPhilip P. Moltmann2016-04-077-284/+272
| | | | | | | | | | Bug: 26932948 Change-Id: Ic8bcec523fc6cd0db847a4575724fbe465e65c5d
* | Don't use a framework resource in package installerSvet Ganov2016-04-031-1/+1
|/ | | | | | bug:25410241 Change-Id: I5535b3711aa12da212e7efe7bb7e91ad255c1455
* Merge "Added "Manage users" button" into nyc-devFyodor Kupolov2016-03-231-1/+9
|\
| * Added "Manage users" buttonFyodor Kupolov2016-03-221-1/+9
| | | | | | | | | | | | | | Show "Manage users" button when a secondary user is blocking the uninstall. Bug: 24616123 Change-Id: I61f1d9814dccc9f9e8acbce97d8ef681f5ec8944
* | Update ic_info drawable name to ic_info_outline.Sudheer Shanka2016-03-181-1/+1
|/ | | | | | | ic_info in PackageInstaller is taking preference over the one in the included library SettingsLib. Change-Id: I099d4092acb1c9572d958ab316fb948cff7be3e5
* resolve merge conflicts of 9199155a7f to master.Svetoslav Ganov2016-01-201-51/+54
|\ | | | | | | Change-Id: I325541269f5a0f7c1fde7a57042543e769bed218
| * 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 PackageInstaller am: 42af15b6d9 am: 587374a996 am: ↵Svetoslav2015-12-112-14/+24
|\| | | | | | | | | | | | | | | | | d0a1dda30d am: ab017f2da8 am: 65867477b6 * commit '65867477b697f67a56d107d5c36c82543b8cacd7': Fix some UI glitches in PackageInstaller
| * Fix some UI glitches in PackageInstallerSvetoslav2015-12-082-14/+24
| | | | | | | | | | | | | | | | | | | | 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-189-32/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add optional permission review for legacy apps - installerSvet Ganov2015-12-011-0/+90
| | | | | | | | Change-Id: Ifc88b2fa259d2d22bea6b5500cded2714ad4da85
* | resolve merge conflicts of c10abb25f3 to cw-e-dev.Svetoslav2015-11-209-32/+29
|/ | | | Change-Id: I3fe38a9ac62466b38efec834dceb712d2782c518
* Show warning when touches are being blocked by overlaysJason Monk2015-08-073-4/+2
| | | | | Bug: 22317719 Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
* Remove personal/device group & skip perm screen for M+ apps.Julia Reynolds2015-07-131-24/+1
| | | | | Bug: 22229417 Change-Id: I30d7e7a2e7abf4dcf70adb055d3252ee4941cd42
* Merge "Add all permissions screen" into mnc-devJason Monk2015-07-091-0/+35
|\
| * Add all permissions screenJason Monk2015-07-081-0/+35
| | | | | | | | | | Bug: 21268041 Change-Id: I51674ffbd252bf4585a992f8cc9e43973ce43512
* | Merge "Add some padding so the scroll bar doesn't cover content." into mnc-devJulia Reynolds2015-07-081-0/+1
|\ \ | |/ |/|
| * Add some padding so the scroll bar doesn't cover content.Julia Reynolds2015-07-081-0/+1
| | | | | | | | | | Bug: 22229417 Change-Id: If145801cba085ec4ee405f34e87e5c488183325f
* | Add loading screens to permissionsJason Monk2015-07-072-9/+53
|/ | | | | | | Styled the same way as in settings. Bug: 22234767 Change-Id: If21d71b132e5f0e69b65109c479162f03116dab8
* Wire up "Additional Permissions" to TVTodd Volkert2015-07-011-1/+1
| | | | | | b/22045562 Change-Id: I5a0ade1190b6067cbdf3221acab81168466dafc8
* Migrate package installer permissions fragments to preference support lib.Todd Volkert2015-07-012-2/+4
| | | | | | | | | | | | In order to allow for TV-friendly layouts, this migrates the permissions fragments to the preference support lib, and modifies the necessary layouts and themes to make them work on TV. b/22043727 b/22045650 b/22044940 Change-Id: Ic862effe2c126da78c304983fd06e017c3ee4472
* Use vertically stacked buttons when we don't have spaceJason Monk2015-06-221-9/+17
| | | | | Bug: 21997648 Change-Id: I72a9952f0f6d4134cacb18d1cef92701770e6c9d
* Don't use shadow on app nameTodd Kennedy2015-06-181-2/+0
| | | | | Bug: 21730967 Change-Id: Ie338e066e208e3f3012e05465217aa91ada31fb6
* Permissions theme fixingJason Monk2015-06-122-0/+158
| | | | | | | | | | | - Mostly just paddings a whatnot for preferences. - Also fix additional permissions screen (and its back arrow). - Keep ManagePermissions preferences around so that summary reloads aren't as painful on resume. Bug: 21636268 Bug: 21642971 Change-Id: Ibeb96ce63017c90fc37a661a6d82218b57371fb3
* 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-082-67/+104
| | | | | | | | | | | | | - 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-272-2/+4
| | | | Change-Id: If6be16a59cf33ccd61a86a241f3325bafd95236b
* Add leanback-looking UI to permissions screensTony Mantler2015-04-221-0/+1
| | | | Change-Id: Ib77227dc0ae4d02f96efff95f67a359310b5547c
* Merge "Update permissions dialog from redlines"Jason Monk2015-04-071-12/+18
|\
| * Update permissions dialog from redlinesJason Monk2015-04-071-12/+18
| | | | | | | | Change-Id: I0b3146add8984fdea1a702d447461e82f4aa7c31
* | Handle apps with no permissions (don't crash)Jason Monk2015-04-031-0/+31
|/ | | | Change-Id: I186b14cc7edb1de53df4e7e8bf299af09009f15b
* 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
* Update permissions UIJason Monk2015-03-271-0/+62
| | | | | | | - Update existing settings page to show action bar and app header. - Add page to manage apps based on permission. Change-Id: I2211044fbe4db4b4fbf981f1a7ad7a01666cd69d
* Initial version of the grant permission UI.Svet Ganov2015-03-241-0/+82
| | | | Change-Id: Ieb311d29d122cfce130ae1a26889dd7794548833
* Add basic support for new runtime permissionsSvet Ganov2015-03-241-1/+1
| | | | Change-Id: I7ec15992587b0036030386be35eedc095055b6eb
* Fix bug #8133419 Android Download Manager/Installer should be mirrored for ↵Fabrice Di Meglio2013-03-215-23/+23
| | | | | | | | | RTL languages - update PackageInstaller layouts for supporting RTL - enable RTL support by adding android:supportsRtl="true" in the AndroidManifest Change-Id: I656ff6771a2f2e684e3c6e7a1302a864b12f6187
* Fix issue #7323256: permission dialog has bad layoutDianne Hackborn2012-10-111-0/+8
| | | | Change-Id: I3fc9f9bf492178ba064a4579826f49f252d41a20
* Fix issue #7240599 Permissions UI: left side padding on...Dianne Hackborn2012-09-272-5/+19
| | | | | | ...Device Access and Privacy headings Change-Id: I9aca7d9fec60d4312ca13d8bce26fc7aebfe326c
* Further adjustment of the new package installer UI.Dianne Hackborn2012-09-162-2/+49
| | | | | | | | | | | | | | - Privacy and Device permissions are not shown as separate tabs, but instead separate sections in the same single scrollable permissions list. - No tabs are shown when installing a new app (they are all in the new single list); two tabs are shown when installing an update: the new permissions, and all permissions. - If you are reviewing more permissions than fit on the screen, the "install" button is changed to a "next" button until you scroll through the entire list. Change-Id: I0665a797f80ba5276e782e94be97090a429e5280
* New permissions UI.Dianne Hackborn2012-09-121-31/+40
|
* Survey says: NIET!Dianne Hackborn2012-06-011-40/+31
| | | | | | Bug: 6593206 Change-Id: Ib8ec410e9af258b507706f2a162e8e7482f93f6a
* Update themes for PackageInstallerAdam Powell2012-05-231-1/+0
| | | | | | | | | Use DeviceDefault to better integrate with the host system. Use Dialog theme for all devices when uninstalling apps instead of DialogWhenLarge. Change-Id: Ia427c85c81bf175518d07cfef56de5816c052943