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

Commit fb340590 authored by Adnan Begovic's avatar Adnan Begovic
Browse files

CMFileManager: Allow for sorting by mime type in search.

Change-Id: Ib633f84532507f2a32d78978a3c0c87d62617fd8
parent 28769211
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@
      </intent-filter>
      <meta-data
        android:name="android.app.searchable"
        android:value=".activities.SearchActivity"
        android:resource="@xml/searchable" />
    </activity>

+13 −0
Original line number Diff line number Diff line
@@ -67,6 +67,19 @@
      android:layout_marginLeft="@dimen/default_margin"
      android:singleLine="true"
      android:textAppearance="@style/secondary_text_appearance" />

    <Spinner
      android:id="@+id/search_status_type_spinner"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_alignParentBottom="true"
      android:layout_alignParentRight="true"
      android:layout_marginBottom="@dimen/default_margin"
      android:layout_marginRight="@dimen/default_margin"
      android:gravity="left"
      android:textColor="@android:color/white"
      android:dropDownVerticalOffset="20dp" />

  </RelativeLayout>

  <com.cyanogenmod.filemanager.ui.widgets.FlingerListView
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The CyanogenMod Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
<TextView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="left"
    android:textColor="@android:color/white" />
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -574,6 +574,7 @@
    <string name="category_audio">AUDIO</string>
    <string name="category_video">VIDEO</string>
    <string name="category_security">SECURITY</string>
    <string name="category_all">ALL</string>

    <!-- Compression - Compression modes dialog title -->
    <string name="compression_mode_title">Compression mode</string>
+4 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
        <item name="android:colorPrimaryDark">@color/material_palette_blue_primary_dark</item>
        <item name="android:colorControlHighlight">@color/material_palette_blue_accent_dark</item>
        <item name="android:colorAccent">@color/material_palette_blue_primary_dark</item>
        <item name="android:actionMenuTextColor">@android:color/white</item>
    </style>

    <!-- Base themes -->
@@ -42,6 +43,7 @@
        <item name="android:colorAccent">@color/material_palette_blue_primary</item>
        <item name="android:actionBarStyle">@style/FileManager.Widget.ActionBar.White</item>
        <item name="android:homeAsUpIndicator">@drawable/material_ripple_up_arrow</item>
        <item name="android:actionMenuTextColor">@android:color/white</item>
    </style>

    <style name="FileManager.Theme.Material.NoActionBar" parent="@android:style/Theme.Material.NoActionBar">
@@ -54,6 +56,7 @@
        <item name="android:colorPrimaryDark">@color/material_palette_blue_primary_dark</item>
        <item name="android:colorControlHighlight">@color/material_palette_blue_accent_dark</item>
        <item name="android:colorAccent">@color/material_palette_blue_accent</item>
        <item name="android:actionMenuTextColor">@android:color/white</item>
    </style>

    <style name="FileManager.Theme.Material" parent="@android:style/Theme.Material">
@@ -64,6 +67,7 @@
        <item name="android:colorAccent">@color/material_palette_blue_primary</item>
        <item name="android:actionBarStyle">@style/FileManager.Widget.ActionBar.White</item>
        <item name="android:homeAsUpIndicator">@drawable/material_ripple_up_arrow</item>
        <item name="android:actionMenuTextColor">@android:color/white</item>
    </style>

    <!-- A theme with overlay -->
Loading