【发布时间】:2020-09-06 19:16:40
【问题描述】:
如何使背景沿视图或布局滚动?
这是我的布局
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/body_information">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="60dp"
android:paddingEnd="60dp">
</LinearLayout>
【问题讨论】:
标签: java android xml layout scrollview