lightning-i2p/res/layout/search_interface.xml
2014-12-31 13:12:37 -05:00

68 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/search_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/search_bar_height"
android:background="@color/white"
android:visibility="gone">
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_gravity="center_vertical"
android:background="?android:attr/dividerVertical" />
<TextView
android:id="@+id/search_query"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textColor="@color/black"
android:layout_alignParentLeft="true"
android:paddingLeft="10dp"
android:ellipsize="end"
android:gravity="center_vertical"
android:textSize="22sp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:orientation="horizontal">
<ImageButton
android:id="@+id/button_next"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:contentDescription="@null"
android:src="@drawable/ic_action_collapse"
style="?android:attr/buttonBarButtonStyle" />
<View
android:layout_width="1dp"
android:layout_height="25dp"
android:layout_gravity="center_vertical"
android:background="?android:attr/dividerVertical" />
<ImageButton
android:id="@+id/button_back"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:contentDescription="@null"
android:src="@drawable/ic_action_expand"
style="?android:attr/buttonBarButtonStyle" />
<View
android:layout_width="1dp"
android:layout_height="25dp"
android:layout_gravity="center_vertical"
android:background="?android:attr/dividerVertical" />
<ImageButton
android:id="@+id/button_quit"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:contentDescription="@null"
android:src="@drawable/ic_action_delete"
style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>
</RelativeLayout>