Deprecated Android layout that lets you specify exact locations (x/y coordinates) of its children views.
Questions tagged [absolutelayout]
166 questions
3
votes
0 answers
GLSurfaceView overlaps other views
I've got a programmatically-created layout, where when my app gets ads, it'll show an admob view, pushing my existing GLView down and resizing it.
However, although it initially seems to be pushing my GLView down, the GLView suddenly resets itself…

Little Coding Fox
- 217
- 2
- 11
3
votes
1 answer
Nativescript Gestures not working on android views with ScrollViews
Hello I have a AbsoluteLayout with a (pan)="onPan($event)" gesture on it.
I noticed if I have a ScrollView on the page and you try to pan from the scroll view the onPan event is no longer triggered. This only happens on android, it works perfectly…

Matt
- 137
- 2
- 14
3
votes
2 answers
Xamarin Forms - how create images overlay?
I created Xamarin Forms app(for Android) with master detail navigation.
For my menu in header(ListView.Header) I want to create it:
1 - background image
2 - logo my app
3 - avatar user for social network. Avatar is smaller than the logo and is…

FetFrumos
- 5,388
- 8
- 60
- 98
3
votes
1 answer
StackLayout isVisible property not working in Xamarin Forms
I am trying to display popup using AbsoluteLayout. On a button click, Iam setting stacklayout as visible. But its not displayed.

user3165999
- 149
- 4
- 11
3
votes
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
3
votes
1 answer
How to use AbsoluteLayout inside the ScrollView Programmatically?
I want to display the labels with AbsoluteLayout view by providing x,y coordinates programmatically.
The issue is ScrollView is overriding the AbsoluteLayout and unable to scroll the page.
user2599157
3
votes
0 answers
Android "wrap_content" and "minHeight" issue
I am having some difficulties setting up three simple buttons, created and exported in .png format. Their size is about 160x60px. In the activity_main.xml I have set for the height and width: "wrap_content" and created for each resolution (ldpi,…

Edmond Tamas
- 3,148
- 9
- 44
- 89
3
votes
1 answer
Java JPanels don't Appear in JFrame in Linux
I'm working an application that queries a database and pulls that information onto a couple of JPanels that I have added to a JFrame. Every 30 seconds I set one's visibility to false, and the other's to true in the JFrame to alternate which one…

snyderxc
- 105
- 1
- 11
2
votes
2 answers
UI Change in Swing application across platforms
My Swing Application's GUI is built using Window Builder Pro GUI editor. Layouts used are MigLayout and AbsoluteLayout. Application is developed using Windows Machine, So UI is well aligned and neat in Windows, but when I run the same application in…

Ahamed
- 39,245
- 13
- 40
- 68
2
votes
0 answers
Monodroid - Drag View with Touch event?
I want to drag a view. Until now i tried it with a LinearLayout and margins and with a AbsoluteLayout.
AbsoluteLayout example:
button.Touch = (clickedView, motionEvent) =>
{
Button b = (Button)clickedView;
if (motionEvent.Action ==…

andineupert
- 341
- 2
- 6
- 19
2
votes
0 answers
Xamarin C# XAML Cross-Platform With Buttons Bound To Custom Graphic
Here's the basic idea of what I'm trying to do; have this (see image link) graphic with roots going into the ground and the roots split off into different directions. At the end of each root I'd like to place a round button with a number in it which…

Matthew C
- 21
- 2
2
votes
1 answer
Xamarin Forms: AbsoluteLayout
I need to use an AbsoluteLayout for other controls on the page not listed here. How do I layout a common senerio where I have a SearchBar at the top, then a ListView which fills the rest of the screen.
I tried this, but the ListView goes incorrectly…

Ian Vink
- 66,960
- 104
- 341
- 555
2
votes
3 answers
What are the pros and cons of using percentages as your dimension standard for HTML pages
I've been using pixel defined width and height dimensions for my HTML elements so far. This works out pretty fine except when you're faced with bigger screens.
What are the pros and cons of using percentages as your standard?
P.S.Also how do you…

Sussagittikasusa
- 2,525
- 9
- 33
- 47
2
votes
0 answers
Repositioning child Views in onSizeChanged of the parent ViewGroup
I have added 3 custom views (SmallTile.java) to another custom view (MyView.java; it is based on the deprecated AbsoluteLayout - but I plan to change the base class later).
I am trying to position the 3 children by the following code in the…

Alexander Farber
- 21,519
- 75
- 241
- 416
2
votes
1 answer
Issue with resolving components - scope
private void initialize() {
frame = new JFrame();
frame.setBounds(100, 100, 450, 300);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(null);
JPanel panel = new JPanel();
…

Cygnuson
- 160
- 1
- 11