Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6630341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:23:22+00:00 2026-05-25T22:23:22+00:00

This is my code: <?xml version=1.0 encoding=utf-8?> <LinearLayout android:id=@+id/LinearLayout01 android:background=@drawable/game_background android:weightSum=100 android:layout_width=fill_parent android:layout_height=fill_parent xmlns:android=http://schemas.android.com/apk/res/android>

  • 0

This is my code:

    <?xml version="1.0" encoding="utf-8"?>

<LinearLayout android:id="@+id/LinearLayout01"
android:background="@drawable/game_background"
android:weightSum="100"
    android:layout_width="fill_parent" android:layout_height="fill_parent"
    xmlns:android="http://schemas.android.com/apk/res/android">

    <ScrollView android:id="@+id/ScrollView01" android:layout_weight="70"
        android:layout_width="fill_parent" android:layout_height="228dp">
        <LinearLayout android:layout_width="wrap_content"
            android:layout_height="30px" android:id="@+id/LinearLayout02"
            android:orientation="vertical">
            <TextView android:layout_height="wrap_content" android:text="Version 0.0.0.1"
                android:textAppearance="?android:attr/textAppearanceLarge"
                android:layout_width="wrap_content" android:textColor="#000000"></TextView>


            <TextView
                android:text="Thanks for trying out the very first version of this program!\n\n"
                android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#000000"></TextView>


            <ImageButton android:id="@+id/imageButton1"
                android:layout_height="wrap_content" android:layout_width="wrap_content"
                android:src="@drawable/prefs_exit" android:onClick="exit_button"
                android:background="#00000000"></ImageButton>


        </LinearLayout>
    </ScrollView>


    <LinearLayout android:layout_width="fill_parent" android:layout_weight="30"
            android:layout_height="fill_parent" android:id="@+id/LinearLayout02"
            android:orientation="vertical">
            <ImageButton android:id="@+id/imageButton1"
                android:layout_height="wrap_content" android:layout_width="wrap_content"
                android:src="@drawable/prefs_exit" android:onClick="exit_button"
                android:background="#00000000"></ImageButton>


        </LinearLayout>
</LinearLayout>

The problem is the image button in the second linearLayout comes on the right side of the screen instead of at the bottom 🙁

How do I fix this?

And finally, I want to put a graphic (a logo) on the total bottom, right corner side.

Note, I am a newbie and still very much learning this… just got lost via the examples.

Thanks!
Ryan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:23:23+00:00Added an answer on May 25, 2026 at 10:23 pm

    try adding android:orientation="vertical" to the first LinearLayout

    UPDATE

    as for logo to the right, try android:gravity="right" in your second LinearLayout

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So my main.xml looks like this: <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical
I have this XML: <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android xmlns:ads=http://schemas.android.com/apk/lib/com.google.ads android:id=@+id/LinearLayout1 android:layout_width=fill_parent android:layout_height=fill_parent android:background=@drawable/fondoverde3
I have an XML layout like this: <?xml version=1.0 encoding=utf-8?> <RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android android:orientation=vertical android:layout_width=match_parent
I've this code in my build.xml: <exec executable=cmd osfamily=winnt> <arg value=/c/> <arg value=xsltproc\bin\xsltproc.exe/> <arg
This code:: xslProcessor = new XSLTProcessor(); xslProcessor.importStylesheet(xsl); result = xslProcessor.transformToFragment(xml, document); works fine in
I have this code: ... request data = new request(); data.username = formNick; xml
Imagine this as the code from build.xml: <project name=test project> <target name=first> <echo>first</echo> </target>
I have some XML code that looks like this <SEARCHRESULTS> <FUNCTION name=BarGraph> <PARAMETER name=numList></PARAMETER>
I am a total beginner in JS/XML. I have this simple code that needs
When using XML serialization in C#, I use code like this: public MyObject LoadData()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.