diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2009-10-06 09:29:16 -0700 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2009-10-06 10:26:44 -0700 |
commit | 2ae789b2bda885c393acca504ad663946ea38789 (patch) | |
tree | e8515f3c94a45570d92d2da62444e0a0af53f07f /src/com/android/packageinstaller/PackageInstallerActivity.java | |
parent | 3c9eac96e6c5f705cb2afae063716882ee5210dc (diff) | |
download | packages_apps_packageinstaller-2ae789b2bda885c393acca504ad663946ea38789.zip packages_apps_packageinstaller-2ae789b2bda885c393acca504ad663946ea38789.tar.gz packages_apps_packageinstaller-2ae789b2bda885c393acca504ad663946ea38789.tar.bz2 |
The scroll view listing permissions is given a weight of 1 so that the ok and cancel buttons appear at the bottom of the screen. If the permission list doesn't fillup the screen aka has very few permissions, the buttons don't appear at the buttom. so just increate the layout weight of the parent as well to fix this issue.
Also hide the whole permissions panel so that we don't see the text related to showing permissions at all
Diffstat (limited to 'src/com/android/packageinstaller/PackageInstallerActivity.java')
-rw-r--r-- | src/com/android/packageinstaller/PackageInstallerActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/PackageInstallerActivity.java b/src/com/android/packageinstaller/PackageInstallerActivity.java index 3b429d9..8f681bb 100644 --- a/src/com/android/packageinstaller/PackageInstallerActivity.java +++ b/src/com/android/packageinstaller/PackageInstallerActivity.java @@ -126,7 +126,7 @@ public class PackageInstallerActivity extends Activity implements OnCancelListen } } if(!permVisible){ - securityList.setVisibility(View.INVISIBLE); + permsSection.setVisibility(View.INVISIBLE); } mInstallConfirm.setVisibility(View.VISIBLE); mOk = (Button)findViewById(R.id.ok_button); |