K
K
Konstantin Dovnar2016-07-14 19:42:51
Android
Konstantin Dovnar, 2016-07-14 19:42:51

How to hide buttons in Navigation Bar?

In many applications, if necessary, they hide the Navigation Bar, there are no problems with this.
But in some games (like 1010!) the Navigation Bar itself is not hidden, but the buttons (back, home, multitasking) are hidden, becoming black / transparent to match the color of the Navigation Bar itself. But when pressed, they turn white again.
How to implement such behavior?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Gapchenko, 2016-07-15
@SolidlSnake

If I understand you correctly, you need the View.SYSTEM_UI_FLAG_LOW_PROFILE flag .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question