Showing
2 changed files
with
5 additions
and
2 deletions
| ... | @@ -31,6 +31,7 @@ import androidx.core.app.ComponentActivity.ExtraData | ... | @@ -31,6 +31,7 @@ import androidx.core.app.ComponentActivity.ExtraData |
| 31 | import androidx.core.content.ContextCompat.getSystemService | 31 | import androidx.core.content.ContextCompat.getSystemService |
| 32 | import android.icu.lang.UCharacter.GraphemeClusterBreak.T | 32 | import android.icu.lang.UCharacter.GraphemeClusterBreak.T |
| 33 | import android.net.Uri | 33 | import android.net.Uri |
| 34 | +import android.view.MotionEvent | ||
| 34 | 35 | ||
| 35 | 36 | ||
| 36 | data class MemoItemDetail( | 37 | data class MemoItemDetail( |
| ... | @@ -80,6 +81,9 @@ class DetailActivity : AppCompatActivity() { | ... | @@ -80,6 +81,9 @@ class DetailActivity : AppCompatActivity() { |
| 80 | val summary : String = memo!!.Content | 81 | val summary : String = memo!!.Content |
| 81 | web.loadData(summary, "text/html", "UTF-8") | 82 | web.loadData(summary, "text/html", "UTF-8") |
| 82 | 83 | ||
| 84 | + | ||
| 85 | + | ||
| 86 | + | ||
| 83 | val mOnNavigationItemSelectedListener=BottomNavigationView.OnNavigationItemSelectedListener{item-> | 87 | val mOnNavigationItemSelectedListener=BottomNavigationView.OnNavigationItemSelectedListener{item-> |
| 84 | when (item.itemId){ | 88 | when (item.itemId){ |
| 85 | 89 | ... | ... |
| ... | @@ -90,8 +90,7 @@ | ... | @@ -90,8 +90,7 @@ |
| 90 | <WebView | 90 | <WebView |
| 91 | android:id="@+id/policy_context" | 91 | android:id="@+id/policy_context" |
| 92 | android:layout_width="match_parent" | 92 | android:layout_width="match_parent" |
| 93 | - android:layout_height="wrap_content" | 93 | + android:layout_height="wrap_content" /> |
| 94 | - android:layout_weight="1" /> | ||
| 95 | </LinearLayout> | 94 | </LinearLayout> |
| 96 | </LinearLayout> | 95 | </LinearLayout> |
| 97 | </ScrollView> | 96 | </ScrollView> | ... | ... |
-
Please register or login to post a comment