Changed text and appearance when Wifi/Bluetooth is off
A TextView is used as an empty view, centered on screen with the message. Change-Id: I33825775d6b2ed212e5839cfac84d055b9336667
This commit is contained in:
@@ -46,7 +46,6 @@ import android.widget.TextView;
|
||||
|
||||
import com.android.settings.SettingsPreferenceFragment.SettingsDialogFragment;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Locale;
|
||||
|
||||
public class UserDictionarySettings extends ListFragment implements DialogCreatable {
|
||||
@@ -100,7 +99,7 @@ public class UserDictionarySettings extends ListFragment implements DialogCreata
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
mView = inflater.inflate(R.layout.list_content_with_empty_view, container, false);
|
||||
mView = inflater.inflate(R.layout.custom_preference_list_fragment, container, false);
|
||||
return mView;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user