P
P
Partizanin2015-12-15 17:26:59
Android
Partizanin, 2015-12-15 17:26:59

How to implement scrolling in Navigation Drawer Activity?

How to implement scrolling in Navigation Drawer Activity ?
There are several layouts activity_main.xml
app_bar_main.xml
nav_header_main.xml
and the main one in which all the content for which you need to implement scrolling content_main.xml
Here the application itself, as you can see in the screenshot, the text goes off the screen, to avoid this, I decided to implement scrolling since checkboxes in the future can hit more!
969781c8dfc6460ab668f0f7f46fd9d7.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Gamega, 2015-12-15
@gadfi

this is implemented out of the box, if the ui is more complicated than it can be drawn using the menu, then just put a FrameLayout in the drawer and a fragment in it and write whatever you want in it

O
one pavel, 2015-12-16
@onepavel

the easiest way is to wrap your RelativeLayout in a ScrollView
, the more difficult way, to redo all the content markup based on the ListView

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question