yDelouis / selfoss-android

Android application for Selfoss
MIT License
41 stars 9 forks source link

Enable showing image title/hover text on long press #16

Closed caksoylar closed 10 years ago

caksoylar commented 10 years ago

Listens for long click in webview, if it is on an image, gets its url, looks for the title tag before or after the url and shows an alert dialog if found.

Searches for title text before/after the image url using two separate patterns, since I couldn't figure out how to handle if a group regex match (in parentheses in the pattern string) is equal to null or not.

Conflicts: app/src/main/java/fr/ydelouis/selfoss/fragment/ArticleFragment.java

yDelouis commented 10 years ago

I made some very small changes. Thanks for your contribution. It will be in the next release.

caksoylar commented 10 years ago

Glad to be able to help.