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:
Gilles Debunne
2011-06-30 12:00:28 -07:00
parent 945e383833
commit 18e9992a5e
6 changed files with 69 additions and 80 deletions

View File

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