Reputation: 911
I am working on a special project of mine that should customize a bit the experience of Android users. The idea is that we should have customized navigation buttons in every Activity that allow the user going back and forth in the application.
I understood one basically cannot hide the navigation buttons in Android (especially from 4.x onward); but one could override their behaviour.
My question is two-fold:
If that cannot be done:
All feedbacks and criticisms are welcome.
Also, if you have other ideas about how to solve this issue, or if you have done differently in one of your project, please point me in the right (subjective) direction.
BEST.
Upvotes: 1
Views: 249
Reputation: 4354
Of course you can customize existing view
s, by many ways:
TextView
for example) and add propertiesYou can also define a custom ViewGroup
by extending ViewGroup
or a Layout
(Linear, Relative, etc.).
Finally, you can create a view from scratch, extending View
.
See the DOC here about custom components
This lets you to do almost anything.
However, I would'nt recommand you to change the Android UI, because the user is familiar with it, and I think showing a "too customized" UI is not a good thing.
Hope this helps you
Note: If you want to customize the Android ActionBar, you will need to hide it and create your own (or use some libs like ActionBarSherlock)
Upvotes: 3
Reputation: 685
I think you need to hide the action bar
like
ActionBar actionBar = getActionBar();
actionBar.hide();
and create a similar one (your own bar).
Upvotes: 0