M7350/base/tests/LowStorageTest/res/layout/main.xml

72 lines
2.2 KiB
XML
Raw Normal View History

2024-09-09 08:52:07 +00:00
<?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="match_parent"
android:layout_height="match_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>