summaryrefslogtreecommitdiffstats
path: root/res/layout/process_stats_mem_details.xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-06-18 18:29:12 -0700
committerDianne Hackborn <hackbod@google.com>2014-06-19 21:35:27 -0700
commit68f005fbd48f18cdab0168ba92b8fd40776edc1e (patch)
treec7c5b99693a9ceb251858de3b2b05f7132d884db /res/layout/process_stats_mem_details.xml
parentf2724a6131038864b096b6cf5251a6041f1c2df2 (diff)
downloadpackages_apps_Settings-68f005fbd48f18cdab0168ba92b8fd40776edc1e.zip
packages_apps_Settings-68f005fbd48f18cdab0168ba92b8fd40776edc1e.tar.gz
packages_apps_Settings-68f005fbd48f18cdab0168ba92b8fd40776edc1e.tar.bz2
Modify proc stats to show new memory use computation.
Switch the proc status UI's memory use bar to be based on the new total memory use computation, instead of showing that weird "time spent in memory states" thing. Also now have it link to a detail page that shows details of time spent in memory states and RAM used by various things. Change-Id: I6817a499db518adb8e72466a5e9cfe18a81be5d5
Diffstat (limited to 'res/layout/process_stats_mem_details.xml')
-rw-r--r--res/layout/process_stats_mem_details.xml63
1 files changed, 63 insertions, 0 deletions
diff --git a/res/layout/process_stats_mem_details.xml b/res/layout/process_stats_mem_details.xml
new file mode 100644
index 0000000..32d6f8e
--- /dev/null
+++ b/res/layout/process_stats_mem_details.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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="match_parent"
+ android:layout_height="match_parent"
+ android:clipToPadding="false"
+ android:scrollbarStyle="@integer/preference_scrollbar_style">
+
+ <LinearLayout
+ android:id="@+id/all_details"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingTop="5dip"
+ android:paddingBottom="5dip"
+ android:orientation="vertical">
+
+ <TextView
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:text="@string/mem_state_subtitle" />
+
+ <LinearLayout
+ android:id="@+id/mem_state"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="6dip"
+ android:orientation="vertical">
+
+ <!-- Insert detail items here -->
+
+ </LinearLayout>
+
+ <TextView
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:text="@string/mem_use_subtitle" />
+
+ <LinearLayout
+ android:id="@+id/mem_use"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="6dip"
+ android:orientation="vertical">
+
+ <!-- Insert detail items here -->
+
+ </LinearLayout>
+
+ </LinearLayout>
+</ScrollView>