Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2af0784 authored by Steve McKay's avatar Steve McKay
Browse files

UX cleanups.

Visually separate directory background from sidebar.
Lower shadows so the "real" effect isn't so prominent.

Hitchhikders:
Consolidate bool values in config.xml files (were in dimens.xml).
Add missing supportsRecents & supportsSearch methods
    to RootInfo.
Rename RecentLoader to RecentsLoader so it doesn't defy
    searching for "Recents" string.
Move Downloads below the divider.

Change-Id: I06c76e26ec6df6541860a1448865c67ed953ed43
parent 82a94d98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
            android:layout_gravity="start"
            android:orientation="vertical"
            android:elevation="16dp"
            android:background="@color/window_background">
            android:background="@color/drawer_background">

            <Toolbar
                android:id="@+id/roots_toolbar"
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
<com.android.documentsui.DirectoryView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/window_background"
    android:background="@color/directory_background"
    android:outlineProvider="bounds"
    android:elevation="4dp"
    android:orientation="vertical">
@@ -45,7 +45,7 @@
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:background="@color/window_background"
        android:background="@color/directory_background"
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:visibility="gone">
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/grid_item_margin"
    android:background="@color/item_doc_background"
    android:elevation="5dp"
    android:elevation="@dimen/grid_item_elevation"
    android:focusable="true" >

    <LinearLayout
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/grid_item_margin"
    android:background="@color/item_doc_background"
    android:elevation="5dp"
    android:elevation="@dimen/grid_item_elevation"
    android:focusable="true">

    <!-- Main item thumbnail.  Comprised of two overlapping images, the
Loading