FORUMS

[Q] Menu bar on GT-P5210

23 posts
Thanks Meter: 0
 
By IET_DEMO, Junior Member on 28th January 2014, 07:06 PM
Post Reply Subscribe to Thread Email Thread
Hello citizens,

I was wondering if it was possible to have have a menu bar at the bottom of the tablet (like on the Galaxy Tab 2 10.1) on the Galaxy Tab 3 10.1?

Since I'm using the tablet in a casing, the bottom button (Home, Back, etc) are hidden. Is it possible to do it without making new casings?

P.S.In a future cutom rom maybe?
Last edited by IET_DEMO; 28th January 2014 at 07:10 PM. Reason: Error in title
 
 
13th February 2014, 04:10 PM |#2  
OP Junior Member
Thanks Meter: 0
 
More
For those wondering how,

just make your own using WindowManager.

WindowManager.LayoutParams params = new WindowManager.LayoutParams(
LinearLayout.LayoutParams.WRAP_CONTENT,
LinearLayout.LayoutParams.WRAP_CONTENT,
WindowManager.LayoutParams.TYPE_SYSTEM_ALERT,
WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUC H|
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE,
PixelFormat.TRANSLUCENT);

(WindowManager) getSystemService(WINDOW_SERVICE).addView(MENUBARVI EW, params);

Don't forget permission:
<uses-permission android:name="android.permission.SYSTEM_ALERT_WIND OW" />
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes