۱۳۹۴/۰۵/۱۳, ۰۶:۰۱ ب.ظ
با سلام این کد قسمت لیست ویوی من هستش
بعدش لیست ویو فقط یک آیتمش نشون داده میشه و به صورت اسکرول باید بقیش رو دید و باتون هم میاد زیر لیست ویو قرار میگیره چه طور می تونم کل لیست ویو رو نشون بدم >؟؟؟
کد پیاچپی:
<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="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity"
android:orientation="vertical"
>
<TableLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<ListView
android:id="@+id/list"
style="@style/AppBaseTheme"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="fill"
android:divider="#CCCCCC"
android:dividerHeight="6dp" >
</ListView>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Button" />
</TableRow>
</TableLayout>
</ScrollView>