Vikram Aggarwal | b9e1a35 | 2012-01-24 15:23:38 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2012 Google Inc. |
| 4 | Licensed to The Android Open Source Project. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
| 18 | |
| 19 | <LinearLayout |
| 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | android:id="@+id/search_status_view" |
| 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="@dimen/notification_view_height" |
| 24 | android:minHeight="@dimen/notification_view_height" |
| 25 | android:background="@drawable/banner_background_search" |
| 26 | android:visibility="gone" |
| 27 | android:orientation="horizontal" > |
| 28 | |
| 29 | <TextView |
| 30 | android:id="@+id/search_status_text_view" |
| 31 | android:layout_width="0dip" |
| 32 | android:layout_height="match_parent" |
| 33 | android:gravity="center_vertical" |
| 34 | android:paddingLeft="8dip" |
| 35 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 36 | android:textSize="18sp" |
| 37 | android:textColor="#777777" |
| 38 | android:text="@string/search_results_header" |
| 39 | android:layout_weight=".8" |
| 40 | android:ellipsize="marquee" |
| 41 | android:singleLine="true"/> |
| 42 | |
| 43 | <TextView android:id="@+id/search_result_count_view" |
| 44 | android:layout_width="0dip" |
| 45 | android:layout_height="match_parent" |
| 46 | android:gravity="center_vertical|right" |
| 47 | android:paddingRight="8dip" |
| 48 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 49 | android:textColor="#777777" |
| 50 | android:layout_weight=".2"/> |
| 51 | |
| 52 | </LinearLayout> |