This repository was archived by the owner on Jul 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +217
-62
lines changed
src/org/taptwo/android/widget Expand file tree Collapse file tree 4 files changed +217
-62
lines changed Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <classpath >
3
- <classpathentry kind =" con" path =" com.android.ide.eclipse.adt.ANDROID_FRAMEWORK" />
4
- <classpathentry kind =" src" path =" viewflow_src" />
5
- <classpathentry kind =" src" path =" src" />
6
- <classpathentry kind =" src" path =" gen" />
7
- <classpathentry kind =" src" path =" org_taptwo_android_widget_viewflow_src" />
8
- <classpathentry kind =" output" path =" bin" />
9
- </classpath >
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <classpath >
3
+ <classpathentry kind =" con" path =" com.android.ide.eclipse.adt.ANDROID_FRAMEWORK" />
4
+ <classpathentry kind =" src" path =" src" />
5
+ <classpathentry kind =" src" path =" gen" />
6
+ <classpathentry kind =" src" path =" org_taptwo_android_widget_viewflow_src" />
7
+ <classpathentry kind =" src" path =" viewflow_src" />
8
+ <classpathentry combineaccessrules =" false" kind =" src" path =" /viewflow" />
9
+ <classpathentry kind =" output" path =" bin" />
10
+ </classpath >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <FrameLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
xmlns:app=" http://schemas.android.com/apk/res/org.taptwo.android.widget.viewflow.example"
4
4
android:orientation=" vertical" android : layout_width =" fill_parent"
5
5
android:layout_height=" fill_parent" >
6
6
7
-
8
-
9
- <LinearLayout android : layout_height =" wrap_content"
10
- android:layout_width=" fill_parent" android : gravity =" center_horizontal"
11
- android:orientation=" horizontal" android : id =" @+id/header_layout" >
12
- <org .taptwo.android.widget.CircleFlowIndicator
13
- android:padding=" 10dip" android : layout_height =" wrap_content"
14
- android:layout_width=" wrap_content" android : id =" @+id/viewflowindic"
15
- android:background=" #00000000" ></org .taptwo.android.widget.CircleFlowIndicator>
16
- </LinearLayout >
7
+ <org .taptwo.android.widget.CircleFlowIndicator
8
+ android:padding=" 10dip"
9
+ android:layout_height=" wrap_content"
10
+ android:layout_width=" wrap_content"
11
+ android:id=" @+id/viewflowindic"
12
+ android:layout_gravity=" center_horizontal"
13
+ app:inactiveType=" fill"
14
+ app:fadeOut=" 1000" />
17
15
<org .taptwo.android.widget.ViewFlow
18
16
android:id=" @+id/viewflow" android : layout_width =" fill_parent"
19
17
android:layout_height=" fill_parent" app : sidebuffer =" 3" ></org .taptwo.android.widget.ViewFlow>
20
18
21
-
22
-
23
-
24
-
25
-
26
- </LinearLayout >
19
+ </FrameLayout >
Original file line number Diff line number Diff line change 19
19
<attr name =" sidebuffer" format =" integer" />
20
20
</declare-styleable >
21
21
<declare-styleable name =" CircleFlowIndicator" >
22
- <attr name =" fillColor " format =" color" />
23
- <attr name =" strokeColor " format =" color" />
22
+ <attr name =" activeColor " format =" color" />
23
+ <attr name =" inactiveColor " format =" color" />
24
24
<attr name =" radius" format =" dimension" />
25
25
<attr name =" centered" format =" boolean" />
26
+ <attr name =" fadeOut" format =" integer" />
27
+ <attr name =" inactiveType" >
28
+ <flag name =" stroke" value =" 0" />
29
+ <flag name =" fill" value =" 1" />
30
+ </attr >
31
+ <attr name =" activeType" >
32
+ <flag name =" stroke" value =" 0" />
33
+ <flag name =" fill" value =" 1" />
34
+ </attr >
26
35
</declare-styleable >
27
36
<declare-styleable name =" TitleFlowIndicator" >
28
37
<attr name =" titlePadding" format =" dimension" />
You can’t perform that action at this time.
0 commit comments