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

Commit 7eae7a97 authored by Jim Miller's avatar Jim Miller Committed by Android (Google) Code Review
Browse files

Merge "Fix 3386135: Make recent apps scrollable with more entries"

parents 7c4beadf 5fda69cf
Loading
Loading
Loading
Loading
+1.79 KiB (3.66 KiB)
Loading image diff...
+2.36 KiB (3.89 KiB)
Loading image diff...
+2.27 KiB
Loading image diff...
+4 −4
Original line number Diff line number Diff line
@@ -22,14 +22,14 @@
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="wrap_content"
    android:layout_width="156dip">
    android:layout_width="@dimen/status_bar_recents_thumbnail_view_width">

    <ImageView android:id="@+id/app_thumbnail"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true"
        android:layout_marginLeft="105dip"
        android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin"
        android:scaleType="center"
    />

@@ -40,8 +40,8 @@
        android:layout_alignParentTop="true"
        android:layout_marginLeft="123dip"
        android:layout_marginTop="16dip"
        android:maxWidth="64dip"
        android:maxHeight="64dip"
        android:maxWidth="@dimen/status_bar_recents_thumbnail_max_width"
        android:maxHeight="@dimen/status_bar_recents_thumbnail_max_height"
        android:adjustViewBounds="true"
    />

+16 −17
Original line number Diff line number Diff line
@@ -36,36 +36,35 @@
        <LinearLayout android:id="@+id/recents_glow"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:layout_marginBottom="-28dip"
            android:layout_marginBottom="-52dip"
            android:layout_gravity="bottom"
            android:background="@drawable/recents_blue_glow">
            android:background="@drawable/recents_blue_glow"
            android:orientation="horizontal"
            >

            <LinearLayout android:id="@+id/recents_container"
                android:layout_width="356dip"
            <ListView android:id="@+id/recents_container"
                android:layout_width="@dimen/status_bar_recents_width"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:layout_marginRight="100dip"
                android:divider="@null"
                android:scrollingCache="true"
                android:stackFromBottom="true"
                android:fadingEdge="vertical"
                android:scrollbars="none"
                android:fadingEdgeLength="30dip"
                android:listSelector="@drawable/recents_thumbnail_bg_press"
            />

        </LinearLayout>

    </FrameLayout>

    <!-- The outer FrameLayout is just used as an opaque background for the dismiss icon -->
    <FrameLayout
    <View android:id="@+id/recents_dismiss_button"
        android:layout_width="80px"
        android:layout_height="@*android:dimen/status_bar_height"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:background="#ff000000">

        <View android:id="@+id/recents_dismiss_button"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
        android:background="@drawable/ic_sysbar_back_ime"
    />

    </FrameLayout>

</com.android.systemui.statusbar.tablet.RecentAppsPanel>
Loading