Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ScrollView
- android:id="@+id/scroll"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:id="@+id/content"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
- </ScrollView>
- FragmentTransaction trans = getSupportFragmentManager().beginTransaction();
- for (Qyestion f : myQuestions)
- trans.add(R.id.content,QuestionFragment.NewInstance(f));
- trans.commit();
Add Comment
Please, Sign In to add comment