|
3 | 3 | xmlns:tools="http://schemas.android.com/tools"
|
4 | 4 | android:layout_width="wrap_content"
|
5 | 5 | android:layout_height="wrap_content"
|
| 6 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
6 | 7 | android:background="@drawable/background_normal_floating_caller_info"
|
7 | 8 | tools:ignore="HardcodedText"
|
8 | 9 | android:id="@+id/floatingCallerInfoMainLayout"
|
9 | 10 | android:padding="15dp">
|
10 | 11 |
|
11 |
| - <FrameLayout |
12 |
| - android:id="@+id/frameImageView" |
13 |
| - android:layout_width="wrap_content" |
| 12 | + <com.google.android.material.imageview.ShapeableImageView |
| 13 | + android:id="@+id/callerProfileIV" |
| 14 | + android:layout_width="50dp" |
14 | 15 | android:layout_height="wrap_content"
|
15 |
| - android:minWidth="45dp" |
| 16 | + android:contentDescription="Profile DP" |
| 17 | + android:src="@drawable/verified_user_24" |
| 18 | + android:background="@color/white" |
| 19 | + app:shapeAppearanceOverlay="@style/CircleImageViewStyle" |
| 20 | + android:adjustViewBounds="true" |
16 | 21 | android:layout_alignParentStart="true"
|
17 |
| - android:layout_centerVertical="true"> |
18 |
| - |
19 |
| - <ImageView |
20 |
| - android:id="@+id/imageView" |
21 |
| - android:layout_width="match_parent" |
22 |
| - android:layout_height="wrap_content" |
23 |
| - android:adjustViewBounds="true" |
24 |
| - android:background="@drawable/background_circle_shape_imageview" |
25 |
| - android:contentDescription="Caller Info" |
26 |
| - android:scaleType="centerCrop" |
27 |
| - android:src="@drawable/verified_user_24" |
28 |
| - tools:ignore="ImageContrastCheck" /> |
29 |
| - |
30 |
| - </FrameLayout> |
| 22 | + android:layout_centerVertical="true"/> |
31 | 23 |
|
32 | 24 | <LinearLayout
|
33 | 25 | android:layout_width="wrap_content"
|
34 | 26 | android:layout_height="wrap_content"
|
35 | 27 | android:layout_centerInParent="true"
|
36 |
| - android:layout_toEndOf="@+id/frameImageView" |
| 28 | + android:layout_toEndOf="@+id/callerProfileIV" |
37 | 29 | android:paddingHorizontal="15dp"
|
38 | 30 | android:gravity="center_vertical"
|
39 | 31 | android:orientation="vertical">
|
|
0 commit comments