You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
179 lines
6.5 KiB
XML
179 lines
6.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:ignore="HardcodedText">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="20dp">
|
|
|
|
<TextView
|
|
android:id="@+id/title_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="20sp"
|
|
android:fontFamily="sans-serif-black"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_marginEnd="15dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:gravity="center_horizontal"
|
|
tools:text="Beispiel-Einsatz" />
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="25dp"
|
|
android:layout_marginEnd="25dp"
|
|
android:layout_marginTop="20dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingVertical="4dp"
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<ImageView
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:padding="6dp"
|
|
android:contentDescription="Date Icon"
|
|
android:src="@drawable/_icon_date" />
|
|
|
|
<TextView
|
|
android:id="@+id/date_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="16sp"
|
|
android:paddingVertical="16dp"
|
|
android:paddingHorizontal="12dp"
|
|
android:fontFamily="sans-serif-black"
|
|
tools:text="01.01.1900"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="25dp"
|
|
android:layout_marginEnd="25dp"
|
|
android:layout_marginTop="15dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingVertical="4dp"
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<ImageView
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:padding="6dp"
|
|
android:contentDescription="Location Icon"
|
|
android:src="@drawable/_icon_location"/>
|
|
|
|
<TextView
|
|
android:id="@+id/location_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="16sp"
|
|
android:paddingVertical="16dp"
|
|
android:paddingHorizontal="12dp"
|
|
android:fontFamily="sans-serif-black"
|
|
tools:text="Forum Daun" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="25dp"
|
|
android:layout_marginEnd="25dp"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginBottom="20dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingVertical="4dp"
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:padding="6dp"
|
|
android:contentDescription="Location Icon"
|
|
android:src="@drawable/_icon_techniker2"/>
|
|
|
|
<TextView
|
|
android:id="@+id/techniker"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="16sp"
|
|
android:paddingVertical="16dp"
|
|
android:paddingHorizontal="12dp"
|
|
android:fontFamily="sans-serif-black"
|
|
android:text="Techniker" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="end">
|
|
|
|
<ImageButton
|
|
android:id="@+id/add_button"
|
|
android:layout_width="45dp"
|
|
android:layout_height="40dp"
|
|
android:src="@drawable/_icon_add"
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
android:scaleType="fitEnd"
|
|
android:layout_gravity="end"
|
|
android:contentDescription="Add Icon" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="#808080"/>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layoutAnimation="@anim/recycler_animation" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout> |