This commit is contained in:
Amine 2017-11-14 19:22:43 +01:00
parent 37b2c5c2df
commit abcd500045
3 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,8 @@
- Fixed fab and toolbar issue (#113) - Fixed fab and toolbar issue (#113)
- Fixed links clickable (#114)
**1.5.4.11** **1.5.4.11**
- Hiding FABs on scroll. - Hiding FABs on scroll.

View File

@ -8,6 +8,7 @@ import android.support.design.widget.FloatingActionButton
import android.support.v4.widget.NestedScrollView import android.support.v4.widget.NestedScrollView
import android.support.v7.app.AppCompatActivity import android.support.v7.app.AppCompatActivity
import android.text.Html import android.text.Html
import android.text.method.LinkMovementMethod
import android.view.MenuItem import android.view.MenuItem
import android.view.View import android.view.View
import apps.amine.bou.readerforselfoss.api.mercury.MercuryApi import apps.amine.bou.readerforselfoss.api.mercury.MercuryApi
@ -117,6 +118,8 @@ class ReaderActivity : AppCompatActivity() {
if (mFloatingToolbar.isShowing) mFloatingToolbar.hide() else fab.show() if (mFloatingToolbar.isShowing) mFloatingToolbar.hide() else fab.show()
} }
}) })
content.movementMethod = LinkMovementMethod.getInstance()
} }
private fun getContentFromMercury(customTabsIntent: CustomTabsIntent, prefs: SharedPreferences) { private fun getContentFromMercury(customTabsIntent: CustomTabsIntent, prefs: SharedPreferences) {

View File

@ -58,7 +58,6 @@
<TextView <TextView
android:id="@+id/content" android:id="@+id/content"
android:autoLink="web"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"