.

Recent app android 5.0

[​IMG]

- Mình đã thử thành công trên kitkat 4.4, các bản thấp hơn có thể thử.
B1: if 2 file framework và lge-res, bung file LGSystemui.apk
B2: mở file status_bar_recent_item.xml trong res/layout thì file của bạn ban đầu sẽ như thế này
[​IMG]

+ Tiếp theo là cop đoạn code này vào dưới dòng số 7
Mã:
<RelativeLayout android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="wrap_content">
                <LinearLayout android:orientation="horizontal" android:id="@id/app_top_colored_bar" android:layout_below="@id/app_thumbnail_image" android:background="@drawable/card" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_recents_app_color_bar_height">
                    <ImageView android:id="@id/app_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_marginStart="@dimen/status_bar_recents_app_icon_left_margin" android:layout_toEndOf="@id/app_label" />
                    <TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingTop="10.0dip" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_alignTop="@id/app_icon" android:importantForAccessibility="no" android:textAlignment="viewStart" android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin" android:layout_alignParentStart="true" />
                </LinearLayout>
            </RelativeLayout>
và nó sẽ như thế này
[​IMG]
+ Các bạn để ý này, cut dòng số 16 thế vào dòng số 10 và cắt dòng 5 thế vào dòng 11 (nghĩa là xóa dòng 10 và dòng 11, thay thế 2 dòng đấy là dòng 16 và dòng 5) ok thì sẽ như hình
[​IMG]
+ Ở dòng 6 các bạn thêm đoạn này vào ngay sau "android:id="@id/app_thumbnail_image"
Mã:
 android:layout_marginTop="@dimen/status_bar_recents_app_color_bar_height"
+ Xóa đoạn này ở dòng 5, nhớ là đừng xóa dấu > ở sau cùng nhé, k là k build đc đâu
Mã:
android:layout_marginStart="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_toEndOf="@id/app_label"
+ Thay đoạn "android:layout_marginTop" ở dòng số 9 bằng đoạn "android:layout_margin"
+ Sửa "android:paddingTop="2.0dip" ở dòng số 10 thành "android:paddingTop="10.0dip"
B3: thêm đoạn sau vào cuối dòng số 2
Mã:
android:layout_marginTop="-55.0dip" android:rotationX="-5.0"
+ Sửa android:paddingTop="@dimen/status_bar_recents_item_padding" thành android:paddingTop="30.0dip"
- B4: vào status_bar_recent_panel ở res/layout
+ Thêm đoạn sau vào cuối dòng số 2
Mã:
android:rotationX="5.0"
+ Sửa android:background="@drawable/recent_apps_bg" thành android:background="[HASHTAG]#00000000[/HASHTAG]"
B5: vào values/id thêm
Mã:
<item type="id" name="app_top_colored_bar">false</item>
+ File dimen thêm
Mã:
<dimen name="status_bar_recents_app_color_bar_height">42.0dip</dimen>
Chỉnh thông số hai dòng thành như này
Mã:
<dimen name="status_bar_recents_thumbnail_width">260.0dip</dimen>
    <dimen name="status_bar_recents_thumbnail_height">120.0dip</dimen>
+ File drawables thêm
Mã:
<item type="drawable" name="card">#ff6a00be</item>
B6: đóng gói lại file và tận hưởng thành quả. Mình trình bày còn hơi lủng củng, các bạn k hiểu chỗ nào cmt dưới topic nhé.
Bug: bị mất dòng Xóa tất cả ở cuối.

Nguồn XDA và xinhzai1o2​