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 links clickable (#114)
**1.5.4.11**
- 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.v7.app.AppCompatActivity
import android.text.Html
import android.text.method.LinkMovementMethod
import android.view.MenuItem
import android.view.View
import apps.amine.bou.readerforselfoss.api.mercury.MercuryApi
@ -117,6 +118,8 @@ class ReaderActivity : AppCompatActivity() {
if (mFloatingToolbar.isShowing) mFloatingToolbar.hide() else fab.show()
}
})
content.movementMethod = LinkMovementMethod.getInstance()
}
private fun getContentFromMercury(customTabsIntent: CustomTabsIntent, prefs: SharedPreferences) {

View File

@ -58,7 +58,6 @@
<TextView
android:id="@+id/content"
android:autoLink="web"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
@ -70,7 +69,7 @@
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/titleView" />
app:layout_constraintTop_toBottomOf="@+id/titleView"/>
<!--<org.sufficientlysecure.htmltextview.HtmlTextView
android:id="@+id/content"