Skip to content

elcrion/demo.cardlistview

Repository files navigation

demo.cardlistview

alt tag

This is an example of android google like card list view In order this project to work use QuickAction (https://github.com/lorensiuswlt/NewQuickAction) project as library

To set up the listview follow this steps :

1.Add "@drawable/rowshadow" as a bacground to row element of your list and make padding to the item, like this :

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"

    android:background="@drawable/rowshadow" >

    <TextView
       ....../>

    <TextView
      ...... />

    <ImageView
       ...... />

</RelativeLayout>

2.Add

    android:divider="@android:color/transparent"
    android:dividerHeight="1dip"

to ListView elements

This approach is compatible with android 2.3 and older

About

android google like card list view

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages