Showing
4 changed files
with
40 additions
and
13 deletions
| 1 | +<?xml version="1.0" encoding="utf-8"?> | ||
| 2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| 3 | + <solid android:color="#415564"/> | ||
| 4 | + <corners android:topLeftRadius="4dp"/> | ||
| 5 | + <padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" /> | ||
| 6 | +</shape> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | 
| 1 | +<?xml version="1.0" encoding="utf-8"?> | ||
| 2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| 3 | + <solid android:color="#415564"/> | ||
| 4 | + <corners android:bottomRightRadius="4dp"/> | ||
| 5 | + <padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" /> | ||
| 6 | +</shape> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | 
| 1 | +<?xml version="1.0" encoding="utf-8"?> | ||
| 2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| 3 | + <solid android:color="@android:color/white"/> | ||
| 4 | + <corners android:bottomRightRadius="4dp"/> | ||
| 5 | + <padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" /> | ||
| 6 | +</shape> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | 
| ... | @@ -221,12 +221,10 @@ | ... | @@ -221,12 +221,10 @@ | 
| 221 | app:layout_constraintStart_toStartOf="@+id/iv_progress" | 221 | app:layout_constraintStart_toStartOf="@+id/iv_progress" | 
| 222 | app:layout_constraintTop_toBottomOf="@+id/iv_progress" /> | 222 | app:layout_constraintTop_toBottomOf="@+id/iv_progress" /> | 
| 223 | 223 | ||
| 224 | - <LinearLayout | 224 | + <androidx.constraintlayout.widget.ConstraintLayout | 
| 225 | android:layout_width="match_parent" | 225 | android:layout_width="match_parent" | 
| 226 | android:layout_height="wrap_content" | 226 | android:layout_height="wrap_content" | 
| 227 | android:layout_marginTop="16dp" | 227 | android:layout_marginTop="16dp" | 
| 228 | - android:orientation="horizontal" | ||
| 229 | - android:weightSum="3" | ||
| 230 | app:layout_constraintBottom_toBottomOf="parent" | 228 | app:layout_constraintBottom_toBottomOf="parent" | 
| 231 | app:layout_constraintEnd_toEndOf="parent" | 229 | app:layout_constraintEnd_toEndOf="parent" | 
| 232 | app:layout_constraintStart_toStartOf="parent" | 230 | app:layout_constraintStart_toStartOf="parent" | 
| ... | @@ -236,11 +234,15 @@ | ... | @@ -236,11 +234,15 @@ | 
| 236 | android:id="@+id/ll_data" | 234 | android:id="@+id/ll_data" | 
| 237 | android:layout_width="0dp" | 235 | android:layout_width="0dp" | 
| 238 | android:layout_height="wrap_content" | 236 | android:layout_height="wrap_content" | 
| 239 | - android:layout_weight="1.2" | 237 | + android:background="@drawable/banner_border_white_bg_right_radius" | 
| 240 | - android:background="@drawable/banner_border_grey_bg" | 238 | + android:elevation="3dp" | 
| 239 | + android:gravity="center" | ||
| 241 | android:orientation="horizontal" | 240 | android:orientation="horizontal" | 
| 242 | android:paddingHorizontal="12dp" | 241 | android:paddingHorizontal="12dp" | 
| 243 | - android:paddingVertical="6dp"> | 242 | + android:paddingVertical="6dp" | 
| 243 | + app:layout_constraintBottom_toBottomOf="parent" | ||
| 244 | + app:layout_constraintStart_toStartOf="parent" | ||
| 245 | + app:layout_constraintTop_toTopOf="parent"> | ||
| 244 | 246 | ||
| 245 | <ImageView | 247 | <ImageView | 
| 246 | android:id="@+id/iv_widget_mb" | 248 | android:id="@+id/iv_widget_mb" | 
| ... | @@ -271,11 +273,14 @@ | ... | @@ -271,11 +273,14 @@ | 
| 271 | android:id="@+id/ll_voice" | 273 | android:id="@+id/ll_voice" | 
| 272 | android:layout_width="0dp" | 274 | android:layout_width="0dp" | 
| 273 | android:layout_height="wrap_content" | 275 | android:layout_height="wrap_content" | 
| 274 | - android:layout_weight="0.9" | 276 | + android:background="@drawable/banner_border_grey_bg_left_radius" | 
| 275 | - android:background="@drawable/banner_border_grey_bg3" | 277 | + android:gravity="center" | 
| 276 | android:orientation="horizontal" | 278 | android:orientation="horizontal" | 
| 277 | android:paddingHorizontal="12dp" | 279 | android:paddingHorizontal="12dp" | 
| 278 | - android:paddingVertical="6dp"> | 280 | + android:paddingVertical="6dp" | 
| 281 | + app:layout_constraintBottom_toBottomOf="parent" | ||
| 282 | + app:layout_constraintStart_toEndOf="@+id/ll_data" | ||
| 283 | + app:layout_constraintTop_toTopOf="parent"> | ||
| 279 | 284 | ||
| 280 | <ImageView | 285 | <ImageView | 
| 281 | android:id="@+id/iv_widget_voice" | 286 | android:id="@+id/iv_widget_voice" | 
| ... | @@ -306,11 +311,15 @@ | ... | @@ -306,11 +311,15 @@ | 
| 306 | android:id="@+id/ll_sms" | 311 | android:id="@+id/ll_sms" | 
| 307 | android:layout_width="0dp" | 312 | android:layout_width="0dp" | 
| 308 | android:layout_height="wrap_content" | 313 | android:layout_height="wrap_content" | 
| 309 | - android:layout_weight="0.9" | 314 | + android:background="@drawable/banner_border_grey_bg_right_radius" | 
| 310 | - android:background="@drawable/banner_border_grey_bg3" | 315 | + android:gravity="center" | 
| 311 | android:orientation="horizontal" | 316 | android:orientation="horizontal" | 
| 312 | android:paddingHorizontal="12dp" | 317 | android:paddingHorizontal="12dp" | 
| 313 | - android:paddingVertical="6dp"> | 318 | + android:paddingVertical="6dp" | 
| 319 | + app:layout_constraintBottom_toBottomOf="parent" | ||
| 320 | + app:layout_constraintEnd_toEndOf="parent" | ||
| 321 | + app:layout_constraintStart_toEndOf="@+id/ll_voice" | ||
| 322 | + app:layout_constraintTop_toTopOf="parent"> | ||
| 314 | 323 | ||
| 315 | <ImageView | 324 | <ImageView | 
| 316 | android:id="@+id/iv_widget_sms" | 325 | android:id="@+id/iv_widget_sms" | 
| ... | @@ -336,7 +345,7 @@ | ... | @@ -336,7 +345,7 @@ | 
| 336 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | 345 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | 
| 337 | app:layout_constraintVertical_bias="0.47" /> | 346 | app:layout_constraintVertical_bias="0.47" /> | 
| 338 | </LinearLayout> | 347 | </LinearLayout> | 
| 339 | - </LinearLayout> | 348 | + </androidx.constraintlayout.widget.ConstraintLayout> | 
| 340 | 349 | ||
| 341 | 350 | ||
| 342 | <!-- <ImageView--> | 351 | <!-- <ImageView--> | ... | ... | 
- 
Please register or login to post a comment