How to scroll LinearLayout

I LinearLayout
What I thought more people automatically get a scroll bar component
I’m not such a thing (sweat)

Firmly protruding lower, I felt invisible.

android: scrollbars
I tried but not successful because some attributes like that.

Then “ScrollView” that there is
“This is Ikujan 使Ttara well!”
I try it with an error.

Apparently the ScrollView
Seems to have only one child component.

In, say Yokudoushitaraiikato Kekki
I get this resolved.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content">
    <ScrollView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
    >
        <LinearLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:orientation="vertical"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
        >
 
	ここにコンポーネントを記述。
	TextViewやらImageViewやらButtonやら。
 
        </LinearLayout>
    </ScrollView>
</LinearLayout>

Scroll ScrollView for’ll put one in LinearLayout.

Set LinearLayout the components as you like in the.

Well, something a little troublesome.

Simply, LinearLayout the scroll bars ON / OFF I hope you will put in the property.

Androidアプリ講座オープン
副業大学にAndroidアプリ作成講座がオープン。
アフィリエイトやドロップシッピングも学べるお得な大学。

innc.japan-power.biz
カテゴリー: Android アプリ 関連 情報   パーマリンク