| | |
| | | </data> |
| | | |
| | | <androidx.cardview.widget.CardView |
| | | android:id="@+id/cv_container" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:cardCornerRadius="10dp" |
| | |
| | | app:cardBackgroundColor="@color/white" |
| | | android:layout_margin="1dp"> |
| | | |
| | | <androidx.constraintlayout.utils.widget.ImageFilterView |
| | | android:id="@+id/iv_myself" |
| | | android:layout_width="18dp" |
| | | android:layout_height="18dp" |
| | | android:layout_gravity="center_vertical" |
| | | android:layout_marginHorizontal="2dp" |
| | | android:background="@drawable/ic_myself" |
| | | app:roundPercent="1" |
| | | android:elevation="10dp" |
| | | android:visibility="gone" |
| | | tools:visibility="visible" |
| | | /> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginHorizontal="10dp" |
| | | android:layout_marginEnd="20dp" |
| | | android:layout_marginStart="20dp" |
| | | android:layout_marginVertical="5dp" |
| | | android:orientation="horizontal" |
| | | android:gravity="center" |
| | |
| | | android:textColor="#FFEBA4AA" |
| | | android:gravity="center" |
| | | android:maxLines="1" |
| | | tools:text="100" |
| | | tools:text="2" |
| | | |
| | | /> |
| | | |
| | | <!-- 头像 --> |
| | |
| | | android:id="@+id/iv_avatar" |
| | | android:layout_width="30dp" |
| | | android:layout_height="30dp" |
| | | android:layout_marginStart="8dp" |
| | | android:layout_marginStart="5dp" |
| | | android:layout_marginEnd="10dp" |
| | | android:scaleType="fitCenter" |
| | | app:roundPercent="1" |