|
28 | 28 | android:layout_marginTop="8dp" |
29 | 29 | android:layout_marginEnd="4dp" |
30 | 30 | app:cardElevation="@dimen/record_type_card_elevation" |
31 | | - app:itemComment="" |
32 | 31 | app:itemTagColor="@color/white_alpha_60" |
| 32 | + app:layout_constrainedHeight="true" |
33 | 33 | app:layout_constraintEnd_toStartOf="@id/btnChangeRunningRecordDelete" |
| 34 | + app:layout_constraintHeight_max="200dp" |
34 | 35 | app:layout_constraintStart_toStartOf="parent" |
35 | 36 | app:layout_constraintTop_toTopOf="parent" |
36 | 37 | tools:itemColor="@color/red_800" |
| 38 | + tools:itemComment="Comment" |
37 | 39 | tools:itemName="Change running record" |
38 | 40 | tools:itemTagName="Tag" /> |
39 | 41 |
|
|
197 | 199 |
|
198 | 200 | </androidx.cardview.widget.CardView> |
199 | 201 |
|
200 | | - <com.google.android.material.textfield.TextInputLayout |
201 | | - android:id="@+id/inputChangeRunningRecordComment" |
202 | | - style="@style/ChangeItemInputField" |
| 202 | + <androidx.core.widget.NestedScrollView |
203 | 203 | android:layout_width="match_parent" |
204 | 204 | android:layout_height="0dp" |
205 | | - android:layout_marginHorizontal="20dp" |
206 | | - android:layout_marginTop="8dp" |
207 | | - android:layout_marginBottom="8dp" |
208 | 205 | app:layout_constraintBottom_toTopOf="@id/btnChangeRunningRecordSave" |
209 | | - app:layout_constraintTop_toBottomOf="@id/fieldChangeRunningRecordType" |
210 | | - app:layout_constraintVertical_bias="0"> |
| 206 | + app:layout_constraintTop_toBottomOf="@id/fieldChangeRunningRecordType"> |
211 | 207 |
|
212 | | - <com.google.android.material.textfield.TextInputEditText |
213 | | - android:id="@+id/etChangeRunningRecordComment" |
214 | | - style="@style/EditTextMultiLine" |
| 208 | + <androidx.appcompat.widget.LinearLayoutCompat |
215 | 209 | android:layout_width="match_parent" |
216 | 210 | android:layout_height="wrap_content" |
217 | | - android:hint="@string/change_record_comment_hint" /> |
| 211 | + android:orientation="vertical"> |
| 212 | + |
| 213 | + <com.google.android.material.textfield.TextInputLayout |
| 214 | + android:id="@+id/inputChangeRunningRecordComment" |
| 215 | + style="@style/ChangeItemInputField" |
| 216 | + android:layout_width="match_parent" |
| 217 | + android:layout_height="wrap_content" |
| 218 | + android:layout_marginHorizontal="20dp" |
| 219 | + android:layout_marginTop="8dp"> |
| 220 | + |
| 221 | + <com.google.android.material.textfield.TextInputEditText |
| 222 | + android:id="@+id/etChangeRunningRecordComment" |
| 223 | + style="@style/EditTextMultiLine" |
| 224 | + android:layout_width="match_parent" |
| 225 | + android:layout_height="wrap_content" |
| 226 | + android:hint="@string/change_record_comment_hint" /> |
| 227 | + |
| 228 | + </com.google.android.material.textfield.TextInputLayout> |
| 229 | + |
| 230 | + </androidx.appcompat.widget.LinearLayoutCompat> |
218 | 231 |
|
219 | | - </com.google.android.material.textfield.TextInputLayout> |
| 232 | + </androidx.core.widget.NestedScrollView> |
220 | 233 |
|
221 | 234 | <androidx.recyclerview.widget.RecyclerView |
222 | 235 | android:id="@+id/rvChangeRunningRecordType" |
|
0 commit comments