D
D
DarkByte20152018-08-16 20:52:30
Java
DarkByte2015, 2018-08-16 20:52:30

How to make a tab switcher from the bottom?

I need it to be something like this: There are
5b75b97e32598456809023.png
two buttons below: you press one - one content and heading appears, you press the other - another content and heading. I don't know how to do that. Tell me please! At least what components should I use for this? I'm just quite new to android development.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alterEgoChaos, 2018-08-17
@alterEgoChaos

https://developer.android.com/reference/android/su...
Just attach it from below, or
https://developer.android.com/reference/android/su...
I would recommend option 2 in case of display at the bottom of the screen to match the guidelines material design from google
Both methods - architecture on fragments.
Well, in order for something to change from above, hang the listener and that's it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question