All Projects → armcha → Playtablayout

armcha / Playtablayout

PlayTabLayout is a tab layout very similar to Google Play tab layout. The main feature is that ripple shows in a particular place where user taps.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Playtablayout

Android Tablayouthelper
A small library which helps to use TabLayout with ViewPager more easily.
Stars: ✭ 181 (-43.26%)
Mutual labels:  tablayout
PagerSlidingTabStrip
An interactive indicator to navigate between the different pages of a ViewPager
Stars: ✭ 2,194 (+587.77%)
Mutual labels:  tablayout
tablayout-ext
⭐🎉google 原生 Tablayout( com.google.android.material.tabs.TabLayout) 零入侵拓展,帮你更便捷的使用原生TabLayout实现一些UI效果
Stars: ✭ 69 (-78.37%)
Mutual labels:  tablayout
Jpagerslidingtabstrip
🔥A useful tablayout modify from astuetz/PagerSlidingTabStrip
Stars: ✭ 233 (-26.96%)
Mutual labels:  tablayout
Material-BottomBarLayout
🎉A material navigation bar library which has pretty animations and different ways of arrangement.
Stars: ✭ 56 (-82.45%)
Mutual labels:  tablayout
multilayout
一个可以支持自动将分类标签拆分多行Tab标签的Layout
Stars: ✭ 14 (-95.61%)
Mutual labels:  tablayout
Android Video Listing Mvp
Android video listing with swipe view tabs based on mvp design pattern with complete functionalities like search and sort
Stars: ✭ 151 (-52.66%)
Mutual labels:  tablayout
Flowhelper
帮助您迅速构建顶部Tab,比如今日头条效果,热搜、搜索记录、与ViewPager/ViewPager2搭配的工具类;
Stars: ✭ 295 (-7.52%)
Mutual labels:  tablayout
TabSync
A lightweight synchronizer between Android's Tabs and Lists. Available on the View system and Jetpack Compose.
Stars: ✭ 98 (-69.28%)
Mutual labels:  tablayout
BottomNavigationView
Bottom Navigation Example
Stars: ✭ 15 (-95.3%)
Mutual labels:  tablayout
Apporder
骚操作之改造TabLayout,修改指示线宽增加切Tab过渡动画
Stars: ✭ 246 (-22.88%)
Mutual labels:  tablayout
UltimateTabLayout
A library for tab layout use with viewpager. Very useful, small
Stars: ✭ 33 (-89.66%)
Mutual labels:  tablayout
JSTabLayout
简书tablayout
Stars: ✭ 29 (-90.91%)
Mutual labels:  tablayout
Tabscrollattacher
Attach TabLayout and RecyclerView. Useful for categorizing RecyclerView items.
Stars: ✭ 196 (-38.56%)
Mutual labels:  tablayout
TabLayout
在原design包中的TabLayout的基础上增加了一些实用的属性.
Stars: ✭ 25 (-92.16%)
Mutual labels:  tablayout
Raised Center Tab In Android
Customized tabhost having raised center tab.
Stars: ✭ 158 (-50.47%)
Mutual labels:  tablayout
GlueTabLayout
能精确修改TabLayout的下划线指示器的宽度,能使用粘动动画。
Stars: ✭ 39 (-87.77%)
Mutual labels:  tablayout
Xamarin Forms Tab Badge
Xamarin Forms bindable Tab badges for iOS, Android, UWP, MacOS and WPF
Stars: ✭ 304 (-4.7%)
Mutual labels:  tablayout
Xtablayout
🧀Enhanced version of TabLayout, add the custom width of the TabLayout Indicator, add the animation effect of Weibo navigation bar, support the Indicator rounded effect, support the TAB to add red dots and Numbers.
Stars: ✭ 264 (-17.24%)
Mutual labels:  tablayout
un-material-tab
(deprecated) Custom tab layout which can be used as a material TabLayout alternative and contains basic functionality which Google's TabLayout has.
Stars: ✭ 83 (-73.98%)
Mutual labels:  tablayout

PlayTabLayout

PlayTabLayout is a tab layout very similar to Google Play tab layout. The main feature is that ripple shows in a particular place where user taps.


The current minSDK version is API level 16.

Download


Gradle:

implementation 'com.github.armcha:PlayTabLayout:2.0.0'

Download sample apk

Setup and usage

  1. Add AutoLinkTextView to your layout
     <io.armcha.playtablayout.core.PlayTabLayout
            android:id="@+id/playTabLayout"
            android:layout_width="match_parent"
            android:layout_height="some_dp" />
  1. Add tab colors
playTabLayout.colors = intArrayOf(
                R.color.f,
                R.color.s,
                R.color.t,
                R.color.four)

Note: array must be the same size as your adapter item count

  1. And you can use it like a regular tab layout
viewPager.adapter = TabAdapter(supportFragmentManager)
val tabLayout = playTabLayout.tabLayout
tabLayout.setupWithViewPager(viewPager)

Current limitations:

You can't set

tabMode="scrollable"

and

tabGravity="center"

Contact

Pull requests are more than welcome.

License

  PlayTabLayout
  Copyright (c) 2018 Arman Chatikyan (https://github.com/armcha/PlayTabLayout).

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].