All Projects → yingLanNull → Alphatabsindicator

yingLanNull / Alphatabsindicator

高仿微信底部状态栏的轻量级库,非MagicIndicator那么功能庞大,简化功能符合大多数BottomTabBar应用设计需求, Lightweight Library of high imitation WeChat bottom status bar

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Alphatabsindicator

Gopay
QQ、微信(WeChat)、支付宝(AliPay)的Go版本SDK。【微信支付V3已支持,推荐使用微信V3接口】
Stars: ✭ 1,034 (-4.79%)
Mutual labels:  wechat
Dragtodismiss Pangesture
仿微信,微博的大图查看和视频播放 拖拽消失的手势动画。手势单独已抽离出来,可用于任何视图。Simulate Wechat's disappeared gesture animation by dragging when the big picture viewing or video playback . Gestures are separated and can be used in any view
Stars: ✭ 55 (-94.94%)
Mutual labels:  wechat
Weixin Minigame Tutorial
Flappy Bird adaptation on Wechat Minigame using PhaserJS + English Wechat Minigames Tutorial
Stars: ✭ 56 (-94.84%)
Mutual labels:  wechat
Android Wechat Tool
a wechat tool for android
Stars: ✭ 51 (-95.3%)
Mutual labels:  wechat
Steamcn Mini Program
SteamCN Forum WeChat Mini Program. SteamCN 蒸汽动力论坛微信小程序
Stars: ✭ 54 (-95.03%)
Mutual labels:  wechat
Hhnavigationcontroller Demo
HHNavigationController demo
Stars: ✭ 55 (-94.94%)
Mutual labels:  wechat
Wescraper
依赖Scrapy和搜狗搜索微信公众号文章
Stars: ✭ 46 (-95.76%)
Mutual labels:  wechat
Ioswechatfakelocation
A tweak that can fake location info in WeChat
Stars: ✭ 56 (-94.84%)
Mutual labels:  wechat
Antmove
小程序转换器,基于支付宝/微信小程序, 轻松地转换成其它平台的小程序。
Stars: ✭ 1,078 (-0.74%)
Mutual labels:  wechat
Wechatbot4xianyu
🤖 微信订阅机器人 | 🐟 微信订阅机器人之闲鱼二手商品监控
Stars: ✭ 56 (-94.84%)
Mutual labels:  wechat
Wechatbot
A wechat bot implemented in Python.
Stars: ✭ 51 (-95.3%)
Mutual labels:  wechat
Wx jump
[DEPRECATED] 一个规范且适合新手阅读的weixin跳一跳辅助
Stars: ✭ 53 (-95.12%)
Mutual labels:  wechat
Weui Sass
sass version for weui
Stars: ✭ 55 (-94.94%)
Mutual labels:  wechat
Wxapp Img Loader
适用于微信小程序的图片预加载组件
Stars: ✭ 1,049 (-3.41%)
Mutual labels:  wechat
Wechat Jump Game Hack
微信「跳一跳」游戏作弊器
Stars: ✭ 56 (-94.84%)
Mutual labels:  wechat
Wego
a wechat sdk for golang
Stars: ✭ 47 (-95.67%)
Mutual labels:  wechat
Vdonate
💰 为你的网站增加个微信、支付宝二维码,方便读者打赏
Stars: ✭ 55 (-94.94%)
Mutual labels:  wechat
Wxjava
Wechat-Group/WxJava的备份,有问题请到对应项目下讨论
Stars: ✭ 56 (-94.84%)
Mutual labels:  wechat
Maxpress
MaxPress:MarkDown+Python实现微信公众号一键排版
Stars: ✭ 56 (-94.84%)
Mutual labels:  wechat
Suspensionentrance
仿微信新版浮窗入口功能
Stars: ✭ 56 (-94.84%)
Mutual labels:  wechat

AlphaTabsIndicator

High imitation microblogging at the bottom of the status bar of the lightweight library for most of the bottom status bar application requirements.

Abstract

Imitation WeChat at the bottom of the tab label, slide the color gradient, increase the angle mark function, the use of extremely simple, only two lines of code.

Chinese Documents

查看中文文档

Gif

1

Screenshot

1 2 3 4

Demo

Download Demo

Usage

Step 1

Gradle

dependencies {
    compile 'com.yinglan.alphatabs:library:1.0.8'
}

Step 2

In Layout

	        <com.yinglan.alphatabs.AlphaTabsIndicator
                android:id="@+id/alphaIndicator"
                android:layout_width="match_parent"
                android:layout_height="55dp"
                android:orientation="horizontal">

                <com.yinglan.alphatabs.AlphaTabView
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:padding="5dp"

                    app:tabIconNormal=""
                    app:tabIconSelected=""
                    app:tabText=""
                    app:tabTextSize=""
                    app:textColorNormal=""
                    app:textColorSelected=""
                    app:badgeBackgroundColor=""
                    app:paddingTexwithIcon=""/>

                <com.yinglan.alphatabs.AlphaTabView
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:padding="5dp"

                    app:tabIconNormal=""
                    app:tabIconSelected=""
                    app:tabText=""
                    app:tabTextSize=""
                    app:textColorNormal=""
                    app:textColorSelected=""
                    app:badgeBackgroundColor=""
                    app:paddingTexwithIcon=""/>

                    、、、、
                    、、、、

            </com.yinglan.alphatabs.AlphaTabsIndicator>                                //模式

Function and parameter definition

Parameters Meaning
tabIconNormal Unselected icon
tabIconSelected Already selected icon
tabText Tab tag text
tabTextSize Tab The size of the label
textColorNormal Unchecked text color
textColorSelected Selected text color
badgeBackgroundColor Corner background color, default red
paddingTexwithIcon The distance between the icon and text

In Code

AlphaTabView Main Method
        mAlphaTabView.showNumber(int i); //Display digital remind
        mAlphaTabView.showPoint();       //Show little red dot
        mAlphaTabView.removeShow();      //Remove the digital remind
AlphaTabsIndicator Main Method
        mAlphaTabsIndicator.setViewPager(ViewPager mViewPger);                     //Set ViewPager
        mAlphaTabsIndicator.setOnTabChangedListner(OnTabChangedListner listner);   //Settings TAB at the bottom click to monitor
        mAlphaTabsIndicator.removeAllBadge();                                      //Remove all remind the TAB
        mAlphaTabsIndicator.setTabCurrenItem(int tabIndex);                        //Settings TAB option

Instructions

The library is in the permission of the Mr jeasonlzy permission,on the basis of his AlphaIndicatorView do usability improvements, thank you, now continue to open source.

The main improvement:

  1. Increase the Angle of standard, make it more close to WeChat TAB at the bottom;
  2. The diagonal mark size for dynamic control, adaptive according to the height of the TAB;
  3. Limit the appropriate to reduce to use requirement, can be used in the case of not binding viewpager;
  4. When without binding ViewPager Settings TAB option;
  5. The distance between the icon and text can be configured, the default is 5;
  6. Increase click on the TAB to monitor the callback;
  7. Increase in code mViewPager. SetCurrentItem (i) TAB linkage control condition;
  8. Repair is not set in a state of not click Tab.
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].