diff options
Diffstat (limited to 'app/src/main/res/layout/activity_observation_details.xml')
-rw-r--r-- | app/src/main/res/layout/activity_observation_details.xml | 216 |
1 files changed, 216 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_observation_details.xml b/app/src/main/res/layout/activity_observation_details.xml new file mode 100644 index 0000000..938fe91 --- /dev/null +++ b/app/src/main/res/layout/activity_observation_details.xml @@ -0,0 +1,216 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.constraint.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" + tools:context=".ObservationDetailsActivity"> + + <ScrollView + android:id="@+id/scrollView2" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.0" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.0"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <org.marcinzelent.liberavem.SquareImageView + android:id="@+id/details_photo" + android:layout_width="match_parent" + android:layout_height="fill_parent" + app:srcCompat="@drawable/ic_launcher_background" /> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="8dp" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:layout_marginTop="16dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/details_name" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:minLines="1" + android:textAppearance="@style/TextAppearance.AppCompat.Large" + android:textStyle="bold" /> + + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/details_created_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:minLines="1" + android:text="@string/created" + android:textStyle="bold" /> + + <TextView + android:id="@+id/details_created" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_weight="1" + android:minLines="1" /> + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/details_user_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/author" + android:textStyle="bold" /> + + <TextView + android:id="@+id/details_user" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_weight="1" /> + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/details_population_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/population" + android:textStyle="bold" /> + + <TextView + android:id="@+id/details_population" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_weight="1" /> + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/details_placename_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/place" + android:textStyle="bold" /> + + <TextView + android:id="@+id/details_placename" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_weight="1" /> + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/details_longitude_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/longitude" + android:textStyle="bold" /> + + <TextView + android:id="@+id/details_longitude" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_weight="1" /> + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/details_latitude_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/latitude" + android:textStyle="bold" /> + + <TextView + android:id="@+id/details_latitude" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_weight="1" /> + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/details_comment_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/comment" + android:textStyle="bold" /> + + <TextView + android:id="@+id/details_comment" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_weight="1" /> + </LinearLayout> + </LinearLayout> + </ScrollView> + +</android.support.constraint.ConstraintLayout>
\ No newline at end of file |