• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content"
20    android:gravity="center"
21    android:orientation="vertical"
22    android:paddingTop="32dp"
23    android:paddingBottom="32dp" >
24
25    <TextView
26        android:id="@android:id/title"
27        android:layout_width="match_parent"
28        android:layout_height="wrap_content"
29        android:ellipsize="marquee"
30        android:fadingEdge="horizontal"
31        android:fontFamily="@*android:string/config_headlineFontFamily"
32        android:singleLine="true"
33        android:textAlignment="center"
34        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Display1"
35        android:textSize="36sp" />
36
37    <TextView
38        android:id="@android:id/summary"
39        android:layout_width="match_parent"
40        android:layout_height="wrap_content"
41        android:layout_marginStart="4dp"
42        android:layout_marginEnd="4dp"
43        android:maxLines="10"
44        android:textAlignment="center"
45        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" />
46
47    <com.android.car.developeroptions.widget.DonutView
48        android:id="@+id/donut"
49        android:layout_width="168dp"
50        android:layout_height="168dp"
51        android:layout_marginTop="4dp"
52        android:layout_marginBottom="4dp"
53        android:minWidth="58dp" />
54
55    <Button
56        android:id="@+id/deletion_helper_button"
57        android:layout_width="wrap_content"
58        android:layout_height="wrap_content"
59        android:text="@string/storage_menu_free"
60        style="@style/ActionPrimaryButton" />
61
62</LinearLayout>
63