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

Cards-UI-master

于 2015-01-24 发布 文件大小:83KB
0 253
下载积分: 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 下拉瀑布流显示图片效果 源码下载
    2014-06-03下载
    积分:1
  • Android Intent实例
    Android Intent开发实例 核心代码:package com.amaker.ch06.app;import com.amaker.ch06.app.R;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;import android.widget.EditText;/** * @author 郭宏志 * 发送Email */public class MainActivity extends Activity { // 声明视图组件 private EditText toEditText,subjectEditText,contentEditText; private Button sendBtn; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // 实例化视图组件 toEditText = (EditText)findViewById(R.id.toEditText01); subjectEditText = (EditText)findViewById(R.id.subjectEditText01); contentEditText = (EditText)findViewById(R.id.contentEditText01); sendBtn = (Button)findViewById(R.id.sendButton01); // 为按钮添加单击监听器 sendBtn.setOnClickListener(listener); } // 发送按钮单击监听器 private OnClickListener listener = new OnClickListener() { @Override public void onClick(View v) { // 获得输入信息 String to = toEditText.getText().toString(); String subject = subjectEditText.getText().toString(); String content = contentEditText.getText().toString(); // 创建Intent Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); // 设置内容类型 emailIntent.setType("plain/text"); // 设置额外信息 emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{to}); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject); emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, content); startActivity(Intent.createChooser(emailIntent, "发送邮件...")); } };}
    2014-11-24下载
    积分:1
  • JAVa后台管理界面
    JAVa后台管理界面JAVa后台管理界面JAVa后台管理界面JAVa后台管理界面JAVa后台管理界面
    2022-10-11 22:15:03下载
    积分:1
  • 用JAVA实现的简单功能
    资源描述 运用java实现一些功能!semaphore stand_capacity=5; semaphore sofa=4; semaphore barber_chair=3; semaphore customer_ready=0; semaphore mutex=3;
    2022-03-24 20:00:40下载
    积分:1
  • MyStuMan
    使用struts,hibernate编写的一个学籍管理系统( Struts Hibernate study management system)
    2009-12-01 16:56:34下载
    积分:1
  • Bitmap_Delegate
    Delegate implementing the native methods of android.graphics.Bitmap.
    2013-11-11 10:01:35下载
    积分:1
  • android左右滑动引导页面 例子源码下载
    android左右滑动引导页面 例子源码下载
    2015-04-04下载
    积分:1
  • 网上商城
    资源描述网上商城的后台源码,实现增删改查,采用jsp/servlet,ajax等
    2022-04-11 12:08:32下载
    积分:1
  • DateException
    Button Activity Source Code for Andriod.
    2013-11-22 15:51:05下载
    积分:1
  • jsp部分的源码文件UserLogin
    本文档是基JavaEE的jsp部分的源码文件UserLogin,使用的开发软件是Myeclipse。
    2022-08-26 01:25:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载