2008-10-18 09:23:24 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Copyright (C) 2008 ZXing authors
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-03-23 03:41:14 -07:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2008-10-18 09:23:24 -07:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
2012-09-10 05:03:03 -07:00
|
|
|
android:layout_height="fill_parent">
|
2008-10-18 09:23:24 -07:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0">
|
|
|
|
|
|
|
|
<EditText android:id="@+id/query_text_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left|center_vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:singleLine="true"
|
2011-12-17 17:07:14 -08:00
|
|
|
android:selectAllOnFocus="true"
|
2014-03-23 03:41:14 -07:00
|
|
|
android:inputType="text"
|
|
|
|
tools:ignore="NestedWeights"/>
|
2008-10-18 09:23:24 -07:00
|
|
|
|
|
|
|
<Button android:id="@+id/query_button"
|
2013-09-01 01:59:08 -07:00
|
|
|
style="@android:style/Widget.Holo.Button.Borderless.Small"
|
2008-10-18 09:23:24 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:text="@string/button_search_book_contents"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<ListView android:id="@+id/result_list_view"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|