Showing
1 changed file
with
14 additions
and
21 deletions
| ... | @@ -50,16 +50,16 @@ | ... | @@ -50,16 +50,16 @@ |
| 50 | android:layout_height="0dp" | 50 | android:layout_height="0dp" |
| 51 | android:fillViewport="true" | 51 | android:fillViewport="true" |
| 52 | android:scrollbars="none" | 52 | android:scrollbars="none" |
| 53 | - app:layout_constraintBottom_toTopOf="@id/ll_next_container" | 53 | + app:layout_constraintBottom_toBottomOf="parent" |
| 54 | app:layout_constraintTop_toBottomOf="@id/header_layout"> | 54 | app:layout_constraintTop_toBottomOf="@id/header_layout"> |
| 55 | 55 | ||
| 56 | <LinearLayout | 56 | <LinearLayout |
| 57 | android:layout_width="match_parent" | 57 | android:layout_width="match_parent" |
| 58 | android:layout_height="0dp" | 58 | android:layout_height="0dp" |
| 59 | android:orientation="vertical" | 59 | android:orientation="vertical" |
| 60 | - android:weightSum="1" | ||
| 61 | android:paddingHorizontal="16dp" | 60 | android:paddingHorizontal="16dp" |
| 62 | - android:paddingBottom="32dp"> | 61 | + android:paddingBottom="96dp" |
| 62 | + android:weightSum="1"> | ||
| 63 | 63 | ||
| 64 | <TextView | 64 | <TextView |
| 65 | android:id="@+id/tv_question_header_title" | 65 | android:id="@+id/tv_question_header_title" |
| ... | @@ -74,22 +74,22 @@ | ... | @@ -74,22 +74,22 @@ |
| 74 | android:id="@+id/tv_question_title" | 74 | android:id="@+id/tv_question_title" |
| 75 | android:layout_width="match_parent" | 75 | android:layout_width="match_parent" |
| 76 | android:layout_height="wrap_content" | 76 | android:layout_height="wrap_content" |
| 77 | + android:layout_marginTop="40dp" | ||
| 77 | android:includeFontPadding="false" | 78 | android:includeFontPadding="false" |
| 78 | android:textColor="@color/custom_black4" | 79 | android:textColor="@color/custom_black4" |
| 79 | android:textSize="18sp" | 80 | android:textSize="18sp" |
| 80 | - android:layout_marginTop="40dp" | ||
| 81 | tools:text="Question Title?" /> | 81 | tools:text="Question Title?" /> |
| 82 | 82 | ||
| 83 | <TextView | 83 | <TextView |
| 84 | android:id="@+id/tv_question_subtitle" | 84 | android:id="@+id/tv_question_subtitle" |
| 85 | android:layout_width="match_parent" | 85 | android:layout_width="match_parent" |
| 86 | android:layout_height="wrap_content" | 86 | android:layout_height="wrap_content" |
| 87 | + android:layout_marginTop="8dp" | ||
| 87 | android:includeFontPadding="false" | 88 | android:includeFontPadding="false" |
| 89 | + android:text="@string/demo_questionnaire_subtitle" | ||
| 88 | android:textColor="@color/custom_black2" | 90 | android:textColor="@color/custom_black2" |
| 89 | android:textSize="14sp" | 91 | android:textSize="14sp" |
| 90 | - android:layout_marginTop="8dp" | 92 | + android:visibility="gone" /> |
| 91 | - android:text="@string/demo_questionnaire_subtitle" | ||
| 92 | - android:visibility="gone"/> | ||
| 93 | 93 | ||
| 94 | <LinearLayout | 94 | <LinearLayout |
| 95 | android:id="@+id/ll_options_container" | 95 | android:id="@+id/ll_options_container" |
| ... | @@ -101,24 +101,18 @@ | ... | @@ -101,24 +101,18 @@ |
| 101 | </ScrollView> | 101 | </ScrollView> |
| 102 | 102 | ||
| 103 | <LinearLayout | 103 | <LinearLayout |
| 104 | - android:id="@+id/ll_next_container" | ||
| 105 | - android:layout_width="match_parent" | ||
| 106 | - android:layout_height="wrap_content" | ||
| 107 | - android:orientation="vertical" | ||
| 108 | - android:paddingHorizontal="16dp" | ||
| 109 | - android:paddingTop="16dp" | ||
| 110 | - android:paddingBottom="16dp" | ||
| 111 | - android:translationZ="100dp" | ||
| 112 | - app:layout_constraintBottom_toBottomOf="parent" | ||
| 113 | - app:layout_constraintTop_toBottomOf="@+id/sv_main"> | ||
| 114 | - | ||
| 115 | - <LinearLayout | ||
| 116 | android:id="@+id/ll_next_button" | 104 | android:id="@+id/ll_next_button" |
| 117 | android:layout_width="match_parent" | 105 | android:layout_width="match_parent" |
| 118 | android:layout_height="55dp" | 106 | android:layout_height="55dp" |
| 119 | android:background="@drawable/shape_rectangle_rounded_light_blue_tr" | 107 | android:background="@drawable/shape_rectangle_rounded_light_blue_tr" |
| 120 | android:gravity="center" | 108 | android:gravity="center" |
| 121 | - android:orientation="horizontal"> | 109 | + android:layout_marginHorizontal="16dp" |
| 110 | + android:layout_marginBottom="24dp" | ||
| 111 | + android:orientation="horizontal" | ||
| 112 | + | ||
| 113 | + app:layout_constraintBottom_toBottomOf="parent" | ||
| 114 | + app:layout_constraintEnd_toEndOf="parent" | ||
| 115 | + app:layout_constraintStart_toStartOf="parent"> | ||
| 122 | 116 | ||
| 123 | <TextView | 117 | <TextView |
| 124 | android:id="@+id/tv_next" | 118 | android:id="@+id/tv_next" |
| ... | @@ -129,5 +123,4 @@ | ... | @@ -129,5 +123,4 @@ |
| 129 | android:textColor="@color/white" | 123 | android:textColor="@color/white" |
| 130 | android:textSize="16sp" /> | 124 | android:textSize="16sp" /> |
| 131 | </LinearLayout> | 125 | </LinearLayout> |
| 132 | - </LinearLayout> | ||
| 133 | </androidx.constraintlayout.widget.ConstraintLayout> | 126 | </androidx.constraintlayout.widget.ConstraintLayout> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment