TabLayout

Introduction: 🌈 TabLayout 用法各种技巧解锁,包括基本用法,高级用法,源码分析。
More: Author   ReportBugs   OfficialWebsite   
Tags:

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.
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools