Hello everybody,
After surfing in the source code of the android OS, I made out
that you are using preference_screens.Could you please tell me where is the
root
preference_screen that you are using for almost all layouts.
Thanks in advance.
--
You received this message because you are subscribed
*what android layout can i use that will that allow me to manipulate
widgets like the absolute layout?*
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe
Hello!
Is there any layout to achieve this:
- 5 rows with 3 columns;
- every row 20% of display height;
- first and third column 25% of display width, second is 50%;
- child views (buttons) in second and fourth row, second column?
I've tried to use TableLayout, but it doesn't work as expected.
E
Not sure exactly what you are asking, but there are no layouts that work
like absolute layout.
It was deprecated because using it doesn't work well across different
screen sizes and densities...
On Jun 20, 2012 8:20 PM, "Nevin Johnson" wrote:
> *what android layout can i use that will that allow
Peter,
Specifying a fraction of parent size can be done with layout_weight.
Not sure if it works with table layouts, but for a small table like
this, you could use nested LinearLayouts, which do support layout_weight
very well.
-- Kostya
04.12.2010 16:26, P.N. пишет:
Hello!
Is there any l
I need to setup an Activity that when a certain button is pressed, a widget
will be animated (slide in from bottom) onto the screen.
I haven't been able to find an example of how you setup a layout to have
the widget off-screen before the animation, and stay on-screen after the
animation.
Anyone kn
I have several applications that are very similiar in framework, but
different in content. I would like to standardise these applications as
much as possible. Is it possible to create a Jar that contains a base class
activity and the layout resource. Then create applications that import that
Jar
Hi,
Many default layouts & animations are planar (i.e. rotation in x-y
plan).
Can a layout with curvature be implemented with current SDK (may be w/
some transform) ? An example may be a "scroll" that rolls as one
reads. Pointers are much appreciated.
Thanks in advance.
- az9702
--~--~
On Sat, May 21, 2011 at 2:13 PM, Simon Platten
wrote:
> I have several applications that are very similiar in framework, but
> different in content. I would like to standardise these applications as
> much as possible. Is it possible to create a Jar that contains a base class
> activity and the
Thank you, I'll take a look
On 21/05/2011 7:23 PM, Mark Murphy wrote:
On Sat, May 21, 2011 at 2:13 PM, Simon Platten
wrote:
I have several applications that are very similiar in framework, but
different in content. I would like to standardise these applications as
much as possible. Is it po
you can use android library instead of jar, since jar can not include
android resource.
在 2011-5-22 上午2:13,"Simon Platten" 写道:
> I have several applications that are very similiar in framework, but
> different in content. I would like to standardise these applications as
> much as possible. Is it p
Where in the source are the layouts for the built-in UI's? I would
like to reuse (copy) a couple of the contact UI's rather than recreate
the wheel.
Peace,
Scott
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Andr
Hello, I am coming to Android development with many years of Windows UI
developer experience and am having problems getting my head around laying out
UI elements.
Could someone show me how a layout like this might be declared:
|[ EditText Filling Available Space][Button]|
Where a Button is on
>
> Could someone show me how a layout like this might be declared:
> |[ EditText Filling Available Space][Button]|
>
I haven't tested this, but I believe this would do the trick... You could
also use a RelativeLayout
Also, if possible could someone please refer me to a good inst
I'm using RelativeLayout to create rows of controls and would like to
achieve the following:
Widget 1 - natural height
Custom view - remaining space after Widgets 1 and 3
Widget 3 - natural height
If I add the view in the correct order and use FILL_PARENT, it uses the
remainin
On Sun, Apr 29, 2012 at 5:42 AM, JTeagle wrote:
> I'm using RelativeLayout to create rows of controls and would like to
> achieve the following:
>
> Widget 1 - natural height
> Custom view - remaining space after Widgets 1 and 3
> Widget 3 - natural height
Widget 1 has android:alignPa
>This should work so long as Widget 1 and Widget 3 have knowable
>heights (e.g., Button, not ListView) and there is still room on the
>screen for Widget 2.
Thanks for this. I see where you're going with it, but unfortunately that
won't help my situation - and that's my fault for not making my exa
On Mon, Apr 30, 2012 at 7:10 AM, JTeagle wrote:
> Consider the following revised example:
>
>
> Widget 1 - natural height
> Custom View A - largest height possible
> Widget 2 - natural height
> Custom View B - largest height possible
>
> Widget 3 - natural height
> Custom View C - largest height p
Could you use a LinearLayout and set the layout_weight of each custom view
to 1?
-Erik
On Monday, April 30, 2012 4:10:33 AM UTC-7, JTeagle wrote:
>
> >This should work so long as Widget 1 and Widget 3 have knowable
> >heights (e.g., Button, not ListView) and there is still room on the
> >screen
Could you use a LinearLayout and set the layout_weight of each custom view
to 1?
Hmmm... yes, good call, but there's a slight twist. It seems that gravity
doesn't work in LinearLayout. Consider the following code (in onCreate() ):
---
super.onCreate(savedInstanceState);
// Create the root co
The gravity should be set on the LinearLayout.LayoutParams instead. You
could also set it on rootContainer. When you call
LinearLayout.setGravity(), gravity applies to the children of the
LinearLayout. If you set the gravity on the LayoutParams, gravity is
applied by the parent on the child the Lay
The gravity should be set on the LinearLayout.LayoutParams instead.
Ahhh... yes, that fixed it. I misread the function and thought it applied to
the View / Widget it was being called on. My bad.
*Now* I'm in business - thanks!
--
You received this message because you are subscribed to the G
Ok,
I've spent the last few days working on my layouts, and I have
everything looking good on small screens and normal screens. Now I'm
tackling large screens.
However, the question I have is, how do we really know what a device
reports itself as? For example, in the blog post about the Samsung
t
23 matches
Mail list logo