|
@@ -20,6 +20,7 @@
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
-->
|
|
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/drawer_layout"
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
@@ -30,33 +31,67 @@
|
|
<!-- The main content view -->
|
|
<!-- The main content view -->
|
|
<RelativeLayout
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<include layout="@layout/toolbar_standard" />
|
|
<include layout="@layout/toolbar_standard" />
|
|
|
|
|
|
- <FrameLayout
|
|
|
|
|
|
+ <androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
+ android:id="@+id/list_fragment_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/appbar">
|
|
android:layout_below="@id/appbar">
|
|
|
|
|
|
|
|
+ <com.google.android.material.appbar.AppBarLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:background="@color/bg_default"
|
|
|
|
+ app:elevation="0dp">
|
|
|
|
+
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ app:layout_scrollFlags="scroll|enterAlways|snap">
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
|
+ android:id="@+id/sort_button"
|
|
|
|
+ style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
|
+ android:contentDescription="@string/actionbar_sort"
|
|
|
|
+ android:minWidth="0dp"
|
|
|
|
+ android:text="@string/menu_item_sort_by_date_newest_first"
|
|
|
|
+ android:textAlignment="textStart"
|
|
|
|
+ android:textAllCaps="false"
|
|
|
|
+ android:textColor="@color/fontAppbar"
|
|
|
|
+ android:textSize="14sp"
|
|
|
|
+ app:icon="@drawable/ic_keyboard_arrow_down"
|
|
|
|
+ app:iconGravity="textEnd"
|
|
|
|
+ app:iconSize="16dp"
|
|
|
|
+ app:iconTint="@color/fontAppbar"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
+ </com.google.android.material.appbar.AppBarLayout>
|
|
|
|
+
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/swipe_containing_list"
|
|
android:id="@+id/swipe_containing_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:footerDividersEnabled="false"
|
|
android:footerDividersEnabled="false"
|
|
- android:visibility="visible">
|
|
|
|
|
|
+ android:visibility="visible"
|
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
<com.owncloud.android.ui.EmptyRecyclerView
|
|
<com.owncloud.android.ui.EmptyRecyclerView
|
|
android:id="@android:id/list"
|
|
android:id="@android:id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
android:layout_height="match_parent"/>
|
|
-
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
<include layout="@layout/empty_list"/>
|
|
<include layout="@layout/empty_list"/>
|
|
|
|
|
|
- </FrameLayout>
|
|
|
|
|
|
+ </androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
|