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:
Jeff Sharkey
2015-07-05 22:09:07 -07:00
parent 6a0082b483
commit 48751c1a51
8 changed files with 91 additions and 51 deletions

View File

@@ -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);
}
}