session-android/res/layout/main.xml

47 lines
2.1 KiB
XML
Raw Normal View History

2011-12-20 18:20:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2012-07-17 02:56:10 +00:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
2011-12-20 18:20:44 +00:00
2012-07-17 02:56:10 +00:00
<EditText android:id="@+id/search_text"
android:layout_height="wrap_content"
android:capitalize="sentences"
android:autoText="true"
android:singleLine="true"
android:hint="Search"
android:paddingRight="50dip"
android:layout_margin="10dip"
android:layout_width="fill_parent"
android:layout_alignParentBottom="true"
android:visibility="gone"/>
2011-12-20 18:20:44 +00:00
<ImageView android:id="@+id/search_close"
2012-07-17 02:56:10 +00:00
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_marginRight="16dip"
android:layout_marginBottom="20dip"
android:src="@android:drawable/btn_dialog"
android:visibility="gone"
/>
<ListView android:id="@android:id/list"
2012-07-17 03:20:13 +00:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:drawSelectorOnTop="false"
android:scrollbarStyle="insideOverlay"
android:fadingEdgeLength="16dip"
android:layout_alignParentTop="true"
android:layout_above="@id/search_text" />
2012-07-17 02:56:10 +00:00
<ProgressBar android:id="@+id/search_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
android:layout_centerInParent="true"
android:visibility="gone" />
2011-12-20 18:20:44 +00:00
</RelativeLayout>