Deprecated Android layout that lets you specify exact locations (x/y coordinates) of its children views.
Questions tagged [absolutelayout]
166 questions
1
vote
1 answer
Xamarin Forms Layout create overlapping views
I am trying to create an Autocomplete control in Xamarin.Forms, so far I have created a ContentView with following Xaml.

Yogesh
- 1,565
- 1
- 19
- 46
1
vote
1 answer
How to access paren (LinearLayout) t of view during DragAndDrop using DragEvent.getLocalState()?
As illustrated above, I have 3 LinearLayouts, each has an ImageView and a TextView inside them. Each Image view has an OnLongClickListener attached to them. The AbsoluteLayout which encapsulates all the objects has an OnDragListener attached to…

TheYogi
- 976
- 8
- 15
1
vote
3 answers
Maven - AbsoluteLayout dependency
I am trying to revive my old project. I want to use maven for it and I want to add AbsoluteLayout dependency. I am kinda new in maven so I have no idea what is wrong. I have found that this should…

jv95
- 681
- 4
- 18
1
vote
1 answer
Layout Elements Covering corners
I am using AbsoluteLayout to try and cover the entire screen with the elements I want to add to create a "FullScreen" menu but it does not cover it. this is what I get. let me share my code as well , as youu see the Pink panel does not cover the…

Demeteor
- 1,193
- 2
- 17
- 33
1
vote
0 answers
find key presses from layout controls (not entry field) in xamarin.forms
I need to find what key the user pressed on a keyboard using xamarin.forms, ideally inside an AbsoluteLayout. I've come up with a few ways myself, but can't get any of them working.
As there isn't an event for this on the AbsoluteLayout control, i…

James Kirk
- 19
- 3
1
vote
1 answer
How to remove the AbsoluteLayout id?
why statement android:id="@+id/" keep on appearing everytime I wanted to run my app ? Is there a way to remove it ? Thanks

Hoo
- 1,806
- 7
- 33
- 66
1
vote
1 answer
Native Script ScrollView and AbsoluteLayout
Im new to NS and I have a project. I want a Button floating inside a ScrollView.
1
vote
2 answers
dynamic layout change during runtime
for an application I need to place some objects at the exact position that I want to have them and therefore I need to use AbsoluteLayout this time.
I want to add buttons dynamically exactly like in the following XML - but during…

Nils
- 1,705
- 6
- 23
- 32
1
vote
3 answers
Place text absolutely without overlapping
I need to place text in an array based on the content in the array. For example
$stuff[$i]
";
}
will output…
Neville Aga
- 11
- 1
1
vote
1 answer
Android Absolute Layout with different screen size
I'm using Absolute Layout to divide the screen to 4 species with circle in the center like this
It is work fine with small screen size but with large screen it doesn't.
How to do this with different screen width?

jmt
- 223
- 1
- 8
- 28
1
vote
0 answers
Align in bottom from AbsoluteLayout
I need set the align of a webview in the bottom of a AbsoluteLayout using java code, no the xml layout.
I tried some Layoutparams combinations, but they didnt work:
AbsoluteLayout al = (AbsoluteLayout) act.findViewById(R.id.ad);
WebView wv = new…

Genaut
- 1,810
- 2
- 29
- 60
1
vote
0 answers
How to implement "pinch to zoom" on Absolute Layout?
I want to implement "pinch to zoom" feature on Absolute layout, but unfortunately width and height are fixed. I am using absolute layout for absolute position. Please don't ask me why are you using absolute layout which is deprecated. U can c the…

Asthme
- 5,163
- 6
- 47
- 65
1
vote
1 answer
AbsoluteLayout width and height 0px in a Panel. Vaadin
First here is the code :
mainLayout = new AbsoluteLayout();
mainLayout.setImmediate(false);
// body
HorizontalSplitPanel panel = new HorizontalSplitPanel();
panel.setFirstComponent(getFirstPanel());
panel.setSplitPosition(10,…

deltascience
- 3,321
- 5
- 42
- 71
1
vote
2 answers
Using the deprecated AbsoluteLayout class in Android?
The AbsoluteLayout class is deprecated but still can write it in code and it works. Will there be any problems if I use this class? Will the application work correctly after I deploy it on a phone?
Thanks

Mina Wissa
- 10,923
- 13
- 90
- 158
1
vote
1 answer
Drag JComponent around in absolute position Container
I have set up a quick demo for dragging JComponents around, but the mouse coordinates from e.getPoint() always start at (0, 0) at the beginning of the mouse drag.
App.java
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
public class…

Mr. Polywhirl
- 42,981
- 12
- 84
- 132