NOTE: THIS GUIDE ONLY FOR USERS KNOWS ALL STUFF ABOUT CREATING,EDITING, AND
SMALL KNOWLEGE OF SMALI,JAVA IS REQUIRED
Requirements
APKTOOL
NOTEPAD++
FILES(HERE)
SUBSCRIBE NOW
IT MOTIVATES ME TO MAKE MORE VIDEO GUIDES
VIDEOS GUIDE
Decompile Settings.apk
locate to res/xml/dasboard_categories.xml
create a new prefrence screen with name AD BLOCK[any name can be used]
using below code
now create a new layout in res/layout with name ads_layout using below code
create a new xml in res/xml with name ads_settings using below code
now add below strings in res/values/string.xml
at last add below id's in res/values/id's
SMALI WORK
///////////////////////////////////////////////////////////////////
//adssettings0x7f090b76-ads_dialog_wait[string]
0x7f060066-ads_settings[xml]
//adshelpers
0x7f090b79-ads_dialog_conn_error[string]
//whitelist$1
0x7f1002fc-ads_whitelist_text[id]
//whitelist
0x7f040109-ads_whitelist[layout]
0x7f1002fb-ads_whitelist_button_add[id]
0x7f090b80-ads_whitelist_pref_menu_apply[string]
0x7f0201df-ic_ads_whitelist_apply[drawable]
//adshelpers$2
0x7f090b78-ads_dialog_success[string]
0x7f090b77-ads_dialog_failed[string]
/////////////////////////////////////////////////////////////////////////////////////////////////
CREDITS
XDA
PARAS GUGLANI
where is "ic_ads_whitelist_apply" in your zip.Probably it is a .png file.We may get fc in settings please fix this issue
ReplyDelete