11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2+ <ScrollView xmlns : android =" http://schemas.android.com/apk/res/android"
33 xmlns : tools =" http://schemas.android.com/tools"
44 android : layout_width =" match_parent"
5- android : layout_height =" match_parent"
6- xmlns : app =" http://schemas.android.com/apk/res-auto"
7- android : id =" @+id/container"
8- android : gravity =" center"
9- android : orientation =" vertical"
10- tools : context =" com.moxun.tagcloud.MainActivity" >
11-
12- <LinearLayout
13- android : layout_width =" match_parent"
14- android : layout_height =" 20dp"
15- android : orientation =" horizontal" >
16- <View
17- android : layout_width =" 0dp"
18- android : layout_weight =" 1"
19- android : background =" @color/tagLight"
20- android : layout_height =" match_parent" />
21- <View
22- android : layout_width =" 0dp"
23- android : layout_weight =" 1"
24- android : background =" @color/tagDark"
25- android : layout_height =" match_parent" />
26- </LinearLayout >
27- <com .moxun.tagcloudlib.view.TagCloudView
28- android : id =" @+id/tag_cloud"
29- android : layout_margin =" 10dp"
30- android : layout_width =" wrap_content"
31- android : layout_height =" wrap_content"
32- app : autoScrollMode =" uniform"
33- app : lightColor =" @color/tagLight"
34- app : darkColor =" @color/tagDark"
35- app : radiusPercent =" 0.6"
36- app : scrollSpeed =" 3" />
37-
38- <Button
39- android : id =" @+id/tag_text"
40- android : layout_width =" match_parent"
41- android : layout_height =" wrap_content"
42- android : text =" Simple Text Tag" />
43- <Button
44- android : id =" @+id/tag_view"
45- android : layout_width =" match_parent"
46- android : layout_height =" wrap_content"
47- android : text =" Custom View Tag" />
48- <Button
49- android : id =" @+id/tag_vector"
5+ android : layout_height =" wrap_content" >
6+
7+ <LinearLayout xmlns : app =" http://schemas.android.com/apk/res-auto"
8+ android : id =" @+id/container"
509 android : layout_width =" match_parent"
5110 android : layout_height =" wrap_content"
52- android : text =" VectorDrawable Tag" />
11+ android : gravity =" center"
12+ android : orientation =" vertical"
13+ tools : context =" com.moxun.tagcloud.MainActivity" >
14+
15+ <LinearLayout
16+ android : layout_width =" match_parent"
17+ android : layout_height =" 20dp"
18+ android : orientation =" horizontal" >
5319
54- </LinearLayout >
20+ <View
21+ android : layout_width =" 0dp"
22+ android : layout_height =" match_parent"
23+ android : layout_weight =" 1"
24+ android : background =" @color/tagLight" />
25+
26+ <View
27+ android : layout_width =" 0dp"
28+ android : layout_height =" match_parent"
29+ android : layout_weight =" 1"
30+ android : background =" @color/tagDark" />
31+ </LinearLayout >
32+
33+ <com .moxun.tagcloudlib.view.TagCloudView
34+ android : id =" @+id/tag_cloud"
35+ android : layout_width =" wrap_content"
36+ android : layout_height =" wrap_content"
37+ android : layout_margin =" 10dp"
38+ app : autoScrollMode =" uniform"
39+ app : darkColor =" @color/tagDark"
40+ app : lightColor =" @color/tagLight"
41+ app : radiusPercent =" 0.6"
42+ app : scrollSpeed =" 3" />
43+
44+ <Button
45+ android : id =" @+id/tag_text"
46+ android : layout_width =" match_parent"
47+ android : layout_height =" wrap_content"
48+ android : text =" Simple Text Tag" />
49+
50+ <Button
51+ android : id =" @+id/tag_view"
52+ android : layout_width =" match_parent"
53+ android : layout_height =" wrap_content"
54+ android : text =" Custom View Tag" />
55+
56+ <Button
57+ android : id =" @+id/tag_vector"
58+ android : layout_width =" match_parent"
59+ android : layout_height =" wrap_content"
60+ android : text =" VectorDrawable Tag" />
61+
62+ <Button
63+ android : id =" @+id/test_fragment"
64+ android : layout_width =" match_parent"
65+ android : layout_height =" wrap_content"
66+ android : text =" Using in Fragment" />
67+
68+ </LinearLayout >
69+ </ScrollView >
0 commit comments