Android - Position Two Layouts at the Same X - $60 Dollars


I have been developing an App for months, new to Java and "Programming" in general.

You can download it from the Files of this Project.

It is a Zip with an Android Studio Project inside.


Now, I have gotten to a point where I cannot solve Positioning an Image View or a Layout in the Same X Position than Another Second Layout (both created and added to a Third Parent Layout at the same time).


The Context of the Problem, is that I have a Linear Layout called "HorizontalLayout", where I want to add, and position, every time I press a button (called "Tap"), 3, 4, or 5 Image Views (or LinearLayouts from an .xml with an Image View inside), at The Same X Position, and Different Y Positions.

There is no problem with the Y Positions (does not matter where they are currrently positioned in Y, the Attached App is kind of a Test Version for you to solve the problem, only).

And also, One Linear Layout gets correctly positioned in the X Coordinate (the Music Figure), with setX, yet, the other ones (just one, in the case of the Test App to simplificate things), do not (which is an Image View of an Horizontal Line).


I tried several possible solutions, like setMargins, setLayoutParams, setLeft, Inflate a Layout which contains the ImageView, or just to create the Image View and add it to the Parent Layout, then setX.

Changing the moment of the Bad Positioned Linear Layout.

Changing Xml Stuff on the Added Xml Layout.

Nothing has worked for the moment.



I need someone to resolve this Unsolvable Simple Problem.


One important thing, is, that I said, I need to put many Images Views at the Same X Position, every time I press the Button Tap.

They all have different widths, so, making complex things like taking count of all the added widths of the Image Views, to get to the correct X Position, would not be considered a solution.

(As I said, one of the Images always get correctly positioned in X, so, I am trying to just position the other Images just like this one, simply).

Also, Important, I do not want to merge the Two Images in One, this is Out of the Table.

And, in general, I do not want you to make this work at the cost of making other functions of the App work bad.

It has to be good clean code.

Whateveer it would be.



Those are the General Details of the Project.

At the Final of This Text, I leave Details like the Class and Lines where this problem is, and all of the specific details, for you to read in case you are interested.


If anyone is interested.

Send me a message.

I give $60 Dollars for the Solution.


This is all for the moment.


Thank you for your time.



Class with the problem:

Lines with the problem: 876 to 908.

How to see the problem: You install the App, press Ok (not so visible), then OK, and OK, and a Button "Live Partitures" will appear.

Press it.

Then, press the Button "Tap".

You will see a Music Figure and a Line appear at the same X position the First Time.

This is what should happen always, the Figure, and the Line, at the same X position, every time you would press Tap.


If you press Tap again, the Second Figure will be correctly positioned in X, yet, the Second Line, will be positioned much, much more to the Right than the Figure (when they should be always in the same X Position).



That and like that the problem is.

And I need to solve it.


If you are interested.

I expect your message.


Thank you for your time.


PD: Also, I do not want you to create a Frame Layout Inside Horizontal Layout, to add all the Images there and not to have problem with the X's Position.


Good Solutions.

Changing Xml Stuff like "adjustableViewBounds" or whatever, that would make this work normally.

I want to just setX a Linear Layout.

And I do not want big problems for being able to do this.


Expect your message.


Thank you for your time.


Evner: Android, Java, Mobile App Development, Software Arkitektur

Se mere: divide relative layout android, android layout divide screen equally, how to set two linearlayout in android, android layout divide space equally, android layout split screen vertically, android studio split layout in half, layout on top of another layout android, android layout half screen, android app position locator, android calculate distance position distancebetween, android foto mit gps position, android gps posting position, android javascript find cursor position, android xml layouts, dollars publish android app, android upload gps position, buffer position mediaplayer android, android media player position marker, android mediaplayer position, android application layouts

Om arbejdsgiveren:
( 29 bedømmelser ) Villa Adelina, Argentina

Projekt ID: #18367025

13 freelancere byder i gennemsnit $109 på dette job


Dear Sir! How are you? I have been creating high quality and excellent Native iOS and Android apps for 7+ years using Swift, Objectiv-C, Java, Kotlin. Also I am good at in Cross platform Development such as Xamarin a Flere

$100 USD in 3 dage
(43 bedømmelser)

I can do it. if it is still not solved.. you must have got many messages already, let me know if this is still not solved.I can help you solve it. Message me and lets get started Regards Huzefa

$60 USD på 1 dag
(114 bedømmelser)

Hello, how are you? I am very glad to meet you and very excited to see your proposal. I am an excellent android, iPhone software development expert and have 10+ years rich experience in developing many projects such Flere

$55 USD in 3 dage
(47 bedømmelser)

Hybrid app EXPERT here. I have read your description carefully and I found no risks on it. I have experience of patient mgmt. in hospital so I am happy to tell you that I can easily do your project. Wish nice cooper Flere

$155 USD in 3 dage
(2 bedømmelser)

I am confident I am the right candidate for this project as I have done many similar projects in the past. With years of experience in this field, I believe this project will be very easy for me.

$367 USD in 15 dage
(5 bedømmelser)

I have more than 5 years experience in Mobile Applications. I can create any kind application within very sort time. I am a Mobile App Developer working with iOS SDK, Objective C, Swift, Cocoa Touch, UIKit, Xcode, J Flere

$77 USD in 3 dage
(4 bedømmelser)

Hi.I have experienced about Android Programming over 4 [login to view URL] you give detail about project on chat, I can do project perfectly and on time.

$60 USD in 3 dage
(7 bedømmelser)

Dear sir, madam I am interesting your project. I can satisfy you perfectly. I have read your description and I would like to work for you having perfect expertise in required task. I am software engineer having 5 year Flere

$111 USD in 3 dage
(3 bedømmelser)

I can do this perfectly for you, and you will get the result you need to get... Thanks...

$60 USD på 1 dag
(6 bedømmelser)

Hi, Nice to meet you! I checked your project details carefully. I have rich experience in Mobile App development. I am very much interested in your project with all of your requirements. Looking forward to discuss Flere

$155 USD in 3 dage
(0 bedømmelser)

Respected Sir/Madam I have got your job posting [login to view URL] your kind information I want to let you know that I have been working with these types of works for more than 2 years without any single time schedule prob Flere

$61 USD in 4 dage
(0 bedømmelser)

Hey Sir/Madam! Hope you are fine. I am an engineer and have an experience of more than 3 years in development and designing web and mobile applications. I have recently joined this platform to earn more as I am stil Flere

$100 USD in 7 dage
(0 bedømmelser)

Hey, I'm interested in your project. Please send me a message so that we can discuss more. Regards

$61 USD in 2 dage
(0 bedømmelser)