view_pop_search.xml 2.03 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:background="@color/gray_eee"
    android:layout_height="wrap_content">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:visibility="gone"
        android:gravity="center"
        android:paddingLeft="10dp"
        android:textSize="@dimen/text_size_mid"
        android:textColor="@color/black"
        android:text="@string/popup_search" />

    <LinearLayout
        android:id="@+id/search_items"
        android:layout_marginTop="10dp"
        android:orientation="vertical"
        android:layout_height="wrap_content"
        android:layout_width="match_parent">
    </LinearLayout>

    <FrameLayout
        android:layout_marginTop="15dp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <Button
            android:id="@+id/resetBtn"
            android:layout_width="150dp"
            android:layout_height="wrap_content"
            android:layout_gravity="left"
            android:layout_marginLeft="20dp"
            android:background="@drawable/red_button_bg"
            android:text="@string/btn_reset"
            android:textSize="@dimen/text_size_big" />

        <Button
            android:id="@+id/ensureBtn"
            android:layout_width="150dp"
            android:layout_height="wrap_content"
            android:layout_gravity="right"
            android:layout_marginRight="20dp"
            android:background="@drawable/red_button_bg"
            android:text="@string/btn_query"
            android:textSize="@dimen/text_size_big" />

    </FrameLayout>

    <LinearLayout
        android:layout_marginTop="15dp"
        android:background="@color/colorPrimaryTrans"
        android:layout_width="match_parent"
        android:layout_height="2px"/>
</LinearLayout>