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

Cards-UI-master

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

  • RememberPassword
    Android移动开发中比较简单的部分,可以实现记住密码,登录等功能(You can remember the password and log in)
    2018-01-09 18:55:58下载
    积分:1
  • TouchActivity
    触屏触摸活动测试代码,声明ImageView变量,声明相关变量作为存储图片宽高,位置使用,声明存储屏幕的分辨率变量,取得屏幕对象,取得屏幕解析像素,通过findViewById构造器创建ImageView对象,将图片从Drawable赋值给ImageView来呈现,当点击ImageView,还原初始位置,取得手指触控屏幕的位置,覆盖触控事件,防图片超过屏幕的相关处理,防止屏幕向右超过屏幕,以setLayoutParams方法,重新安排Layout上的位置,以setLayoutParams方法,重新安排Layout上的位置... (Weather Android source code, obtained Google s weather API data themselves may again be extended run shot more difficult to grasp here, an environmental source test it on the download, Android Weather WeatherForecast seems to be common and the primary example of a simple Android , but would like to develop a beautiful and feature-rich weather application, it requires a lot of knowledge of the perfect combination.)
    2013-08-01 18:19:48下载
    积分:1
  • WiFiDirectDemo
    Wi-Fi Direct 小程序案例,程序中向你展示了如何创建这种客户-服务套接字的通信,并从客户端把JPEG图片传输给服务端,对于初学者学习参考非常有用。
    2022-03-07 02:35:29下载
    积分:1
  • j2me rpg Sword of leged
    leged之剑是一款基于j2me的rpg游戏;
    2022-04-19 18:28:47下载
    积分:1
  • 蚁群算法
    这一项目可以通过使用概率计数来选择或删除像素分类在集群中,数据,这种算法是 iteratif
    2022-03-01 13:40:25下载
    积分:1
  • ebook
    一个功能强大的Android电子书阅读器(A powerful Android e-book reader)
    2020-12-26 14:49:03下载
    积分:1
  • Encryption and Decryption using DES in JAVA
    DES.爪哇
    2022-07-13 11:38:19下载
    积分:1
  • android 仪表盘 示例源码
    android 仪表盘 示例源码
    2014-09-05下载
    积分:1
  • andorid 仿微信相册上传 例子源码下载
    andorid 仿微信相册上传 例子源码下载
    2015-04-21下载
    积分:1
  • 简易聊天室
    资源描述简易的jsp聊天室,只供初学者使用,本程序使用application来存储用户发送的信息,并通过ajax机制,没隔一定时间请求一次连接把聊天内容显示在网页上,实现及时聊天效果
    2022-03-19 19:35:22下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载