I am trying to change few things programatically on the navigation bar on an Embedded system that uses an old Android OS. I narrowed down to the class that handles the navigation bar which is below.
the object seems to be declared here:
line 238
private NavigationBarView mNavigationBarView = null;
Is there a way to get the pointer to this object programatically? The only thing I can find is code to get the bigger container like when you hide the navigation bar programatically.
View decorView = getWindow().getDecorView();
int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
decorView.setSystemUiVisibility(uiOptions);
yet, this is not enough. I want to drill down to the navbar drawables.
any clues are greatly appreciated.
thank you.
P.S. Since it is an embedded system, so if I change the OS is it fine since it will never be at the Google store anyway.