summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:51 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:51 -0800
commit8106e501baad76e7192c7ddbb9f5e179c7ff6f9b (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /res/layout
parent8b1096d1ada329a296059ccff04e5d78eefa77c1 (diff)
downloadandroid_packages_apps_PackageInstaller-8106e501baad76e7192c7ddbb9f5e179c7ff6f9b.tar.gz
android_packages_apps_PackageInstaller-8106e501baad76e7192c7ddbb9f5e179c7ff6f9b.tar.bz2
android_packages_apps_PackageInstaller-8106e501baad76e7192c7ddbb9f5e179c7ff6f9b.zip
auto import from //depot/cupcake/@135843
Diffstat (limited to 'res/layout')
-rwxr-xr-xres/layout/app_details.xml52
-rwxr-xr-xres/layout/install_confirm.xml108
-rwxr-xr-xres/layout/install_done.xml71
-rwxr-xr-xres/layout/install_start.xml27
-rwxr-xr-xres/layout/op_progress.xml46
-rwxr-xr-xres/layout/uninstall_confirm.xml91
-rwxr-xr-xres/layout/uninstall_done.xml62
7 files changed, 0 insertions, 457 deletions
diff --git a/res/layout/app_details.xml b/res/layout/app_details.xml
deleted file mode 100755
index 3ea84309..00000000
--- a/res/layout/app_details.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?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.
--->
-
-<!--
-Defines the layout of the application snippet that appears on top of the
-installation screens
--->
-<!-- The snippet about the application - title, icon, description. -->
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/app_snippet"
- android:layout_width="fill_parent"
- android:layout_height="65dip"
- android:background="@color/title_background">
- <ImageView android:id="@+id/app_icon"
- android:paddingLeft="6dip"
- android:layout_width="54dip"
- android:layout_height="48dip"
- android:background="@color/transparent"
- android:layout_alignParentLeft="true"
- android:gravity="center"
- android:layout_centerInParent="true"
- android:scaleType="centerCrop" />
- <TextView android:id="@+id/app_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:textColor="?android:attr/textColorPrimary"
- android:shadowColor="@color/shadow"
- android:shadowRadius="2"
- android:layout_toRightOf="@id/app_icon"
- android:singleLine="true"
- android:gravity="center"
- android:layout_centerInParent="true"
- android:paddingRight="6dip"
- android:paddingLeft="6dip"
- android:ellipsize="end"/>
-</RelativeLayout>
-
diff --git a/res/layout/install_confirm.xml b/res/layout/install_confirm.xml
deleted file mode 100755
index bc4fde2a..00000000
--- a/res/layout/install_confirm.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-<?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.
--->
-
-<!--
-
- Defines the layout of the splash screen that displays the security
- settings required for an application and requests the confirmation of the
- user before it is installed.
--->
-
-<ScrollView
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:fillViewport="true"
- android:background="@color/view_background">
-
- <LinearLayout
- android:id="@+id/all_details"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical">
-
- <include
- layout="@layout/app_details"
- android:id="@+id/app_snippet"/>
- <TextView
- android:id="@+id/install_confirm_question"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1.0"
- android:text="@string/install_confirm_question"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="?android:attr/textColorSecondary"
- android:paddingTop="20dip"
- android:paddingLeft="20dip"
- android:paddingBottom="20dip"/>
-
- <!-- Security settings description. -->
- <LinearLayout
- android:id="@+id/permissions_section"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/security_settings_desc"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="?android:attr/textColorSecondary"
- android:paddingTop="20dip"
- android:paddingLeft="20dip"
- android:paddingBottom="20dip"/>
-
- <LinearLayout
- android:id="@+id/security_settings_list"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1.0"
- android:orientation="vertical"/>
- </LinearLayout>
-
- <!-- OK confirm and cancel buttons. -->
- <LinearLayout
- android:background="@color/title_background"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="bottom"
- android:orientation="horizontal">
- <Button
- android:id="@+id/ok_button"
- android:text="@string/install"
- android:layout_width="150dip"
- android:paddingLeft="6dip"
- android:layout_gravity="left"
- android:layout_weight="0.4"
- android:layout_height="wrap_content"/>
- <!-- Spacer -->
- <View
- android:id="@+id/buttons_spacer_left"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:layout_weight="0.2" />
- <Button
- android:id="@+id/cancel_button"
- android:layout_width="150dip"
- android:paddingRight="6dip"
- android:layout_gravity="right"
- android:text="@string/cancel"
- android:layout_weight="0.4"
- android:layout_height="wrap_content"/>
- </LinearLayout>
- </LinearLayout>
-</ScrollView>
diff --git a/res/layout/install_done.xml b/res/layout/install_done.xml
deleted file mode 100755
index e33f57b7..00000000
--- a/res/layout/install_done.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?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.
--->
-
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <include
- layout="@layout/app_details"
- android:gravity="top"
- android:id="@+id/app_snippet" />
- <TextView
- android:id="@+id/center_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="20dip"
- android:paddingTop="36dip"
- android:drawablePadding="6dip"
- android:layout_below="@id/app_snippet"
- android:textColor="?android:attr/textColorSecondary"
- android:textAppearance="?android:attr/textAppearanceMedium"/>
-
- <!-- Launch and close buttons. -->
- <LinearLayout
- android:background="@color/title_background"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:orientation="horizontal">
- <Button
- android:id="@+id/launch_button"
- android:text="@string/launch"
- android:layout_width="150dip"
- android:paddingLeft="6dip"
- android:layout_gravity="left"
- android:layout_weight="0.4"
- android:layout_height="wrap_content"/>
- <!-- Spacer -->
- <View
- android:id="@+id/buttons_spacer_left"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:layout_weight="0.2" />
- <Button
- android:id="@+id/done_button"
- android:layout_width="150dip"
- android:paddingRight="6dip"
- android:layout_gravity="right"
- android:text="@string/done"
- android:layout_weight="0.4"
- android:layout_height="wrap_content"/>
- </LinearLayout>
-
-</RelativeLayout>
-
-
diff --git a/res/layout/install_start.xml b/res/layout/install_start.xml
deleted file mode 100755
index 1ef0ab5d..00000000
--- a/res/layout/install_start.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?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.
--->
-
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <include
- layout="@layout/app_details"
- android:id="@+id/app_snippet"/>
-</RelativeLayout>
-
-
diff --git a/res/layout/op_progress.xml b/res/layout/op_progress.xml
deleted file mode 100755
index b957fdf7..00000000
--- a/res/layout/op_progress.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?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.
--->
-
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <include
- layout="@layout/app_details"
- android:id="@+id/app_snippet"/>
- <ProgressBar
- android:id="@+id/progress_bar"
- style="?android:attr/progressBarStyleHorizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingTop="24dip"
- android:paddingLeft="24dip"
- android:paddingRight="24dip"
- android:max="100" />
- <TextView
- android:id="@+id/center_text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="24dip"
- android:paddingTop="16dip"
- android:text="@string/installing"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="?android:attr/textColorSecondary"/>
-</LinearLayout>
-
-
diff --git a/res/layout/uninstall_confirm.xml b/res/layout/uninstall_confirm.xml
deleted file mode 100755
index 62bd1544..00000000
--- a/res/layout/uninstall_confirm.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<?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.
--->
-
-<!--
-
- Defines the layout of the confirmation screen that gets displayed when an
- application is about to be uninstalled. Includes ok and cancel buttons
- to let the uinstallation continue or abort.
--->
-
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/view_background">
-
- <!-- The snippet about the application - title, icon, description. -->
- <include
- layout="@layout/app_details"
- android:layout_alignParentTop="true"
- android:id="@+id/app_snippet" />
-
- <!-- uninstall application confirmation question -->
- <TextView
- android:id="@+id/uninstall_question"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/uninstall_application_question"
- android:textStyle="bold"
- android:paddingTop="16dip"
- android:paddingLeft="16dip"
- android:layout_below="@id/app_snippet"
- android:textColor="?android:attr/textColorSecondary"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingBottom="36dip"/>
-
- <!-- uninstall application confirmation text -->
- <TextView
- android:id="@+id/uninstall_confirm_text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/uninstall_application_text"
- android:textColor="?android:attr/textColorSecondary"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:layout_below="@id/uninstall_question"
- android:paddingLeft="16dip"/>
- <!-- OK confirm and cancel buttons. -->
- <LinearLayout
- android:background="@color/title_background"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:orientation="horizontal">
- <Button
- android:id="@+id/ok_button"
- android:text="@string/ok"
- android:layout_width="150dip"
- android:paddingLeft="6dip"
- android:layout_gravity="left"
- android:layout_weight="0.4"
- android:layout_height="wrap_content"/>
- <!-- Spacer -->
- <View
- android:id="@+id/buttons_spacer_left"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:layout_weight="0.2" />
- <Button
- android:id="@+id/cancel_button"
- android:layout_width="150dip"
- android:paddingRight="6dip"
- android:layout_gravity="right"
- android:text="@string/cancel"
- android:layout_weight="0.4"
- android:layout_height="wrap_content"/>
- </LinearLayout>
-</RelativeLayout>
diff --git a/res/layout/uninstall_done.xml b/res/layout/uninstall_done.xml
deleted file mode 100755
index 082d48b5..00000000
--- a/res/layout/uninstall_done.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?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.
--->
-
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <LinearLayout
- android:id="@+id/top_box"
- android:background="@color/title_background"
- android:layout_width="fill_parent"
- android:layout_height="65dip"
- android:layout_alignParentTop="true"/>
-
- <TextView
- android:id="@+id/center_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:paddingTop="60dip"
- android:textColor="?android:attr/textColorSecondary"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:layout_below="@id/top_box"/>
- <!-- OK confirm and cancel buttons. -->
- <!-- LinearLayout
- android:background="@color/title_background"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:orientation="horizontal" -->
-
- <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:layout_alignParentRight="true"
- android:text="@string/ok"
- android:layout_width="150dip"
- android:layout_height="wrap_content"/>
- </RelativeLayout>
-</RelativeLayout>
-
-