Hi all,
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
...
Hi all,
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
...
Hello,
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 runtime.
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:lay...
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 I had no problem.
But all screens on all simulators seem to have the same size.
am i safe...
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 (ImageView) and a caption (TextView)). The (x,y) coordinates of each LinearLayout are subject to...
If you use an AbsoluteLayout (I know that it is deprecated, but it was the only way to solve my problem ) you can give the childViews the tag "android:layout_x" and "android:layout_y" to set their absolute position within the AbsoluteLayout.
However I dont want to set these informationen in the xml, because I only know them at runtime....
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 absoluteLayout is easiest, but will it be problems with different screen sizes? What do you rec...