PDA

View Full Version : card ui listview



mehdipoorajab
پنج شنبه 02 مرداد 1393, 14:27 عصر
سلام
چه طور میشه یه لیست ویو مثل این طراحی کنم ؟

..
.
http://ryanharter.com/images/posts/how-to-make-an-android-card-list/card_list.png

mehdipoorajab
پنج شنبه 02 مرداد 1393, 17:15 عصر
https://github.com/gabrielemariotti/cardslib
این رو هم دانلود کردم ولی روش استفادش رو نمیدونم

mehdipoorajab
پنج شنبه 02 مرداد 1393, 21:53 عصر
:ناراحت::گریه: up ...

badname
پنج شنبه 02 مرداد 1393, 21:59 عصر
چیزی که خود گوگل درباره card view گفته

<!-- A CardView that contains a TextView -->
<android.support.v7.widget.CardView
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/card_view"
android:layout_gravity="center"
android:layout_width="200dp"
android:layout_height="200dp"
card_view:cardCornerRadius="4dp">


<TextView
android:id="@+id/info_text"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.v7.widget.CardView>


لینک (http://developer.android.com/preview/material/ui-widgets.html)

mehdipoorajab
پنج شنبه 02 مرداد 1393, 22:24 عصر
یعنی نیاز به import کردن library نیس ؟

طرز استفادش رو میشه بگید ؟

این کدی ک دادین رو کجا بذارم ؟

mehdipoorajab
پنج شنبه 02 مرداد 1393, 22:35 عصر
اینجا اموزشش رو گذاشته

یکی میتونه کمکم کنه ؟ :(

واقعا نیاز دارم

https://github.com/gabrielemariotti/cardslib/blob/master/doc/BUILD.md#reference-this-project-as-a-library-in-eclipse

mehdipoorajab
جمعه 03 مرداد 1393, 01:17 صبح
هر چی میگردم نیست :((

تو رو خدا اگه کسی میدونه چه طوری این رو به پروژم اضافه کنم بگه :((

pouya1999best@g
جمعه 03 مرداد 1393, 01:40 صبح
چیزی که خود گوگل درباره card view گفته

<!-- A CardView that contains a TextView -->
<android.support.v7.widget.CardView
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/card_view"
android:layout_gravity="center"
android:layout_width="200dp"
android:layout_height="200dp"
card_view:cardCornerRadius="4dp">


<TextView
android:id="@+id/info_text"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.v7.widget.CardView>


لینک (http://developer.android.com/preview/material/ui-widgets.html)

این کتابخانه گوگل رو باید چجوری به پروژه اضافه کنیم؟؟؟(از کجا دانلودش کنیم؟؟؟)

mehdipoorajab
جمعه 03 مرداد 1393, 02:10 صبح
این کتابخانه گوگل رو باید چجوری به پروژه اضافه کنیم؟؟؟(از کجا دانلودش کنیم؟؟؟)


https://github.com/gabrielemariotti/cardslib
اینجا دانلودش هست ولی خوب ایمپرت کردنش :(

pouya1999best@g
جمعه 03 مرداد 1393, 02:18 صبح
این مال گوگل نیست.
Android Support V7 Library رو میخوام