充电桩app代码

activity_topic_search_page.xml 4.0KB

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:background="@color/white"> <RelativeLayout android:id="@+id/rl_title" android:layout_width="fill_parent" android:layout_height="44dp"> <ImageView android:id="@+id/iv_back" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:contentDescription="@null" android:paddingLeft="15dp" android:paddingRight="15dp" android:src="@drawable/icon_lvback1119" /> <TextView android:id="@+id/tv_webview_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:text="话题" android:singleLine="true" android:maxEms="8" android:ellipsize="end" android:textColor="@color/ui_62" android:textSize="18sp"/> <View android:layout_width="match_parent" android:layout_height="0.5dp" android:background="@color/title_line" android:layout_alignParentBottom="true"/> </RelativeLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="60dp" android:orientation="vertical"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="15dp" android:background="@drawable/bg_yuanjiao_search"> <ImageView android:id="@+id/search_icon" android:layout_width="14dp" android:layout_height="14dp" android:layout_marginLeft="8dp" android:layout_centerVertical="true" android:src="@drawable/icon_search1118"/> <EditText android:id="@+id/et_search" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_toLeftOf="@+id/iv_clear" android:layout_toRightOf="@+id/iv_search" android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:singleLine="true" android:background="#f1f1f1" android:textColor="#222222" android:hint="请输入搜索内容" android:textColorHint="@color/ui_68" android:textSize="13sp" android:imeOptions="actionSearch"/> <ImageView android:id="@+id/iv_clear" android:layout_width="14dp" android:layout_height="14dp" android:layout_marginRight="8dp" android:layout_centerVertical="true" android:layout_alignParentRight="true" android:src="@drawable/app_topic_search_clear"/> </RelativeLayout> </LinearLayout> <View android:layout_width="match_parent" android:layout_height="10dp" android:background="#f4f4f4"/> <include layout="@layout/activity_no_net" android:visibility="gone"/> <com.andview.refreshview.XRefreshView android:id="@+id/xrefreshview" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#fff"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recycler_view_test_rv" android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="vertical" /> </com.andview.refreshview.XRefreshView> </LinearLayout>