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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:58:25+00:00 2026-06-15T05:58:25+00:00

I am making an application in which i have to use two images in

  • 0

I am making an application in which i have to use two images in one XML file. ( one is for logo and another is some login pattern) . On the pattern image, I have to set two EditText. How can i do this???

     <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:orientation="vertical" >
<ImageView
.
.
.
.
./>

          <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:background="@drawable/some image" 
            android:layout_marginLeft="200dp"
            android:layout_marginBottom="300dp"
            android:layout_marginTop="80dp">  

           <LinearLayout 
            android:layout_height="fill_parent"
            android:layout_width="fill_parent" 
            android:layout_weight="1"
            android:gravity="center" 
            android:orientation="vertical">
            <EditText 
             android:layout_width="wrap_content"
            android:layout_height="wrap_content" 
                           />
        </LinearLayout>
    </RelativeLayout>
    </relativeLayout>
  • 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-06-15T05:58:26+00:00Added an answer on June 15, 2026 at 5:58 am

    If I am understanding this correctly, you essentially want to have a background with two EditTexts in the foreground.

    The best way to do this is via a relative layout. Something like this would work (Note, this is pseudo-code, so it won’t work directly)

    <RelativeLayout>
    
        <ImageView
            android:height="fill_parent"
            android:src="@drawable/some_image"
            android:width="fill_parent" />
    
        <EditText
            android:id="@+id/edit_text1"
            android:layout_alignParentBottom="true" />
    
        <EditText
            android:id="@+id/edit_text2 "
            android:layout_above="@id/edit_text1" />
    
    </RelativeLayout>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently making an application in which I have two threads running, and
I am making an application which will have an interface similar to Photoshop: multiple
I am thinking of making an (initially) small Web Application, which would eventually have
I am making an application which makes use of context menus and has selection.
I'm making an application which uses MANY images. The application gets the images from
I am new to the use of smack library and making one chatting application.
I'm making a web application for a class which contains a jsp file that
I have a grails 1.3.7 application. I am making use of Spring's JMS classses
I am making an application which allows us to send sms to our contacts
I am making an application which has j2me in client side and dotnet on

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.