aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout/activity_bug_report.xml
diff options
context:
space:
mode:
authorMarvin Borner2018-09-03 18:27:17 +0200
committerMarvin Borner2018-09-03 18:27:17 +0200
commitb1afdcd4ed57c43c3ecda2eaae1671c4a19abcc6 (patch)
tree548e7cc6da383a928c2758a1aa37c3a481a2eb71 /app/src/main/res/layout/activity_bug_report.xml
parent830bf7dff7ada51454ef020170cf07566aada513 (diff)
Added bug reporting feature :sparkles: :construction:
Diffstat (limited to 'app/src/main/res/layout/activity_bug_report.xml')
-rw-r--r--app/src/main/res/layout/activity_bug_report.xml88
1 files changed, 88 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_bug_report.xml b/app/src/main/res/layout/activity_bug_report.xml
new file mode 100644
index 0000000..418aa95
--- /dev/null
+++ b/app/src/main/res/layout/activity_bug_report.xml
@@ -0,0 +1,88 @@
+<?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:id="@+id/coordinatorLayout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".BugReportActivity">
+
+ <android.support.constraint.ConstraintLayout
+ android:id="@+id/scrollView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
+
+ <EditText
+ android:id="@+id/edit_title"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="24dp"
+ android:layout_marginStart="24dp"
+ android:ems="10"
+ android:hint="@string/bug_report_edit_title_hint"
+ android:inputType="text|textAutoCorrect"
+ app:layout_constraintBottom_toTopOf="@+id/edit_description"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/title" />
+
+ <TextView
+ android:id="@+id/debug_text"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="24dp"
+ android:layout_marginStart="24dp"
+ android:layout_marginTop="24dp"
+ app:layout_constraintBottom_toTopOf="@+id/fab"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/edit_description" />
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="16dp"
+ android:layout_marginEnd="16dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:srcCompat="@drawable/ic_send_black_24dp" />
+
+ <EditText
+ android:id="@+id/edit_description"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="24dp"
+ android:layout_marginStart="24dp"
+ android:layout_marginTop="24dp"
+ android:ems="10"
+ android:hint="@string/bug_report_edit_description"
+ android:inputType="textMultiLine"
+ app:layout_constraintBottom_toTopOf="@+id/debug_text"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/edit_title" />
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="24dp"
+ android:text="@string/bug_report_title"
+ android:textSize="24sp"
+ app:layout_constraintBottom_toTopOf="@+id/edit_title"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ </android.support.constraint.ConstraintLayout>
+
+</android.support.constraint.ConstraintLayout> \ No newline at end of file