All Projects → h6ah4i → Android Tablayouthelper

h6ah4i / Android Tablayouthelper

Licence: apache-2.0
A small library which helps to use TabLayout with ViewPager more easily.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Tablayouthelper

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 (-54.14%)
Mutual labels:  tabs, tablayout
PagerSlidingTabStrip
An interactive indicator to navigate between the different pages of a ViewPager
Stars: ✭ 2,194 (+1112.15%)
Mutual labels:  tabs, tablayout
Material-BottomBarLayout
🎉A material navigation bar library which has pretty animations and different ways of arrangement.
Stars: ✭ 56 (-69.06%)
Mutual labels:  tabs, tablayout
Animatedtablayout
Yet another android tab layout
Stars: ✭ 572 (+216.02%)
Mutual labels:  tabs, 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 (-16.57%)
Mutual labels:  tablayout
Box Cli Maker
Make Highly Customized Boxes for your CLI
Stars: ✭ 115 (-36.46%)
Mutual labels:  tabs
Whatsappviewpager
Swipeable tabs like WhatsApp in Android
Stars: ✭ 115 (-36.46%)
Mutual labels:  tablayout
Tabbar
🔥空祖家的导航栏工具
Stars: ✭ 100 (-44.75%)
Mutual labels:  tablayout
React Native Head Tab View
Add collapsible headers to your tab-view components.
Stars: ✭ 171 (-5.52%)
Mutual labels:  tabs
Multrin
Organize apps windows in tabs like in abandoned Windows Sets and more
Stars: ✭ 2,107 (+1064.09%)
Mutual labels:  tabs
Tabs
React tabs with hooks
Stars: ✭ 147 (-18.78%)
Mutual labels:  tabs
Universal Collapsingtablayout
CollapsingToolbarLayout with TabLayout
Stars: ✭ 118 (-34.81%)
Mutual labels:  tablayout
Vue Ui For Pc
基于Vue2.x的一套PC端UI组件,包括了Carousel 跑马灯、Cascader 级联、Checkbox 多选框、Collapse 折叠面板、DatePicker 日期选择、Dialog 对话框、Form 表单、Input 输入框、InputNumber 数字输入框、Layer 弹窗层、Loading 加载、Menu 菜单、Page 分页、Progress 进度条、Radio 单选框、SelectDropDown 仿select、Switch 开关、Table 表格、Tabs 标签页、Textarea 文本框、Tooltip 文字提示、BackTop 返回顶部、steps 步骤条、Transfer 穿梭框、Tree 树形、Upload 文件上传、Lazy 图片懒加载、Loading 加载、Pagination 分页等等
Stars: ✭ 156 (-13.81%)
Mutual labels:  tabs
Vertical Tabs Reloaded
Firefox add-on for arranging tabs vertically
Stars: ✭ 115 (-36.46%)
Mutual labels:  tabs
Alfred Safari Assistant
Alfred 3+ workflow to search and use Safari bookmarks, history, reading list and tabs.
Stars: ✭ 169 (-6.63%)
Mutual labels:  tabs
Hibiscus.js
Native Angular directives for Bootstrap4
Stars: ✭ 115 (-36.46%)
Mutual labels:  tabs
Fliptabs
Android Flip Tabs Library
Stars: ✭ 135 (-25.41%)
Mutual labels:  tabs
Ttab
macOS and Linux CLI for opening a new terminal tab/window, optionally with a command to execute and/or display settings
Stars: ✭ 160 (-11.6%)
Mutual labels:  tabs
React Draggable Tab
Atom like draggable tab react component
Stars: ✭ 133 (-26.52%)
Mutual labels:  tabs
Btabs
A jQuery plugin open pages in tab, based on Bootstrap2,3
Stars: ✭ 124 (-31.49%)
Mutual labels:  tabs

TabLayoutHelper

A small library which helps to use TabLayout with ViewPager more easily.

Maven Central Android Arsenal


  • Automatically switch TabLayout.MODE_FIXED and TabLayout.MODE_SCROLLABLE depends on total tab width.
  • Easily to implement custom tab views

Example app

Target platforms

  • API level 14 or later

Latest version

  • Version 1.0.0 (September 24, 2018)

Getting started

This library is published on Maven Central. Just add these lines to build.gradle.

dependencies {
    implementation 'com.h6ah4i.android.tablayouthelper:tablayouthelper:1.0.0'
}

NOTE

  • Since v1.0.0, this library has been migrated to AndroidX. If you still need to use support libraries, use v0.9.1 instead.

Usage

ViewPager viewPager = (ViewPager) findViewById(...);
TabLayout tabLayout = (TabLayout) findViewById(...);
PagerAdapter adapter = new XXXPagerAdapter();

viewPager.setAdapter(adapter);

// initialize the TabLayoutHelper instance
mTabLayoutHelper = new TabLayoutHelper(tabLayout, viewPager);

// [Optional] enables auto tab mode adjustment
mTabLayoutHelper.setAutoAdjustTabModeEnabled(true);

License

This library is licensed under the Apache Software License, Version 2.0.

See LICENSE for full of the license text.

Copyright (C) 2015 Haruki Hasegawa

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].