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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:05:30+00:00 2026-06-13T05:05:30+00:00

I just faced to a weired problem in Android. That is, I created my

  • 0

I just faced to a weired problem in Android. That is, I created my project in eclipse using default settings. Eclipse has applied “Android 2.3.3 (API10) as the “Build SDK” and “API8:Android 2.2 (Froyo)” as the “Minimum required SDK.

However, I asked a question here and they have asked me to use the attribute “android:layout_toRightOf” but that attribute wasn’t available!! Following were the attributes available which starts with android:layout_, they are width, height, weight, gravity, margin, marginLeft, marginTop, marginRight and marginBottom.

However, then I opened another project with “Android 2.3.3 (API10) as the “Build SDK” and the same as the “Minimum required SDK”. Now, those attributes are there!!

Why is this? Do I have to select the same API as the build sdk and minimum required sdk? Please help!

EDIT

Following code has those attributes, which didn’t appear when I am trying to use at the first time

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

<TextView 
    android:id="@+id/firstTextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/firstNumber"
    android:alignParentLeft="true"
    android:alignParentTop="true"
    />

<EditText 
    android:id="@+id/firstNumberTxt"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:toRightOf="@+id/firstTextView"
    android:marginLeft=30dp 
    />

<TextView 
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/secondNumber"
    android:alignLeft="@+id/firstTextView"
    android:below="@+id/firstTextView"
    />

<EditText 
    android:id="@+id/secondNumberTxt"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" 
    android:alignLeft="@+id/firstNumberTxt"
    android:below="@+id/firstTextView"
    />

     <RadioGroup
         android:id="@+id/radioGroup"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:orientation="horizontal"
         >

         <RadioButton 
             android:id="@+id/sum"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:text="@string/sum"
             />

         <RadioButton 
             android:id="@+id/min"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:text="@string/min"
             />

         <RadioButton 
             android:id="@+id/max"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:text="@string/max"
             />

         <RadioButton 
             android:id="@+id/dev"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:text="@string/dev"
             />
     </RadioGroup>
  • 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-13T05:05:31+00:00Added an answer on June 13, 2026 at 5:05 am

    Are you using a RelativeLayout? toRightOf is only available in that kind of layouts!

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

Sidebar

Related Questions

The problem I've just faced is what to do in the following case: func
well, i've just faced with localization problem on my projet and decided to make
I have just started using JSF 2.0 and faced a warmly welcomed issue. I
Maybe somebody had faced with such problem? I just have tried to use Video-JS
I have faced a problem when using PLY. I want to create a call
Several colleagues and I are faced with an architectural decision that has serious performance
i just faced a very strange problem today. My Application Structure is: /app -
I just faced,that in order to use specific annotations for Spring Security, I should
Just when I was thinking that I had Linq To Xml sussed I'm faced
Probably a too special question, but just in case someone has faced a similar

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.