Advertisement
Guest User

m0

a guest
Sep 14th, 2010
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.10 KB | None | 0 0
  1.   <LinearLayout android:layout_width="fill_parent"
  2.                android:layout_height="wrap_content"
  3.                android:paddingRight="6dip"
  4.                android:paddingLeft="6dip"
  5.                android:orientation="horizontal"
  6.                android:background="@drawable/header_gradient" >
  7.     <RelativeLayout android:layout_height="fill_parent"
  8.                    android:layout_width="fill_parent"
  9.                    android:layout_weight="1">
  10.       <EditText android:id="@+id/search_text"
  11.                android:layout_height="fill_parent"
  12.                android:layout_width="fill_parent"
  13.                android:layout_marginTop="6dip"
  14.                android:hint="@string/search"
  15.                android:ellipsize="end"
  16.                android:textSize="18sp"
  17.                android:textStyle="normal"
  18.                android:imeOptions="actionDone|actionSearch"
  19.                android:inputType="text|textAutoComplete"
  20.                android:singleLine="true"
  21.                android:focusable="true" />
  22.       <ImageView android:id="@+id/search_spinner"
  23.                 android:layout_width="wrap_content"
  24.                 android:layout_height="wrap_content"
  25.                 android:layout_alignParentRight="true"
  26.                 android:layout_marginTop="20dip"
  27.                 android:layout_marginRight="15dip"
  28.                 android:background="@drawable/spinner_black"
  29.                 android:visibility="invisible"/>
  30.     </RelativeLayout>
  31.     <ImageButton android:id="@+id/search_button"
  32.                 android:layout_width="wrap_content"
  33.                 android:layout_height="wrap_content"
  34.                 android:layout_marginTop="6dip"
  35.                 android:layout_marginBottom="6dip"
  36.                 android:paddingRight="5dip"
  37.                 android:paddingLeft="5dip"
  38.                 android:layout_weight="0"
  39.                 android:tint="#fff"
  40.                 android:background="@drawable/btn_search_background"
  41.                 android:src="@drawable/btn_search"
  42.                 android:layout_marginRight="-4dip"/>
  43.   </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement