René's URL Explorer Experiment


Title: GitHub - AndroidKun/XTabLayout: Added support to modify text size and indicator width based on the original TabLayout.

Open Graph Title: GitHub - AndroidKun/XTabLayout: Added support to modify text size and indicator width based on the original TabLayout.

X Title: GitHub - AndroidKun/XTabLayout: Added support to modify text size and indicator width based on the original TabLayout.

Description: Added support to modify text size and indicator width based on the original TabLayout. - AndroidKun/XTabLayout

Open Graph Description: Added support to modify text size and indicator width based on the original TabLayout. - AndroidKun/XTabLayout

X Description: Added support to modify text size and indicator width based on the original TabLayout. - AndroidKun/XTabLayout

Opengraph URL: https://github.com/AndroidKun/XTabLayout

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:088ddf54-5286-4044-4c06-1a9abd2e990c
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idCF4A:1F441:274E9A:351762:69696A76
html-safe-noncefe8339a9c3831c8f46e9f343ef421d2773090c07e839b25d1fa9faf6854c7cd6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjRBOjFGNDQxOjI3NEU5QTozNTE3NjI6Njk2OTZBNzYiLCJ2aXNpdG9yX2lkIjoiNTk0ODI3ODkxOTI5MzEzNTQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac80dae63351b154616dfc2075e90969050f1ec32b67401c28d1709788f56d105d
hovercard-subject-tagrepository:77023344
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/AndroidKun/XTabLayout
twitter:imagehttps://opengraph.githubassets.com/25b99a018ed99836834be48d1ed8f0b0b3fe0e16f15ca16a2a6cd85a5b7c9fd1/AndroidKun/XTabLayout
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/25b99a018ed99836834be48d1ed8f0b0b3fe0e16f15ca16a2a6cd85a5b7c9fd1/AndroidKun/XTabLayout
og:image:altAdded support to modify text size and indicator width based on the original TabLayout. - AndroidKun/XTabLayout
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881
turbo-cache-controlno-preview
go-importgithub.com/AndroidKun/XTabLayout git https://github.com/AndroidKun/XTabLayout.git
octolytics-dimension-user_id20960553
octolytics-dimension-user_loginAndroidKun
octolytics-dimension-repository_id77023344
octolytics-dimension-repository_nwoAndroidKun/XTabLayout
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id77023344
octolytics-dimension-repository_network_root_nwoAndroidKun/XTabLayout
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AndroidKun/XTabLayout#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAndroidKun%2FXTabLayout
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAndroidKun%2FXTabLayout
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=AndroidKun%2FXTabLayout
Reloadhttps://github.com/AndroidKun/XTabLayout
Reloadhttps://github.com/AndroidKun/XTabLayout
Reloadhttps://github.com/AndroidKun/XTabLayout
AndroidKun https://github.com/AndroidKun
XTabLayouthttps://github.com/AndroidKun/XTabLayout
Notifications https://github.com/login?return_to=%2FAndroidKun%2FXTabLayout
Fork 111 https://github.com/login?return_to=%2FAndroidKun%2FXTabLayout
Star 665 https://github.com/login?return_to=%2FAndroidKun%2FXTabLayout
665 stars https://github.com/AndroidKun/XTabLayout/stargazers
111 forks https://github.com/AndroidKun/XTabLayout/forks
Branches https://github.com/AndroidKun/XTabLayout/branches
Tags https://github.com/AndroidKun/XTabLayout/tags
Activity https://github.com/AndroidKun/XTabLayout/activity
Star https://github.com/login?return_to=%2FAndroidKun%2FXTabLayout
Notifications https://github.com/login?return_to=%2FAndroidKun%2FXTabLayout
Code https://github.com/AndroidKun/XTabLayout
Issues 61 https://github.com/AndroidKun/XTabLayout/issues
Pull requests 1 https://github.com/AndroidKun/XTabLayout/pulls
Actions https://github.com/AndroidKun/XTabLayout/actions
Projects 0 https://github.com/AndroidKun/XTabLayout/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/AndroidKun/XTabLayout/security
Please reload this pagehttps://github.com/AndroidKun/XTabLayout
Insights https://github.com/AndroidKun/XTabLayout/pulse
Code https://github.com/AndroidKun/XTabLayout
Issues https://github.com/AndroidKun/XTabLayout/issues
Pull requests https://github.com/AndroidKun/XTabLayout/pulls
Actions https://github.com/AndroidKun/XTabLayout/actions
Projects https://github.com/AndroidKun/XTabLayout/projects
Security https://github.com/AndroidKun/XTabLayout/security
Insights https://github.com/AndroidKun/XTabLayout/pulse
Brancheshttps://github.com/AndroidKun/XTabLayout/branches
Tagshttps://github.com/AndroidKun/XTabLayout/tags
https://github.com/AndroidKun/XTabLayout/branches
https://github.com/AndroidKun/XTabLayout/tags
39 Commitshttps://github.com/AndroidKun/XTabLayout/commits/master/
https://github.com/AndroidKun/XTabLayout/commits/master/
.ideahttps://github.com/AndroidKun/XTabLayout/tree/master/.idea
.ideahttps://github.com/AndroidKun/XTabLayout/tree/master/.idea
apphttps://github.com/AndroidKun/XTabLayout/tree/master/app
apphttps://github.com/AndroidKun/XTabLayout/tree/master/app
gradle/wrapperhttps://github.com/AndroidKun/XTabLayout/tree/master/gradle/wrapper
gradle/wrapperhttps://github.com/AndroidKun/XTabLayout/tree/master/gradle/wrapper
xtablayoutlibraryhttps://github.com/AndroidKun/XTabLayout/tree/master/xtablayoutlibrary
xtablayoutlibraryhttps://github.com/AndroidKun/XTabLayout/tree/master/xtablayoutlibrary
.gitignorehttps://github.com/AndroidKun/XTabLayout/blob/master/.gitignore
.gitignorehttps://github.com/AndroidKun/XTabLayout/blob/master/.gitignore
README.mdhttps://github.com/AndroidKun/XTabLayout/blob/master/README.md
README.mdhttps://github.com/AndroidKun/XTabLayout/blob/master/README.md
build.gradlehttps://github.com/AndroidKun/XTabLayout/blob/master/build.gradle
build.gradlehttps://github.com/AndroidKun/XTabLayout/blob/master/build.gradle
gradle.propertieshttps://github.com/AndroidKun/XTabLayout/blob/master/gradle.properties
gradle.propertieshttps://github.com/AndroidKun/XTabLayout/blob/master/gradle.properties
gradlewhttps://github.com/AndroidKun/XTabLayout/blob/master/gradlew
gradlewhttps://github.com/AndroidKun/XTabLayout/blob/master/gradlew
gradlew.bathttps://github.com/AndroidKun/XTabLayout/blob/master/gradlew.bat
gradlew.bathttps://github.com/AndroidKun/XTabLayout/blob/master/gradlew.bat
settings.gradlehttps://github.com/AndroidKun/XTabLayout/blob/master/settings.gradle
settings.gradlehttps://github.com/AndroidKun/XTabLayout/blob/master/settings.gradle
sh.exe.stackdumphttps://github.com/AndroidKun/XTabLayout/blob/master/sh.exe.stackdump
sh.exe.stackdumphttps://github.com/AndroidKun/XTabLayout/blob/master/sh.exe.stackdump
READMEhttps://github.com/AndroidKun/XTabLayout
https://github.com/AndroidKun/XTabLayout#xtablayout可修改选中项字体大小和指示器长度的tablayout
https://github.com/AndroidKun/XTabLayout#xtablayout是基于design包中的tablayout进行了功能的扩展在保留原有功能的基础上增加了修改选中项字体大小修改指示器长度以及限制屏幕显示范围内显示的tab个数
https://camo.githubusercontent.com/a4c7446fc09fc1ba4d3c50c6db069d87a43793488fe287e4b93c229bc752e1cf/687474703a2f2f696d672e626c6f672e6373646e2e6e65742f32303136313232323039353731393333303f77617465726d61726b2f322f746578742f6148523063446f764c324a736232637559334e6b626935755a585176595445314d7a4d314f4467344e6a633d2f666f6e742f3561364c354c32542f666f6e7473697a652f3430302f66696c6c2f49304a42516b46434d413d3d2f646973736f6c76652f37302f677261766974792f536f75746845617374
https://github.com/AndroidKun/XTabLayout#集成步骤
https://github.com/AndroidKun/XTabLayout#1添加xtablayout依赖库
https://github.com/AndroidKun/XTabLayout#在app目录下的buildgradle的dependencies中添加如下引用
https://github.com/AndroidKun/XTabLayout#2在布局文件中设置xtablayout属性
https://github.com/AndroidKun/XTabLayout#tablayout有的属性在xtablayout中都会有属性名称都是前面加个x后面的t变成大写
https://github.com/AndroidKun/XTabLayout#其中增加了xtabindicatorwidth用于设置指示器长度xtabtextsize用于设置未选中项的字体大小xtabselectedtextsize用于设置选中项的字体大小
https://github.com/AndroidKun/XTabLayout#此外101版本中添加如下属性可以设置屏幕范围内显示的tab个数
https://github.com/AndroidKun/XTabLayout#或者在代码中添加
https://github.com/AndroidKun/XTabLayout#这里我们限制为3个则每个tab的宽度为屏幕的13显示效果如下
https://camo.githubusercontent.com/8e3255a2c464879e6990ba846a705976a984b85d438ff3182edc578f0f074e77/687474703a2f2f696d672e626c6f672e6373646e2e6e65742f32303136313232323135303734333836363f77617465726d61726b2f322f746578742f6148523063446f764c324a736232637559334e6b626935755a585176595445314d7a4d314f4467344e6a633d2f666f6e742f3561364c354c32542f666f6e7473697a652f3430302f66696c6c2f49304a42516b46434d413d3d2f646973736f6c76652f37302f677261766974792f536f75746845617374
https://github.com/AndroidKun/XTabLayout#需要注意显示的个数会受adapter的itemcount影响例如itemcount为3但是我们设置appxtabdisplaynum4那么显示出来的tab的宽度其实是屏幕的13并非14
https://github.com/AndroidKun/XTabLayout#3初始化
https://github.com/AndroidKun/XTabLayout#xtablayout的使用方式和tablayout是一样的代码如下
https://github.com/AndroidKun/XTabLayout#更新日志
https://github.com/AndroidKun/XTabLayout#103
https://github.com/AndroidKun/XTabLayout#修改只有一个tab时tab未占满屏幕的bug
https://github.com/AndroidKun/XTabLayout#104
https://github.com/AndroidKun/XTabLayout#增加设置tab背景色的功能
https://github.com/AndroidKun/XTabLayout#两个属性分别对应tab未选中和被选中的背景色效果图如下
https://camo.githubusercontent.com/09806d8ca16005ad8f9fb630dc1690c215baa2de086d948125d84171420cbd3d/687474703a2f2f696d672e626c6f672e6373646e2e6e65742f32303137303332393132323535343138383f77617465726d61726b2f322f746578742f6148523063446f764c324a736232637559334e6b626935755a585176595445314d7a4d314f4467344e6a633d2f666f6e742f3561364c354c32542f666f6e7473697a652f3430302f66696c6c2f49304a42516b46434d413d3d2f646973736f6c76652f37302f677261766974792f536f75746845617374
https://github.com/AndroidKun/XTabLayout#105--106
https://github.com/AndroidKun/XTabLayout#增加设置指示器长度随tab文本内容长度变化的功能
https://github.com/AndroidKun/XTabLayout#使用方式不设置xtabindicatorwidth属性即可
https://github.com/AndroidKun/XTabLayout#107
https://github.com/AndroidKun/XTabLayout#增加设置标题字母大小写转换功能默认小写不自动转大写
https://github.com/AndroidKun/XTabLayout#使用方式在xml文件中添加appxtabtextallcapsfalse或者在代码中调用xtablayoutsetallcapsfalse
https://github.com/AndroidKun/XTabLayout#108
https://github.com/AndroidKun/XTabLayout#增加设置分割线功能
https://camo.githubusercontent.com/b38864e62558fb0420bbfb81987ddbc3780238fa7a8ce7d99b0d3c6893e37559/687474703a2f2f696d672e626c6f672e6373646e2e6e65742f32303137303432363132333833373530343f77617465726d61726b2f322f746578742f6148523063446f764c324a736232637559334e6b626935755a585176595445314d7a4d314f4467344e6a633d2f666f6e742f3561364c354c32542f666f6e7473697a652f3430302f66696c6c2f49304a42516b46434d413d3d2f646973736f6c76652f37302f677261766974792f536f75746845617374
https://github.com/AndroidKun/XTabLayout#使用方式
https://github.com/AndroidKun/XTabLayout#1xml
https://github.com/AndroidKun/XTabLayout#不设置xtabdividerheight属性或者赋值为0时则分割线高度占满
https://github.com/AndroidKun/XTabLayout#2java
https://github.com/AndroidKun/XTabLayout#setdividersize方法中第二个参数为高度如果设置为0时则分割线高度占满
https://github.com/AndroidKun/XTabLayout#109
https://github.com/AndroidKun/XTabLayout#优化设置指示器长度功能
https://github.com/AndroidKun/XTabLayout#使用方式-1
https://github.com/AndroidKun/XTabLayout#a明确指定指示器为某个长度则设置xtabindicatorwidth
https://github.com/AndroidKun/XTabLayout#b指定指示器长度跟随文本变化则设置xtabdividerwidthwidthtext
https://github.com/AndroidKun/XTabLayout#c如果需要指示器长度占满则两个属性都不设置默认占满
https://github.com/AndroidKun/XTabLayout#110
https://github.com/AndroidKun/XTabLayout#增加设置字体粗体功能
https://camo.githubusercontent.com/519709b67a32768edcd091bb34e01a8b9e2ee4f66dece02a8aa4726262ac0418/687474703a2f2f696d672e626c6f672e6373646e2e6e65742f32303137303631353132333434333137393f77617465726d61726b2f322f746578742f6148523063446f764c324a736232637559334e6b626935755a585176595445314d7a4d314f4467344e6a633d2f666f6e742f3561364c354c32542f666f6e7473697a652f3430302f66696c6c2f49304a42516b46434d413d3d2f646973736f6c76652f37302f677261766974792f536f75746845617374
https://github.com/AndroidKun/XTabLayout#使用方式-2
https://github.com/AndroidKun/XTabLayout#114
https://github.com/AndroidKun/XTabLayout#修复反馈的bug
https://github.com/AndroidKun/XTabLayout#115
https://github.com/AndroidKun/XTabLayout#增加指示器圆角功能
CSDN地址http://blog.csdn.net/a1533588867/article/details/53810409
https://github.com/AndroidKun/XTabLayout#csdn地址
Readme https://github.com/AndroidKun/XTabLayout#readme-ov-file
Please reload this pagehttps://github.com/AndroidKun/XTabLayout
Activityhttps://github.com/AndroidKun/XTabLayout/activity
665 starshttps://github.com/AndroidKun/XTabLayout/stargazers
12 watchinghttps://github.com/AndroidKun/XTabLayout/watchers
111 forkshttps://github.com/AndroidKun/XTabLayout/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FAndroidKun%2FXTabLayout&report=AndroidKun+%28user%29
Releaseshttps://github.com/AndroidKun/XTabLayout/releases
Packages 0https://github.com/users/AndroidKun/packages?repo_name=XTabLayout
Java 100.0% https://github.com/AndroidKun/XTabLayout/search?l=java
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.