blob: 2475af33b5640e69351a8834e8d6a7820faec52d [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" />
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080044
45 <View
46 android:layout_width="match_parent"
47 android:layout_height="@dimen/combo_shadow_height"
48 android:layout_gravity="bottom"
49 android:background="@drawable/shadow_top" />
50
51 <View
52 android:layout_width="match_parent"
53 android:layout_height="@dimen/combo_shadow_height"
54 android:layout_gravity="top"
55 android:background="@drawable/shadow_bottom" />
56
Pankaj Garg49b79252014-11-07 17:33:41 -080057 </FrameLayout>
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080058
Pankaj Garg49b79252014-11-07 17:33:41 -080059 <LinearLayout
60 android:layout_width="match_parent"
Jeff Hamilton84029622010-08-05 14:29:28 -050061 android:layout_height="wrap_content"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080062 android:orientation="horizontal"
Pankaj Garg49b79252014-11-07 17:33:41 -080063 android:layout_weight="10"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080064 android:background="@color/primary"
65 style="?android:attr/buttonBarStyle" >
Pankaj Garg49b79252014-11-07 17:33:41 -080066
67 <Button
68 android:id="@+id/add_bookmark_button"
69 android:text="@string/add_new_bookmark"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080070 android:layout_width="0dip"
Pankaj Garg49b79252014-11-07 17:33:41 -080071 android:layout_height="wrap_content"
72 android:layout_weight="1"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080073 style="?android:attr/buttonBarButtonStyle"
Pankaj Garg49b79252014-11-07 17:33:41 -080074 />
75 <Button
76 android:id="@+id/new_bmfolder_button"
77 android:text="@string/new_folder"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080078 android:layout_width="0dip"
Pankaj Garg49b79252014-11-07 17:33:41 -080079 android:layout_height="wrap_content"
80 android:layout_weight="1"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080081 style="?android:attr/buttonBarButtonStyle"
Pankaj Garg49b79252014-11-07 17:33:41 -080082 />
83 </LinearLayout>
84
85</LinearLayout>