[android-developers] Android layout: n00b

2016-04-07 Thread quique123
If i want to make layout, should I add: 1. Main layout = a Table layout with 3 rows (in dark blue) 2. First blue row: Linear layout with 2 red rows each with a seek and then a text. 3. Second blue row: Relative layout with grid layout of 4x4 green 4. Third blue row: Linear layout with 2 re

[android-developers] Android layout editor is plenty of bugs. Will google fix them?

2012-02-05 Thread eldruida
Hello, I know that I can create activities writing xml code. However, the layout would be very useful if weren't full of bugs. I don't understand why doesn't do an effort to fix them. It's stressfull Better they improve the actual features than adding new ones. Bye. -- You received this mess

Re: [android-developers] Android Layout: Merge how to position an include

2011-03-05 Thread Kostya Vasilyev
Mike, The contents of file is simply, um, merged at the point where it's 'd. If you use the inside a relative layout, then the views inside the can use realtive layout-specific attributes, and same for other layout types. To position one view between two others, you can use android:lay

[android-developers] Android Layout: Merge how to position an include

2011-03-05 Thread Mike
I have a merge layout that has a few includes in it . I need to be able to position relatively. The top and bottom ones are easy because you can use android:layout_gravity="bottom" OR android:layout_gravity="top". Now, is there a way to positing a third include relative to the one at the top (rig

Re: [android-developers] Android Layout: Consistently visible Button Bar

2011-02-28 Thread Marcin Orlowski
On 28 February 2011 23:24, Mike wrote: > In my main Activity I have created a bar with buttons on it. Now , I > would like the "Button Bar" to always show regardless of what Activity > I'm showing. Include it in every activity. Or use view instead of activities -- Regards, Marcin -- You rece

[android-developers] Android Layout: Consistently visible Button Bar

2011-02-28 Thread Mike
Device: Droid OS / Browser / build number: 2.2.1 In my main Activity I have created a bar with buttons on it. Now , I would like the "Button Bar" to always show regardless of what Activity I'm showing. Basically I need the handle the Button events from the "Button Bar" across all Activities. Is th

Re: [android-developers] Android Layout Editor for 'Honeycomb (Preview)' issue with color values: Exception thrown in Eclipse.

2011-02-04 Thread Xavier Ducrohet
Streets, can you send me the XML you're inflating? thanks, Xav On Fri, Feb 4, 2011 at 1:11 PM, Xavier Ducrohet wrote: > On Fri, Feb 4, 2011 at 1:02 PM, Tor Norbye wrote: >>> java.lang.NumberFormatException: Color value '@color/screen_bg_top' >>> must start with # >>>        at >>> com.android.l

Re: [android-developers] Android Layout Editor for 'Honeycomb (Preview)' issue with color values: Exception thrown in Eclipse.

2011-02-04 Thread Xavier Ducrohet
On Fri, Feb 4, 2011 at 1:02 PM, Tor Norbye wrote: >> java.lang.NumberFormatException: Color value '@color/screen_bg_top' >> must start with # >>        at >> com.android.layoutlib.bridge.impl.ResourceHelper.getColor(ResourceHelper.java: >> ... >> It seems that the ResourceHelper.getColor should su

Re: [android-developers] Android Layout Editor for 'Honeycomb (Preview)' issue with color values: Exception thrown in Eclipse.

2011-02-04 Thread Tor Norbye
On Fri, Feb 4, 2011 at 8:42 AM, Streets Of Boston wrote: > Hi, > > The Android Layout Editor has been somewhat problematic for me when it > shows the layout of the widgets on the screen. Some of the widgets are > all shown crowded to the top. However, when showing the outline of the > widgets, the

[android-developers] Android Layout Editor for 'Honeycomb (Preview)' issue with color values: Exception thrown in Eclipse.

2011-02-04 Thread Streets Of Boston
Hi, The Android Layout Editor has been somewhat problematic for me when it shows the layout of the widgets on the screen. Some of the widgets are all shown crowded to the top. However, when showing the outline of the widgets, the outlines are drawn in the correct spot. However, when i select 'And

[android-developers] Android Layout Problem

2009-11-28 Thread Bobbie
Below is my layout. I'm having a problem getting it to "auto size" to the height of the screen. When the soft keyboard is pressed, I want the scrollview to decrease in height and the textview and button to move up the screen. Right now it hides the textedit box and button with the soft keyboard.

[android-developers] Android Layout Editor problem

2009-11-09 Thread Susan
I created a custom view. I want to get values of "background","layout_width" and "layout_height" in its constructor "CustomView(Context context, AttributeSet attrs)". I wrote code like this: TypedArray b = context.obtainStyledAttributes(attrs, new int[] {android.R.attr.background,an

[android-developers] Android Layout

2009-04-17 Thread Rahul
Hi i want to ask u can i access layout defined in xml file and set the parameter of that layout in the java file . is it possible plz reply me thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Android Layout Tricks #1 problem

2009-02-26 Thread Spencer Riddering
Concerning Romain Guy's post titled "Android Layout Tricks #1" in the Android Developers Blog. I just tried to put it to use on a list item (as the article suggests its good for) and it doesn't work for me. Was this code actually tested in a list item? I believe I ran into the same problem last