Permalink
Browse files

new added tablayout

  • Loading branch information...
1 parent 046b174 commit 0ca3bd20653d543bb81f7e20684c80c225c8222a @H07000223 committed Dec 8, 2015
Showing with 16 additions and 9 deletions.
  1. +2 −2 FlycoTabLayout_Lib/build.gradle
  2. +6 −2 README.md
  3. +5 −2 README_CN.md
  4. +3 −3 app/build.gradle
  5. BIN preview_3.gif
@@ -3,15 +3,15 @@ apply plugin: 'com.android.library'
//apply plugin: 'com.jfrog.bintray'
// 这个version是区分library版本的,因此当我们需要更新library时记得修改这个version
-version = "1.4.0"
+version = "1.4.2"
android {
compileSdkVersion 23
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 8
targetSdkVersion 23
- versionCode 140
+ versionCode 142
versionName version
}
buildTypes {
View
@@ -1,7 +1,7 @@
#FlycoTabLayout
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FlycoTabLayout-green.svg?style=true)](https://android-arsenal.com/details/1/2756)
####[中文版](https://github.com/H07000223/FlycoTabLayout/blob/master/README_CN.md)
-An Android TabLayout Lib has two kinds of TabLayout at present.
+An Android TabLayout Lib has 3 kinds of TabLayout at present.
* SlidingTabLayout: deeply modified from [PagerSlidingTabStrip](https://github.com/jpardogo/PagerSlidingTabStrip).
* new added attribute
@@ -29,19 +29,23 @@ can be used freely with other widgets together.
public void setTabData(ArrayList<CustomTabEntity> tabEntitys, FragmentManager fm, int containerViewId, ArrayList<Fragment> fragments)
```
+* SegmentTabLayout
+
##Demo
![](https://github.com/H07000223/FlycoTabLayout/blob/master/preview_1.gif)
![](https://github.com/H07000223/FlycoTabLayout/blob/master/preview_2.gif)
+![](https://github.com/H07000223/FlycoTabLayout/blob/master/preview_3.gif)
+
##Gradle
```groovy
dependencies{
compile 'com.android.support:support-v4:23.1.1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.flyco.roundview:FlycoRoundView_Lib:1.1.2@aar'
- compile 'com.flyco.tablayout:FlycoTabLayout_Lib:1.4.0@aar'
+ compile 'com.flyco.tablayout:FlycoTabLayout_Lib:1.4.2@aar'
}
```
View
@@ -1,7 +1,7 @@
#FlycoTabLayout
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FlycoTabLayout-green.svg?style=true)](https://android-arsenal.com/details/1/2756)
-一个Android TabLayout库,目前有两个TabLayout
+一个Android TabLayout库,目前有3个TabLayout
* SlidingTabLayout:参照[PagerSlidingTabStrip](https://github.com/jpardogo/PagerSlidingTabStrip)进行大量修改.
* 新增部分属性
@@ -28,20 +28,23 @@
public void setTabData(ArrayList<CustomTabEntity> tabEntitys, FragmentManager fm, int containerViewId, ArrayList<Fragment> fragments)
```
+* SegmentTabLayout
##Demo
![](https://github.com/H07000223/FlycoTabLayout/blob/master/preview_1.gif)
![](https://github.com/H07000223/FlycoTabLayout/blob/master/preview_2.gif)
+![](https://github.com/H07000223/FlycoTabLayout/blob/master/preview_3.gif)
+
##Gradle
```groovy
dependencies{
compile 'com.android.support:support-v4:23.1.1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.flyco.roundview:FlycoRoundView_Lib:1.1.2@aar'
- compile 'com.flyco.tablayout:FlycoTabLayout_Lib:1.4.0@aar'
+ compile 'com.flyco.tablayout:FlycoTabLayout_Lib:1.4.2@aar'
}
```
View
@@ -22,9 +22,9 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.1'
- compile project(':FlycoTabLayout_Lib')
+// compile project(':FlycoTabLayout_Lib')
-/* compile 'com.flyco.tablayout:FlycoTabLayout_Lib:1.4.0@aar'
+ compile 'com.flyco.tablayout:FlycoTabLayout_Lib:1.4.2@aar'
compile 'com.flyco.roundview:FlycoRoundView_Lib:1.1.2@aar'
- compile 'com.nineoldandroids:library:2.4.0'*/
+ compile 'com.nineoldandroids:library:2.4.0'
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0ca3bd2

Please sign in to comment.