<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="60dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World, MyActivity"
android:layout_centerVertical="true"
android:textColor="#ffffff"
android:textSize="17dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:singleLine="true"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2015/05/23"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:textColor="#ffffff"
android:textSize="11dp"
android:layout_marginRight="15dp"
android:singleLine="true"
/>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout
android:id="@+id/query_acbar"
android:layout_width="fill_parent"
android:layout_height="60dp">
<Button
android:id="@+id/quety_btn_back"
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_centerVertical="true"
android:layout_marginLeft="15dp"/>
<Button
android:id="@+id/quety_btn_find"
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_marginRight="15dp"/>
<EditText
android:id="@+id/query_edt"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:layout_toRightOf="@id/quety_btn_back"
android:layout_toLeftOf="@id/quety_btn_find"/>
</RelativeLayout>
<ListView
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:id="@+id/query_result_list"
android:layout_below="@id/query_acbar"
android:layout_alignParentBottom="true">
</ListView>
</RelativeLayout>