Android:給對話方塊AlertDialog新增垂直滾動條
阿新 • • 發佈:2019-02-14
-
<?xml version="1.0" encoding="utf-8"?>
-
<ScrollView
-
android:layout_width="fill_parent"
-
android:layout_height="fill_parent"
-
xmlns:android="http://schemas.android.com/apk/res/android">
-
<LinearLayout
-
android:orientation="vertical"
-
android:layout_width="fill_parent"
-
android:layout_height="fill_parent"
-
>
-
<TextView android:id="@+id/updatetv"
-
android:layout_width="fill_parent"
-
android:layout_height="wrap_content"
-
android:layout_marginLeft="10dip"
-
android:textSize="20sp"
-
/>
-
</LinearLayout>
- </ScrollView>