Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
169 views
in Technique[技术] by (71.8m points)

Cool Horizontal tool in android UI

I was surfing some apps couple of hours ago and I saw something common in all of them. One clear instance for that is when you open YouTube app you see a narrow horizontal tool just above the device's home button which seems to be in charge of controlling what page user want To go I guess. It has search button, a button which leads to the home page of the app and etc. Question: Is it just a strip with buttons which is used to switch between activities ( by Intent class)? Or something else? enter image description here

question from:https://stackoverflow.com/questions/65942328/cool-horizontal-tool-in-android-ui

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

my bro you should use some library for apply this such as chip navigation

if you interest to learn it recommend you to see this tutorial https://www.youtube.com/watch?v=DQtdOSN21lQ&feature=emb_logo and the library https://github.com/ismaeldivita/chip-navigation-bar


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...