[GUIDE]How to add quicklauncher in recents app (A2017G)(A2017U)

kenet

Senior Member
Jun 15, 2010
355
526
93
Leon
www.androidmod.net
decompile SystemUI_ZTE.apk
open layout/mifaver_recent_button.xml

remove

Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center" android:layout_gravity="bottom|center" android:id="@id/clearall" android:layout_width="wrap_content" android:layout_height="@dimen/mifavor_recent_app_bottom_bar_height"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/sys_delete" />
    <TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:ellipsize="end" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/recent_app_clearall" android:singleLine="true" android:paddingStart="@dimen/mifavor_recent_app_start_padding" />
</LinearLayout>
Replace

Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:gravity="center" android:layout_gravity="bottom|center" android:id="@id/clearall" android:layout_width="wrap_content" android:layout_height="@dimen/mifavor_recent_app_bottom_bar_height"
  xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/sys_delete" />
<TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:ellipsize="end" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/recent_app_clearall" android:singleLine="true" android:paddingStart="@dimen/mifavor_recent_app_start_padding" />
</LinearLayout>
<HorizontalScrollView android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="75.0dip">
 <com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="75.0dip" android:layout_centerHorizontal="true" />
    </HorizontalScrollView>
</LinearLayout>
open values/dimens.xml

search

Code:
<dimen name="mifavor_recent_app_bottom_bar_height">67.0dip</dimen>
Replace

Code:
<dimen name="mifavor_recent_app_bottom_bar_height">95.0dip</dimen>
download smalis and replace them so as path in zip file

recompile SystemUI.






Thanks

@gharrington For smalis
@josete_197601 For your help with the code
 

Attachments

Last edited: