54 lines
2.3 KiB
XML
54 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/primaryColour"
|
|
tools:context=".fragments.LocationDetailFragment">
|
|
|
|
<TextView
|
|
android:id="@+id/detail_location_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Locatie detail"
|
|
android:textColor="@color/white"
|
|
android:textSize="30sp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<ImageView
|
|
android:id="@+id/detail_location_image"
|
|
android:layout_width="357dp"
|
|
android:layout_height="196dp"
|
|
android:layout_marginTop="30dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/detail_location_name"
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
<TextView
|
|
android:id="@+id/detail_location_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_margin="20dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/secondaryColour"
|
|
android:text="Detail tekst"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/detail_location_image" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/detail_location_back_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_back_button_24"
|
|
android:backgroundTint="@color/primaryColour"
|
|
app:layout_constraintBottom_toBottomOf="@+id/detail_location_name"
|
|
app:layout_constraintEnd_toStartOf="@+id/detail_location_name"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/detail_location_name" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |