app/src/main/res/layout/activity_feedback.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_feedback"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="com.bedrock.padder.activity.FeedbackActivity">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/actionbar"
android:scrollbars="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/feedback_scroll_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/feedback_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/feedback_song"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:visibility="gone">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/feedback_song_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:lineSpacingMultiplier="1.2"
android:text="@string/feedback_song_description"
android:textColor="@color/dark_primary"
android:textSize="14sp"
android:textStyle="italic"/>
<android.support.design.widget.TextInputLayout
android:id="@+id/feedback_song_name_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="4dp">
<EditText
android:id="@+id/feedback_song_name_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/feedback_song_name_input_hint"
android:inputType="textCapWords"
android:maxLines="1"
android:nextFocusDown="@+id/feedback_song_artist_input"
android:textSize="16sp"/>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/feedback_song_artist_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp">
<EditText
android:id="@+id/feedback_song_artist_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/feedback_song_artist_input_hint"
android:inputType="textCapWords"
android:maxLines="1"
android:nextFocusDown="@+id/feedback_song_link_input_layout"
android:textSize="16sp"/>
</android.support.design.widget.TextInputLayout>
<TextView
android:id="@+id/feedback_song_genre_spinner_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:text="@string/feedback_song_genre_error"
android:textColor="@color/red_500"
android:textSize="13sp"
android:visibility="invisible"/>
<Spinner
android:id="@+id/feedback_song_genre_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:entries="@array/feedback_song_genre_array"
android:paddingBottom="8dp"
android:paddingTop="8dp"/>
<android.support.design.widget.TextInputLayout
android:id="@+id/feedback_song_link_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="4dp">
<EditText
android:id="@+id/feedback_song_link_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/feedback_song_link_input_hint"
android:maxLines="1"
android:nextFocusDown="@+id/feedback_song_message_input_hint"
android:textSize="16sp"/>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/feedback_song_message_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="4dp">
<EditText
android:id="@+id/feedback_song_message_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/feedback_song_message_input_hint"
android:inputType="textMultiLine|textCapSentences"
android:maxLines="5"
android:textSize="16sp"/>
</android.support.design.widget.TextInputLayout>
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/feedback_feedback"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:visibility="gone">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/feedback_feedback_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:lineSpacingMultiplier="1.2"
android:text="@string/feedback_feedback_description"
android:textColor="@color/dark_primary"
android:textSize="14sp"
android:textStyle="italic"/>
<TextView
android:id="@+id/feedback_feedback_type_spinner_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:text="@string/feedback_feedback_type_error"
android:textColor="@color/red_500"
android:textSize="13sp"
android:visibility="invisible"/>
<Spinner
android:id="@+id/feedback_feedback_type_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:entries="@array/feedback_feedback_type_array"
android:paddingBottom="8dp"
android:paddingTop="8dp"
android:scrollbars="vertical"/>
<android.support.design.widget.TextInputLayout
android:id="@+id/feedback_feedback_message_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="4dp">
<EditText
android:id="@+id/feedback_feedback_message_input"
android:layout_width="match_parent"
android:layout_height="100dp"
android:hint="@string/feedback_feedback_message_input_hint"
android:inputType="textMultiLine|textCapSentences"
android:textSize="16sp"/>
</android.support.design.widget.TextInputLayout>
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/feedback_report_bug"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:visibility="gone">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/feedback_report_bug_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:lineSpacingMultiplier="1.2"
android:text="@string/feedback_report_bug_description"
android:textColor="@color/dark_primary"
android:textSize="14sp"
android:textStyle="italic"/>
<TextView
android:id="@+id/feedback_report_bug_type_spinner_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:text="@string/feedback_report_bug_type_error"
android:textColor="@color/red_500"
android:textSize="13sp"
android:visibility="invisible"/>
<Spinner
android:id="@+id/feedback_report_bug_type_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:entries="@array/feedback_report_bug_type_array"
android:paddingBottom="8dp"
android:paddingTop="8dp"/>
<LinearLayout
android:id="@+id/feedback_report_bug_type_quickfix"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:orientation="horizontal"
android:visibility="invisible">
<TextView
android:id="@+id/feedback_report_bug_type_quickfix_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="4dp"
android:text="@string/feedback_report_bug_type_quickfix_text"
android:textColor="@color/red_300"
android:textSize="13sp"
android:textStyle="italic"/>
<TextView
android:id="@+id/feedback_report_bug_type_quickfix_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/feedback_report_bug_type_quickfix_action"
android:textColor="@color/blue_300"
android:textSize="13sp"
android:textStyle="italic"/>
</LinearLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/feedback_report_bug_message_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="4dp">
<EditText
android:id="@+id/feedback_report_bug_message_input"
android:layout_width="match_parent"
android:layout_height="100dp"
android:hint="@string/feedback_report_bug_message_input_hint"
android:inputType="textMultiLine|textCapSentences"
android:textSize="16sp"/>
</android.support.design.widget.TextInputLayout>
</LinearLayout>
</RelativeLayout>
</RelativeLayout>
<LinearLayout
android:id="@+id/feedback_disclaimer_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="24dp"
android:layout_marginTop="-16dp"
android:orientation="horizontal">
<TextView
android:id="@+id/feedback_disclaimer_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="4dp"
android:text="@string/feedback_disclaimer_text"
android:textColor="@color/dark_secondary"
android:textSize="12sp"
android:textStyle="italic"/>
<TextView
android:id="@+id/feedback_disclaimer_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:text="@string/feedback_disclaimer_action"
android:textColor="@color/blue_300"
android:textSize="12sp"
android:textStyle="italic"/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</ScrollView>
<include layout="@layout/fragment_actionbar"/>
<include layout="@layout/fragment_fab"/>
<View
android:id="@+id/layout_placeholder"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorAccent"
android:visibility="gone"/>
</RelativeLayout>