GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - chiemy/CardView

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
libs
libs
 
 
res
res
 
 
src/com/chiemy/cardview
src/com/chiemy/cardview
 
 
.classpath
.classpath
 
 
.gitignore
.gitignore
 
 
.project
.project
 
 
AndroidManifest.xml
AndroidManifest.xml
 
 
LICENSE
LICENSE
 
 
capture.gif
capture.gif
 
 
ic_launcher-web.png
ic_launcher-web.png
 
 
proguard-project.txt
proguard-project.txt
 
 
project.properties
project.properties
 
 
readme.md
readme.md
 
 

Repository files navigation

效果图

3d卡片效果

  • 测试版本4.1.2,4.2.2,4.4.2可用

2014-9-11修改

  • 修复设置高度wrap_content时显示不全的bug
  • 修复点击后,翻转过程中向下滑动出现的bug

注意:如果设置高度为wrap_content,为了保证动画视觉上的完整性,需要设置自身及所有关联窗口的android:clipChildren属性为false(代码中setClipChildren(false))。

使用

CardView cardView = (CardView) findViewById(R.id.cardView1);
//设置间距
cardView.setItemSpace(Utils.convertDpToPixelInt(this, 20));
//设置可见数量,默认4个
cardView.setMaxVisibleCount(4);
//点击顶部card监听
cardView.setOnCardClickListener(new OnCardClickListener(){
	public void onCardClick(View view, int position) {
	}
});

问题

  • 测试2.3.2有严重bug(估计4.0版本之前都有此bug),不可用。

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

571 stars

Watchers

25 watching

Forks

140 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.