android-cards

Android Card UI : card resize (gabrielemariotti)

不想你离开。 提交于 2020-01-25 11:43:06
问题 I'm making an android app with cards UI, by using the library: https://github.com/gabrielemariotti/cardslib I want to make a custom card which will be smaller than the default card size. Is there any way to do this? 回答1: The default card has a min height. You can override this value in your dimens.xml: <dimen name="card_base_empty_height">96dp</dimen> 来源: https://stackoverflow.com/questions/25907697/android-card-ui-card-resize-gabrielemariotti

How to create Google + cards UI in a list view?

旧城冷巷雨未停 提交于 2019-12-17 21:27:01
问题 I want to create a listView of cards, but after reading this blog post goolge-plus-layout, I'm cards are a viable solution for a list of anything. The animation part seems too memory intensive to load say a listview with more than 40 elements simultaneously. Is there a better way to achieve a cards UI in listView? 回答1: You can create a custom drawable, and apply that to each of your listview elements. I use this one for cards in my UI. I don't think there is significant performance issues

How do I show a fragment in a card view - Android

*爱你&永不变心* 提交于 2019-12-12 06:02:01
问题 I want to show a fragment in a card view of android . help required . I have made some fragments already , say one of them is Settings_fragment.xml <android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto" android:id="@+id/cardView1" android:layout_gravity="center" android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="20dp" card_view:cardUseCompatPadding="true" card_view:cardCornerRadius="4dp" card_view:cardElevation="4dp

Create UI like Chrome for Android

梦想的初衷 提交于 2019-11-29 21:27:57
I want to implement this behaviour [ https://github.com/gleue/TGLStackedViewController] in an app that I am trying to make. The closest thing/the effect that I want to achieve is how the Google Chrome browser behaves. Tile/card interface Be able to access a form of navigation (access other tabs) when user pulls down the address bar Be able to re-arrange the tabs in any order the user wishes Photo taken from this Android Layout : How to implement a UI similar to deck of cards? SO question Is there anyone out there who has tried to implement this kind of behavior? Do you guys know any libraries

Create UI like Chrome for Android

删除回忆录丶 提交于 2019-11-28 19:04:23
问题 I want to implement this behaviour [https://github.com/gleue/TGLStackedViewController] in an app that I am trying to make. The closest thing/the effect that I want to achieve is how the Google Chrome browser behaves. Tile/card interface Be able to access a form of navigation (access other tabs) when user pulls down the address bar Be able to re-arrange the tabs in any order the user wishes Photo taken from this Android Layout : How to implement a UI similar to deck of cards? SO question Is

How to create Google + cards UI in a list view?

若如初见. 提交于 2019-11-28 15:16:39
I want to create a listView of cards, but after reading this blog post goolge-plus-layout , I'm cards are a viable solution for a list of anything. The animation part seems too memory intensive to load say a listview with more than 40 elements simultaneously. Is there a better way to achieve a cards UI in listView? You can create a custom drawable, and apply that to each of your listview elements. I use this one for cards in my UI. I don't think there is significant performance issues with this approach. The drawable code (in drawable\big_card.xml) looks like this: <?xml version="1.0" encoding