[android-developers] active button color

2010-10-20 Thread Varun Khanduja
Hello all, I m wondering if someone can help me with a situation. I have this list view as shown in the picture below. http://www.flickr.com/photos/34403...@n02/5098102704/ Each button on the top has a list view corresponding to the above field. I m trying to see how it is possible to show the

[android-developers] icon wont push to the right

2010-10-19 Thread Varun Khanduja
Hello all, I am facing a small issue. In the picture below http://www.flickr.com/photos/34403...@n02/5098102704/ I have this icon on the right, the problem is I would like for it to be completely on the right side but after having played with the width and alignment it just wont go to the

[android-developers] on button click not working for calendar

2010-10-15 Thread Varun Khanduja
Hi, I am not sure why my on button click is not working for the calender icon I have, does any one knows what I may be doing wrong? Here is my java code, thanks in advance. package com.varun.HelloListView; import java.util.Calendar; import android.app.Activity; import

[android-developers] Re: on button click not working for calendar

2010-10-15 Thread Varun Khanduja
Sorry about that. R.id.btnCalendar is not working. Thanks On Oct 15, 11:44 am, Kumar Bibek coomar@gmail.com wrote: Which button click is not working? You have to be more specific in describing your problem. On Sat, Oct 16, 2010 at 12:11 AM, Varun Khanduja varunkhand...@gmail.comwrote

[android-developers] Re: on button click not working for calendar

2010-10-15 Thread Varun Khanduja
, 2010 at 12:21 AM, Varun Khanduja varunkhand...@gmail.comwrote: Sorry about that. R.id.btnCalendar is not working. Thanks On Oct 15, 11:44 am, Kumar Bibek coomar@gmail.com wrote: Which button click is not working? You have to be more specific in describing your problem

[android-developers] Re: on button click not working for calendar

2010-10-15 Thread Varun Khanduja
); } return null; } } On Oct 15, 12:17 pm, Varun Khanduja varunkhand...@gmail.com wrote: Log cat is not showing any errors as such. Isn't showDialog(DATE_DIALOG_ID); the show call to the dialog? On Oct 15, 11:54 am, Kumar Bibek coomar@gmail.com wrote: Any errors in the logcat? Try

[android-developers] Re: on button click not working for calendar

2010-10-15 Thread Varun Khanduja
(this, null, mYear, mMonth, mDay); } return null; } } On Oct 15, 2:17 pm, Varun Khanduja varunkhand...@gmail.com wrote: Hello, I tried to have a toast as well but it didn't seem to work. The button where I had

[android-developers] divider for forms

2010-10-13 Thread Varun Khanduja
Hello all, I was following this tutorial to make a simple form and I could make the form but I am wondering if someone has insights into how I can put a line divider between each line( row) http://mobile.tutsplus.com/tutorials/android/android-sdk-creating-forms/ Here is the preview to the final

[android-developers] divider for forms

2010-10-13 Thread Varun Khanduja
Hello all, I was following this tutorial to make a simple form and I could make the form but I am wondering if someone has insights into how I can put a line divider between each line( row) http://mobile.tutsplus.com/tutorials/android/android-sdk-creating-forms/ Here is the preview to the final

[android-developers] new screen on button click

2010-10-12 Thread Varun Khanduja
Hello, I am trying to follow a tutorial to learn how to get to a new screen on a button click. The issue I feel I am facing is that in this tutorial they have a file named main.java, firstly I don't have such a file. I think I named the file as name1.java and on this screen i have everything

[android-developers] Re: new screen on button click

2010-10-12 Thread Varun Khanduja
something I could have avoided, just that I wasn't sure if having the application name same as the activity name is a good idea. Thanks a lot for the help. On Oct 12, 1:16 pm, TreKing treking...@gmail.com wrote: On Tue, Oct 12, 2010 at 3:06 PM, Varun Khanduja varunkhand...@gmail.comwrote: So

[android-developers] opening new screen help

2010-10-11 Thread Varun Khanduja
Hello all, I was just wondering if someone can me understand how we can make a new screen work in a existing code. I tried this tutorial but the part which I don't understand very well is where should I put that piece of java code in my existing code. Rest of it is fairly simple. Some help

[android-developers] Re: opening new screen help

2010-10-11 Thread Varun Khanduja
. Thanks On Oct 11, 11:41 am, Kumar Bibek coomar@gmail.com wrote: You need to set a listener to the ListView. setOnItemClickListener and launch your new screen/activity from there... On Tue, Oct 12, 2010 at 12:07 AM, Varun Khanduja varunkhand...@gmail.comwrote: Hello all, I was just

[android-developers] opening new screen help

2010-10-11 Thread Varun Khanduja
Hi all, I thought of asking for some more guidance. So basically i am not able to open the a new screen from a button click. I followed some tutorials and basically they take you from scratch how to make a new page working, whereas in my case there is a part of code which is there and being a

[android-developers] Re: button placement problem

2010-10-08 Thread Varun Khanduja
The button at the bottom of the picture in the tutorial is somethign I am trying to achieve. http://blog.maxaller.name/2010/05/attaching-a-sticky-headerfooter-to-an-android-listview/ On Oct 8, 5:33 am, TreKing treking...@gmail.com wrote: On Thu, Oct 7, 2010 at 6:13 PM, Varun Khanduja varunkhand

[android-developers] Re: second column list view not properly aligned

2010-10-07 Thread Varun Khanduja
Option a worked. Had the width set to 100px and everything fell in line. Just curious do we normally use px, dip or sp for size declarations? On Oct 7, 5:17 am, TreKing treking...@gmail.com wrote: On Wed, Oct 6, 2010 at 11:16 PM, Varun Khanduja varunkhand...@gmail.comwrote: I have been

[android-developers] 2 columns 2 rows list view

2010-10-07 Thread Varun Khanduja
I am trying to make a list view having 2 columns and within these columns each element of list view is having two rows. I figured out how to get two columns, one of the column is having 2 rows perfectly but another column is not able to get the second row at all. I am not sure whats the issue,

[android-developers] button placement problem

2010-10-07 Thread Varun Khanduja
Hey guys, I am trying to get a button at bottom of a screen having a list view. This button is non-scrollable and the list view slips below the button if it is larger than the size of the button. Could someone please help me get the right xml properties. Tried layout_gravity and other things but

[android-developers] list view two columns

2010-10-06 Thread Varun Khanduja
Hello all, I am trying to see if someone can help me with a simple list view I am tying to make. I am specifically facing problem trying to introduce a new column in this list view. Label 3 in xml code below is the new column I m trying to make. Should I have a new linear layout and wrap two text

[android-developers] multi column list view help

2010-10-06 Thread Varun Khanduja
Hello, I am trying to get a multiple column list view. The hello in the picture is the second column i m trying to achieve. Here is the link to picture. http://www.flickr.com/photos/34403...@n02/5057967965/ Here is my xml code, if someone can help me with xml properties for label 3 it would be

[android-developers] Re: multi column list view help

2010-10-06 Thread Varun Khanduja
Ok. I just thought I should provide you with a picture since that is another thing you said might be important to show for clarity :) Thanks On Oct 6, 6:52 pm, TreKing treking...@gmail.com wrote: On Wed, Oct 6, 2010 at 6:47 PM, Varun Khanduja varunkhand...@gmail.comwrote: Here is my xml code

[android-developers] Re: multi column list view help

2010-10-06 Thread Varun Khanduja
It's done. Thanks. Good night On Oct 6, 6:57 pm, Varun Khanduja varunkhand...@gmail.com wrote: Ok. I just thought I should provide you with a picture since that is another thing you said might be important to show for clarity :) Thanks On Oct 6, 6:52 pm, TreKing treking...@gmail.com wrote

[android-developers] second column list view not properly aligned

2010-10-06 Thread Varun Khanduja
Hello, Sorry for the redundant posts. I did get the issue of how to get second column resolved by your help. Now I am not able to understand how to get the word hello which is the second column horizontally aligned in a straight line. http://www.flickr.com/photos/34403...@n02/5058549047/ Here

[android-developers] two lines in a row list view

2010-10-05 Thread Varun Khanduja
Hello all, I am trying to get two lines in the same row in a list view and I looked at some things online but found it hard to apply to what I am trying to achieve. Could anyone look at my code please and suggest me how I can make it possible. Thanks package com.varun.HelloListView; import

[android-developers] Re: two lines in a row list view

2010-10-05 Thread Varun Khanduja
, }; } On Oct 5, 4:30 pm, TreKing treking...@gmail.com wrote: On Tue, Oct 5, 2010 at 3:56 PM, Varun Khanduja varunkhand...@gmail.comwrote: I am trying to get two lines in the same row in a list view and I looked at some things online but found it hard to apply to what I am trying to achieve. What

[android-developers] Re: two lines in a row list view

2010-10-05 Thread Varun Khanduja
I have Android phone 1, 2, 3 etc and display it in the second line of this text view. Thanks On Oct 5, 4:51 pm, TreKing treking...@gmail.com wrote: On Tue, Oct 5, 2010 at 6:43 PM, Varun Khanduja varunkhand...@gmail.comwrote: I am trying to make a list view with two rows and two columns in each

[android-developers] Re: two lines in a row list view

2010-10-05 Thread Varun Khanduja
:53 pm, Varun Khanduja varunkhand...@gmail.com wrote: I tried to understand why there are multiple list adapters, I think the answer is my other objective is for the list views to change with click of the 4 buttons on the top. I do have the text views defined in the xml file but I can't seem

[android-developers] Re: Weird problem with ListView

2010-09-29 Thread Varun Khanduja
Hi John, Although I don't have solution to your problem but I am trying to learn how to make a list view similar to what you have done. I am basically not able to understand how I can get that extra line below the first line in each list item. Do you think you could share sample code or help me

[android-developers] Re: separate views list view

2010-09-29 Thread Varun Khanduja
) and then inflate them in the base adapter (as explained in the blog). On Sep 29, 4:43 pm, TreKing treking...@gmail.com wrote: On Tue, Sep 28, 2010 at 8:40 PM, Varun Khanduja varunkhand...@gmail.comwrote: If anyone has time please try to help me out. Thanks, I looked into some examples

[android-developers] Re: separate views list view

2010-09-29 Thread Varun Khanduja
Thank you everyone. My problem is still not solved but I am trying to do things. You guys have been of great help. -- 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] separate views list view

2010-09-28 Thread Varun Khanduja
Hello, I was trying to see if anyone could guide me about some keywords or approach I should take to achieve a certain task on Android. I have 4 buttons, below these buttons is a list view. This list view is having 4 different formats and when the user clicks on any of the 4 buttons they get the

[android-developers] Re: separate views list view

2010-09-28 Thread Varun Khanduja
the dataset of the ListView and ask the list view to reload all these items. Thats should serve the purpose. -Kumar Bibekhttp://kbeanie.com On Sep 28, 11:02 pm, Varun Khanduja varunkhand...@gmail.com wrote: Hello, I was trying to see if anyone could guide me about some keywords

[android-developers] Re: separate views list view

2010-09-28 Thread Varun Khanduja
. Also, what format are you trying to change? If you can give me an example, I can help you with that. -Kumar Bibekhttp://techdroid.kbeanie.com On Sep 28, 11:39 pm, Varun Khanduja varunkhand...@gmail.com wrote: Hi Kumar, Thanks for the response. I think I am using custom adapter. Do you

[android-developers] Re: separate views list view

2010-09-28 Thread Varun Khanduja
@gmail.com wrote: 4 different formats and when the user clicks on any of the 4 buttons they get the formats they had requested. On Sep 29, 12:28 am, Varun Khanduja varunkhand...@gmail.com wrote: Sorry this may sound silly, but I am not really sure what you mean by which format I am

[android-developers] Re: separate views list view

2010-09-28 Thread Varun Khanduja
If anyone has time please try to help me out. Thanks, I looked into some examples but really found it hard to see how I can have the custom adapter runnning. Thanks On Sep 28, 12:42 pm, Varun Khanduja varunkhand...@gmail.com wrote: Ohh ok.Thanks. the format is changing in the sense that one

[android-developers] Android multiple heading list view

2010-09-27 Thread Varun Khanduja
Hi, I am trying to get multiple heading in the same list view. These headings are clickable to give a different view of the same list to the user. Firstly I was sucesfull in getting one heading which was clickable on top but i am not able to get multiple headings. Any idea how I can set it right.

[android-developers] Re: Android multiple heading list view

2010-09-27 Thread Varun Khanduja
, 2010 at 2:43 PM, Varun Khanduja varunkhand...@gmail.comwrote: I am trying to get multiple heading in the same list view. First - what do you mean my multiple headings? --- -- TreKing http

[android-developers] Re: Android multiple heading list view

2010-09-27 Thread Varun Khanduja
point I would appreciate the link. Searching through google with what I want has been a pain considering I am not very sure of the keywords. Thanks On Sep 27, 1:12 pm, TreKing treking...@gmail.com wrote: On Mon, Sep 27, 2010 at 3:03 PM, Varun Khanduja varunkhand...@gmail.comwrote: Multiple

[android-developers] Re: Android multiple heading list view

2010-09-27 Thread Varun Khanduja
Thanks a lot Mr King. I was in Chicago last week for design 4 mobile conference, is there by any chance you were one of the attendee's? On Sep 27, 1:32 pm, TreKing treking...@gmail.com wrote: On Mon, Sep 27, 2010 at 3:25 PM, Varun Khanduja varunkhand...@gmail.comwrote: Yes the contents

[android-developers] Re: Android multiple heading list view

2010-09-27 Thread Varun Khanduja
, myTouch 3G Slide, Droid Eris, Motorola Backflip, Motorola i1, HTC Hero, myTouch 3G Fender, HTC Droid Incredible, Samsung Moment, LG Ally , }; } On Sep 27, 2:01 pm, TreKing treking...@gmail.com wrote: On Mon, Sep 27, 2010 at 3:47 PM, Varun Khanduja

[android-developers] Re: Android multiple heading list view

2010-09-27 Thread Varun Khanduja
/ /LinearLayout On Sep 27, 2:23 pm, TreKing treking...@gmail.com wrote: On Mon, Sep 27, 2010 at 4:15 PM, Varun Khanduja varunkhand...@gmail.comwrote: I am trying to declare two seperate buttons but only one of the buttons comes visible. ListView takes one header view, AFAIK. Each

[android-developers] Re: Android multiple heading list view

2010-09-27 Thread Varun Khanduja
It's done. Sorry it took hours to figure out how I can have some buttons along with the linear layout. Thanks again Mr King. lols. I wish how to address you :) On Sep 27, 4:50 pm, Varun Khanduja varunkhand...@gmail.com wrote: Thank you. i think I sort of got the results but I am probably

[android-developers] Table layout or list view?

2010-09-09 Thread Varun Khanduja
Hello, I am looking for some opinion and advice from the group members will be very helpful. I have a page having tab view, in this tab view every tab is having certain number of rows, these rows are categorized with a heading. Now these number of rows could be variable. Is it best to direct my