O
O
Octavia Melody2015-08-19 22:30:08
Android
Octavia Melody, 2015-08-19 22:30:08

How to add Edittext to Actionbar?

Good evening.
I have a question, how can I add Edittext (and other elements) to the Actionbar, more precisely, how to display my own markup in it? I searched, found two non-working instructions, the application does not work (most likely due to incompatibility with AppCompat).
Thank you all in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Emin, 2015-08-19
@OctaviaMelody

Use Toolbar instead of the old actionbar. You can place items in it like any other container.

I
IceJOKER, 2015-08-19
@IceJOKER

n2YzvYockXpzA6.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question