Show "no vpns added" for empty vpn screen
Removed the left-alignment on restricted empty views which was inherited from Bluetooth settings but inconsistent with normal settings fragments. Bug: 22685111 Change-Id: I3a36c47d523392b8925031d4cac2ab3ef681e360
This commit is contained in:
@@ -209,7 +209,6 @@ public abstract class RestrictedSettingsFragment extends SettingsPreferenceFragm
|
||||
|
||||
protected TextView initEmptyTextView() {
|
||||
TextView emptyView = (TextView) getActivity().findViewById(android.R.id.empty);
|
||||
emptyView.setGravity(Gravity.START | Gravity.CENTER_VERTICAL);
|
||||
return emptyView;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user