<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/storage_wear_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Storage Wear Information"
android:textSize="24dp"
android:minLines="5"/>
<ListView
android:id="@+id/storage_events_list"
android:layout_width="match_parent"
android:layout_height="75dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/write_one_megabyte"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Write 1M"/>
<Button
android:id="@+id/write_one_kilobyte"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Write 1K"/>
<Button
android:id="@+id/perform_fsync"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Call fsync()"/>
</LinearLayout>
<TextView
android:id="@+id/free_disk_space"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Free Disk Space: 1 byte"
android:textSize="24dp"
android:minLines="4"/>
<ScrollView
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="vertical"
android:fillViewport="true">
<TextView
android:id="@+id/last_io_snapshot"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="No I/O activity on record"
android:textSize="20dp"
android:minLines="10"/>
</ScrollView>
</LinearLayout>