mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
Put quota text back to its place
This commit is contained in:
parent
364d82c0c0
commit
27e486458a
2 changed files with 76 additions and 6 deletions
69
src/custom/res/layout/drawer.xml
Normal file
69
src/custom/res/layout/drawer.xml
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2016 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or any later version.
|
||||
|
||||
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 AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public
|
||||
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<android.support.design.widget.NavigationView
|
||||
android:id="@+id/nav_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:layout_weight="1"
|
||||
android:fitsSystemWindows="true"
|
||||
app:headerLayout="@layout/drawer_header"
|
||||
app:menu="@menu/drawer_menu"
|
||||
app:theme="@style/NavigationView_ItemTextAppearance">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/drawer_quota"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@color/white"
|
||||
android:clickable="false"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/standard_half_padding"
|
||||
android:paddingLeft="@dimen/standard_padding"
|
||||
android:paddingRight="@dimen/standard_padding"
|
||||
android:paddingTop="@dimen/standard_half_padding"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/drawer_quota_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/drawer_quota"/>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/drawer_quota_ProgressBar"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminate="false"
|
||||
android:indeterminateOnly="false"
|
||||
android:text="@string/drawer_quota"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</android.support.design.widget.NavigationView>
|
||||
|
||||
</merge>
|
|
@ -46,12 +46,6 @@
|
|||
android:paddingTop="@dimen/standard_half_padding"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/drawer_quota_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/drawer_quota"/>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/drawer_quota_ProgressBar"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
|
@ -61,6 +55,13 @@
|
|||
android:indeterminateOnly="false"
|
||||
android:text="@string/drawer_quota"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/drawer_quota_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/drawer_quota"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</android.support.design.widget.NavigationView>
|
||||
|
|
Loading…
Reference in a new issue