- 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
+ 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>
+ 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
+ Ở 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"
Mã:
android:layout_marginStart="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_toEndOf="@id/app_label"
+ Sửa "android
- B3: thêm đoạn sau vào cuối dòng số 2
Mã:
android:layout_marginTop="-55.0dip" android:rotationX="-5.0"
- 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"
- B5: vào values/id thêm
Mã:
<item type="id" name="app_top_colored_bar">false</item>
Mã:
<dimen name="status_bar_recents_app_color_bar_height">42.0dip</dimen>
Mã:
<dimen name="status_bar_recents_thumbnail_width">260.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height">120.0dip</dimen>
Mã:
<item type="drawable" name="card">#ff6a00be</item>
* Bug: bị mất dòng Xóa tất cả ở cuối.
Nguồn XDA và xinhzai1o2