List of usage examples for android.content.res Configuration setToDefaults
public void setToDefaults()
From source file:com.anykey.balala.activity.BaseActivity.java
@Override public Resources getResources() { Resources res = super.getResources(); Configuration config = new Configuration(); config.setToDefaults(); res.updateConfiguration(config, res.getDisplayMetrics()); return res;//from ww w . j a va 2 s . c o m }