Deprecated Android layout that lets you specify exact locations (x/y coordinates) of its children views.
Questions tagged [absolutelayout]
166 questions
0
votes
1 answer
Is there a way that I can set objects to overlap and conform to a grid system?
so I am making a basic framework for a card game application (ex. blackjack, 21, solitaire, caravan) and I need to be able to display card images in groups that overlap and I need a grid system so I can easily set up the places where the "piles" go…

Noah Sanders
- 7
- 5
0
votes
0 answers
Port Absolute Layout to Relative Layout
I have created an App and all my Buttons are in absolute layout. I figured out that when I use the App in different screens , the layout doesn't fit properly. Can anyone help me in converting the Absolute Layout to Relative Layout

dhaval khanna
- 1
- 3
0
votes
1 answer
Java swing, scrollbar does not working with absolute layout
I want to have a jpanel with fixed size without layout manager in jscrollpane (which will be also without layout manager). I cant use any layout manager because i need to create an rectangle/circle at a location where user clicks (and allow drag &…

hnnn
- 504
- 2
- 7
- 24
0
votes
0 answers
Why the position:absolute is conflict with -webkit-transform / transform/ -ms-transform
Here is my website:
http://rsvp.com.hk/tmp_web/
What I would like to achieve is resize the whole site to 67% and align it to top. If you open the developer mode , there is a "container" class, I have specific the…

user782104
- 13,233
- 55
- 172
- 312
0
votes
1 answer
probleme with absolute layout while converting jar into exe on launch4j
i've finished my java application now i need to convert it into an .exe file i've done some research and i found that Launch4j is the less problems wrapper , i've done everything with success only when it comes to run the .exe file it shows me this…

salhi.abdessamii
- 1
- 1
0
votes
1 answer
hiding edittext & Background Image retraction in
for design layout in my app, i use for my main layout & set a image for background such :
android:background="@drawable/main"
But in typing in edittext(s) i have tow problem:
hiding edittext(s)
Background Image…

Saeid
- 2,261
- 4
- 27
- 59
0
votes
2 answers
Adding Components to Frame using Absolute Positioning
I am creating a simple Tic Tac Toe Application in Swing using setBounds (null Layout).
My problem is that whichever component i add in the end, is not visible in the frame, or distorts the complete GUI.
My code would better explain this
import…

Gagan93
- 1,826
- 2
- 25
- 38
0
votes
3 answers
Using relativelayout with absolute positions
I know I can use margins to do that but I am getting some problems when objects are near edge of the screen. In this case android tries to fit all contents of view into screen which is something I don't want. For example if I give 200 width to a…
user1097048
0
votes
0 answers
FrameLayout & AbsoluteLayout gives error When I used In the same XML file?
This is structure what I'm using

Akarsh M
- 1,629
- 2
- 24
- 47
0
votes
2 answers
Real simple board game using ImageViews: how to layout on Android?
I have an iOS version of a real simple board game here. It's a 2D grid displayed with isometric view. It is based purely on UIKit, meaning the graphics are drawn using UIImage and UIImageView. No need for OpenGL or any other more sophisticated…

Krumelur
- 32,180
- 27
- 124
- 263
0
votes
1 answer
JScroll auto resize in windows size change
How to make the JScroll to auto resize? for example i expand the windows, so the scroll expand together, for Height and Width?
look image,
for everything i use the AbsoluteLayout, since its more easy to Drag and Drop elements in the screen (Using…

user2582318
- 1,607
- 5
- 29
- 47
0
votes
1 answer
JFrame with JscrollPane
I'm trying to add few panel to JScrollpane and in turn to frame, but i'm not able to scroll.
Here is the code.
first_panel = new JPanel();
first_panel.setBackground(Color.red);
second_panel = new…
0
votes
1 answer
Container panels and JScrollPane
I'm working on GUI and I'm an amateur programmer. I have a problem with this code. I can't see anything on the frame.
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, 1366, 768);
JPanel contentPane = new…

user2543653
- 3
- 2
0
votes
3 answers
swing component not visible
I am working on an application and I am stuck in the incipient phase.
I have a JTextField in a JPanel in a JFrame. JTextField isn't there.
If I use
JPanel p0 = (JPanel) f.getContentPane();
it works. But Not with
JPanel p0 = new…

mireazma
- 526
- 1
- 8
- 20
0
votes
2 answers
Java Swing Button not appearing on the form
I am having trouble with my form having a it grid of buttons to appear. The form is supposed to display a grid of buttons that will be used as a platform for a simple battleship game.
This is the code for the Panel for the player grid
package…

Digi Faria
- 5
- 3