summaryrefslogtreecommitdiffstats
path: root/res/layout/manage_applications_running.xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-05-16 15:50:48 -0700
committerDianne Hackborn <hackbod@google.com>2012-05-16 19:31:07 -0700
commit309c5dcee18ced447d049d5de882a9586694e04c (patch)
tree31b8df7f153df3a20909b2c46698f6c6be653e11 /res/layout/manage_applications_running.xml
parent1cbacf10bd525c8f467b37abc57085b071abd6de (diff)
downloadpackages_apps_settings-309c5dcee18ced447d049d5de882a9586694e04c.zip
packages_apps_settings-309c5dcee18ced447d049d5de882a9586694e04c.tar.gz
packages_apps_settings-309c5dcee18ced447d049d5de882a9586694e04c.tar.bz2
Rework manage applications to be page-able.
Turn everything around so that we can have multiple list views with their own adapters. Switch to using a ViewPager for managing the different lists. Smile! Change-Id: I9c102abb06cf67f313a8696507aa4597b38c7ab9
Diffstat (limited to 'res/layout/manage_applications_running.xml')
-rw-r--r--res/layout/manage_applications_running.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/res/layout/manage_applications_running.xml b/res/layout/manage_applications_running.xml
new file mode 100644
index 0000000..634de1c
--- /dev/null
+++ b/res/layout/manage_applications_running.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+-->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+ <view class="com.android.settings.applications.RunningProcessesView"
+ android:id="@+id/running_processes"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone" />
+
+ <LinearLayout android:id="@+id/loading_container"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginLeft="@*android:dimen/preference_fragment_padding_side"
+ android:layout_marginRight="@*android:dimen/preference_fragment_padding_side"
+ android:visibility="gone"
+ android:gravity="center">
+
+ <ProgressBar style="?android:attr/progressBarStyleLarge"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+ <TextView android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="@string/settings_safetylegal_activity_loading"
+ android:paddingTop="4dip"
+ android:singleLine="true" />
+
+ </LinearLayout>
+
+</FrameLayout>