Daniel Olshansky | 5bcd87e | 2013-07-15 09:29:51 -0700 | [diff] [blame^] | 1 | <!-- Copyright (C) 2013 The Android Open Source Project |
| 2 | |
| 3 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | you may not use this file except in compliance with the License. |
| 5 | You may obtain a copy of the License at |
| 6 | |
| 7 | http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | |
| 9 | Unless required by applicable law or agreed to in writing, software |
| 10 | distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | See the License for the specific language governing permissions and |
| 13 | limitations under the License. |
| 14 | --> |
| 15 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 16 | android:id="@+id/item_linear_layout" |
| 17 | android:layout_height="match_parent" |
| 18 | android:layout_width="match_parent" |
| 19 | android:orientation="horizontal" |
| 20 | android:background="@drawable/border"> |
| 21 | |
| 22 | <ImageView |
| 23 | android:id="@+id/image_view" |
| 24 | android:layout_height="match_parent" |
| 25 | android:layout_width="0dp" |
| 26 | android:gravity="center_vertical" |
| 27 | android:layout_weight="1" |
| 28 | android:scaleType="center"/> |
| 29 | |
| 30 | <TextView |
| 31 | android:id="@+id/text_view" |
| 32 | android:layout_height="fill_parent" |
| 33 | android:layout_width="0dp" |
| 34 | android:gravity="center" |
| 35 | android:layout_weight="2" |
| 36 | android:textStyle="bold" |
| 37 | android:textSize="22sp" |
| 38 | android:textColor="#ffffff"/> |
| 39 | |
| 40 | </LinearLayout> |