-
Notifications
You must be signed in to change notification settings - Fork 141
/
activity_shapeimageview.xml
97 lines (86 loc) · 3.83 KB
/
activity_shapeimageview.xml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffff"
android:orientation="vertical"
android:padding="5dp">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<cn.forward.androids.views.ShapeImageView
android:layout_width="110dp"
android:layout_height="110dp"
android:src="@drawable/world_map"
app:siv_shape="circle" />
<cn.forward.androids.views.ShapeImageView
android:layout_width="110dp"
android:layout_height="110dp"
android:layout_marginLeft="5dp"
android:src="@drawable/world_map"
app:siv_round_radius="25dp"
app:siv_shape="rect" />
<cn.forward.androids.views.ShapeImageView
android:layout_width="80dp"
android:layout_height="110dp"
android:layout_marginLeft="5dp"
android:src="@drawable/world_map"
app:siv_border_color="#ffffff"
app:siv_border_size="0dp"
app:siv_round_radius="15dp"
app:siv_shape="oval" />
</LinearLayout>
<cn.forward.androids.views.ShapeImageView
android:layout_width="220dp"
android:layout_height="110dp"
android:layout_marginLeft="5dp"
android:layout_marginTop="10dp"
android:background="#000"
android:clickable="true"
android:src="@drawable/world_map"
app:sel_background_corners="50dp"
app:sel_background_ripple="#F00"
app:siv_border_color="#ffffff"
app:siv_border_size="2dp"
app:siv_round_radius="15dp"
app:siv_shape="circle" />
<cn.forward.androids.views.ShapeImageView
android:layout_width="220dp"
android:layout_height="110dp"
android:layout_marginLeft="5dp"
android:layout_marginTop="10dp"
android:background="#000000"
android:src="@drawable/world_map"
app:siv_border_color="#00ff00"
app:siv_border_size="3dp"
app:siv_round_radius="15dp"
app:siv_round_radius_leftBottom="0dp"
app:siv_round_radius_rightBottom="0dp"
app:siv_shape="rect" />
<cn.forward.androids.views.ShapeImageView
android:layout_width="220dp"
android:layout_height="110dp"
android:layout_marginLeft="5dp"
android:layout_marginTop="10dp"
android:background="#000"
android:clickable="true"
android:src="@drawable/world_map"
app:sel_background_border_color="#00ff00"
app:sel_background_border_width="5dp"
app:sel_background_pressed="#fff"
app:siv_border_color="#ff0000"
app:siv_border_size="5dp"
app:siv_round_radius="15dp"
app:siv_shape="oval" />
</LinearLayout>
</ScrollView>
</FrameLayout>