Sendet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fragment_first.xml 1.3KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".FirstFragment">
  9. <TextView
  10. android:id="@+id/textview_first"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:text="@string/hello_first_fragment"
  14. app:layout_constraintTop_toTopOf="parent"
  15. app:layout_constraintStart_toStartOf="parent"
  16. app:layout_constraintEnd_toEndOf="parent"
  17. app:layout_constraintBottom_toTopOf="@id/button_first"
  18. />
  19. <Button
  20. android:id="@+id/button_first"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:text="@string/next"
  24. app:layout_constraintTop_toBottomOf="@id/textview_first"
  25. app:layout_constraintStart_toStartOf="parent"
  26. app:layout_constraintEnd_toEndOf="parent"
  27. app:layout_constraintBottom_toBottomOf="parent"
  28. />
  29. </androidx.constraintlayout.widget.ConstraintLayout>