Questions tagged [absolutelayout]

Deprecated Android layout that lets you specify exact locations (x/y coordinates) of its children views.

166 questions
0
votes
1 answer

The layout on emulator and android phone are not same

They are not same, what should I do ? Thanks :)
Yoo
  • 1,421
  • 8
  • 20
  • 36
0
votes
2 answers

Does the android:clipChildren still works?

Does the android:clipChildren still works? I have a AbsoluteLayout with a size and set the clipChildren to false. When I add childeren that are bigger then the AbsoluteLayout the childeren are still clipped. Anyone got this working? Working with…
Peter Fortuin
  • 5,041
  • 8
  • 41
  • 69
0
votes
1 answer

Rendering an ImageView with absolute size and coordindate

I hate to learn all complicated stuff about ImageView. I basically want something like this: image_view.setX(200); image_view.setY(200); image_view.setWidth(50); image_view.setHeight(50); It must not be affected by gravity. What I want is absolute…
user2015064
0
votes
2 answers

How to have 2 absolutelayouts that overlay eachother

I would like to have 2 absolute layouts that overlay each other. Like having 2 pieces of glass on top of each other where each overlay can have it's own controls and behavior. One absolute layout doesn't work for me because I want each glass (per…
Anna
  • 145
  • 8
0
votes
1 answer

How to convert android native AbsoluteLayout to Xamarin.Forms.AbsoluteLayout

I have a video-call sdk which takes a Xamarin.Forms.AbsoluteLayout instance while initializing, so that it can place the video in that container. I have separate UI for android and iOS. In android I have a layout file (.axml) inside which there is…
Koushik Sarkar
  • 480
  • 2
  • 6
  • 18
0
votes
2 answers

Which layout (AbsoluteLayout etc) is best for simple game programming in the android?

There are the following layout options to create interfaces for android. AbsoluteLayout FrameLayout LinearLayout TableLayout RelativeLayout (and some more) Which of the following is most suitable for designing simple games? Guessing that the…
0
votes
1 answer

Create overlaying loader on a mobile app using xamarin forms

I am using Xamarin forms and am trying to create an overlaying loader for my screens. From my findings, I need to use an absolute layout, which I have done. I have accomplished for the loader to work on some screens however when the screen is a…
Orlando
  • 935
  • 2
  • 20
  • 42
0
votes
3 answers

How to replcae AbsoluteLayout with RelativeLayout

I have a Class that used in it below code this.guageBack= (AbsoluteLayout) findViewById(R.id.gaugeFrame); AbsoluteLayout.LayoutParams params = new…
user6022289
  • 65
  • 1
  • 7
0
votes
2 answers

Bring fragment to front within absoluteLayout

I have list of fragment containing buttons and one fragment, that shows up, after slide gesture is made ( similar to menu navigation drawer ). Problem is, that the buttonFragments always stay on top of my menuFragment. Illustration: I tried to use…
Ford O.
  • 1,394
  • 8
  • 25
0
votes
0 answers

Set absolute position of label ontop Image?

This is the image I am using as my app background. https://i.stack.imgur.com/VxeYR.png As you can see, there are cells in this image, and I want to make labels appear in the centre of each cell. How can I place labels on the absolute coordinates of…
0
votes
1 answer

Java Swing elements change every runtime

So I made a program using java's swing library. I made a program that graphs equations and here is the main method if it's relevant: public static void main(String[] args) throws Exception { JFrame frame= new JFrame(); …
akarshkumar0101
  • 367
  • 2
  • 10
0
votes
1 answer

Changing View properties after onCreate()

First time poster, new to Android, and I seem to have hit a roadblock on this problem: I'm creating a dynamic layout, consisting of several identical "composite" objects (these are basically "floating" LinearLayouts, each containing an icon…
dreambig
  • 271
  • 3
  • 4
0
votes
2 answers

Generating ImageView from code

My question is: Is it possible to display graphics on AbsoluteLayout using ImageView without having to define the said ImageView in an XML file? The reason I'm asking this is because I'm making an application where the number of images on screen…
user3154699
  • 67
  • 3
  • 11
0
votes
4 answers

How to make header like that in css?

My site code is very usual
How can I make header background like on the image? Is the whole site content have to be position absolute and margin-top:-500px ? Is…
0
votes
2 answers

Using AbsoluteLayout on Android?

All pages of my application use the AbsoluteLayout which is deprecated. I was told that the reason i should not use absolutelayout is that it's not flexible in different screen sizes. I tested my app with every simulator comes with android sdk, and…
aryaxt
  • 76,198
  • 92
  • 293
  • 442