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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:14:45+00:00 2026-05-24T06:14:45+00:00

Its a challenge for all.. How we can put buttons in relative or linear

  • 0

Its a challenge for all..
How we can put buttons in relative or linear layout or any other layout in a circle same as in this image. We can do it using xml or using code. Please help.

Thanks in advance

  • 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-24T06:14:47+00:00Added an answer on May 24, 2026 at 6:14 am

    This method is the layout equivalent of plotting arbitrary X and Y coordinates.

    Features:

    • The child objects are automatically centered in the RelativeLayout whether you use it as the top-level layout or embed it in another.
    • For N images your layout contains only N+1 views.

    This example layout shows how to place an ImageView in each quadrant of an XY grid with origin at the center:

    eclipse screenshot

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent">
        <ImageView 
            android:id="@+id/center"
            android:layout_width="0dp" 
            android:layout_height="0dp"
            android:layout_centerInParent="true"
            android:background="#FFFF0000"
        />
        <ImageView 
            android:layout_width="40dp" 
            android:layout_height="40dp"
            android:background="#FF00FF00"
            android:layout_above="@id/center"
            android:layout_toLeftOf="@id/center"
            android:layout_marginRight="100dp"
            android:layout_marginBottom="25dp"
        />
        <ImageView 
            android:layout_width="40dp" 
            android:layout_height="40dp"
            android:background="#FF00FF00"
            android:layout_below="@id/center"
            android:layout_toLeftOf="@id/center"
            android:layout_marginRight="100dp"
            android:layout_marginTop="25dp"
        />
        <ImageView 
            android:layout_width="40dp" 
            android:layout_height="40dp"
            android:background="#FF00FF00"
            android:layout_above="@id/center"
            android:layout_toRightOf="@id/center"
            android:layout_marginLeft="100dp"
            android:layout_marginBottom="25dp"
        />
        <ImageView 
            android:layout_width="40dp" 
            android:layout_height="40dp"
            android:background="#FF00FF00"
            android:layout_below="@id/center"
            android:layout_toRightOf="@id/center"
            android:layout_marginLeft="100dp"
            android:layout_marginTop="25dp"
        />
    </RelativeLayout>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This next challenge of mine involves jqtransform which can be found here http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/ I
I take no credit for this challenge at all. It's Project Euler problem 6
Since C# doesn't have a before,after,last,first etc. as part of its foreach. The challenge
its out of question that a dao will not hold any state. however, for
Its a simple config app with 4 checkboxes and 5 textboxes, and all values
Its a .vbproj and looks like this <Project DefaultTargets=Build xmlns=http://schemas.microsoft.com/developer/msbuild/2003> <PropertyGroup> <ProjectGuid>15a7ee82-9020-4fda-a7fb-85a61664692d</ProjectGuid> all i
I have been stuck on this all weekend and failed miserably! Please help me
hoping someone can help me out with this. I'm trying to figure out whether
I keep getting tasks that are above my skill level. How can I address this without coming accross as grossly incompetent?
I've found this dictionary by William Whitaker on the Internet and I like its

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.