1 <?xml version="1.0" encoding="utf-8"?>
4 * Copyright (C) 2008 Google Inc.
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
10 * http://www.apache.org/licenses/LICENSE-2.0
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.
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="fill_parent"
22 android:layout_height="fill_parent"
23 android:orientation="vertical"
26 <ListView android:id="@android:id/list"
27 android:layout_width="fill_parent"
28 android:layout_height="0dip"
29 android:layout_weight="1"
33 android:layout_width="fill_parent"
34 android:layout_height="wrap_content"
35 android:background="@android:drawable/bottom_bar"
36 android:orientation="horizontal"
37 android:gravity="center_vertical"
39 <Button android:id="@+id/ok"
40 android:layout_width="0dip"
41 android:layout_height="wrap_content"
42 android:layout_weight="1"
43 android:text="@android:string/ok"
46 <Button android:id="@+id/cancel"
47 android:layout_width="0dip"
48 android:layout_height="wrap_content"
49 android:layout_weight="1"
50 android:text="@android:string/cancel"