Browse Source

WebView minor fix

pull/70/head
Ezerous 4 years ago
parent
commit
c41250b12b
  1. 4
      app/build.gradle
  2. 5
      app/src/main/res/layout-v21/activity_topic_post_row.xml
  3. 1
      app/src/main/res/layout/activity_topic.xml
  4. 5
      app/src/main/res/layout/activity_topic_post_row.xml
  5. 3
      app/src/main/res/layout/fragment_profile_latest_posts.xml
  6. 3
      app/src/main/res/layout/fragment_profile_latest_posts_row.xml
  7. 1
      app/src/main/res/layout/fragment_shoutbox.xml
  8. 3
      app/src/main/res/layout/fragment_shoutbox_shout_row.xml

4
app/build.gradle

@ -15,8 +15,8 @@ android {
applicationId "gr.thmmy.mthmmy"
minSdkVersion 19
targetSdkVersion 29
versionCode 27
versionName "1.8.4"
versionCode 28
versionName "1.8.5"
archivesBaseName = "mTHMMY-v$versionName"
buildConfigField "String", "CURRENT_BRANCH", "\"" + getCurrentBranch() + "\""
buildConfigField "String", "COMMIT_HASH", "\"" + getCommitHash() + "\""

5
app/src/main/res/layout-v21/activity_topic_post_row.xml

@ -223,7 +223,8 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="16dp">
android:layout_marginBottom="16dp"
android:descendantFocusability="blocksDescendants">
<gr.thmmy.mthmmy.views.ReactiveWebView
android:id="@+id/post"
@ -233,8 +234,6 @@
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:background="@color/background_light"
android:clickable="true"
android:focusable="true"
android:text="@string/post" />
</FrameLayout>

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

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

5
app/src/main/res/layout/activity_topic_post_row.xml

@ -223,7 +223,8 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="16dp">
android:layout_marginBottom="16dp"
android:descendantFocusability="blocksDescendants">
<gr.thmmy.mthmmy.views.ReactiveWebView
android:id="@+id/post"
@ -233,8 +234,6 @@
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:background="@color/background_light"
android:clickable="true"
android:focusable="true"
android:text="@string/post" />
</FrameLayout>

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

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

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

@ -68,7 +68,8 @@
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:paddingTop="6dp"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
android:descendantFocusability="blocksDescendants">
<gr.thmmy.mthmmy.views.ReactiveWebView
android:id="@+id/post"

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

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

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

@ -12,7 +12,8 @@
card_view:cardCornerRadius="5dp"
card_view:cardElevation="2dp"
card_view:cardPreventCornerOverlap="false"
card_view:cardUseCompatPadding="true">
card_view:cardUseCompatPadding="true"
android:descendantFocusability="blocksDescendants">
<LinearLayout
android:layout_width="match_parent"

Loading…
Cancel
Save