Skip to content

Commit

Permalink
Merge pull request #37 from Telefonica/apps/APPS-7690-bug-not-scrolling
Browse files Browse the repository at this point in the history
APPS-7690 Add missing scroll to feedback catalog screen
  • Loading branch information
Jorge Mucientes authored Dec 18, 2020
2 parents 7a101f6 + 389ac90 commit b09ec5a
Showing 1 changed file with 68 additions and 62 deletions.
130 changes: 68 additions & 62 deletions catalog/src/main/res/layout/screen_fragment_feedback_catalog.xml
Original file line number Diff line number Diff line change
@@ -1,76 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="16dp">

<com.telefonica.mistica.section.SectionTitleView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="Screen Feedbacks Tester" />
android:layout_height="wrap_content">

<com.telefonica.mistica.input.DropDownInput
android:id="@+id/dropdown_feedback_type"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:inputHint="Feedback Type" />
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="16dp">

<com.telefonica.mistica.input.TextInput
android:id="@+id/input_feedback_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:inputType="text"
app:inputHint="Feedback Title" />
<com.telefonica.mistica.section.SectionTitleView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="Screen Feedbacks Tester" />

<com.telefonica.mistica.input.TextInput
android:id="@+id/input_feedback_subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:inputType="text"
app:inputHint="Feedback Subtitle" />
<com.telefonica.mistica.input.DropDownInput
android:id="@+id/dropdown_feedback_type"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:inputHint="Feedback Type" />

<com.telefonica.mistica.input.TextInput
android:id="@+id/input_feedback_first_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:inputType="text"
app:inputHint="Feedback First Button Text" />
<com.telefonica.mistica.input.TextInput
android:id="@+id/input_feedback_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:inputType="text"
app:inputHint="Feedback Title" />

<com.telefonica.mistica.input.TextInput
android:id="@+id/input_feedback_second_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:inputType="text"
app:inputHint="Feedback Second Button Text" />
<com.telefonica.mistica.input.TextInput
android:id="@+id/input_feedback_subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:inputType="text"
app:inputHint="Feedback Subtitle" />

<com.telefonica.mistica.input.CheckBoxInput
android:id="@+id/check_feedback_second_button_as_link"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:inputCheckText="Show second button as link" />
<com.telefonica.mistica.input.TextInput
android:id="@+id/input_feedback_first_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:inputType="text"
app:inputHint="Feedback First Button Text" />

<com.telefonica.mistica.input.CheckBoxInput
android:id="@+id/check_feedback_show_loading_in_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:inputCheckText="Show loading in button" />
<com.telefonica.mistica.input.TextInput
android:id="@+id/input_feedback_second_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:inputType="text"
app:inputHint="Feedback Second Button Text" />

<com.telefonica.mistica.button.Button
android:id="@+id/button_create_feedback"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="Show Feedback" />
<com.telefonica.mistica.input.CheckBoxInput
android:id="@+id/check_feedback_second_button_as_link"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:inputCheckText="Show second button as link" />

<com.telefonica.mistica.input.CheckBoxInput
android:id="@+id/check_feedback_show_loading_in_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:inputCheckText="Show loading in button" />

<com.telefonica.mistica.button.Button
android:id="@+id/button_create_feedback"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="Show Feedback" />

</LinearLayout>
</LinearLayout>
</ScrollView>

0 comments on commit b09ec5a

Please sign in to comment.