- I can't get the button to the bottom of the layout
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/ScrollView01"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:fillViewport="true"
- android:layout_gravity="center"
- >
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- >
- <ImageView
- android:id="@+id/imageView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_marginLeft="28dp"
- android:layout_marginTop="32dp" />
- <TextView
- android:id="@+id/txtAppName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/imageView1"
- android:layout_marginLeft="22dp"
- android:layout_toRightOf="@+id/imageView1"
- android:text=""
- android:textSize="36px"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/txtAppAuthor"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/txtAppName"
- android:layout_below="@+id/txtAppName"
- android:layout_marginTop="5px"
- android:text=""
- android:textSize="24px"
- android:textStyle="normal" />
- <TextView
- android:id="@+id/txtAppDesc"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/imageView1"
- android:layout_below="@+id/imageView1"
- android:layout_marginTop="20dp"
- android:maxHeight="350px"
- android:text=""
- android:width="600px"
- android:maxLines="10"
- android:scrollbars = "vertical"
- />
- <ImageView
- android:id="@+id/imageView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/txtAppDesc"
- android:layout_below="@+id/txtAppDesc"
- android:layout_marginTop="30dp" />
- <ImageView
- android:id="@+id/imageView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/imageView2"
- android:layout_toRightOf="@+id/imageView2" />
- <ImageView
- android:id="@+id/imageView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/imageView3"
- android:layout_toRightOf="@+id/imageView3"
- android:visibility="visible" />
- <Button
- android:id="@+id/btnInstall"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:layout_alignBottom="@+id/imageview4"
- android:text="Download & Install" />
- </RelativeLayout>
- </ScrollView>
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/ScrollView01"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:fillViewport="true"
- android:layout_gravity="center"
- >
- <LinearLayout android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- >
- <ImageView
- android:id="@+id/imageView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_marginLeft="28dp"
- android:layout_marginTop="32dp"/>
- <TextView
- android:id="@+id/txtAppName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/imageView1"
- android:layout_marginLeft="22dp"
- android:layout_toRightOf="@+id/imageView1"
- android:text=""
- android:textSize="36px"
- android:textStyle="bold"/>
- <TextView
- android:id="@+id/txtAppAuthor"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/txtAppName"
- android:layout_below="@+id/txtAppName"
- android:layout_marginTop="5px"
- android:text=""
- android:textSize="24px"
- android:textStyle="normal"/>
- <TextView
- android:id="@+id/txtAppDesc"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/imageView1"
- android:layout_below="@+id/imageView1"
- android:layout_marginTop="20dp"
- android:maxHeight="350px"
- android:text=""
- android:width="600px"
- android:maxLines="10"
- android:scrollbars="vertical"
- />
- <ImageView
- android:id="@+id/imageView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/txtAppDesc"
- android:layout_below="@+id/txtAppDesc"
- android:layout_marginTop="30dp"/>
- <ImageView
- android:id="@+id/imageView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/imageView2"
- android:layout_toRightOf="@+id/imageView2"/>
- <ImageView
- android:id="@+id/imageView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/imageView3"
- android:layout_toRightOf="@+id/imageView3"
- android:visibility="visible"/>
- </RelativeLayout>
- <Button
- android:id="@+id/btnInstall"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="Download & Install"/>
- </LinearLayout>
- </ScrollView>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/ScrollView01"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:fillViewport="true" >
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center" >
- <ImageView
- android:id="@+id/imageView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_marginLeft="28dp"
- android:layout_marginTop="32dp" />
- <TextView
- android:id="@+id/txtAppName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/imageView1"
- android:layout_marginLeft="22dp"
- android:layout_toRightOf="@+id/imageView1"
- android:text=""
- android:textSize="36px"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/txtAppAuthor"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/txtAppName"
- android:layout_below="@+id/txtAppName"
- android:layout_marginTop="5px"
- android:text=""
- android:textSize="24px"
- android:textStyle="normal" />
- <TextView
- android:id="@+id/txtAppDesc"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/imageView1"
- android:layout_below="@+id/imageView1"
- android:layout_marginTop="20dp"
- android:maxHeight="350px"
- android:maxLines="10"
- android:scrollbars="vertical"
- android:text=""
- android:width="600px" />
- <HorizontalScrollView
- android:id="@+id/images"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/txtAppDesc"
- android:layout_marginTop="30dp" >
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/imageView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <ImageView
- android:id="@+id/imageView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <ImageView
- android:id="@+id/imageView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- </HorizontalScrollView>
- <Button
- android:id="@+id/btnInstall"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/images"
- android:layout_centerHorizontal="true"
- android:text="Download & Install" />
- </RelativeLayout>
- </ScrollView>