summaryrefslogtreecommitdiffstats
path: root/res/layout/uninstall_progress.xml
diff options
context:
space:
mode:
authorSuchi Amalapurapu <asuchitra@google.com>2009-07-28 17:41:25 -0700
committerSuchi Amalapurapu <asuchitra@google.com>2009-07-29 15:18:35 -0700
commit7672c9941137c4664f5a2c64eb15a335b3c4789d (patch)
treeb0da9f59371751fbab92bed2243997c636cd0c9d /res/layout/uninstall_progress.xml
parent47552303ffa5eb6422d59626c519277d6c51e031 (diff)
downloadandroid_packages_apps_PackageInstaller-7672c9941137c4664f5a2c64eb15a335b3c4789d.tar.gz
android_packages_apps_PackageInstaller-7672c9941137c4664f5a2c64eb15a335b3c4789d.tar.bz2
android_packages_apps_PackageInstaller-7672c9941137c4664f5a2c64eb15a335b3c4789d.zip
remove uninstall status screen and present the status of uninstallation in previous screen
rename xml file change code flow in activities Ignore back button when installation is in progress
Diffstat (limited to 'res/layout/uninstall_progress.xml')
-rwxr-xr-xres/layout/uninstall_progress.xml67
1 files changed, 67 insertions, 0 deletions
diff --git a/res/layout/uninstall_progress.xml b/res/layout/uninstall_progress.xml
new file mode 100755
index 00000000..e07494c8
--- /dev/null
+++ b/res/layout/uninstall_progress.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<ScrollView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fillViewport="true" >
+ <RelativeLayout
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <include
+ layout="@layout/app_details"
+ android:id="@+id/app_snippet"/>
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:paddingLeft="6dip"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true">
+ <TextView
+ android:id="@+id/center_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+ <ProgressBar
+ android:id="@+id/progress_bar"
+ style="?android:attr/progressBarStyleHorizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="24dip"
+ android:max="100" />
+ </LinearLayout>
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/title_background"
+ android:layout_alignParentBottom="true">
+ <Button
+ android:id="@+id/ok_button"
+ android:paddingRight="6dip"
+ android:paddingBottom="6dip"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentBottom="true"
+ android:text="@string/ok"
+ android:layout_centerVertical="true"
+ android:gravity="center"
+ android:layout_width="150dip"
+ android:layout_height="wrap_content"/>
+ </RelativeLayout>
+ </RelativeLayout>
+</ScrollView>