100 lines
4.2 KiB
XML
100 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
qsfera Android client application
|
|
|
|
Copyright (C) 2023 ownCloud GmbH.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License version 2,
|
|
as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/transparent"
|
|
android:padding="@dimen/standard_padding">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/drawer_logo"
|
|
android:layout_width="0dp"
|
|
android:layout_height="140dp"
|
|
android:scaleType="centerInside"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:src="@drawable/brand_logo" />
|
|
|
|
<ImageView
|
|
android:id="@+id/drawer_link_icon"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginTop="@dimen/standard_half_margin"
|
|
android:visibility="gone"
|
|
android:src="@drawable/brand_logo"
|
|
android:contentDescription="@string/content_description_logo"
|
|
app:layout_constraintBottom_toTopOf="@id/account_quota_bar"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/drawer_logo"
|
|
tools:visibility="visible" />
|
|
|
|
<TextView
|
|
android:id="@+id/drawer_link_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/standard_half_margin"
|
|
android:singleLine="true"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"
|
|
android:ellipsize="end"
|
|
android:text="@string/drawer_link_label"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toTopOf="@id/account_quota_bar"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/drawer_link_icon"
|
|
app:layout_constraintTop_toBottomOf="@id/drawer_logo"
|
|
tools:text="Link"
|
|
tools:visibility="visible" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/account_quota_bar"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/standard_half_margin"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/drawer_link_icon"
|
|
tools:progress="25" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/account_quota_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/drawer_loading_quota"
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/account_quota_bar" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/account_quota_status_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
android:visibility="gone"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/account_quota_text" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|