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 in Certain X Position.
The Context of the Problem, is that I have a Linear Layout, where I want to position, every time I press a button (called "Tap"), 3, 4, or 5 Image Views, at The Same X Position, and Different Y Positions.
There is no problem with the Y Positions, and also, One Image View gets correctly positioned in the X Coordinate, with setX, yet, the other ones, do not.
I tried several possible solutions, like setMargins, setLayoutParams, Inflate a Layout which contains the ImageView, or just to create the Image View and add it to the Parent Layout, then setX.
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.
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 $35 Dollars for the Solution.
This is all for the moment.
Thank you for your time.
Class with the problem: RhythmMain.java.
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.
Then, press the Button "Tap".
You will see a Music Figure and a Line appear at the same X position.
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.
8 фрилансеров(-а) готовы выполнить эту работу в среднем за $105
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.