Merge "Fix icon size for Data Usage / Battery Stats / Process Stats"
This commit is contained in:
committed by
Android (Google) Code Review
commit
bf4ea4bd8c
@@ -47,7 +47,7 @@ public class ProcessStatsPreference extends Preference {
|
||||
public ProcessStatsPreference(Context context, AttributeSet attrs, int defStyleAttr,
|
||||
int defStyleRes) {
|
||||
super(context, attrs, defStyleAttr, defStyleRes);
|
||||
setLayoutResource(R.layout.app_percentage_item);
|
||||
setLayoutResource(R.layout.preference_app_percentage);
|
||||
}
|
||||
|
||||
public void init(Drawable icon, ProcStatsEntry entry) {
|
||||
|
@@ -37,7 +37,7 @@ public class PowerGaugePreference extends Preference {
|
||||
|
||||
public PowerGaugePreference(Context context, Drawable icon, BatteryEntry info) {
|
||||
super(context);
|
||||
setLayoutResource(R.layout.app_percentage_item);
|
||||
setLayoutResource(R.layout.preference_app_percentage);
|
||||
setIcon(icon != null ? icon : new ColorDrawable(0));
|
||||
mInfo = info;
|
||||
}
|
||||
|
Reference in New Issue
Block a user