blob: 02a5a97d7f0357c0451a9c612d4995b275407485 [file] [log] [blame]
Jeff Hamilton84029622010-08-05 14:29:28 -05001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
Pankaj Garg49b79252014-11-07 17:33:41 -080016<LinearLayout
Michael Kolb370a4f32010-10-06 10:45:32 -070017 xmlns:android="http://schemas.android.com/apk/res/android"
Jeff Hamilton84029622010-08-05 14:29:28 -050018 android:layout_width="match_parent"
John Reck608baa72010-11-24 10:32:28 -080019 android:layout_height="match_parent"
Pankaj Garg49b79252014-11-07 17:33:41 -080020 android:orientation="vertical"
21 >
22
23 <FrameLayout
Jeff Hamilton84029622010-08-05 14:29:28 -050024 android:layout_width="match_parent"
Pankaj Garg49b79252014-11-07 17:33:41 -080025 android:layout_height="fill_parent"
26 android:layout_weight="90"
27 android:paddingTop="@dimen/combo_paddingTop">
28 <com.android.browser.view.BookmarkExpandableView
29 android:id="@+id/grid"
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 android:layout_gravity="center_horizontal"
33 android:childDivider="@android:color/transparent"
34 android:divider="@android:color/transparent"
35 android:dividerHeight="0dp" />
36 <TextView
37 android:id="@android:id/empty"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:layout_gravity="center"
41 android:textAppearance="?android:attr/textAppearanceLarge"
42 android:text="@string/empty_bookmarks_folder"
43 android:visibility="gone" />
44 </FrameLayout>
45 <LinearLayout
46 android:layout_width="match_parent"
Jeff Hamilton84029622010-08-05 14:29:28 -050047 android:layout_height="wrap_content"
Pankaj Garg49b79252014-11-07 17:33:41 -080048 android:layout_weight="10"
49 android:layout_alignParentBottom="true" >
50
51 <Button
52 android:id="@+id/add_bookmark_button"
53 android:text="@string/add_new_bookmark"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:layout_weight="1"
57 />
58 <Button
59 android:id="@+id/new_bmfolder_button"
60 android:text="@string/new_folder"
61 android:layout_width="match_parent"
62 android:layout_height="wrap_content"
63 android:layout_weight="1"
64 />
65 </LinearLayout>
66
67</LinearLayout>