| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="187dp" |
| | | android:layout_height="@dimen/dp_49"> |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | android:layout_width="0dp" |
| | | android:layout_height="@dimen/dp_49" |
| | | android:layout_weight="1"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/icon_iv" |
| | |
| | | android:layout_height="@dimen/dp_22" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_centerInParent="true" |
| | | android:layout_marginTop="@dimen/dp_8" /> |
| | | android:layout_marginTop="13.5dp" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/title_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/text_14" |
| | | android:layout_height="@dimen/text_16" |
| | | android:layout_below="@+id/icon_iv" |
| | | android:layout_centerInParent="true" |
| | | android:layout_marginTop="@dimen/dp_2" |
| | | android:textColor="@color/text_90000000" |
| | | android:textSize="@dimen/text_10" /> |
| | | android:textColor="@color/text_E6000000" |
| | | android:textSize="@dimen/text_12" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/red_count_tv" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="@dimen/dp_21" |
| | | android:layout_alignStart="@+id/icon_iv" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:layout_marginTop="6dp" |
| | | android:background="@drawable/red_font" |
| | | android:paddingStart="@dimen/dp_7" |
| | | android:paddingEnd="@dimen/dp_7" |
| | | android:textColor="@color/text_FFFFFFFF" |
| | | android:visibility="gone" /> |
| | | <!--加大点击热区--> |
| | | <TextView |
| | | android:id="@+id/click_tv" |
| | |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentEnd="true" |
| | | android:layout_marginStart="@dimen/dp_30" |
| | | android:layout_marginEnd="@dimen/dp_30" /> |
| | | android:layout_marginEnd="@dimen/dp_30" |
| | | |
| | | /> |
| | | |
| | | |
| | | </RelativeLayout> |