I can not add items in scroolview

0

I'm using this scroolview however I need to put new items underneath, and when I scroll down it does not come down, could you help me? follow xml code: link

    
asked by anonymous 20.07.2017 / 02:32

2 answers

2

In the code snippet below, change RelativeLayout to LinearLayout , change 1000sp to wrap_content , and add android:orientation="vertical" :

<RelativeLayout
   android:layout_width="match_parent"
   android:layout_height="1000sp">

In CardViews, you can remove these attributes:

  • android: layout_alignParentTop
  • android: layout_below
20.07.2017 / 05:02
0

To add more items simply resize the preview window by clicking the lower right corner and dragging until you have space for more items.

    
20.07.2017 / 11:45