layout_textandimgshow.xml 2.71 KB
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:background="@drawable/report_white"
    android:scrollbars="none">

    <HorizontalScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:scrollbars="none"

        >
    <LinearLayout
        android:id="@+id/layout_control"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/size_dp_5"
        android:layout_marginTop="@dimen/size_dp_5"
        android:background="@drawable/report_white"
        android:elevation="@dimen/size_dp_3"
        android:orientation="horizontal"
        android:padding="@dimen/size_dp_10">

       <!-- <LinearLayout
            android:visibility="gone"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="horizontal">

            <com.shunzhi.parent.views.TextAndImgShowView
                android:id="@+id/textAndImg1"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="?android:selectableItemBackground">

            </com.shunzhi.parent.views.TextAndImgShowView>

            <com.shunzhi.parent.views.TextAndImgShowView
                android:id="@+id/textAndImg2"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="?android:selectableItemBackground">

            </com.shunzhi.parent.views.TextAndImgShowView>

            <com.shunzhi.parent.views.TextAndImgShowView
                android:id="@+id/textAndImg3"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="?android:selectableItemBackground">

            </com.shunzhi.parent.views.TextAndImgShowView>

            <com.shunzhi.parent.views.TextAndImgShowView
                android:id="@+id/textAndImg4"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="?android:selectableItemBackground">

            </com.shunzhi.parent.views.TextAndImgShowView>
        </LinearLayout>-->
    </LinearLayout>
    </HorizontalScrollView>
</android.support.design.widget.CoordinatorLayout>