bashgid/android/res/layout/main_page_search.xml

54 lines
1.9 KiB
XML
Raw Normal View History

2015-02-18 03:23:07 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bkg1"
android:orientation="vertical"
android:paddingLeft="20dp"
android:paddingRight="20dp"
tools:context="fishrungames.bashgid.MainPageFragment" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:adjustViewBounds="true"
android:maxHeight="@dimen/main_page_logo_size"
2015-02-18 03:23:07 +00:00
android:src="@drawable/bashgid_logo_main" />
<TextView
2015-06-11 06:17:27 +00:00
android:id="@+id/dateTextView"
2015-02-18 03:23:07 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/app_name"
android:textSize="@dimen/large_text_size" />
2015-02-18 03:23:07 +00:00
<EditText
2015-07-02 08:36:51 +00:00
android:id="@+id/searchEditText"
2015-02-18 03:23:07 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-07-05 11:03:52 +00:00
android:lines="1"
android:maxLines="1"
2015-02-18 03:23:07 +00:00
android:hint="@string/enter_search_query" >
<requestFocus />
</EditText>
<Button
android:id="@+id/searchButton"
2015-07-02 08:36:51 +00:00
style="?android:attr/borderlessButtonStyle"
2015-02-18 03:23:07 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
2015-07-02 08:36:51 +00:00
android:drawableLeft="@drawable/ic_action_search"
2015-07-05 11:03:52 +00:00
android:layout_margin="@dimen/medium_margin"
android:background="@color/button_default"
android:padding="@dimen/medium_margin"
android:text="@string/search_title"
android:textSize="@dimen/large_text_size" />
2015-02-18 03:23:07 +00:00
</LinearLayout>