layout_active_item.xml
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fresco="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:background="?android:attr/selectableItemBackground"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="139dp"
android:layout_marginBottom="5dp"
android:layout_marginLeft="10dp"
android:id="@+id/ll_active_item"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp"
android:background="@color/color_f4f4f4"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="112dp">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/active_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
fresco:failureImage="@drawable/default_background"
android:scaleType="fitXY"/>
<ImageView
android:id="@+id/ima_isactvie"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginRight="14dp"
android:gravity="center" />
</RelativeLayout>
<TextView
android:id="@+id/tv_active_title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:gravity="center_vertical"
android:text="1111"
android:textColor="@color/color_333"
android:textSize="11sp" />
</LinearLayout>
</LinearLayout>