Skip to main content

Resource optimization

If you introduce any third-party framework optimization resource, you need to add all the resources prefixed to the whitelist.

TradPlus

R.string.tp_*
R.drawable.tp_*
R.layout.tp_*
R.id.tp_*

Integrated the cross-promotion

R.string.cp_*
R.drawable.cp_*
R.layout.cp_*
R.id.cp_*

Integrated the Klevin

R.anim.klevin_*
R.color.klevin_*
R.drawable.klevin_*
R.id.klevin_*
R.layout.klevin_*
R.mipmap.klevin_*
R.string.klevin_*
R.integer.klevin_*
R.style.klevin_*
R.dimen.klevin_*
R.xml.klevin_*

Integrated the Pangle

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:keep="@layout/tt_*,
@layout/notification_*,
@anim/tt_*,
@drawable/tt_*,
@string/tt_*,
@color/tt_*,
@string/ad*,
@string/star_*,
@dimen/tt_*,
@integer/tt_*,
@style/tt_*,
@style/Theme.Dialog.TT_*,
@style/tt_*,
@style/quick_*,
@style/EditTextStyle*"
@attr/tt_*"/>
  • In addition, Pangle also needs to perform clear single resource configuration according to the connected Pangle version
  • DownLoad whiteList.txt

Integrated the GDT

"R.integer.min_screen_width_bucket",
"R.style.DialogAnimationUp",
"R.style.DialogAnimationRight",
"R.style.DialogFullScreen",
"R.drawable.gdt_*"

Integrated the Mintegral

"R.string.mbridge*",
"R.layout.mbridge*",
"R.drawable.mbridge*",
"R.anim.mbridge*",
"R.color.mbridge*",
"R.style.mbridge*",
"R.id.mbridge*"