|
37 | 37 | <LinearLayout |
38 | 38 | android:layout_width="match_parent" |
39 | 39 | android:layout_height="wrap_content" |
40 | | - android:layout_marginTop="16dp" |
| 40 | + android:layout_marginTop="24dp" |
41 | 41 | android:layout_marginHorizontal="16dp" |
42 | 42 | android:orientation="vertical" |
43 | 43 | app:layout_constraintStart_toStartOf="parent" |
|
59 | 59 | android:layout_width="match_parent" |
60 | 60 | android:layout_height="wrap_content" |
61 | 61 | android:layout_marginTop="4dp" |
62 | | - android:fontFamily="@font/montserrat_bold" |
| 62 | + android:fontFamily="@font/montserrat_semi_bold" |
63 | 63 | android:text="Tutories Name" |
64 | | - android:textSize="20dp" |
| 64 | + android:textSize="15dp" |
65 | 65 | android:textColor="@color/black" /> |
66 | 66 |
|
67 | 67 | <TextView |
68 | 68 | android:id="@+id/tvTutorName" |
69 | 69 | android:layout_width="match_parent" |
70 | 70 | android:layout_height="wrap_content" |
71 | | - android:fontFamily="@font/montserrat_semi_bold" |
| 71 | + android:fontFamily="@font/montserrat_medium" |
72 | 72 | android:text="Tutor Name" |
73 | | - android:textSize="18dp" |
| 73 | + android:textSize="14dp" |
74 | 74 | android:textColor="@color/black" /> |
| 75 | + |
| 76 | + <!-- Mode Indicators Container --> |
| 77 | + <LinearLayout |
| 78 | + android:layout_width="match_parent" |
| 79 | + android:layout_height="wrap_content" |
| 80 | + android:layout_marginTop="8dp" |
| 81 | + android:gravity="start" |
| 82 | + android:orientation="horizontal"> |
| 83 | + |
| 84 | + <!-- Onsite Mode --> |
| 85 | + <LinearLayout |
| 86 | + android:id="@+id/tvOnsiteStatus" |
| 87 | + android:layout_width="wrap_content" |
| 88 | + android:layout_height="28dp" |
| 89 | + android:background="@drawable/ic_indicator_inactive" |
| 90 | + android:gravity="center" |
| 91 | + android:orientation="horizontal" |
| 92 | + android:paddingHorizontal="12dp"> |
| 93 | + |
| 94 | + <ImageView |
| 95 | + android:id="@+id/ivOnsite" |
| 96 | + android:layout_width="14dp" |
| 97 | + android:layout_height="14dp" |
| 98 | + android:src="@drawable/ic_location_tutor_detail" |
| 99 | + app:tint="#757575" /> |
| 100 | + |
| 101 | + <TextView |
| 102 | + android:id="@+id/tvOnsite" |
| 103 | + android:layout_width="wrap_content" |
| 104 | + android:layout_height="wrap_content" |
| 105 | + android:layout_marginStart="4dp" |
| 106 | + android:fontFamily="@font/montserrat_semi_bold" |
| 107 | + android:text="@string/onsite" |
| 108 | + android:textColor="#757575" |
| 109 | + android:textSize="12sp" /> |
| 110 | + </LinearLayout> |
| 111 | + |
| 112 | + <!-- Online Mode --> |
| 113 | + <LinearLayout |
| 114 | + android:id="@+id/tvOnlineStatus" |
| 115 | + android:layout_width="wrap_content" |
| 116 | + android:layout_height="28dp" |
| 117 | + android:layout_marginStart="8dp" |
| 118 | + android:background="@drawable/ic_indicator_inactive" |
| 119 | + android:gravity="center" |
| 120 | + android:orientation="horizontal" |
| 121 | + android:paddingHorizontal="12dp"> |
| 122 | + |
| 123 | + <ImageView |
| 124 | + android:id="@+id/ivOnline" |
| 125 | + android:layout_width="14dp" |
| 126 | + android:layout_height="14dp" |
| 127 | + android:src="@drawable/ic_computer" |
| 128 | + app:tint="#757575" /> |
| 129 | + |
| 130 | + <TextView |
| 131 | + android:id="@+id/tvOnline" |
| 132 | + android:layout_width="wrap_content" |
| 133 | + android:layout_height="wrap_content" |
| 134 | + android:layout_marginStart="4dp" |
| 135 | + android:fontFamily="@font/montserrat_semi_bold" |
| 136 | + android:text="@string/online" |
| 137 | + android:textColor="#757575" |
| 138 | + android:textSize="12sp" /> |
| 139 | + </LinearLayout> |
| 140 | + </LinearLayout> |
75 | 141 | </LinearLayout> |
76 | 142 |
|
| 143 | + |
| 144 | + |
77 | 145 | <!-- Profile Image --> |
78 | 146 | <androidx.cardview.widget.CardView |
79 | 147 | android:id="@+id/ivTutorImageCard" |
80 | | - android:layout_width="60dp" |
81 | | - android:layout_height="60dp" |
| 148 | + android:layout_width="90dp" |
| 149 | + android:layout_height="90dp" |
82 | 150 | app:cardCornerRadius="15dp"> |
83 | 151 |
|
84 | 152 | <ImageView |
|
183 | 251 | android:textSize="14sp" /> |
184 | 252 | </LinearLayout> |
185 | 253 |
|
| 254 | + <LinearLayout |
| 255 | + android:layout_width="match_parent" |
| 256 | + android:layout_height="wrap_content" |
| 257 | + android:layout_marginTop="4dp" |
| 258 | + android:orientation="vertical" |
| 259 | + app:layout_constraintTop_toBottomOf="@+id/cardViewTutor"> |
| 260 | + |
| 261 | + <TextView |
| 262 | + android:layout_width="match_parent" |
| 263 | + android:layout_height="wrap_content" |
| 264 | + android:layout_weight="1" |
| 265 | + android:fontFamily="@font/montserrat_bold" |
| 266 | + android:text="Note" |
| 267 | + android:textColor="@color/black" |
| 268 | + android:textSize="14sp" /> |
| 269 | + |
| 270 | + <TextView |
| 271 | + android:id="@+id/tvNote" |
| 272 | + android:layout_width="match_parent" |
| 273 | + android:layout_height="wrap_content" |
| 274 | + android:layout_marginTop="4dp" |
| 275 | + android:fontFamily="@font/montserrat_medium" |
| 276 | + android:text="Text Note" |
| 277 | + android:textColor="@color/black" |
| 278 | + android:textSize="14sp" /> |
| 279 | + </LinearLayout> |
| 280 | + |
186 | 281 | <View |
187 | 282 | android:layout_width="match_parent" |
188 | 283 | android:layout_height="1dp" |
|
0 commit comments