[android-developers] How to change the RatingBar style from the code

2011-11-23 Thread yoav bbb
Hey I have 2 styles for my RatingBar (difference is in the star image). I have an activity with a rating bar in it. I want the ratingbar to use one of the styles depending on the application state (e.g. flag is true/flase). Is there any way to do it -- You received this message because

[android-developers] Listviewitem height does not update to wrap the content

2011-11-08 Thread yoav bbb
I have a list activity with listviewitem layout. The listviewitem contains a textview, the porblem is that if the string in the textview is too long - e.g. 3 lines, then the listviewitem height does not change to wrap the content. I am using adapter for the listview. The problem happens only when

[android-developers] Re: Tab and TabsHost sharing data issue

2011-08-09 Thread yoav bbb
Someone has any ideas? I understood there is a way all tabs under 1 activity? like view? how to do it? On 8 אוגוסט, 06:55, yoav bbb yoav...@gmail.com wrote: Hello I have an application with 1 tabHast that runs 3 tab activities inside it. In 1 tab there are EditText boxes that user fill

[android-developers] Tab and TabsHost sharing data issue

2011-08-08 Thread yoav bbb
Hello I have an application with 1 tabHast that runs 3 tab activities inside it. In 1 tab there are EditText boxes that user fill. In the TabHost there is a button - when user presses it - I have to get the text the user entered in the EditText boxes - - even if it is not the current tab. Any

[android-developers] EditText text validation

2011-08-08 Thread yoav bbb
Hello I have an EditText box that user fills with its text. I need to run a simple Validate() function on its data when the user leaves this text box and alert him if the input String is incompatible. Where is the hook for the validate function? Thanks -- You received this message because you

[android-developers] Re: EditText text validation

2011-08-08 Thread yoav bbb
So. The validate function must be called when ressing a button? no option to call the function when user leaves the textbox - to the backgour or to another control? On 9 אוגוסט, 06:24, TreKing treking...@gmail.com wrote: On Sun, Aug 7, 2011 at 10:57 PM, yoav bbb yoav...@gmail.com wrote

[android-developers] Create my own lock screen

2011-07-19 Thread yoav bbb
Hello, I am trying to crate my own new lock screen, but I cannot find how to do it, using a new unlock method instead of the regular swipe. Someone recommended using powermanager class, but I could not find a way to use it for this purpose. Any ideas? Any code to refer to? Thanks -- You

[android-developers] Lock screen

2011-07-13 Thread yoav bbb
Hello, Is it possible to change the default lock screen and use one of my own? with another way to unlock it? Yoav -- 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

[android-developers] New program to answer an incoming call

2011-07-13 Thread yoav bbb
Hello, I want to try and write a new program that will be used to answer an incoming call, instead of the supported by the phone. Is it possible? Do I have to use PhoneStateListener class? I saw there is a method onCallStateChanged with state as input parameter - CALL_RINGING. If I use it, how do