Skip to content

Instantly share code, notes, and snippets.

@ckdevrel
Created October 2, 2015 18:56
Show Gist options
  • Save ckdevrel/c747cbbe89ae8714ef98 to your computer and use it in GitHub Desktop.
Save ckdevrel/c747cbbe89ae8714ef98 to your computer and use it in GitHub Desktop.
<?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:layout_height="?attr/actionBarSize"
android:background="@color/white"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal"
android:paddingLeft="16dp"
android:paddingRight="16dp">
<ImageView
android:id="@+id/img_tool_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_arrow_left_grey600_24dp" />
<EditText
android:id="@+id/edt_tool_search"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="Choose your city"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:singleLine="true"
android:textColor="@color/secondary_text"
android:textColorHint="@color/secondary_text"
android:textSize="16sp" />
<ImageView
android:id="@+id/img_tool_mic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_microphone_grey600_24dp" />
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment