Yu Shan Emily Lau 4333bd145e new file: LowStorageTest/Android.mk
new file:   LowStorageTest/AndroidManifest.xml
	new file:   LowStorageTest/res/layout/main.xml
	new file:   LowStorageTest/res/values/strings.xml
	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java
Add the test app which can eat up 100% of the data parition. This is for the low storage test.

	new file:   LowStorageTest/Android.mk
	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java
2009-09-08 14:14:20 -07:00

72 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 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.
-->
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<TextView
android:text="@string/total_storage"
android:gravity="left"
android:padding="3dip" />
<TextView
android:id="@+id/totalsize"
android:gravity="left"
android:padding="3dip" />
<View
android:layout_height="2dip"
android:background="#FF909090" />
<TextView
android:layout_column="1"
android:gravity="left"
android:text="@string/available_storage"
android:padding="3dip" />
<TextView
android:id="@+id/freesize"
android:gravity="left"
android:padding="3dip" />
<TextView
android:layout_column="1"
android:gravity="left"
android:textSize="18sp"
android:text="@string/status"
android:padding="3dip" />
<TextView
android:layout_column="1"
android:gravity="left"
android:textSize="18sp"
android:id="@+id/status"
android:text="@string/eat_up_storage"
android:padding="3dip" />
<View
android:layout_height="2dip"
android:background="#FF909090" />
<Button
android:id="@+id/button_run"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/run_text"
android:layout_alignParentRight="true" />
</TableLayout>