diff options
author | Leon Scroggins <scroggo@google.com> | 2009-09-24 16:06:02 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-09-25 12:02:32 -0400 |
commit | f85516172840450a4d1270b658905dc1649ceaf2 (patch) | |
tree | 57cd9a39e277cfed92c2765658047c616a202487 /src/com/android/browser/BrowserBookmarksAdapter.java | |
parent | aac7aa6fcfcb519755987ec126be066323f589c8 (diff) | |
download | packages_apps_Browser-f85516172840450a4d1270b658905dc1649ceaf2.zip packages_apps_Browser-f85516172840450a4d1270b658905dc1649ceaf2.tar.gz packages_apps_Browser-f85516172840450a4d1270b658905dc1649ceaf2.tar.bz2 |
Fix layout issues on the bookmarks screen.
Limit the title of a bookmark to stop at the right edge of screenshot.
Use the new default screenshots for bookmarks without screenshots.
Resize the bookmark screenshot to match the size of the default icon.
Fixes http://b/issue?id=2042025 and http://b/issue?id=2098770
Change-Id: I66a10671ea98007cfe5bf7502fb1e3619276ca22
Diffstat (limited to 'src/com/android/browser/BrowserBookmarksAdapter.java')
-rw-r--r-- | src/com/android/browser/BrowserBookmarksAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/BrowserBookmarksAdapter.java b/src/com/android/browser/BrowserBookmarksAdapter.java index bbecab9..8b0fb41 100644 --- a/src/com/android/browser/BrowserBookmarksAdapter.java +++ b/src/com/android/browser/BrowserBookmarksAdapter.java @@ -429,7 +429,7 @@ class BrowserBookmarksAdapter extends BaseAdapter { thumb.setImageBitmap(mCurrentThumbnail); } else { thumb.setImageResource( - R.drawable.ic_launcher_shortcut_browser_bookmark); + R.drawable.browser_thumbnail); } return convertView; } @@ -439,7 +439,7 @@ class BrowserBookmarksAdapter extends BaseAdapter { Browser.HISTORY_PROJECTION_TITLE_INDEX)); Bitmap thumbnail = getBitmap(Browser.HISTORY_PROJECTION_THUMBNAIL_INDEX, position); if (thumbnail == null) { - thumb.setImageResource(R.drawable.ic_launcher_shortcut_browser_bookmark); + thumb.setImageResource(R.drawable.browser_thumbnail); } else { thumb.setImageBitmap(thumbnail); } |