Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why android:uiOptions="splitActionBarWhenNarrow" not working with device

Tags:

android

I am using android:uiOptions="splitActionBarWhenNarrow"

to split the Menu's .it is working fine with emulator 4.03

but not with real device 4.03.It is samsung tablet

like image 333
Monty Sharma Avatar asked Jul 25 '12 04:07

Monty Sharma


1 Answers

splitActionBarWhenNarrow, as the word suggests, only works on small (narrow) devices like phone - splitting controls between top and bottom. It will not split when run on wide devices like tablets.

Reference http://developer.android.com/guide/topics/manifest/activity-element.html, search for splitActionBarWhenNarrow.

like image 68
aCode Avatar answered Nov 02 '22 01:11

aCode