|
@@ -1,23 +1,49 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?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"
|
|
|
|
|
|
+<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="match_parent"
|
|
|
|
- tools:context=".ui.home.HomeFragment">
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:paddingLeft="16dp"
|
|
|
|
+ android:paddingTop="16dp"
|
|
|
|
+ android:paddingRight="16dp"
|
|
|
|
+ android:layout_gravity="top">
|
|
|
|
|
|
|
|
+ <!-- Add in TextView to display flower name -->
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/text_home"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:id="@+id/flower_text"
|
|
|
|
+ android:layout_column="0"
|
|
|
|
+ android:layout_row="0"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginStart="8dp"
|
|
|
|
- android:layout_marginTop="8dp"
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
|
- android:textAlignment="center"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:textSize="25dp"
|
|
|
|
+ android:text="@string/Sender"/>
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_row="1"
|
|
|
|
+ android:layout_column="0"
|
|
|
|
+ android:text="@string/Betreff"
|
|
android:textSize="20sp"
|
|
android:textSize="20sp"
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
-</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
+ android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
|
|
|
+ android:textColor="@color/colorBetreff" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:text="@string/Beginn"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_row="2"
|
|
|
|
+ android:layout_column="0"
|
|
|
|
+ android:gravity="left"
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:text="@string/date"
|
|
|
|
+ android:textSize="20dp"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_row="0"
|
|
|
|
+ android:layout_column="3"
|
|
|
|
+ android:gravity="left" />
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+</GridLayout>
|