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

Commit e8b4a757 authored by Stefan Niedermann's avatar Stefan Niedermann
Browse files

Fix multiselection styling

parent 484fdd5c
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items -->
<ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/bg_highlighted">
    <!-- :selected -->
    <item>
        <selector>
            <item android:state_selected="true">
                <color android:color="@color/bg_highlighted" />
            </item>

            <item android:state_activated="true">
                <color android:color="@color/bg_highlighted" />
            </item>

            <item>
                <color android:color="@android:color/transparent" />
            </item>
        </selector>
    </item>
</ripple>
 No newline at end of file
+0 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items -->
<ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/bg_highlighted">
    <!-- :selected -->


    <item>
        <selector>
            <item android:state_selected="true">
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items -->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <!-- :selected -->
    <item android:drawable="@color/bg_highlighted" android:state_selected="true" />
    <item android:drawable="@android:color/transparent" />
</selector>
+2 −3
Original line number Diff line number Diff line
@@ -8,12 +8,13 @@
    android:focusable="true">

    <LinearLayout
        android:id="@+id/wrapper"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@drawable/grid_item_background_selector"
        android:orientation="vertical"
        android:paddingBottom="@dimen/spacer_1x">


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
@@ -57,7 +58,6 @@
                    android:layout_marginBottom="@dimen/spacer_1x"
                    android:textAppearance="?attr/textAppearanceHeadline5"
                    android:textColor="@color/fg_default"
                    android:textIsSelectable="true"
                    android:theme="@style/textViewStyle"
                    tools:maxLength="50"
                    tools:text="@tools:sample/lorem/random" />
@@ -102,7 +102,6 @@
            android:layout_marginBottom="@dimen/spacer_1x"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textColor="@color/fg_default"
            android:textIsSelectable="true"
            android:theme="@style/textViewStyle"
            tools:maxLength="200"
            tools:text="@tools:sample/lorem/random" />