[Android General] Ambor:
Hi will give some advice

How Change This:

In file status_bar_recent_item.xml add red Line

Let the value ranges from -80 to -120. Setting it to themselves.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center" android:layout_gravity="center" android:id="@id/recent_item" android:padding="@dimen/status_bar_recents_card_margin" android:clipChildren="true" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="fill_parent" [COLOR="Red"]android:layout_marginTop="-120.0dip"[/COLOR] android:rotationX="-5.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:gravity="center" android:layout_gravity="center" android:id="@id/app_thumbnail" android:background="@drawable/status_bar_recent_card_shadow" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="fill_parent">
<ImageView android:id="@id/app_thumbnail_image" android:paddingTop="@dimen/status_bar_recents_app_color_bar_height" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="fill_parent" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:id="@id/app_top_colored_bar" android:background="@color/status_bar_recents_app_bar_color" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_recents_app_color_bar_height">
<ImageView android:layout_gravity="center_vertical" android:id="@id/app_icon" android:layout_width="wrap_content" android:layout_height="@dimen/status_bar_recents_app_color_bar_icon_size" android:layout_margin="@dimen/status_bar_recents_app_color_bar_icon_margin" 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_weight="0.0" />
<TextView android:textSize="@dimen/status_bar_recents_app_color_bar_label_size" android:textColor="@color/status_bar_recents_app_label_color_dark" android:ellipsize="marquee" android:layout_gravity="center_vertical" android:id="@id/app_label" 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_weight="1.0" android:importantForAccessibility="no" android:textAlignment="viewStart" android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin" android:layout_toEndOf="@id/app_icon" android:layout_alignParentStart="true" />
<Button android:gravity="right" android:layout_gravity="right|center" android:id="@id/app_floating" android:background="@drawable/recents_floating" android:visibility="gone" android:layout_width="@dimen/status_bar_recents_app_color_bar_button_size" android:layout_height="@dimen/status_bar_recents_app_color_bar_button_size" android:layout_marginRight="@dimen/status_bar_recents_app_color_bar_button_sep" android:layout_weight="0.0" />
<Button android:layout_gravity="right|center" android:id="@id/app_kill" android:background="@drawable/recents_kill" android:visibility="gone" android:layout_width="@dimen/status_bar_recents_app_color_bar_button_size" android:layout_height="@dimen/status_bar_recents_app_color_bar_button_size" android:layout_marginRight="@dimen/status_bar_recents_app_color_bar_button_margin" android:layout_weight="0.0" />
</LinearLayout>
<ImageView android:id="@id/app_thumbnail_border" android:background="@drawable/status_bar_recent_card_border" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</RelativeLayout>
</RelativeLayout>
<View android:id="@id/recents_callout_line" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" />
<TextView android:id="@id/app_description" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" />
</RelativeLayout>

---------- Post added at 02:46 AM ---------- Previous post was at 02:37 AM ----------

How remove this

In this file tray remove red lines

status_bar_recent_panel.xml

The names may be different, this is just an example. (Panel is to be transparent)

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent" [COLOR="Red"]android:foreground="@drawable/bg_protect"[/COLOR] systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:id="@id/recents_bg_protect" [COLOR="red"]android:background="@drawable/status_bar_recents_background" [/COLOR]android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsVerticalScrollView android:layout_gravity="start|bottom|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="vertical" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:stackFromBottom="true" android:divider="@null" android:layout_marginEnd="0.0dip">
<LinearLayout android:orientation="vertical" android:id="@id/recents_linear_layout" android:fitsSystemWindows="true" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/recents_inject_closeall_button" />
</LinearLayout>

</com.android.systemui.recent.RecentsVerticalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>