Merge "Remove loading spinner from Premium SMS access" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
611db9e8be
@@ -43,8 +43,10 @@ public abstract class EmptyTextSettings extends SettingsPreferenceFragment {
|
||||
TypedValue value = new TypedValue();
|
||||
getContext().getTheme().resolveAttribute(android.R.attr.textAppearanceMedium, value, true);
|
||||
mEmpty.setTextAppearance(value.resourceId);
|
||||
final int layoutHeight = getContext().getResources()
|
||||
.getDimensionPixelSize(R.dimen.empty_text_layout_height);
|
||||
((ViewGroup) view.findViewById(android.R.id.list_container)).addView(mEmpty,
|
||||
new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
|
||||
new LayoutParams(LayoutParams.MATCH_PARENT, layoutHeight));
|
||||
setEmptyView(mEmpty);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user