cardslib
cardslib copied to clipboard
What's wrong with this layout ?
Hi @gabrielemariotti ,
I tried to use recyclerview with custom layout for displaying cards.
I followed the cardslib resource files. However SetupInnerViewElements method never called.
After few research, i came to know that "it follows some global layout"
This is my layout:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_marginLeft="3dp" android:gravity="center_vertical" android:layout_height="96dp">
<TextView
android:id="@+id/carddemo_myapps_main_inner_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/carddemo_myapps_main_inner_secondaryTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/carddemo_myapps_main_inner_date"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<it.gmariotti.cardslib.library.view.component.CardShadowView
style="@style/card.shadow_outer_layout"
android:id="@+id/card_shadow_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<FrameLayout
android:id="@+id/card_content_expand_layout"
style="@style/card.main_contentExpand"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
I couldn't find the error with this layout
Thanks for any help !!