context.getSharedPreferences("PreferenceManager", context.MODE_PRIVATE).getString(key, defaultValue);
PreferenceManager.getDefaultSharedPreferences(context).getString(key,
defaultValue);
ImageView v = (ImageView) _________;
((BitmapDrawable) v.getDrawable()).setCallback(null);
private void unbindDrawables(View view) {
if (view.getBackground() != null) {
view.getBackground().setCallback(null);
}
if (view instanceof ViewGroup) {
for (int i = 0; i < ((ViewGroup) view).getChildCount(); i++) {
unbindDrawables(((ViewGroup) view).getChildAt(i));
}
((ViewGroup) view).removeAllViews();
}
}