|
|
@@ -0,0 +1,41 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:id="@+id/my_item_but"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/my_item_img"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_marginEnd="5dp"
|
|
|
+ android:layout_height="53dp"
|
|
|
+ android:scaleType="fitCenter"
|
|
|
+ android:src="@drawable/icon" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/my_item_text"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/my_item_img"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginEnd="5dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="试玩赚钱"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/my_item_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_marginEnd="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="试玩"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="7sp" />
|
|
|
+</RelativeLayout>
|