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
		
			
				
	
	
		
			64 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?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>
 |