also for stack overflow
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v7.widget.CardView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:card_view="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/lines_served_card" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
card_view:cardCornerRadius="4dp" | |
android:background="@color/white"> | |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:padding="8dp"> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="@string/lines_served" | |
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<android.support.v7.widget.RecyclerView | |
android:id="@+id/lines_served_container" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:isScrollContainer="false"/> | |
</LinearLayout> | |
</LinearLayout> | |
</android.support.v7.widget.CardView> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment