项目
在 GitHub 查看
florent37/TutoShowcase
关于
适用于 Android 的简洁优雅的 Showcase 视图
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Tuto Showcase
A simple and Elegant Showcase view for Android
TutoShowcase.from(this)
.setContentView(R.layout.tuto_sample)
.on(R.id.about) //a view in actionbar
.addCircle()
.withBorder()
.onClick(new View.OnClickListener() {
@Override
public void onClick(View v) {
//custom action
}
})
.on(R.id.swipable)
.displaySwipableRight()
.show();
Download
compile 'com.github.florent37:tutoshowcase:1.0.1'
Tutorial
You can simply limit a showcase visibility to once with .showOnce(string)
Content View
It's simple to add a content view into the TutoShowcase, you can for example add images or descriptions texts
TutoShowcase.from(this)
.setContentView(R.layout.tuto_sample)
...
.show()
Indicators
You can higlight some elements to user
Circle
.on(view)
.addCircle()
RoundRect
.on(view)
.addRoundRect()
Actions
Some actions can be explained to the user
Scrollable
.on(view)
.displayScrollable()
Swipable Left
.on(view)
.displaySwipableLeft()
Swipable Right
.on(view)
.displaySwipableRight()
Events
You can listen for indicator click
.on(view)
. //your indicator
.onClick(new View.OnClickListener(){
public void onClick(View view){
//your action
}
}
If you have any clickable view into your content layout
TutoShowcase.from(this)
.setContentView(R.layout.tuto_sample)
.onClickContentView(R.id.clickableView, new View.OnClickListener() {
@Override
public void onClick(View view) {
}
})
...
.show()
Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/
探索相关项目
加载中…





