Giter VIP home page Giter VIP logo

tabswitchview's Introduction

TabSwitchView

用简单的方法实现的Tab配合ViewPager滑动,各个区域都是已图片的方式展示 ##DEMO

<com.youzh.tabswitchviewlibrary.TabSwitchView
        android:id="@+id/switchTab"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        app:itemText="每日赚取,持有投资,到期退出"
        app:itemTextColorNormal="@color/bg_green"
        app:itemTextColorPressed="@android:color/white"/>      

###Attributes

name format description
layoutBackground reference 外层背景
layoutPaddingLeft dimension 外层左边内距
layoutPaddingTop dimension 外层顶部内距
layoutPaddingRight dimension 外层右边内距
layoutPaddingBottom dimension 外层右边内距
tabBackground reference 整个Tab的背景
itemTextColorNormal reference Tab的正常字体
itemTextColorPressed reference Tab的选中字体
itemText string Tab的描述,以英文逗号分隔
itemNum integer Tab的数量
itemSelBg reference Tab滑动的图片

tabswitchview's People

Contributors

youmu178 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.