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

  • Home
  • SEARCH
  • 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 7518809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:48:11+00:00 2026-05-30T01:48:11+00:00

I need to transport every view in my layout somewhere else in that layout…

  • 0

I need to transport every view in my layout somewhere else in that layout… So i need something to put every view in it, and move only it… How can i manage this? (It may be too easy, sorry if it is, but i’m pretty new on android. I’ve heard something like “holder” but i’m not so sure if it can be move with

setMarginLeft(...) 

Thanks in advance for helps!

Put every view in one another RelativeLayout, but now i cannot see the views?

xml file:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/menu"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FFFFFF"
android:orientation="vertical" >


<RelativeLayout
    android:id="@+id/leftLayout"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignParentRight="true"
    android:layout_alignParentTop="true"
    android:layout_marginLeft="70dp"
    android:orientation="vertical" >


    <TextView
        android:id="@+id/leftMenu"
        android:enabled="true"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Left Menu"
        android:layout_alignParentTop="true"
        android:layout_marginTop="20dp"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:textColor="#000000" />

    <ListView
        android:id="@+id/list"
        android:enabled="true"
        android:layout_width="match_parent"
        android:layout_height="344dp"
        android:layout_alignParentTop="true"
        android:layout_marginTop="70dp" >

    </ListView>


</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-05-30T01:48:12+00:00Added an answer on May 30, 2026 at 1:48 am

    You just need a single a parent view, take a linearlayout or other layout:

    and set margin to that layout.

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

Sidebar

Related Questions

I have a bunch of files that I need to be able to transport
Need to an expression that returns only things with an I followed by either
I need to transform a piece of XML, so that the value of every
On every mouse move I need to draw on my canvas a radial gradient
Need a function that takes a character as a parameter and returns true if
I need your kind help to resolve this question. I state that I am
I need to transform an Oracle SQL statement into a Stored Procedure therefore users
I need to transform my nested sets structure (mysql) into json for this spacetree
I need to transform a valid XML document to the OFX v1.0.2 format .
I need to transform a list into dictionary as follows. The odd elements has

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.