summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2012-05-23 17:46:09 -0700
committerAdam Powell <adamp@google.com>2012-05-23 17:47:16 -0700
commit1a6e87f1a6c5e8ec5e7902ab86c68dd45f54399c (patch)
tree4f29b5d04daa597c01d734b90f93ef48fa54bb8b
parent019c976364314aa16e53e8af31616ab902711288 (diff)
downloadpackages_apps_packageinstaller-1a6e87f1a6c5e8ec5e7902ab86c68dd45f54399c.zip
packages_apps_packageinstaller-1a6e87f1a6c5e8ec5e7902ab86c68dd45f54399c.tar.gz
packages_apps_packageinstaller-1a6e87f1a6c5e8ec5e7902ab86c68dd45f54399c.tar.bz2
Update themes for PackageInstaller
Use DeviceDefault to better integrate with the host system. Use Dialog theme for all devices when uninstalling apps instead of DialogWhenLarge. Change-Id: Ia427c85c81bf175518d07cfef56de5816c052943
-rw-r--r--AndroidManifest.xml5
-rw-r--r--res/layout/uninstall_confirm.xml1
2 files changed, 3 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 44ec084..8384cfa 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -12,7 +12,7 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application android:label="@string/app_name"
android:allowBackup="false"
- android:theme="@android:style/Theme.Holo.DialogWhenLarge.NoActionBar">
+ android:theme="@android:style/Theme.DeviceDefault.DialogWhenLarge.NoActionBar">
<activity android:name=".PackageInstallerActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:excludeFromRecents="true">
@@ -35,7 +35,8 @@
</activity>
<activity android:name=".UninstallerActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
- android:excludeFromRecents="true">
+ android:excludeFromRecents="true"
+ android:theme="@android:style/Theme.DeviceDefault.Dialog.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.DELETE" />
diff --git a/res/layout/uninstall_confirm.xml b/res/layout/uninstall_confirm.xml
index 29b2304..9ef0036 100644
--- a/res/layout/uninstall_confirm.xml
+++ b/res/layout/uninstall_confirm.xml
@@ -33,7 +33,6 @@
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:orientation="vertical"
- android:paddingTop="8dip"
android:paddingBottom="8dip">
<!-- If an activity was specified, explains what package it's in. -->