Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,083 Members 50,065 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Menu bar on GT-P5210

Tip us?
 
IET_DEMO
Old
(Last edited by IET_DEMO; 28th January 2014 at 07:10 PM.) Reason: Error in title
#1  
Junior Member - OP
Thanks Meter 0
Posts: 18
Join Date: Jan 2014
Default [Q] Menu bar on GT-P5210

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?
 
IET_DEMO
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 18
Join Date: Jan 2014
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" />
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes