How to remove DownActionBar from devices without hardware menu button?
-
20-12-2019 - |
Question
I use ActionBarActivity, but my appliction is need not this downBar.
How to remove it?
public class myActivity extends ActionBarActivity{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_list);
//...
}
}
I need to use ActionBarActivity in my application.
Solution
Remove android:uiOptions
from your <application>
or <activity>
elements in the manifest, where you are presently requesting the split action bar.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow