/TabLayout

🌈 TabLayout用法各种技巧解锁,包括基本用法,高级用法,源码分析。

Primary LanguageJavaApache License 2.0Apache-2.0

tablayout

Google官方在14年Google I/O上推出了全新的设计语言——Material Design。一并推出了一系列实现Material Design效果的控件库——Android Design Support Library。其中,有TabLayout, NavigationView,Floating labels for editing text,Floating Action Button,Snackbar, CoordinatorLayout, CollapsingToolbarLayout等等控件。

Contents

一、在应用的Build.gradle中添加support.design支持库(注意:必须和v7包的版本相同)

compile 'com.android.support:design:25.3.1'

二、最终的效果图

赞赏

在开源的同时,解决别人需求,是一件很高兴的事。

赠人玫瑰,手留余香


About me

License

   Copyright 2020 offer

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