diff options
author | Danny Epstein <depstein@google.com> | 2015-10-19 16:52:06 -0700 |
---|---|---|
committer | Danny Epstein <depstein@google.com> | 2015-10-19 17:00:23 -0700 |
commit | dc40bd77b1ab709de9d705c88f56ff61d618ed5c (patch) | |
tree | 2715f15065da16038646b8cad1abab4c1e52c20e /src/com | |
parent | 16bd317af077269cdb5604d631fdeef051faf865 (diff) | |
download | android_packages_apps_PackageInstaller-dc40bd77b1ab709de9d705c88f56ff61d618ed5c.tar.gz android_packages_apps_PackageInstaller-dc40bd77b1ab709de9d705c88f56ff61d618ed5c.tar.bz2 android_packages_apps_PackageInstaller-dc40bd77b1ab709de9d705c88f56ff61d618ed5c.zip |
Add top padding to grant permission content.
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
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/packageinstaller/permission/ui/wear/ConfirmationViewHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/permission/ui/wear/ConfirmationViewHandler.java b/src/com/android/packageinstaller/permission/ui/wear/ConfirmationViewHandler.java index db3340f6..abaf3e48 100644 --- a/src/com/android/packageinstaller/permission/ui/wear/ConfirmationViewHandler.java +++ b/src/com/android/packageinstaller/permission/ui/wear/ConfirmationViewHandler.java @@ -189,7 +189,7 @@ public abstract class ConfirmationViewHandler implements // In order to fake the buttons peeking at the bottom, need to do set the // padding properly. if (mContent.getPaddingBottom() != mButtonBarContainer.getHeight()) { - mContent.setPadding(0, 0, 0, mButtonBarContainer.getHeight()); + mContent.setPadding(0, mContent.getPaddingTop(), 0, mButtonBarContainer.getHeight()); if (Log.isLoggable(TAG, Log.DEBUG)) { Log.d(TAG, " set mContent.PaddingBottom: " + mButtonBarContainer.getHeight()); } |