|
29 | 29 |
|
30 | 30 | <com.google.android.material.appbar.CollapsingToolbarLayout |
31 | 31 | android:layout_width="match_parent" |
32 | | - android:layout_height="260dp" |
| 32 | + android:layout_height="272dp" |
33 | 33 | android:background="@color/transparent" |
34 | 34 | app:collapsedTitleGravity="center" |
35 | 35 | app:layout_scrollFlags="scroll|exitUntilCollapsed"> |
|
41 | 41 | android:adjustViewBounds="true" |
42 | 42 | android:background="@color/primary_20_F5F7FF" |
43 | 43 | android:paddingTop="36dp" |
| 44 | + android:paddingBottom="12dp" |
44 | 45 | app:layout_collapseMode="parallax"> |
45 | 46 |
|
46 | 47 | <ImageView |
|
70 | 71 | android:id="@+id/tv_other_user_page_user_description" |
71 | 72 | android:layout_width="0dp" |
72 | 73 | android:layout_height="wrap_content" |
73 | | - android:layout_marginTop="4dp" |
74 | 74 | android:layout_marginHorizontal="20dp" |
75 | | - android:paddingBottom="30dp" |
| 75 | + android:layout_marginTop="6dp" |
76 | 76 | android:gravity="center" |
| 77 | + android:maxLines="2" |
| 78 | + android:paddingBottom="30dp" |
77 | 79 | android:text='@{otherUserPageViewModel.uiState.otherUserProfile.intro}' |
78 | 80 | android:textAppearance="@style/body2" |
79 | 81 | android:textColor="@color/gray_200_AEADB3" |
|
197 | 199 | android:layout_width="wrap_content" |
198 | 200 | android:layout_height="wrap_content" |
199 | 201 | android:layout_gravity="center" |
200 | | - android:src="@drawable/img_other_user_page_no_public" |
201 | 202 | android:layout_marginTop="100dp" |
202 | | - app:layout_constraintTop_toTopOf="parent" |
| 203 | + android:src="@drawable/img_other_user_page_no_public" |
| 204 | + app:layout_constraintEnd_toEndOf="parent" |
203 | 205 | app:layout_constraintStart_toStartOf="parent" |
204 | | - app:layout_constraintEnd_toEndOf="parent"/> |
| 206 | + app:layout_constraintTop_toTopOf="parent" /> |
205 | 207 |
|
206 | 208 | <TextView |
207 | 209 | android:id="@+id/tv_other_user_page_no_public_message" |
|
212 | 214 | android:text='@{String.format(@string/other_user_page_no_public, otherUserPageViewModel.uiState.otherUserProfile.nickname)}' |
213 | 215 | android:textAppearance="@style/body2" |
214 | 216 | android:textColor="@color/gray_200_AEADB3" |
215 | | - app:layout_constraintTop_toBottomOf="@id/iv_other_user_page_no_public" |
| 217 | + app:layout_constraintEnd_toEndOf="parent" |
216 | 218 | app:layout_constraintStart_toStartOf="parent" |
217 | | - app:layout_constraintEnd_toEndOf="parent"/> |
| 219 | + app:layout_constraintTop_toBottomOf="@id/iv_other_user_page_no_public" /> |
218 | 220 |
|
219 | 221 | </androidx.constraintlayout.widget.ConstraintLayout> |
220 | 222 |
|
|
0 commit comments