° Thanks °
°Guide Recent Like Lollypop°
This Tutorial Is Translated By Marc Luis Haha
material : ApkTool
920 textEditor (Notepad++)
Baca Bismilah dulu
======================================
1. Decompile framework-res.apk
2. Go to res / values and edit dimens.xml adjust like this
<dimen name="thumbnail_height">220.0dip</dimen>
<dimen name="thumbnail_width">250.0dip</dimen>
3. Save, Recompile, Sign, Push
======================================
1. Decompile systemUI.apk
2. Put ingredients into the respective Folders
3. Then get in res / values and edit strings.xml then add this line at the bottom above </ resources>
<string name="status_bar_recent_remove_all_button">Remove all</string>
Then edit dimens.xml. Customize
4. Decompile systemUI.apk
5. Go To res / values and edit dimens.xml Customize yes
<dimen name="status_bar_edge_ignore">5.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_width">48.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_height">48.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_width">250.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height">240.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_bg_padding">4.0dip</dimen>
<dimen name="status_bar_recents_app_label_text_size">14.0dip</dimen>
<dimen name="status_bar_recents_app_description_text_size">14.0dip</dimen>
<dimen name="status_bar_recents_text_fading_edge_length">20.0dip</dimen>
<dimen name="status_bar_recents_scroll_fading_edge_length">10.0dip</dimen>
<dimen name="status_bar_recents_right_glow_margin">100.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_left_margin">20.0dip</dimen>
<dimen name="status_bar_recents_text_description_padding">8.0dip</dimen>
<dimen name="status_bar_recents_app_label_width">88.0dip</dimen>
<dimen name="status_bar_recents_app_label_left_margin">0.0dip</dimen>
<dimen name="status_bar_recents_item_padding">-40.0dip</dimen>
<dimen name="status_bar_recents_app_icon_translate_distance">35.0dip</dimen>
<dimen name="status_bar_recents_app_icon_left_margin">0.0dip</dimen>
<dimen name="status_bar_recents_app_icon_top_margin">8.0dip</dimen>
6. Recompile systemUI.apk decompile sign and return
7. Go to res / values and public.xml open and keep it open
8. Open smali/com/android/systemui/recent dan edit file RecentsPanelView.smali
9. Find the following line
.field private mRecentTasksLoader:Lcom/android/systemui/recent/RecentTasksLoader;
paste this line at the bottom of her
.field private mRecentsClearAllButton:Landroid/widget/ImageButton;
10. Then find the following line :
iput v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentItemLayoutId:I
.line 267
invoke-static {p1}, Lcom/android/systemui/recent/RecentTasksLoader;->getInstance(Landroid/content/Context
Lcom/android/systemui/recent/RecentTasksLoader;
move-result-object v1
iput-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentTasksLoader:Lcom/android/systemui/recent/RecentTasksLoader;
.line 268
invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V
.line 269
return-void
.end method
√ Paste this line underneath [are spaced 1 space between .end method with .method]
.method private AsteroidClearAllRecentApps()V
.locals 8
.prologue
const/4 v7, 0x1
const/4 v6, 0x0
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mContext:Landroid/content/Context;
const-string v1, "activity"
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String
Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/app/ActivityManager;
iget-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentTaskDescriptions:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
move-result v1
if-nez v1, :cond_1
iget-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentTaskDescriptions:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/android/systemui/recent/TaskDescription;
iget v3, v1, Lcom/android/systemui/recent/TaskDescription;->persistentTaskId:I
invoke-virtual {v0, v3, v7}, Landroid/app/ActivityManager;->removeTask(II)Z
iget-object v3, p0, Lcom/android/systemui/recent/RecentsPanelView;->mContext:Landroid/content/Context;
const v4, 0x7f0b00a5
new-array v5, v7, [Ljava/lang/Object;
invoke-virtual {v1}, Lcom/android/systemui/recent/TaskDescription;->getLabel()Ljava/lang/CharSequence;
move-result-object v1
aput-object v1, v5, v6
invoke-virtual {v3, v4, v5}, Landroid/content/Context;->getString(I[Ljava/lang/Object
Ljava/lang/String;
move-result-object v1
invoke-virtual {p0, v1}, Lcom/android/systemui/recent/RecentsPanelView;->setContentDescription(Ljava/lang/CharSequence
V
const/4 v1, 0x4
invoke-virtual {p0, v1}, Lcom/android/systemui/recent/RecentsPanelView;->sendAccessibilityEvent(I)V
const/4 v1, 0x0
invoke-virtual {p0, v1}, Lcom/android/systemui/recent/RecentsPanelView;->setContentDescription(Ljava/lang/CharSequence
V
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentTaskDescriptions:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
:cond_1
invoke-virtual {p0}, Lcom/android/systemui/recent/RecentsPanelView;->dismissAndGoBack()V
return-void
.end method
.method static synthetic access$177777700(Lcom/android/systemui/recent/RecentsPanelView
V
.locals 0
.parameter "x0"
.prologue
.line 75
invoke-direct {p0}, Lcom/android/systemui/recent/RecentsPanelView;->AsteroidClearAllRecentApps()V
return-void
.end method
11. Change Code 0x7f0b00a5 the existing code in public.xml
<public type="string" name="accessibility_recents_item_dismissed" id="0x7f??????" />
12. Then find the following line
.method protected onFinishInflate()V
scroll down to see the return void as below:
invoke-virtual {v1, v2}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable
V
.line 488
:cond_0
:goto_0
return-void
√ Right below: goto 0 add the following line
const v1, 0x7f08012e
invoke-virtual {p0, v1}, Lcom/android/systemui/recent/RecentsPanelView;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/ImageButton;
iput-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentsClearAllButton:Landroid/widget/ImageButton;
.line 499
iget-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentsClearAllButton:Landroid/widget/ImageButton;
new-instance v2, Lcom/android/systemui/recent/RecentsPanelView$AsteroidClearAll;
invoke-direct {v2, p0}, Lcom/android/systemui/recent/RecentsPanelView$AsteroidClearAll;-><init>(Lcom/android/systemui/recent/RecentsPanelView
V
invoke-virtual {v1, v2}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener
V
13. Replace 0x7f0b00a5 code with the code in public.xml: :
<public type="id" name="asteroid_recents_clear_all_button" id="0x7f??????" />
14. Recompile, sign, push
======================================
Credit : Inspirasi dari rom Amber L
Rommel Vallisor
You
======================================
Note : Do Mirror Without Courtesy Have Guide
Link ng guide
You do not have permission to view the full content of this post. Log in or register now.
°Guide Recent Like Lollypop°
This Tutorial Is Translated By Marc Luis Haha

material : ApkTool
920 textEditor (Notepad++)
Baca Bismilah dulu
======================================
1. Decompile framework-res.apk
2. Go to res / values and edit dimens.xml adjust like this
<dimen name="thumbnail_height">220.0dip</dimen>
<dimen name="thumbnail_width">250.0dip</dimen>
3. Save, Recompile, Sign, Push
======================================
1. Decompile systemUI.apk
2. Put ingredients into the respective Folders
3. Then get in res / values and edit strings.xml then add this line at the bottom above </ resources>
<string name="status_bar_recent_remove_all_button">Remove all</string>
Then edit dimens.xml. Customize
4. Decompile systemUI.apk
5. Go To res / values and edit dimens.xml Customize yes

<dimen name="status_bar_edge_ignore">5.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_width">48.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_height">48.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_width">250.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height">240.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_bg_padding">4.0dip</dimen>
<dimen name="status_bar_recents_app_label_text_size">14.0dip</dimen>
<dimen name="status_bar_recents_app_description_text_size">14.0dip</dimen>
<dimen name="status_bar_recents_text_fading_edge_length">20.0dip</dimen>
<dimen name="status_bar_recents_scroll_fading_edge_length">10.0dip</dimen>
<dimen name="status_bar_recents_right_glow_margin">100.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_left_margin">20.0dip</dimen>
<dimen name="status_bar_recents_text_description_padding">8.0dip</dimen>
<dimen name="status_bar_recents_app_label_width">88.0dip</dimen>
<dimen name="status_bar_recents_app_label_left_margin">0.0dip</dimen>
<dimen name="status_bar_recents_item_padding">-40.0dip</dimen>
<dimen name="status_bar_recents_app_icon_translate_distance">35.0dip</dimen>
<dimen name="status_bar_recents_app_icon_left_margin">0.0dip</dimen>
<dimen name="status_bar_recents_app_icon_top_margin">8.0dip</dimen>
6. Recompile systemUI.apk decompile sign and return
7. Go to res / values and public.xml open and keep it open
8. Open smali/com/android/systemui/recent dan edit file RecentsPanelView.smali
9. Find the following line
.field private mRecentTasksLoader:Lcom/android/systemui/recent/RecentTasksLoader;
paste this line at the bottom of her
.field private mRecentsClearAllButton:Landroid/widget/ImageButton;
10. Then find the following line :
iput v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentItemLayoutId:I
.line 267
invoke-static {p1}, Lcom/android/systemui/recent/RecentTasksLoader;->getInstance(Landroid/content/Context
Lcom/android/systemui/recent/RecentTasksLoader;move-result-object v1
iput-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentTasksLoader:Lcom/android/systemui/recent/RecentTasksLoader;
.line 268
invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V
.line 269
return-void
.end method
√ Paste this line underneath [are spaced 1 space between .end method with .method]
.method private AsteroidClearAllRecentApps()V
.locals 8
.prologue
const/4 v7, 0x1
const/4 v6, 0x0
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mContext:Landroid/content/Context;
const-string v1, "activity"
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String
Ljava/lang/Object;move-result-object v0
check-cast v0, Landroid/app/ActivityManager;
iget-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentTaskDescriptions:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
move-result v1
if-nez v1, :cond_1
iget-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentTaskDescriptions:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/android/systemui/recent/TaskDescription;
iget v3, v1, Lcom/android/systemui/recent/TaskDescription;->persistentTaskId:I
invoke-virtual {v0, v3, v7}, Landroid/app/ActivityManager;->removeTask(II)Z
iget-object v3, p0, Lcom/android/systemui/recent/RecentsPanelView;->mContext:Landroid/content/Context;
const v4, 0x7f0b00a5
new-array v5, v7, [Ljava/lang/Object;
invoke-virtual {v1}, Lcom/android/systemui/recent/TaskDescription;->getLabel()Ljava/lang/CharSequence;
move-result-object v1
aput-object v1, v5, v6
invoke-virtual {v3, v4, v5}, Landroid/content/Context;->getString(I[Ljava/lang/Object
Ljava/lang/String;move-result-object v1
invoke-virtual {p0, v1}, Lcom/android/systemui/recent/RecentsPanelView;->setContentDescription(Ljava/lang/CharSequence
Vconst/4 v1, 0x4
invoke-virtual {p0, v1}, Lcom/android/systemui/recent/RecentsPanelView;->sendAccessibilityEvent(I)V
const/4 v1, 0x0
invoke-virtual {p0, v1}, Lcom/android/systemui/recent/RecentsPanelView;->setContentDescription(Ljava/lang/CharSequence
Vgoto :goto_0
:cond_0
iget-object v0, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentTaskDescriptions:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
:cond_1
invoke-virtual {p0}, Lcom/android/systemui/recent/RecentsPanelView;->dismissAndGoBack()V
return-void
.end method
.method static synthetic access$177777700(Lcom/android/systemui/recent/RecentsPanelView
V.locals 0
.parameter "x0"
.prologue
.line 75
invoke-direct {p0}, Lcom/android/systemui/recent/RecentsPanelView;->AsteroidClearAllRecentApps()V
return-void
.end method
11. Change Code 0x7f0b00a5 the existing code in public.xml
<public type="string" name="accessibility_recents_item_dismissed" id="0x7f??????" />
12. Then find the following line
.method protected onFinishInflate()V
scroll down to see the return void as below:
invoke-virtual {v1, v2}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable
V.line 488
:cond_0
:goto_0
return-void
√ Right below: goto 0 add the following line
const v1, 0x7f08012e
invoke-virtual {p0, v1}, Lcom/android/systemui/recent/RecentsPanelView;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/ImageButton;
iput-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentsClearAllButton:Landroid/widget/ImageButton;
.line 499
iget-object v1, p0, Lcom/android/systemui/recent/RecentsPanelView;->mRecentsClearAllButton:Landroid/widget/ImageButton;
new-instance v2, Lcom/android/systemui/recent/RecentsPanelView$AsteroidClearAll;
invoke-direct {v2, p0}, Lcom/android/systemui/recent/RecentsPanelView$AsteroidClearAll;-><init>(Lcom/android/systemui/recent/RecentsPanelView
Vinvoke-virtual {v1, v2}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener
V13. Replace 0x7f0b00a5 code with the code in public.xml: :
<public type="id" name="asteroid_recents_clear_all_button" id="0x7f??????" />
14. Recompile, sign, push
======================================
Credit : Inspirasi dari rom Amber L
Rommel Vallisor
You
======================================
Note : Do Mirror Without Courtesy Have Guide
Link ng guide
You do not have permission to view the full content of this post. Log in or register now.