[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

[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) {

[android-developers] Re: ViewGroup parent for merge

2009-06-23 Thread az9702
of the XML.  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 az9...@gmail.com wrote: Josh, I have getViewTypeCount (2 here)   getItemViewType (0/text_row, 1/ icon_row) in my

[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 LinearLayout com.test.android.ALS.text_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 LinearLayout com.test.android.ALS.text_row ...

[android-developers] Re: ViewGroup parent for merge

2009-06-22 Thread az9702
and 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 az9...@gmail.com wrote: Hi, I have a ListView with two types of custom views.  It inflates icon_row view if  a drawable exists

[android-developers] Re: Seekbar thumb animation

2009-06-22 Thread az9702
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 shawn.bur...@gmail.com wrote: I appear to be having the same issue On Jun 19, 6:42 pm, az9702 az9...@gmail.com wrote: Hi, As the seekbarthumbis a drawable so its

[android-developers] Seekbar thumb animation

2009-06-19 Thread az9702
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 advance. - az9702

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

2009-06-09 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 jako...@gmail.com 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

[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): layoutAnimation xmlns:android=http://schemas.android.com/apk/res/ android android:delay=0.5 android:animationOrder=random

[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

[android-developers] Re: LayoutAnimatorController IsDone

2009-06-08 Thread az9702
Romain, Thank you for the suggestion. I just tried but rotation still starts before GridView completes. Correct me if I misunderstand but here is what may happen: In GridView, a layoutAnimation is used. This LayoutAnimationController in turns specifies animation for each child view. So what

[android-developers] Re: LayoutAnimatorController IsDone

2009-06-08 Thread az9702
Romain, Yes - setting listener on the ViewGroup (i.e. the GridView) works. Thanks. Don't mean to beat on this topic but why isn't isDone() OK for GridView or ViewGroup animation, at least not in my example ? Thanks again. - Simon On Jun 8, 3:17 pm, Romain Guy romain...@google.com wrote:

[android-developers] PhoneStateListener question

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