aspose file tools*
The moose likes Android and the fly likes Layout issue-footer image to the bottom of screen (Landscape & portrai) irrespective of body content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Layout issue-footer image to the bottom of screen (Landscape & portrai) irrespective of body content" Watch "Layout issue-footer image to the bottom of screen (Landscape & portrai) irrespective of body content" New topic
Author

Layout issue-footer image to the bottom of screen (Landscape & portrai) irrespective of body content

sakshi puneeth
Greenhorn

Joined: Sep 14, 2010
Posts: 2
Hi ..

i am developing an application with multiple activities . I implemented scroll-View to support for both landscape and patriot modes . One activity is having more content in the body to fill the screen in portrait mode and other don't have.

i want solution for two cases

1. I want my layout justified irrespective of the constant

2. Always the footer image should be at the bottom of the screen

Attaching the layout code ... for reference


<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ScrollView01" android:background="#FFFF83" android:layout_height="fill_parent" android:fillViewport="false" android:layout_width="fill_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout00" androidrientation="vertical"
android:layout_width="fill_parent" android:background="#FFFF83"
android:layout_height="fill_parent"><ImageView android:id="@+id/ImageView01" android:layout_height="wrap_content" android:layout_width="fill_parent" android:src="@drawable/new_header_7" />

<ImageView android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:id="@+id/ImageView02" android:src="@drawable/new_facebook_7" />
<ImageView android:id="@+id/ImageView06"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:src="@drawable/new_twitter_7" />
<ImageView android:id="@+id/ImageView03"
android:layout_height="wrap_content"
android:src="@drawable/new_youtube_7" android:layout_width="fill_parent">
</ImageView>
<LinearLayout android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
style="@string/style1"
android:layout_height="fill_parent">
<TextView android:id="@+id/TextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/terms"
android:textColor="#0000FF"
android:clickable="true">
</TextView>
<TextView android:id="@+id/TextView00"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/divider">
</TextView>
<TextView android:id="@+id/TextView02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:text="@string/playgames"
android:textColor="#333A91">
</TextView>
<TextView android:id="@+id/TextView00"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/divider">
</TextView>
<TextView android:id="@+id/TextView02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:text="@string/downloads"
android:textColor="#126811">
</TextView>
<TextView android:id="@+id/TextView00"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/divider">
</TextView>
<TextView android:id="@+id/TextView02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/fullsite"
android:textColor="#66815D"
android:clickable="true">
</TextView>
</LinearLayout>
<ImageView android:id="@+id/ImageView07"
android:layout_height="wrap_content"
android:src="@drawable/home_footer_7"
android:layout_width="fill_parent">
</ImageView>
</LinearLayout>
</ScrollView>


Thanks in advance.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Layout issue-footer image to the bottom of screen (Landscape & portrai) irrespective of body content