blob: 8cff29c3e399cde871aa039cfb195b8a0d75096b [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="11dp"
android:paddingBottom="6dp"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/space_widget_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginStart="@dimen/list_item_default_margin"
android:layout_marginEnd="@dimen/list_item_default_margin" >
<TextView
android:id="@+id/size_downloaded"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="@style/BlueLink3" />
<!-- The progress bar uses 20dp of space, vertically, including spacing. -->
<org.chromium.chrome.browser.widget.MaterialProgressBar
android:id="@+id/space_bar"
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
app:colorBackground="@color/google_grey_300"
app:colorProgress="@color/google_blue_500_alpha_38_opaque"
app:colorSecondaryProgress="@color/google_blue_500" />
<TextView
android:id="@+id/size_free_and_other_apps"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="@style/BlackDisabledText2" />
</LinearLayout>
<View
style="@style/Divider"
android:layout_marginTop="@dimen/list_item_default_margin" />
</LinearLayout>