diff options
author | John Reck <jreck@google.com> | 2010-12-01 10:10:14 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-12-03 12:51:29 -0800 |
commit | 89f73c1146f474641881e3e20c77cfbfc18fa313 (patch) | |
tree | 6e5f3a932358d64c58bd065683a3f6ecc5cb2b31 /src/com/android/browser/ShortcutActivity.java | |
parent | c2f83b3d2c9c2e086b17ffecd8fbeb031ff04f06 (diff) | |
download | packages_apps_Browser-89f73c1146f474641881e3e20c77cfbfc18fa313.zip packages_apps_Browser-89f73c1146f474641881e3e20c77cfbfc18fa313.tar.gz packages_apps_Browser-89f73c1146f474641881e3e20c77cfbfc18fa313.tar.bz2 |
Bookmarks page UI updates
Bug: 3248628
Updates the bookmark page UI based off of the newest UI design
document.
Change-Id: I26447b7e1c38798b3c229c9d8c10af2565458a7b
Diffstat (limited to 'src/com/android/browser/ShortcutActivity.java')
-rw-r--r-- | src/com/android/browser/ShortcutActivity.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/android/browser/ShortcutActivity.java b/src/com/android/browser/ShortcutActivity.java index 57cb4a7..786c6e1 100644 --- a/src/com/android/browser/ShortcutActivity.java +++ b/src/com/android/browser/ShortcutActivity.java @@ -19,6 +19,7 @@ package com.android.browser; import android.app.Activity; import android.content.Intent; import android.database.Cursor; +import android.net.Uri; import android.os.Bundle; public class ShortcutActivity extends Activity @@ -33,7 +34,8 @@ public class ShortcutActivity extends Activity setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL); mBookmarks = BrowserBookmarksPage.newInstance(this, null, null); mBookmarks.setEnableContextMenu(false); - mBookmarks.setShowRootFolder(true); + mBookmarks.setBreadCrumbMaxVisible(2); + mBookmarks.setBreadCrumbUseBackButton(true); getFragmentManager() .openTransaction() .add(android.R.id.content, mBookmarks) @@ -64,4 +66,8 @@ public class ShortcutActivity extends Activity super.onBackPressed(); } } + + @Override + public void onFolderChanged(int level, Uri uri) { + } } |