在对11.0SystemUI的下拉状态栏部分做定制时,需要修改快捷功能图标的大小和背景.所以就要看QSTileBaseView.java的实现布局
通过源码来修改它的样式
QSTileBaseView.java的路径为:
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileBaseView.java
public class QSTileBaseView extends com.android.systemui.plugins.qs.QSTileView {
.....
private final int[] mLocInScreen = new int[2];
private final FrameLayout mIconFrame;
protected QSIconView mIcon;
protected RippleDrawable mRipple