Fix some ordering, colors, and accessibility bugs.
When adding preferences to public/private details screens, always add in-order when rebuilding. Hacky fix for broken summary text and eject image color tints. Fix crash when device rotated during partitioning. Set correct accessibility titles in all wizard steps. Bug: 22098044, 21376962 Change-Id: I68aff96cba497a91919cad8865722bc9cef7eaa7
This commit is contained in:
@@ -17,9 +17,11 @@
|
||||
package com.android.settings.deviceinfo;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Color;
|
||||
import android.preference.Preference;
|
||||
import android.view.View;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.settings.R;
|
||||
|
||||
@@ -47,6 +49,9 @@ public class StorageSummaryPreference extends Preference {
|
||||
progress.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
final TextView summary = (TextView) view.findViewById(android.R.id.summary);
|
||||
summary.setTextColor(Color.parseColor("#8a000000"));
|
||||
|
||||
super.onBindView(view);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user