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 538007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:59:12+00:00 2026-05-13T09:59:12+00:00

The last image button is not being rendered (in fact I see an error

  • 0

The last image button is not being rendered (in fact I see an error which quickly disappears to show the rest of my view minus the last imagebutton.

My activity layout looks like this:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent">
     <ScrollView android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#FFFFFF">
      <TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="top" android:stretchColumns="1, 2">
       <TableRow>
           <ImageButton android:background="#ffffff" android:src="@drawable/gettingstarted_cover" android:paddingTop="10px" android:paddingLeft="8px" android:paddingBottom="10px" android:layout_gravity="center_vertical|left"/>
           <TextView android:text="@string/book_title1" android:textColor="#000000" android:paddingTop="10px" android:paddingLeft="8px" android:layout_gravity="center_vertical|center_horizontal"/>
           <ImageButton android:src="@drawable/icon_i_page" android:background="#ffffff" android:layout_gravity="center_vertical|right" android:paddingRight="8px"/>
          </TableRow>
          <View android:layout_height="1px" android:background="#CCCCCC" />
          <TableRow>
           <ImageButton android:background="#ffffff" android:src="@drawable/underthedome_cover" android:paddingTop="10px" android:paddingLeft="8px" android:paddingBottom="10px" android:layout_gravity="center_vertical|left" />
           <TextView android:text="@string/book_title2" android:textColor="#000000" android:paddingTop="10px" android:paddingLeft="8px" android:layout_gravity="center_vertical|center_horizontal" />
           <ImageButton android:src="@drawable/icon_i_page" android:background="#ffffff" android:layout_gravity="center_vertical|right" android:paddingRight="8px"/>
          </TableRow>
          <View android:layout_height="1px" android:background="#CCCCCC" />
         </TableLayout>
     </ScrollView>
     <ImageButton android:src="@drawable/free" android:background="#ffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingTop="10px"/>
    </LinearLayout>

Tried to debug this in Eclipse but didn’t find the cause.

  • 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-13T09:59:12+00:00Added an answer on May 13, 2026 at 9:59 am

    Change you LinearLayout to Relative , android:layout_alignParentTop=”true” on your image view.
    if srcollvew will be covered by imageview , move it after (just in case you’re in 1.5) image view, and set android:layout_below=”@id/myimagevieid”
    id on the view has to be set as well by android:id=”@+id/myimagevieid”

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

Sidebar

Related Questions

So I'm trying this: inner.children('.image:not(dont):last-child').width(); What is the correct way to combine not(classname) and
Thats my code so far which does not work: <DockPanel > <Button Content=Start Command={Binding
I have an image gallery which works great. When the last slide is reached
I need to add an image/icon to the last column in the row. And
How do i add an image on the last page of existing PDF document.
I've been working the last couple of weeks on a image downloader from the
I am trying to append an image after the last input field in a
Here's what I have so far, which allows the user to click an image
I am trying to make a Xml Image Menu that on button click goes
I want to change the form's back ground image when I click the button.

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.