Browse Source

WebView enhancements (no horizontal scrolling, no autoscroll to top on link/image click)

pull/70/head
Ezerous 4 years ago
parent
commit
825bebb696
  1. 1
      app/src/main/assets/style.css
  2. 1
      app/src/main/res/layout/activity_topic.xml
  3. 3
      app/src/main/res/layout/fragment_profile_latest_posts.xml
  4. 1
      app/src/main/res/layout/fragment_shoutbox.xml

1
app/src/main/assets/style.css

@ -107,6 +107,7 @@ body {
background: #3C3F41; background: #3C3F41;
margin: 0; margin: 0;
padding: 0; padding: 0;
word-wrap: break-word;
} }

1
app/src/main/res/layout/activity_topic.xml

@ -48,6 +48,7 @@
android:paddingTop="4dp" android:paddingTop="4dp"
android:paddingBottom="4dp" android:paddingBottom="4dp"
android:scrollbars="none" android:scrollbars="none"
android:descendantFocusability="blocksDescendants"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="gr.thmmy.mthmmy.activities.topic.TopicActivity" /> tools:context="gr.thmmy.mthmmy.activities.topic.TopicActivity" />

3
app/src/main/res/layout/fragment_profile_latest_posts.xml

@ -11,6 +11,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:padding="4dp" android:padding="4dp"
android:clipToPadding = "false" android:clipToPadding = "false"
android:scrollbars="none"> android:scrollbars="none"
android:descendantFocusability="blocksDescendants">
</androidx.recyclerview.widget.RecyclerView> </androidx.recyclerview.widget.RecyclerView>
</RelativeLayout> </RelativeLayout>

1
app/src/main/res/layout/fragment_shoutbox.xml

@ -22,6 +22,7 @@
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:descendantFocusability="blocksDescendants"
tools:listitem="@layout/fragment_shoutbox_shout_row" /> tools:listitem="@layout/fragment_shoutbox_shout_row" />
<gr.thmmy.mthmmy.views.editorview.EditorView <gr.thmmy.mthmmy.views.editorview.EditorView

Loading…
Cancel
Save