Toggle navigation
Toggle navigation
This project
Loading...
Sign in
장연우
/
WELLO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
soonmyeong2
2019-11-10 01:10:14 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
92ae639ef9e24940852fc42e68ca00d6fd7f85f5
92ae639e
1 parent
da69bebb
make detail view scroll
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
vip/app/src/main/java/com/example/vip/DetailActivity.kt
vip/app/src/main/res/layout/activity_detail.xml
vip/app/src/main/java/com/example/vip/DetailActivity.kt
View file @
92ae639
...
...
@@ -31,6 +31,7 @@ import androidx.core.app.ComponentActivity.ExtraData
import
androidx.core.content.ContextCompat.getSystemService
import
android.icu.lang.UCharacter.GraphemeClusterBreak.T
import
android.net.Uri
import
android.view.MotionEvent
data class
MemoItemDetail
(
...
...
@@ -80,6 +81,9 @@ class DetailActivity : AppCompatActivity() {
val
summary
:
String
=
memo
!!
.
Content
web
.
loadData
(
summary
,
"text/html"
,
"UTF-8"
)
val
mOnNavigationItemSelectedListener
=
BottomNavigationView
.
OnNavigationItemSelectedListener
{
item
->
when
(
item
.
itemId
){
...
...
vip/app/src/main/res/layout/activity_detail.xml
View file @
92ae639
...
...
@@ -90,8 +90,7 @@
<WebView
android:id=
"@+id/policy_context"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
/>
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</LinearLayout>
</ScrollView>
...
...
Please
register
or
login
to post a comment