summaryrefslogtreecommitdiffstats
path: root/res/layout/bookmarks.xml
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2010-08-05 14:29:28 -0500
committerJeff Hamilton <jham@android.com>2010-08-16 11:07:27 -0500
commit8402962ef58546d3cfd48fbb211b5e36df0f118e (patch)
tree2d8a10b9426760ea11e4f0288850a41eadcb931b /res/layout/bookmarks.xml
parented217745066c160f785626e9a15ebe70af5e25e4 (diff)
downloadandroid_packages_apps_Gello-8402962ef58546d3cfd48fbb211b5e36df0f118e.tar.gz
android_packages_apps_Gello-8402962ef58546d3cfd48fbb211b5e36df0f118e.tar.bz2
android_packages_apps_Gello-8402962ef58546d3cfd48fbb211b5e36df0f118e.zip
First revision of the new browser provider.
This one has support for bookmarks sync, has the bookmarks and history in separate tables, and supports hierarchical bookmarks. Compatibility with the old APIs is not yet complete. The Bookmarks UI has been switched over to the new provider. Creating bookmarks puts them in the UIs root folder. Change-Id: Ib21713ddd19f43d178d49dbac977f749e7103368
Diffstat (limited to 'res/layout/bookmarks.xml')
-rw-r--r--res/layout/bookmarks.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/res/layout/bookmarks.xml b/res/layout/bookmarks.xml
new file mode 100644
index 00000000..e3e4a9d9
--- /dev/null
+++ b/res/layout/bookmarks.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+>
+
+ <LinearLayout android:id="@android:id/content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ >
+ <Button android:id="@+id/up"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/defaultBookmarksUpButton"
+ />
+
+ <GridView android:id="@+id/grid"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+
+ android:horizontalSpacing="8dip"
+ android:verticalSpacing="14dip"
+ android:stretchMode="spacingWidth"
+ android:scrollbarStyle="insideInset"
+ android:listSelector="@android:drawable/gallery_thumb"
+ android:drawSelectorOnTop="true"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:numColumns="auto_fit"
+ />
+ </LinearLayout>
+
+ <TextView android:id="@android:id/empty"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:text="@string/empty_history"
+ android:visibility="gone"
+ />
+
+</FrameLayout> \ No newline at end of file