- Notifications
You must be signed in to change notification settings - Fork63
armcha/PlayTabLayout
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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.
Gradle:
implementation'com.github.armcha:PlayTabLayout:2.0.0'Download sampleapk
- Add AutoLinkTextView to your layout
<io.armcha.playtablayout.core.PlayTabLayoutandroid:id="@+id/playTabLayout"android:layout_width="match_parent"android:layout_height="some_dp" />
- Add tab colors
playTabLayout.colors= intArrayOf(R.color.f,R.color.s,R.color.t,R.color.four)
- And you can use it like a regular tab layout
viewPager.adapter=TabAdapter(supportFragmentManager)val tabLayout= playTabLayout.tabLayouttabLayout.setupWithViewPager(viewPager)
You can't set
tabMode="scrollable"
and
tabGravity="center"
Pull requests are more than welcome.
- Email:chatikyana@gmail.com
- Twitter:https://twitter.com/ArmanChatikyan
- Google +:https://plus.google.com/+ArmanChatikyan
- Website:https://armcha.github.io/
- Medium:https://medium.com/@chatikyan
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.About
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.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
