Advertisement
Guest User

QuestionFragmentXML

a guest
Oct 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. tools:context="com.example.lukas.programmeringsuppgift3.MainActivity">
  7.  
  8. <!-- TODO: Update blank fragment layout -->
  9.  
  10. <TextView
  11. android:id="@+id/tvCategory"
  12. android:layout_width="0dp"
  13. android:layout_height="wrap_content"
  14. android:text="TextView"
  15. tools:layout_editor_absoluteY="16dp"
  16. android:layout_marginRight="8dp"
  17. app:layout_constraintRight_toRightOf="parent"
  18. android:layout_marginLeft="8dp"
  19. app:layout_constraintLeft_toLeftOf="parent" />
  20.  
  21. <TextView
  22. android:id="@+id/tvQuestion"
  23. android:layout_width="0dp"
  24. android:layout_height="wrap_content"
  25. android:layout_marginTop="8dp"
  26. android:text="TextView"
  27. app:layout_constraintTop_toBottomOf="@+id/tvCategory"
  28. android:layout_marginRight="8dp"
  29. app:layout_constraintRight_toRightOf="parent"
  30. android:layout_marginLeft="8dp"
  31. app:layout_constraintLeft_toLeftOf="parent" />
  32.  
  33. <ListView
  34. android:id="@+id/lvOptions"
  35. android:layout_width="wrap_content"
  36. android:layout_height="0dp"
  37. android:layout_marginBottom="8dp"
  38. android:layout_marginLeft="8dp"
  39. android:layout_marginRight="8dp"
  40. android:layout_marginTop="10dp"
  41. app:layout_constraintBottom_toBottomOf="parent"
  42. app:layout_constraintLeft_toLeftOf="parent"
  43. app:layout_constraintRight_toRightOf="parent"
  44. app:layout_constraintTop_toBottomOf="@+id/tvQuestion" />
  45. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement