diff options
author | Marcin Zelent <zelent.marcin@gmail.com> | 2018-04-20 16:34:25 +0200 |
---|---|---|
committer | Marcin Zelent <zelent.marcin@gmail.com> | 2018-04-20 16:34:25 +0200 |
commit | 2cf7ca569e50caa8d33d4045977d69d1f10771c2 (patch) | |
tree | 2339f4725e67b8c3fa4b68315d690084cd500fd0 /app/src/main/res | |
parent | e4fac53bb0e2a5234116caf8651e8d2c5a38a4f1 (diff) |
Added partially posting
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_bird_picker.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_new_observation.xml | 19 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_observation_details.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
4 files changed, 32 insertions, 2 deletions
diff --git a/app/src/main/res/layout/activity_bird_picker.xml b/app/src/main/res/layout/activity_bird_picker.xml new file mode 100644 index 0000000..62f086b --- /dev/null +++ b/app/src/main/res/layout/activity_bird_picker.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.v7.widget.GridLayout 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=".BirdPickerActivity"> + +</android.support.v7.widget.GridLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/activity_new_observation.xml b/app/src/main/res/layout/activity_new_observation.xml new file mode 100644 index 0000000..1160131 --- /dev/null +++ b/app/src/main/res/layout/activity_new_observation.xml @@ -0,0 +1,19 @@ +<?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=".NewObservationActivity"> + + <Button + android:id="@+id/button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" + android:text="Button" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> +</android.support.constraint.ConstraintLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/activity_observation_details.xml b/app/src/main/res/layout/activity_observation_details.xml index 938fe91..4372b9a 100644 --- a/app/src/main/res/layout/activity_observation_details.xml +++ b/app/src/main/res/layout/activity_observation_details.xml @@ -84,7 +84,7 @@ android:id="@+id/details_user_label" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_weight="1" + android:ellipsize="none" android:text="@string/author" android:textStyle="bold" /> @@ -93,7 +93,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8dp" - android:layout_weight="1" /> + android:layout_weight="1" + android:ellipsize="end" /> </LinearLayout> <LinearLayout diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1561e86..54fe20a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -95,4 +95,5 @@ <string name="latitude">Latitude:</string> <string name="longitude">Longitude:</string> <string name="comment">Comment:</string> + <string name="title_activity_new_observation">NewObservationActivity</string> </resources> |