|
|
@@ -5,83 +5,83 @@
|
|
|
android:layout_margin="12dp"
|
|
|
android:background="@color/background"
|
|
|
android:orientation="vertical">
|
|
|
- <TextView
|
|
|
- android:visibility="gone"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:padding="14dp"
|
|
|
- android:text="请采集岗位资源" />
|
|
|
+ <TextView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="14dp"
|
|
|
+ android:text="请采集岗位资源" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:id="@+id/line_top"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="36dp"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:id="@+id/line_top"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <com.uas.standard_esop.view.ClearableEditText
|
|
|
- android:id="@+id/edit_et"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
- android:layout_marginRight="16dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/bg_line_edittext"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:hint="请输入要搜索的站点资源"
|
|
|
- android:padding="5dp"
|
|
|
- android:textSize="14sp"/>
|
|
|
+ <com.uas.standard_esop.view.ClearableEditText
|
|
|
+ android:id="@+id/edit_et"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/bg_line_edittext"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:hint="请输入要搜索的站点资源"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:textSize="14sp"/>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/search_im"
|
|
|
- android:layout_width="46dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:background="@drawable/bg_button"
|
|
|
- android:src="@drawable/search_48" />
|
|
|
- </LinearLayout>
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/rv_ip_port_data"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_marginRight="@dimen/dp_10"
|
|
|
- android:layout_below="@+id/line_top"
|
|
|
- android:layout_height="200dp">
|
|
|
- </android.support.v7.widget.RecyclerView>
|
|
|
- <LinearLayout
|
|
|
- android:layout_below="@+id/rv_ip_port_data"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginBottom="10dp">
|
|
|
+ <ImageView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/search_im"
|
|
|
+ android:layout_width="46dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
+ android:src="@drawable/search_48" />
|
|
|
+ </LinearLayout>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_ip_port_data"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_marginRight="@dimen/dp_10"
|
|
|
+ android:layout_below="@+id/line_top"
|
|
|
+ android:layout_height="200dp">
|
|
|
+ </androidx.recyclerview.widget.RecyclerView >
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_below="@+id/rv_ip_port_data"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="10dp">
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/sure_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="36dp"
|
|
|
- android:layout_margin="12dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/selector_confirm_bg"
|
|
|
- android:gravity="center"
|
|
|
- android:text="确定"
|
|
|
- android:textColor="@color/white" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/sure_tv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:layout_margin="12dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/selector_confirm_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="确定"
|
|
|
+ android:textColor="@color/white" />
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/cancle_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="36dp"
|
|
|
- android:layout_margin="12dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/selector_cancel_bg"
|
|
|
- android:gravity="center"
|
|
|
- android:text="取消"
|
|
|
- android:textColor="@color/selector_cancel_text_color" />
|
|
|
- </LinearLayout>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/cancle_tv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:layout_margin="12dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/selector_cancel_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="取消"
|
|
|
+ android:textColor="@color/selector_cancel_text_color" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
|