diff options
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/BookmarkItem.java | 10 | ||||
-rw-r--r-- | src/com/android/browser/BrowserHistoryPage.java | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/com/android/browser/BookmarkItem.java b/src/com/android/browser/BookmarkItem.java index 4e60073..8247c91 100644 --- a/src/com/android/browser/BookmarkItem.java +++ b/src/com/android/browser/BookmarkItem.java @@ -63,6 +63,16 @@ class BookmarkItem extends LinearLayout { item.mImageView.setImageDrawable(mImageView.getDrawable()); } + public void startMarquee() { + mTextView.setSelected(true); + mUrlText.setSelected(true); + } + + public void stopMarquee() { + mTextView.setSelected(false); + mUrlText.setSelected(false); + } + /** * Return the name assigned to this bookmark item. */ diff --git a/src/com/android/browser/BrowserHistoryPage.java b/src/com/android/browser/BrowserHistoryPage.java index 50bed36..264c465 100644 --- a/src/com/android/browser/BrowserHistoryPage.java +++ b/src/com/android/browser/BrowserHistoryPage.java @@ -674,6 +674,7 @@ public class BrowserHistoryPage extends Fragment item.getPaddingRight(), item.getPaddingBottom()); item.setFaviconBackground(mFaviconBackground); + item.startMarquee(); } else { item = (HistoryItem) convertView; } |