1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="match_parent"
19    android:orientation="vertical">
20    <TextView
21        android:id="@+id/storage_wear_info"
22        android:layout_width="match_parent"
23        android:layout_height="wrap_content"
24        android:text="Storage Wear Information"
25        android:textSize="24dp"
26        android:minLines="5"/>
27    <ListView
28        android:id="@+id/storage_events_list"
29        android:layout_width="match_parent"
30        android:layout_height="75dp"/>
31    <LinearLayout
32        android:layout_width="match_parent"
33        android:layout_height="wrap_content"
34        android:orientation="horizontal">
35        <Button
36            android:id="@+id/write_one_megabyte"
37            android:layout_width="wrap_content"
38            android:layout_height="wrap_content"
39            android:layout_weight="1"
40            android:text="Write 1M"/>
41        <Button
42            android:id="@+id/write_one_kilobyte"
43            android:layout_width="wrap_content"
44            android:layout_height="wrap_content"
45            android:layout_weight="1"
46            android:text="Write 1K"/>
47        <Button
48            android:id="@+id/perform_fsync"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:layout_weight="1"
52            android:text="Call fsync()"/>
53    </LinearLayout>
54    <TextView
55        android:id="@+id/free_disk_space"
56        android:layout_width="match_parent"
57        android:layout_height="wrap_content"
58        android:text="Free Disk Space: 1 byte"
59        android:textSize="24dp"
60        android:minLines="4"/>
61    <ScrollView
62        android:id="@+id/scroll_view"
63        android:layout_width="match_parent"
64        android:layout_height="wrap_content"
65        android:scrollbars="vertical"
66        android:fillViewport="true">
67        <TextView
68            android:id="@+id/last_io_snapshot"
69            android:layout_width="fill_parent"
70            android:layout_height="fill_parent"
71            android:text="No I/O activity on record"
72            android:textSize="20dp"
73            android:minLines="10"/>
74    </ScrollView>
75</LinearLayout>
76