Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 1 | <?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 Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 16 | <LinearLayout |
Michael Kolb | 370a4f3 | 2010-10-06 10:45:32 -0700 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 18 | android:layout_width="match_parent" |
John Reck | 608baa7 | 2010-11-24 10:32:28 -0800 | [diff] [blame] | 19 | android:layout_height="match_parent" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 20 | android:orientation="vertical" |
| 21 | > |
| 22 | |
| 23 | <FrameLayout |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 24 | android:layout_width="match_parent" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 25 | 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 Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 44 | |
| 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 Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 57 | </FrameLayout> |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 58 | |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 59 | <LinearLayout |
| 60 | android:layout_width="match_parent" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 61 | android:layout_height="wrap_content" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 62 | android:orientation="horizontal" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 63 | android:layout_weight="10" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 64 | android:background="@color/primary" |
| 65 | style="?android:attr/buttonBarStyle" > |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 66 | |
| 67 | <Button |
| 68 | android:id="@+id/add_bookmark_button" |
| 69 | android:text="@string/add_new_bookmark" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 70 | android:layout_width="0dip" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 71 | android:layout_height="wrap_content" |
| 72 | android:layout_weight="1" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 73 | style="?android:attr/buttonBarButtonStyle" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 74 | /> |
| 75 | <Button |
| 76 | android:id="@+id/new_bmfolder_button" |
| 77 | android:text="@string/new_folder" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 78 | android:layout_width="0dip" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 79 | android:layout_height="wrap_content" |
| 80 | android:layout_weight="1" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 81 | style="?android:attr/buttonBarButtonStyle" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 82 | /> |
| 83 | </LinearLayout> |
| 84 | |
| 85 | </LinearLayout> |