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