diff options
author | Leon Scroggins <scroggo@google.com> | 2009-07-14 14:48:02 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-07-14 14:48:02 -0400 |
commit | 892df31fda83baeeee2d0620b622b4730c30ee87 (patch) | |
tree | f72177e1ae59156c798eb931e13574c5cd068edc /res/values-zh-rTW | |
parent | b0e4fc7b8efc66b20cf83a8d5f8dc9110d67da4f (diff) | |
download | packages_apps_Browser-892df31fda83baeeee2d0620b622b4730c30ee87.zip packages_apps_Browser-892df31fda83baeeee2d0620b622b4730c30ee87.tar.gz packages_apps_Browser-892df31fda83baeeee2d0620b622b4730c30ee87.tar.bz2 |
Integrate bookmark grid view mode with list view mode.
This way the two different modes can share code and have
all the same behaviors (i.e. context menu options).
AndroidManifest.xml
Remove BookmarkGridPage, which is no longer an Activity.
bookmarks.xml
Add a menu option to switch between the different viewing modes.
strings.xml
Name for that menu option.
AddNewBookmark.java
Remove copyTo, which is not necessary.
BookmarkGridPage.java
Change to just be a GridView, with our desired settings, and
overriding onSizeChanged to size the thumbs appropriately. Now its
constructor takes a BrowserBookmarksAdapter, which it uses instead
of its old private Adapter.
BrowserBookmarksAdapter.java
Now has two modes, so it can be used for both the bookmarks grid
and the list view. Removed a bunch of obsolete code, which was
used for searching/sorting the bookmarks.
BrowserBookmarksPage.java
Now switches back and forth between using a GridView and a ListView.
Diffstat (limited to 'res/values-zh-rTW')
0 files changed, 0 insertions, 0 deletions