登录
首页 » Java » Cards-UI-master

Cards-UI-master

于 2015-01-24 发布 文件大小:83KB
0 167
下载积分: 1 下载次数: 10

代码说明:

  卡片式View,支持单个卡片,item为卡片的ListView 使用: CardListView list = ... list.setCardTheme(CardTheme.Dark) CardAdapter adapter = new CardAdapter(this, android.R.color.holo_blue_dark) list.setAdapter(adapter) // Alternatively, you can pass a context and string resources in place of strings // CardHeader has an optional second parameter for a subtitle CardHeader header = new CardHeader( I m a header ) // You can optionally set an action to the header // Specifying no action title will default to See More header.setAction( See More , new CardHeader.ActionListener() { @Override public void onHeaderActionClick(CardHeader header) { // Do whatever you want } }) // Add the header to the adapter, automatically notifies the list adapter.add(header) // Again, you can pass a context and string resources in place of strings Card card = new Card( Hello , My name is Aidan ) adapter.add(card) (This library is no longer maintained, as this implementation is generally frowned upon in the new Google Material design guidelines, excluding certain situations (like Google Keep type UI). See the new CardView APIs in the Support Library.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • android点赞效果
    android点赞效果,点赞 1 效果,自下而上 弹出 1提示,不错
    2014-02-27下载
    积分:1
  • belancwferocedfslot
    IIR数字滤波器的FPGA实现(图),初学者适用()
    2018-04-07 11:13:21下载
    积分:1
  • service
    使用Android连接service服务器并返回的方法。提供一种解决方案。(Use Android to connect to the service server and return the method.)
    2018-12-19 17:55:33下载
    积分:1
  • javaBean+servlet+jsp
    通过javaBean +servlet+jsp 编程,在javaBean中进行操作,在servlet中调用操作,在jsp中展示结果。 javaBean: package dataBean; public class EmpDTO { private String emp_name; private String emp_pwd; public String getEmp_name() {  return emp_name; } public void setEmp_name(String emp_name) {  this.emp_name = emp_name; } public String getEmp_pwd() {  return emp_pwd; } public void setEmp_pwd(String emp_pwd) {  this.emp_pwd = emp_pwd; } } servlet描述: package servlet; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import opBean.EmpDAO;
    2022-05-31 12:21:40下载
    积分:1
  • java NFA转化为DFA
    一个用java写的NFA转化为DFA的程序
    2022-01-26 05:54:30下载
    积分:1
  • Externalnetsecuredtransactionsinterface
    支付宝外部(纯)担保交易接口 该压缩包提供了asp,php,.net,java,vb.net的代码示例,根据您网站的编程语言的类型,选择合适的代码包进行(External (net) secured transactions interface)
    2009-11-02 17:24:53下载
    积分:1
  • android 短信接收短信 与送短信源码
    android 短信接收短信 与发送短信源码
    2014-04-28下载
    积分:1
  • Plane_war_game
    基于android的飞机大战游戏,不过不能触屏控制,只能通过DAPD板控制上下左右,对初学者有用(Plane war game based on android, but can t touch screen control, only through DAPD board to control the up and down or so, useful for beginners)
    2013-12-07 21:49:44下载
    积分:1
  • 广度优先搜索 (BFS)
    图论中,广度优先搜索 (BFS) 是一种图搜索算法,从根节点开始,探讨了相邻的所有节点。然后对于每个的那些最近的节点,它探讨了他们探索的邻居节点,等等,直到它找到目标。
    2022-05-30 12:45:54下载
    积分:1
  • goodWeb
    一个关于怎么构建高性能的web网站的电子书,希望能帮的大家(An e-book on how to build high-performance web site, hoping to help you)
    2012-07-23 23:35:49下载
    积分:1
  • 696516资源总数
  • 106478会员总数
  • 6今日下载