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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:13:06+00:00 2026-05-25T17:13:06+00:00

i have a problem in xml layout for displaying next and back button besides

  • 0

i have a problem in xml layout for displaying next and back button besides the image and should be in middle of height of image.

pls see this url

http://screencast.com/t/zE47nb0rkFE

two buttons are above the image,it is left and right but not the middle height of image.
and it should be for every resolution size of screen.

my xml is

       <?xml version="1.0" encoding="utf-8"?>
  • 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-25T17:13:06+00:00Added an answer on May 25, 2026 at 5:13 pm

    you can use scrollview in code like this ::

    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
     android:layout_height="fill_parent"
    android:background="#FFFFFF">
    <ScrollView android:id="@+id/ScrollView01"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        >
    <WebView
    android:id="@+id/imv"
    android:orientation="vertical"
    android:layout_width="fill_parent"
     android:layout_height="55dip"
     />
    
     <ImageView
     android:id="@+id/imagegallery"
     android:layout_width="70sp"
      android:layout_height="70sp"
      android:layout_alignParentRight="true"
       android:layout_below="@id/imv"/>
     <ProgressBar
      android:id="@+id/Bar"
      android:layout_width="wrap_content"
      android:layout_centerInParent="true"
      android:layout_height="wrap_content"
      android:layout_above="@id/imagegallery"
      android:layout_below="@id/imv"
     />
    
     <TextView android:layout_height="wrap_content" 
      android:id="@+id/textView1" 
      android:text="Art Gallery" 
      android:textColor="#000000"
      android:layout_width="wrap_content"
    
      android:layout_below="@id/imv"
      />
      <TextView android:layout_height="wrap_content" 
      android:id="@+id/textView2" 
      android:textColor="#00C000"
      android:textSize="20dip"
      android:text=" " 
      android:layout_width="wrap_content"
      android:layout_toLeftOf="@id/imagegallery"
      android:layout_alignParentLeft="true"
      android:layout_below="@id/textView1"
      />
      <TextView android:layout_height="wrap_content" 
    android:id="@+id/textopeningnow" 
    android:text="Opening Now" 
    android:textColor="#000000"
    android:layout_width="wrap_content"
        android:layout_below="@id/textView2"
    />
     <TextView android:layout_height="wrap_content" 
    android:id="@+id/diosas" 
     android:textSize="20dip"
    android:text="Diosas/Godesses" 
    android:textColor="#00C000"
    android:layout_width="wrap_content"
        android:layout_below="@id/textopeningnow"
    />
    
        <Button 
         android:id="@+id/back" 
         android:layout_height="wrap_content"
         android:layout_width="25dip"
         android:layout_centerVertical="true"
         android:background="@drawable/leftarrow"/>
         <Button 
         android:id="@+id/next" 
         android:layout_height="wrap_content"
         android:layout_width="25dip"
         android:layout_alignParentRight="true"
         android:layout_centerVertical="true"
         android:background="@drawable/rightarrow"/>
    
    <ImageView android:id="@+id/imageLoader"
        android:layout_width="wrap_content"
        android:layout_height="200dip"
        android:layout_toLeftOf="@id/next"
        android:layout_toRightOf="@id/back"
        android:layout_below="@id/diosas" 
      />
    
        <TextView 
        android:id="@+id/artistname" 
        android:textColor="#000000"
        android:text=" " 
        android:layout_height="wrap_content" 
        android:layout_width="wrap_content"
        android:layout_below="@id/imageLoader" 
        android:layout_centerInParent="true"
        /> 
    </LinearLayout>
    </ScrollView>
         </RelativeLayout>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Simple problem: With the XML layout shown below, I have some views wrapped in
I have an xml layout which places an image at the top of the
Short Question I have a 50dip by 40dip button in my Android XML layout.
hi i have the following xml layout <Button android:id=@+id/signupButton android:layout_gravity=left android:layout_width=100sp android:layout_height=wrap_content android:layout_marginLeft =
i have this problem to find a particular xml node l have post this
I have a problem with using the SAX parser to parse a XML file.
I have one problem , I want to get some data from XML file
I have some problem with my code public IQueryable<PageItems> GetPageById(Guid Id) { var xml
i have a small problem i have xome xml with a cdata section. This
Here's my problem.I have 2 xmlfiles with identical structure, with the second xml containing

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.