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

Commit ccc3743c authored by narinder Rana's avatar narinder Rana
Browse files

update sort Chip view select and un-selected, icon of chip :Roll Back

parent 36189394
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
  -->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_selected="true" android:color="@color/chip_background_disable_color"/>
    <item android:state_selected="true" android:color="?android:attr/colorSecondary"/>
    <item android:state_enabled="true" android:color="?android:attr/colorBackground"/>
    <item android:state_enabled="false" android:color="@color/color_default_blue1"/>
    <item android:state_enabled="false" android:color="@color/chip_background_disable_color"/>
</selector>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
        android:height="24dp"
        android:viewportWidth="24"
        android:viewportHeight="24"
    android:tint="@color/color_default_blue1"
    android:tint="@color/color_default_primary_text"
    >
    <path
        android:fillColor="?android:attr/colorControlNormal"
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

<resources xmlns:android="http://schemas.android.com/apk/res/android">
    <style name="ActionBarTheme" parent="@style/ThemeOverlay.AppCompat.ActionBar">
        <item name="colorControlNormal">?android:textColorSecondary</item>
        <item name="colorControlNormal">@color/color_default_blue1</item>
    </style>

    <style name="ActionModeStyle" parent="Widget.AppCompat.ActionMode">
@@ -58,7 +58,7 @@
    </style>

    <style name="OverflowButtonStyle" parent="@style/Widget.AppCompat.ActionButton.Overflow">
        <item name="android:tint">?android:colorControlNormal</item>
        <item name="android:tint">@color/color_default_blue1</item>
        <item name="android:minWidth">@dimen/button_touch_size</item>
    </style>

+3 −7
Original line number Diff line number Diff line
@@ -228,21 +228,17 @@ public class RootInfo implements Durable, Parcelable, Comparable<RootInfo> {
            derivedIcon = R.drawable.ic_root_download;
        } else if (isImages()) {
            derivedType = TYPE_IMAGES;
           // derivedIcon = LOAD_FROM_CONTENT_RESOLVER;
            derivedIcon = R.drawable.ic_usb_storage;
            derivedIcon = LOAD_FROM_CONTENT_RESOLVER;
        } else if (isVideos()) {
            derivedType = TYPE_VIDEO;
            //derivedIcon = LOAD_FROM_CONTENT_RESOLVER;
            derivedIcon = R.drawable.ic_usb_storage;
            derivedIcon = LOAD_FROM_CONTENT_RESOLVER;
        } else if (isAudio()) {
            derivedType = TYPE_AUDIO;
            derivedIcon = R.drawable.ic_usb_storage;
           // derivedIcon = LOAD_FROM_CONTENT_RESOLVER;
            derivedIcon = LOAD_FROM_CONTENT_RESOLVER;
        } else if (isRecents()) {
            derivedType = TYPE_RECENTS;
        } else {
            derivedType = TYPE_OTHER;
            derivedIcon = R.drawable.ic_usb_storage;
        }

        if (VERBOSE) Log.v(TAG, "Derived fields: " + this);