Guest User

Untitled

a guest
Apr 23rd, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <ScrollView
  2. android:id="@+id/scroll"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <LinearLayout
  6. android:id="@+id/content"
  7. android:orientation="vertical"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"/>
  10. </ScrollView>
  11.  
  12. FragmentTransaction trans = getSupportFragmentManager().beginTransaction();
  13. for (Qyestion f : myQuestions)
  14. trans.add(R.id.content,QuestionFragment.NewInstance(f));
  15. trans.commit();
Add Comment
Please, Sign In to add comment