blob: 7eee4e9bc37171ce09a0beb6044a3008a428b069 [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"
Pankaj Garg21dad562015-07-02 17:17:24 -070021 android:background="@color/comboViewBackground"
Pankaj Garg68faf1c2015-06-26 17:07:37 -070022 android:paddingTop="@dimen/combo_paddingTop">
Pankaj Garg49b79252014-11-07 17:33:41 -080023
24 <FrameLayout
Jeff Hamilton84029622010-08-05 14:29:28 -050025 android:layout_width="match_parent"
Pankaj Garg49b79252014-11-07 17:33:41 -080026 android:layout_height="fill_parent"
Pankaj Garg68faf1c2015-06-26 17:07:37 -070027 android:layout_weight="90" >
Pankaj Garg49b79252014-11-07 17:33:41 -080028 <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"
Axesh R. Ajmera9295e452015-05-20 16:25:44 -070072 android:textSize="14sp"
Pankaj Garg49b79252014-11-07 17:33:41 -080073 android:layout_weight="1"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080074 style="?android:attr/buttonBarButtonStyle"
Pankaj Garg49b79252014-11-07 17:33:41 -080075 />
76 <Button
77 android:id="@+id/new_bmfolder_button"
78 android:text="@string/new_folder"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080079 android:layout_width="0dip"
Pankaj Garg49b79252014-11-07 17:33:41 -080080 android:layout_height="wrap_content"
Axesh R. Ajmera9295e452015-05-20 16:25:44 -070081 android:textSize="14sp"
Pankaj Garg49b79252014-11-07 17:33:41 -080082 android:layout_weight="1"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080083 style="?android:attr/buttonBarButtonStyle"
Pankaj Garg49b79252014-11-07 17:33:41 -080084 />
85 </LinearLayout>
86
87</LinearLayout>