|
@@ -0,0 +1,165 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<!--
|
|
|
|
+ Nextcloud Android client application
|
|
|
|
+
|
|
|
|
+ Copyright (C) 2017 Andy Scherzinger
|
|
|
|
+ Copyright (C) 2017 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/>.
|
|
|
|
+-->
|
|
|
|
+<LinearLayout android:id="@+id/root"
|
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:padding="@dimen/standard_padding">
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginBottom="@dimen/standard_margin"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/sortByNameText"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginBottom="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_marginLeft="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_marginTop="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:ellipsize="middle"
|
|
|
|
+ android:maxLines="1"
|
|
|
|
+ android:text="Name"
|
|
|
|
+ android:textColor="@color/textColor"
|
|
|
|
+ android:textSize="@dimen/two_line_primary_text_size"/>
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/sortByNameAscending"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:background="@color/white"
|
|
|
|
+ android:padding="@dimen/standard_padding"
|
|
|
|
+ android:src="@drawable/ic_alphabetical_asc"/>
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/sortByNameDescending"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:background="@color/white"
|
|
|
|
+ android:padding="@dimen/standard_padding"
|
|
|
|
+ android:src="@drawable/ic_alphabetical_desc"/>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginBottom="@dimen/standard_margin"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/sortByModificationDateText"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginBottom="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_marginLeft="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_marginTop="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:ellipsize="middle"
|
|
|
|
+ android:maxLines="1"
|
|
|
|
+ android:text="Modification Date"
|
|
|
|
+ android:textColor="@color/textColor"
|
|
|
|
+ android:textSize="@dimen/two_line_primary_text_size"/>
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/sortByModificationDateAscending"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:background="@color/white"
|
|
|
|
+ android:padding="@dimen/standard_padding"
|
|
|
|
+ android:src="@drawable/ic_modification_asc"/>
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/sortByModificationDateDescending"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:background="@color/white"
|
|
|
|
+ android:padding="@dimen/standard_padding"
|
|
|
|
+ android:src="@drawable/ic_modification_desc"/>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginBottom="@dimen/standard_margin"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/sortBySizeText"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginBottom="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_marginLeft="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_marginTop="@dimen/standard_half_margin"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:ellipsize="middle"
|
|
|
|
+ android:maxLines="1"
|
|
|
|
+ android:text="Size"
|
|
|
|
+ android:textColor="@color/textColor"
|
|
|
|
+ android:textSize="@dimen/two_line_primary_text_size"/>
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/sortBySizeAscending"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:background="@color/white"
|
|
|
|
+ android:padding="@dimen/standard_padding"
|
|
|
|
+ android:src="@drawable/ic_size_asc"/>
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/sortBySizeDescending"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:background="@color/white"
|
|
|
|
+ android:padding="@dimen/standard_padding"
|
|
|
|
+ android:src="@drawable/ic_size_desc"/>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:gravity="right">
|
|
|
|
+
|
|
|
|
+ <android.support.v7.widget.AppCompatButton
|
|
|
|
+ android:id="@+id/cancel"
|
|
|
|
+ style="@style/Button.Borderless"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="@string/common_cancel"/>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+</LinearLayout>
|