[android-developers] How to implement exclusive preferences ?

2009-07-09 Thread az9702
Hi All, I would like to give users a choice of starting one of three different activities by choosing from three mutually choices. And I would like to provide users these choices as Preferences. If I use CheckboxPreference, user can select more than choices. Something like "RadioGroupPreferenc

[android-developers] Re: Example code of listview/arrayadapter with rows containing multiple text views?

2009-06-24 Thread az9702
I have a custom view with three texts & one image: * image on left * text1 in small font below image * text2 & text3 to image's right & w/ different font sizes Below is the View.onDraw() that renders these objects & may be helpful: protected void onDraw(Canvas canvas) { super.onDraw(can

[android-developers] Re: ViewGroup parent for merge

2009-06-23 Thread az9702
It is not necessary for you to wrap it in a > LinearLayout, nor is it necessary for your adapter to work exclusively > with a ViewGroup. > > On Jun 22, 12:23 pm, az9702 wrote: > > > Josh, > > > I have getViewTypeCount (2 here)  & getItemViewType (0/text_row, 1/ &g

[android-developers] Re: Seekbar thumb animation

2009-06-22 Thread az9702
AnmiationDrawable so its visibility can be turned off (or using a ViewStub ?) * Also need to turn off mAnim as soon as user starts interacting w/ the thumb. As pointed out in On Jun 20, 12:11 pm, Protocol-X wrote: > I appear to be having the same issue > > On Jun 19, 6:42 pm, az9702

[android-developers] Re: ViewGroup parent for merge

2009-06-22 Thread az9702
getViewTypeCount.  These > methods are provided for you to have two or more different types of > layouts for certain rows based. > > On Jun 22, 10:16 am, az9702 wrote: > > > Hi, > > > I have a ListView with two types of custom views.  It inflates > > "icon_row"

[android-developers] ViewGroup parent for merge

2009-06-22 Thread az9702
Hi, I have a ListView with two types of custom views. It inflates "icon_row" view if a drawable exists or a "text_row" if not. I came up w/ custom views for icon_row & text_row & include them in their XML like so : //text_row.xml < com.test.android.ALS.text_row ...

[android-developers] Using me

2009-06-22 Thread az9702
I have a ListView with two types of custom views. It inflates "icon_row" view if a drawable exists or a "text_row" if not. I came up w/ custom views for icon_row & text_row & include them in their XML like so : //text_row.xml < com.test.android.ALS.text_row ... app:

[android-developers] Seekbar thumb animation

2009-06-19 Thread az9702
way is to have a custom seekbar with a View for thumb instead of Drawable. Please let me know if I have overlooked any other options currently supported by SDK ? Thanks in advance. - az9702 --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Layouts & animation with curvatures

2009-06-10 Thread az9702
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 adva

[android-developers] Re: Android SDK Content Loader gets stuck....

2009-06-08 Thread az9702
You may want to try turning off "Projects -> Build Automatically" This workaround works in my IDE every time. On Jun 8, 10:02 am, Jakob Sachse wrote: > I am having the same trouble, is there any workaround that tourned out > to be working? > > On 14 Mai, 22:14, "az9...@gmail.com" wrote: > >

[android-developers] Re: LayoutAnimatorController "IsDone"

2009-06-08 Thread az9702
rote: > Use a layout animation listener instead. > > > > On Mon, Jun 8, 2009 at 3:00 PM, az9702 wrote: > > > Hi, > > > I am implementing a two-step animation: > > (1) Displaying a set of images using Grid layout (similar to Api Demo > > LayoutAmination4)

[android-developers] Re: LayoutAnimatorController "IsDone"

2009-06-08 Thread az9702
On Jun 8, 3:17 pm, Romain Guy wrote: > Use a layout animation listener instead. > > > > On Mon, Jun 8, 2009 at 3:00 PM, az9702 wrote: > > > Hi, > > > I am implementing a two-step animation: > > (1) Displaying a set of images using Grid layout

[android-developers] LayoutAnimatorController "IsDone"

2009-06-08 Thread az9702
Hi, I am implementing a two-step animation: (1) Displaying a set of images using Grid layout (similar to Api Demo LayoutAmination4) (2) Upon (1) completion, rotate out Grid layout around Y-axis & rotate in another layout Step#2 is similar to Api Demo Rotate3dAnimation but it is triggered w/ o an

[android-developers] Random animation order question

2009-06-08 Thread az9702
Hi, I am trying to display a set of images in a grid layout in random order, using something like this in anim (similar to Api demos: LayoutAnimation4): http://schemas.android.com/apk/res/ android" android:delay="0.5" android:animationOrder="random" android:animation="@an

[android-developers] PhoneStateListener question

2009-06-07 Thread az9702
did not find any doc or report on this issue. What can be missing ? Anyone also saw this ? Thanks in advance. - az9702 ##-- telephonyManager.listen(