[android-developers] Re: Override default icons of BaseExpandableListAdapter

2010-03-14 Thread Ali Chousein
Yes, I tried to use ExpandableListView.setIndicatorBounds but this affects the stretching only on the x-axis. I couldn't find any function to do stretching on the y-axis. Anyway, there is always the dirty trick of designing your icon accordingly, but if you care about clear design, choosing this

[android-developers] Re: Override default icons of BaseExpandableListAdapter

2010-03-14 Thread Ali Chousein
Actually ExpandableListView.setGroupIndicator doesn't do the job either, because it changes the icon for all groups. If you want to override the icons for minimized and maximized states, the maximized group icon will be different than the rest of the groups. It's not possible to implement this

[android-developers] Re: Override default icons of BaseExpandableListAdapter

2010-03-13 Thread Ali Chousein
Thanks that'll 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: Override default icons of BaseExpandableListAdapter

2010-03-13 Thread Ali Chousein
Hi TreKing, The ExpandableListView.setGroupIndicator does the job indeed, except it stretches the new icon. Is there a way to disable this stretching? I find it a bit strange that stretching is the default behavior instead of displaying an icon in it's original size. Any feedback would be very

[android-developers] Override default icons of BaseExpandableListAdapter

2010-03-12 Thread Ali Chousein
Hello, I'm trying to override the default icons of an BaseExpandableListAdapter in a class which inherits from BaseExpandableListAdapter. What would be a decent way of doing this? Such a basic thing doesn't seem to be straightforward. Thank you in advance, -Ali -- You received this message

[android-developers] How to hide label on screen?

2010-03-03 Thread Ali Chousein
Hi, Suppose that you create a HelloWorld application under Eclipse. Then in res/values/strings.xml the following entry is created: string name=app_nameHello, Android/string Now, when you launch the HelloWorld application you see the label Hello, Android on top of the screen. I want to hide this

[android-developers] Re: How to hide label on screen?

2010-03-03 Thread Ali Chousein
Hi Mark, Thank you for the message. Yes, it works indeed. Regards, -Ali -- 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 unsubscribe from this group, send email to

[android-developers] ListView: How to Create a Complex Row?

2010-02-24 Thread Ali Chousein
Hi, I would like to create complex rows in a ListView (all of the rows will have the same appearance, except the displayed text message of course). Following is, from where I would like to start. I want each row of the listview contain two lines. The second line will display two text messages;

[android-developers] How to query the Frequently Called list?

2010-02-22 Thread Ali Chousein
Hi, I'm trying to query the frequently called list; in other words the list which appears under the Favorites tab of Contacts. Does anybody know how to query this list? Couldn't find any explanation or any examples so far. Any information is greatly appreciated. Thanks in advance, -Ali -- You

[android-developers] Query the List of Favorite Contacts

2010-02-14 Thread Ali Chousein
Hi, I'm trying to query the list of favorite contacts. I use the line below: Cursor cur = this.getContentResolver().query(People.CONTENT_URI, null, People.STARRED + =?, new String[] { 1 }, null); However, this doesn't work because NULL data is returned, even though my list of favorite contacts

[android-developers] Re: Problem with ListActivity in TabActivity

2010-02-13 Thread Ali Chousein
There was something wrong in the manifest file and this was causing the problem. The code which I originally posted works now. Mark and TreKing thank you for your replies. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Problem with ListActivity in TabActivity

2010-02-11 Thread Ali Chousein
Hi Mark, Thank you for the information. I'd rather use ListActivity. Probably I'm missing something simple but couldn't catch it yet. Below please find the stack trace at the moment of the crash. Any help would be greatly appreciated. Thank you in advance. -Ali My_Apps [Android Application]

[android-developers] Problem with ListActivity in TabActivity

2010-02-10 Thread Ali Chousein
Hi, I have issues with displaying a ListActivity in a TabActivity. The super simple code below causes a crash. Any ideas what is going wrong here and how can I fix it? public class MyTabView extends TabActivity { public void onCreate(Bundle savedInstanceState) {

[android-developers] Synchronize an AVD with ANdroid phone

2010-02-04 Thread Ali Chousein
Is it possible to synchronize an AVD with an Android phone? Like, I would like to upload to an AVD my contacts list, calllog, SMS messages etc. Such an upload, if possible will be very helpful, because otherwise I have to create artificial data on the AVD. Thank you in advance -Ali -- You

<    1   2   3   4   5