android - Create Menu options button in Tablet -


how create soft button tablets? have manifest minsdk 8, , target of targetsdk = 13. on phones normal, there no button on plates

according documentation, there 3 parameters can use soft buttons naviagtion:

the system_ui_flag_low_profile flag replaces status_bar_hidden flag. when set, flag enables “low profile" mode system bar or navigation bar.

the system_ui_flag_visible flag replaces status_bar_visible flag request system bar or navigation bar visible.

the system_ui_flag_hide_navigation new flag requests navigation bar hide completely. aware works navigation bar used handsets (it not hide system bar on tablets).

try use:

getwindow().getdecorview().setsystemuivisibility(view.system_ui_flag_visible); 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -