文件名称:Cards-UI-master
介绍说明--下载内容来自于网络,使用问题请自行百度
卡片式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.
使用:
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Cards-UI-master/
Cards-UI-master/.gitignore
Cards-UI-master/README.md
Cards-UI-master/build.gradle
Cards-UI-master/proguard-rules.pro
Cards-UI-master/src/
Cards-UI-master/src/androidTest/
Cards-UI-master/src/androidTest/java/
Cards-UI-master/src/androidTest/java/com/
Cards-UI-master/src/androidTest/java/com/afollestad/
Cards-UI-master/src/androidTest/java/com/afollestad/cardsui/
Cards-UI-master/src/androidTest/java/com/afollestad/cardsui/ApplicationTest.java
Cards-UI-master/src/main/
Cards-UI-master/src/main/AndroidManifest.xml
Cards-UI-master/src/main/java/
Cards-UI-master/src/main/java/com/
Cards-UI-master/src/main/java/com/afollestad/
Cards-UI-master/src/main/java/com/afollestad/cardsui/
Cards-UI-master/src/main/java/com/afollestad/cardsui/Card.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardAdapter.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardBase.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardCenteredHeader.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardCompressed.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardCursorAdapter.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardHeader.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardListView.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardTheme.java
Cards-UI-master/src/main/res/
Cards-UI-master/src/main/res/drawable-hdpi/
Cards-UI-master/src/main/res/drawable-hdpi/ic_launcher.png
Cards-UI-master/src/main/res/drawable-hdpi/ic_overflow_normal.png
Cards-UI-master/src/main/res/drawable-hdpi/ic_overflow_pressed.png
Cards-UI-master/src/main/res/drawable-hdpi/list_focused.9.png
Cards-UI-master/src/main/res/drawable-mdpi/
Cards-UI-master/src/main/res/drawable-mdpi/ic_launcher.png
Cards-UI-master/src/main/res/drawable-mdpi/ic_overflow_normal.png
Cards-UI-master/src/main/res/drawable-mdpi/ic_overflow_pressed.png
Cards-UI-master/src/main/res/drawable-mdpi/list_focused.9.png
Cards-UI-master/src/main/res/drawable-xhdpi/
Cards-UI-master/src/main/res/drawable-xhdpi/ic_launcher.png
Cards-UI-master/src/main/res/drawable-xhdpi/ic_overflow_normal.png
Cards-UI-master/src/main/res/drawable-xhdpi/ic_overflow_pressed.png
Cards-UI-master/src/main/res/drawable-xhdpi/list_focused.9.png
Cards-UI-master/src/main/res/drawable-xxhdpi/
Cards-UI-master/src/main/res/drawable-xxhdpi/ic_launcher.png
Cards-UI-master/src/main/res/drawable-xxhdpi/ic_overflow_normal.png
Cards-UI-master/src/main/res/drawable-xxhdpi/ic_overflow_pressed.png
Cards-UI-master/src/main/res/drawable/
Cards-UI-master/src/main/res/drawable/activated_background.xml
Cards-UI-master/src/main/res/drawable/blank_drawable.xml
Cards-UI-master/src/main/res/drawable/blank_selector.xml
Cards-UI-master/src/main/res/drawable/card_header_selector.xml
Cards-UI-master/src/main/res/drawable/card_header_selector_dark.xml
Cards-UI-master/src/main/res/drawable/card_menu_button.xml
Cards-UI-master/src/main/res/drawable/card_selector.xml
Cards-UI-master/src/main/res/drawable/card_selector_dark.xml
Cards-UI-master/src/main/res/drawable/pressed_background.xml
Cards-UI-master/src/main/res/drawable/pressed_background_dark.xml
Cards-UI-master/src/main/res/drawable/pressed_background_header.xml
Cards-UI-master/src/main/res/drawable/pressed_background_header_dark.xml
Cards-UI-master/src/main/res/drawable/unpressed_background.xml
Cards-UI-master/src/main/res/drawable/unpressed_background_dark.xml
Cards-UI-master/src/main/res/layout/
Cards-UI-master/src/main/res/layout/list_item_card.xml
Cards-UI-master/src/main/res/layout/list_item_card_compressed.xml
Cards-UI-master/src/main/res/layout/list_item_card_nocontent.xml
Cards-UI-master/src/main/res/layout/list_item_header.xml
Cards-UI-master/src/main/res/layout/list_item_header_centered.xml
Cards-UI-master/src/main/res/values/
Cards-UI-master/src/main/res/values/colors.xml
Cards-UI-master/src/main/res/values/dimens.xml
Cards-UI-master/src/main/res/values/strings.xml
Cards-UI-master/src/main/res/values/styles.xml
Cards-UI-master/.gitignore
Cards-UI-master/README.md
Cards-UI-master/build.gradle
Cards-UI-master/proguard-rules.pro
Cards-UI-master/src/
Cards-UI-master/src/androidTest/
Cards-UI-master/src/androidTest/java/
Cards-UI-master/src/androidTest/java/com/
Cards-UI-master/src/androidTest/java/com/afollestad/
Cards-UI-master/src/androidTest/java/com/afollestad/cardsui/
Cards-UI-master/src/androidTest/java/com/afollestad/cardsui/ApplicationTest.java
Cards-UI-master/src/main/
Cards-UI-master/src/main/AndroidManifest.xml
Cards-UI-master/src/main/java/
Cards-UI-master/src/main/java/com/
Cards-UI-master/src/main/java/com/afollestad/
Cards-UI-master/src/main/java/com/afollestad/cardsui/
Cards-UI-master/src/main/java/com/afollestad/cardsui/Card.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardAdapter.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardBase.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardCenteredHeader.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardCompressed.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardCursorAdapter.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardHeader.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardListView.java
Cards-UI-master/src/main/java/com/afollestad/cardsui/CardTheme.java
Cards-UI-master/src/main/res/
Cards-UI-master/src/main/res/drawable-hdpi/
Cards-UI-master/src/main/res/drawable-hdpi/ic_launcher.png
Cards-UI-master/src/main/res/drawable-hdpi/ic_overflow_normal.png
Cards-UI-master/src/main/res/drawable-hdpi/ic_overflow_pressed.png
Cards-UI-master/src/main/res/drawable-hdpi/list_focused.9.png
Cards-UI-master/src/main/res/drawable-mdpi/
Cards-UI-master/src/main/res/drawable-mdpi/ic_launcher.png
Cards-UI-master/src/main/res/drawable-mdpi/ic_overflow_normal.png
Cards-UI-master/src/main/res/drawable-mdpi/ic_overflow_pressed.png
Cards-UI-master/src/main/res/drawable-mdpi/list_focused.9.png
Cards-UI-master/src/main/res/drawable-xhdpi/
Cards-UI-master/src/main/res/drawable-xhdpi/ic_launcher.png
Cards-UI-master/src/main/res/drawable-xhdpi/ic_overflow_normal.png
Cards-UI-master/src/main/res/drawable-xhdpi/ic_overflow_pressed.png
Cards-UI-master/src/main/res/drawable-xhdpi/list_focused.9.png
Cards-UI-master/src/main/res/drawable-xxhdpi/
Cards-UI-master/src/main/res/drawable-xxhdpi/ic_launcher.png
Cards-UI-master/src/main/res/drawable-xxhdpi/ic_overflow_normal.png
Cards-UI-master/src/main/res/drawable-xxhdpi/ic_overflow_pressed.png
Cards-UI-master/src/main/res/drawable/
Cards-UI-master/src/main/res/drawable/activated_background.xml
Cards-UI-master/src/main/res/drawable/blank_drawable.xml
Cards-UI-master/src/main/res/drawable/blank_selector.xml
Cards-UI-master/src/main/res/drawable/card_header_selector.xml
Cards-UI-master/src/main/res/drawable/card_header_selector_dark.xml
Cards-UI-master/src/main/res/drawable/card_menu_button.xml
Cards-UI-master/src/main/res/drawable/card_selector.xml
Cards-UI-master/src/main/res/drawable/card_selector_dark.xml
Cards-UI-master/src/main/res/drawable/pressed_background.xml
Cards-UI-master/src/main/res/drawable/pressed_background_dark.xml
Cards-UI-master/src/main/res/drawable/pressed_background_header.xml
Cards-UI-master/src/main/res/drawable/pressed_background_header_dark.xml
Cards-UI-master/src/main/res/drawable/unpressed_background.xml
Cards-UI-master/src/main/res/drawable/unpressed_background_dark.xml
Cards-UI-master/src/main/res/layout/
Cards-UI-master/src/main/res/layout/list_item_card.xml
Cards-UI-master/src/main/res/layout/list_item_card_compressed.xml
Cards-UI-master/src/main/res/layout/list_item_card_nocontent.xml
Cards-UI-master/src/main/res/layout/list_item_header.xml
Cards-UI-master/src/main/res/layout/list_item_header_centered.xml
Cards-UI-master/src/main/res/values/
Cards-UI-master/src/main/res/values/colors.xml
Cards-UI-master/src/main/res/values/dimens.xml
Cards-UI-master/src/main/res/values/strings.xml
Cards-UI-master/src/main/res/values/styles.xml
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.