[android-developers] ScrollView Layout/Gravity Problem

2009-11-05 Thread droid_does
I would like to have a scrollable layout with some buttons at the bottom. Getting the buttons to the bottom when using a Linear Layout works, however once I add a ScrollView it doesn't. Below is an example demonstrating my problem (I know there isn't enough content to benefit from scrolling) h

[android-developers] Pass Data Between Activities: HashMap of WeakReferences to Objects

2009-11-16 Thread droid_does
I am trying to pass a custom object to one activity from another. There is a guide that I am using that can be found here: http://developer.android.com/guide/appendix/faq/framework.html What I would like to use is the HashMap of WeakReferences, but the description isn't clear, at least to me. >F

[android-developers] TabHost Slow On Orientation Changes

2009-11-24 Thread droid_does
I currently have a TabHost with 3 tabs. The content of each tab is an activity. The first and second tab make HTTP connections. The first tab still uses the UI thread (which i'm changing) so it would explain the slow orientation change since it's creating a fresh activity and making all those co

[android-developers] Android Email Styles

2009-12-03 Thread droid_does
I have noticed that in some android applications the email is displayed in two colors. The username is black and the domain is gray (blackco...@graycolor.com). Is there a way within android to use this display style or if not what is the simplest way to achieve this effect? Thanks. -- You rece

[android-developers] Re: TabHost Slow On Orientation Changes

2009-12-03 Thread droid_does
on or what I'm missing here let me know. On Nov 24, 11:43 am, droid_does wrote: > I currently have aTabHostwith 3 tabs.  The content of each tab is an > activity.  The first and second tab make HTTP connections.  The first > tab still uses the UI thread (which i'm chang

[android-developers] Have View and ListView Scroll as one

2009-10-22 Thread droid_does
What I have now is a layout that includes a list view at the bottom. All of the items in the layout above the list view remain fixed as you scroll through the list view. I would like the entire page to scroll so for example when you reached the bottom of the list you would no longer see the items

[android-developers] Re: Have View and ListView Scroll as one

2009-10-22 Thread droid_does
lso, would your approach work for a ListActivity? On Oct 22, 9:50 pm, Mark Murphy wrote: > droid_does wrote: > > What I have now is a layout that includes a list view at the bottom. > > All of the items in the layout above the list view remain fixed as you > > scroll through the

[android-developers] Re: Have View and ListView Scroll as one

2009-10-25 Thread droid_does
er. Thanks for your help. On Oct 23, 6:55 am, Mark Murphy wrote: > droid_does wrote: > > It's surprising that the easiest way to accomplish this effect is > > creating your own custom adapter.  It does what I want in concept but > > is there any way to add complex layou

[android-developers] Re: Android Email Styles

2009-12-18 Thread droid_does
split[1] to TextView2. I used this with email addresses in a ListView using black and android:color/ darker_gray and it looks really good. On Dec 3, 7:30 pm, droid_does wrote: > I have noticed that in some android applications the email is > displayed in two colors.  The username is black a

[android-developers] Trackball Highlight for Header in ListView

2009-12-18 Thread droid_does
I have a ListView with a header and I am able to click the header as if it was a list item however there is no highlighting if it receives focus from the trackball/D-Pad. Basically I want the header view to operate exactly as if it were just another list item in the ListView. Is there a way to do