gabrielemariotti/cardslib

What's wrong with this layout ?

Opened this issue · 0 comments

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:

<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 !!