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" /> |
| 44 | </FrameLayout> |
| 45 | <LinearLayout |
| 46 | android:layout_width="match_parent" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 47 | android:layout_height="wrap_content" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 48 | 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> |