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

Commit faa790c4 authored by Michael Jurka's avatar Michael Jurka
Browse files

Fix the pressed state for thumbnails in Recents

- pressed state is now in foreground
- also, keep drawing pressed drawable on long press

Change-Id: I1a2025b5a79a5bfd4aaacf5312d52404fc3361a1
parent 32041c16
Loading
Loading
Loading
Loading
−207 B
Loading image diff...
+1 −2
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@
     limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="@drawable/recents_thumbnail_bg_press" android:state_pressed="true" />
    <item android:drawable="@drawable/recents_thumbnail_bg" android:state_activated="true" />
    <item android:drawable="@drawable/recents_thumbnail_bg_dragging" android:state_activated="true" />
    <item android:drawable="@*android:color/transparent"/>
</selector>
+1 −2
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@
*/
-->

<!--    android:background="@drawable/status_bar_closed_default_background" -->
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="match_parent"
@@ -37,7 +36,7 @@
            android:layout_alignParentTop="true"
            android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin"
            android:scaleType="center"
            android:background="@drawable/recents_thumbnail_overlay">
            android:background="@drawable/recents_thumbnail_bg">
            <ImageView android:id="@+id/app_thumbnail_image"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
Loading