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

Cards-UI-master

于 2015-01-24 发布 文件大小:83KB
0 286
下载积分: 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 个回复

  • 学生请销假管理系统
    本作品为培训机构环境下的学生请销假系统,分为后台管理员、教师、学生以及游客4种身份。(This work is a student leave system under the environment of training institutions. It is divided into four identities: backstage administrator, teacher, student and tourist.)
    2021-01-13 14:48:48下载
    积分:1
  • TouPiao
    一个关于投票的代码,应用于手机。应用简单很好玩(A vote on the application, used in mobile phones)
    2012-01-31 09:29:03下载
    积分:1
  • dictionary
    实现基于 android 中英互译电子词典代码 (android dictionral eng-ch)
    2013-03-25 22:55:28下载
    积分:1
  • 多线程下载器-java初学者适合
    应用背景 模拟迅雷,FlashGet等多线程下载软件,快速地从服务器上下载各种文件。其原理是把服务器端的文件分成几个小段,每个小段分开同时进行下载。 关键技术 基于JAVA的多线程下载工具 - 支持HTTP和FTP - 支持多任务同时下载 - 支持断点续传 - 支持多线程同步
    2022-01-27 16:21:05下载
    积分:1
  • Android 随手记
    资源描述 本项目是一套安卓记账项目源码,UI做的很精致,实现了日常支出和收入的记录功能,可以按照天、周和月来查看自己的消费情况。并且可以记录是通过什么渠道消费的。项目还有一个分类预算功能,可以提取设置每月预算,到月底可以对照预算与真实消费之前的差别,监督自己合理理财。
    2022-03-20 14:08:11下载
    积分:1
  • JAVA随机彩票程序
    一个JAVA的小程序,很有意思,用随机数与数组实现随机彩票的购买,实现了彩票的随机与不重复性,另外还可实现多种方式的彩票,30选5   20选3  等等
    2022-07-15 14:38:41下载
    积分:1
  • tool about UART communication on android
    这是一个android版本的串口调试助手,从事串口通信方面工作的朋友可以看下,android上的串口编程的资料比较少,希望对大家有帮助。
    2022-01-28 18:04:30下载
    积分:1
  • Android-Total(5)
    关于android开发技巧总汇系系列5,内容总结的不错,值得参考(Department on android development skills confluence Series 5, the content summary of good, valuable reference)
    2013-07-12 12:56:58下载
    积分:1
  • STM32F429固件库模板
    【实例简介】stm32f429固件库模板
    2021-07-16 00:32:06下载
    积分:1
  • tqChess
    在android平台下设计的一款象棋游戏,运行界面有自己的名字,根据需要可以修改,有些界面美观简洁(The design of a chess game in the Android platform, run the interface has its own name, can be modified as needed, some beautiful and simple interface)
    2013-05-10 13:16:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载