I
I
Ilya2017-01-16 11:10:00
Android
Ilya, 2017-01-16 11:10:00

How to make such (☰, hamburger button) drawer in Delphi?

I'm trying to make a button in Delphi 10 Seattle according to the design material
. I didn't find any way.
Tell me how to implement drawer as in the picture8bf81cbf860e4fb58533ad2729862cc3.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya, 2017-01-16
@pndr

The drawer functionality itself is there and works. There is only a button, i.e. to the left of the word Viber.

R
Rou1997, 2017-01-16
@Rou1997

Are Android XML layouts generally supported there?
What about Java libraries (at least the Support AppCompat v7 library is needed, there are * .JAR and resources)?
If yes and yes, then everything is possible, install Android Studio, create a project with a Navigation View Activity, it will generate the code itself, all that remains is to figure out how to repeat it in this Delphi, well, and set the target api no less than the library, just like in Android Studio, something like 21 or 23.
You can search the Internet - Delphi appcompatactivity, Delphi support action bar, Delphi ActionBarDrawerToggle.
In fact, the Support design library and, somewhat suddenly, the RecyclerView library will still be needed there (although the "hamburger" itself will be created without RecyclerView, but when the "box" is extended, it will crash, the menu itself is built on it), but the principle of connecting them is the same the most, start with at least some, in Appcompat v7 there are simpler things, for the implementation of which one of them is enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question