Why android: uiOptions = "splitActionBarWhenNarrow" does not work with the device

I use android:uiOptions="splitActionBarWhenNarrow"

to share Menu's .it works fine with 4.03 emulator

but not with a real device 4.03 . This is a samsung tablet

+6
source share
1 answer

splitActionBarWhenNarrow , as the word suggests, works only on small (narrow) devices, such as controlling splitting the phone between the top and bottom. It will not crash when working on wide devices such as tablets.

Link http://developer.android.com/guide/topics/manifest/activity-element.html , find splitActionBarWhenNarrow .

+7
source

Source: https://habr.com/ru/post/921263/


All Articles