Update UI to use a smaller icon for ManageApplication page.
- Rewrite preference_app.xml to have a small icon - Update ApplicationViewHolder to hide/show summary row dynamically - but only do this for notification settings - this UI has empty summary for most row. For other UI, just keep the empty summary row until summary comes in. If we also hide/show summary row there will be a height change animation which is janky. Bug : 65182905 Fixes: 63582851 Test: robotests Change-Id: Ice67324f08c67e014a018dfc51e00fe4449036dd
This commit is contained in:
@@ -38,7 +38,7 @@ public class AppDataUsagePreference extends Preference {
|
||||
super(context);
|
||||
mItem = item;
|
||||
mPercent = percent;
|
||||
setLayoutResource(R.layout.data_usage_item);
|
||||
setLayoutResource(R.layout.preference_app);
|
||||
setWidgetLayoutResource(R.layout.widget_progress_bar);
|
||||
|
||||
if (item.restricted && item.total <= 0) {
|
||||
|
Reference in New Issue
Block a user