diff options
-rwxr-xr-x | res/layout/install_confirm.xml | 1 | ||||
-rw-r--r-- | src/com/android/packageinstaller/PackageInstallerActivity.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/res/layout/install_confirm.xml b/res/layout/install_confirm.xml index 524a468..9634098 100755 --- a/res/layout/install_confirm.xml +++ b/res/layout/install_confirm.xml @@ -24,6 +24,7 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" + android:layout_weight="1" android:layout_width="fill_parent" android:layout_height="wrap_content"> 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); |