<?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:orientation="vertical" android:paddingLeft="15dp" android:paddingRight="15dp" android:background="@drawable/bg_sop_item" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" > <TextView android:id="@+id/tv_sort" style="@style/common_text_style" android:text="1." /> <TextView android:id="@+id/tv_desc" style="@style/common_text_style" android:singleLine="true" android:layout_width="0dp" android:layout_weight="1" android:text="1" /> <TextView android:id="@+id/tv_add_remark" style="@style/common_text_style" android:padding="10dp" android:text="@string/write_remark" android:textColor="@color/text_common_blue" /> </LinearLayout> <android.support.v7.widget.RecyclerView android:visibility="gone" android:id="@+id/rv_image" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="15dp" android:layout_marginTop="5dp" /> <android.support.v7.widget.RecyclerView android:visibility="gone" android:id="@+id/rv_video" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="15dp" android:layout_marginTop="5dp" /> <RadioGroup android:id="@+id/rg_sop" android:layout_marginBottom="15dp" android:layout_marginTop="5dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <RadioButton android:id="@+id/rb_yes" android:layout_width="0dp" android:layout_weight="1" android:layout_height="wrap_content" android:text="@string/yes_str" /> <RadioButton android:id="@+id/rb_no" android:layout_width="0dp" android:layout_weight="1" android:layout_height="wrap_content" android:text="@string/no_str" /> </RadioGroup> <EditText android:id="@+id/edt_remark" android:padding="5dp" android:layout_width="match_parent" android:layout_height="60dp" android:background="@drawable/bg_input_register_react" android:layout_marginBottom="15dp" android:gravity="left|top" /> </LinearLayout>