gabrielemariotti / cardslib

Android Library to build a UI Card
4.66k stars 1.19k forks source link

Expand layout cut #534

Closed RimonGazi closed 3 years ago

RimonGazi commented 8 years ago

screenshot_2016-02-29-11-26-59

RimonGazi commented 8 years ago

//Core compile 'com.github.gabrielemariotti.cards:cardslib-core:2.1.0'
//Optional for built-in cards
compile 'com.github.gabrielemariotti.cards:cardslib-cards:2.1.0'

when i card expand the view not show below some are is cut , please tell what is the solution.

gabrielemariotti commented 8 years ago

Please report your layout

RimonGazi commented 8 years ago

this is my layout

<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/WidgetsPaddingSmall" android:layout_marginTop="@dimen/WidgetsPaddingSmall" android:orientation="vertical">

<View
    android:layout_width="match_parent"
    android:layout_height="@dimen/tableRowBoder"
    android:background="@android:color/black" />

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal">

    <android.support.v7.widget.AppCompatTextView
        android:layout_width="0px"
        android:layout_height="match_parent"
        android:layout_weight="@integer/LargeRow"
        android:background="@drawable/table_row_primary_left"
        android:gravity="center|left"
        android:padding="@dimen/WidgetsPaddingMediam"
        android:text="@string/q_module_7_9"
        android:textAppearance="?android:attr/textAppearanceSmall" />

    <android.support.v7.widget.AppCompatTextView
        android:id="@+id/q_module_7_9"
        android:layout_width="0px"
        android:layout_height="match_parent"
        android:layout_weight="@integer/SamllRow"
        android:background="@drawable/table_row_primary_right"
        android:gravity="center"
        android:padding="@dimen/WidgetsPaddingMediam"
        android:text="1"
        android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>

<View
    android:layout_width="match_parent"
    android:layout_height="@dimen/tableRowBoder"
    android:background="@android:color/black" />

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal">

    <android.support.v7.widget.AppCompatTextView
        android:layout_width="0px"
        android:layout_height="match_parent"
        android:layout_weight="@integer/LargeRow"
        android:background="@drawable/table_row_primary_left"
        android:gravity="center|left"
        android:padding="@dimen/WidgetsPaddingMediam"
        android:text="@string/q_module_7_11"
        android:textAppearance="?android:attr/textAppearanceSmall" />

    <android.support.v7.widget.AppCompatTextView
        android:id="@+id/q_module_7_11"
        android:layout_width="0px"
        android:layout_height="match_parent"
        android:layout_weight="@integer/SamllRow"
        android:background="@drawable/table_row_primary_right"
        android:gravity="center"
        android:padding="@dimen/WidgetsPaddingMediam"
        android:text="1"
        android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>

<View
    android:layout_marginBottom="@dimen/WidgetsMarginSmall"
    android:layout_width="match_parent"
    android:layout_height="@dimen/tableRowBoder"
    android:background="@android:color/black" />

RimonGazi commented 8 years ago

in tablet all view not show in expand area

screenshot_2016-02-29-13-01-58

RimonGazi commented 8 years ago

i don't know why my issues are not try to solve .i cannot complete my app for this issue