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

Commit dad28ad7 authored by Stephen Bird's avatar Stephen Bird
Browse files

ActionBar TextSelection: Prevent overlay of textfield

Selected text in the actionbar would be covered by the
actionbar options.

Eg: Search Repro steps:
- Click the search button in CMFM
- Type something into the searchbox
- Select that text
- Text is covered

Change-Id: Ie4978035b27d938becf847f6438baffd0a099f14
parent 22b9eab3
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -19,8 +19,7 @@
    xmlns:filemanager="http://schemas.android.com/apk/res/com.cyanogenmod.filemanager"
    android:id="@+id/drawer_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">
    android:layout_height="match_parent">

    <com.cyanogenmod.filemanager.ui.widgets.ScrimInsetsFrameLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
@@ -35,7 +34,6 @@
                android:id="@+id/navigation_layout"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginTop="25dp"
                android:orientation="vertical">

            <!-- We use a Toolbar so that our drawer can be displayed in front of the action bar -->
+2 −3
Original line number Diff line number Diff line
@@ -21,11 +21,10 @@
    <style name="FileManager.Theme.Material.Light.NoActionBar" parent="@android:style/Theme.Material.Light.NoActionBar">
        <item name="android:windowBackground">@color/default_background</item>
        <item name="android:windowActionBar">false</item>
        <item name="android:windowActionModeOverlay">true</item>
        <item name="android:windowActionModeOverlay">false</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:colorPrimary">@color/material_palette_blue_primary</item>
        <item name="android:colorPrimaryDark">@color/material_palette_blue_primary_dark</item>
        <item name="android:colorControlHighlight">@color/material_palette_blue_accent_dark</item>
@@ -50,7 +49,7 @@

    <style name="FileManager.Theme.Material.NoActionBar" parent="@android:style/Theme.Material.NoActionBar">
        <item name="android:windowActionBar">false</item>
        <item name="android:windowActionModeOverlay">true</item>
        <item name="android:windowActionModeOverlay">false</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>