[android-developers] Re: options menu items

2010-02-08 Thread Robert Nekic
There were several more replies in this thread on Friday, 2/5/2010.
They were appropriate to this discussion and concerned limited options
for styling menuitems as documented in R.attr.

Where did the replies go?




On Feb 4, 12:03 pm, haric zhu  wrote:
> I think it is not possible currently, but you can right a dialog like List
> Activity to do this, i mean customize it.
>
> 2010/2/5 Robert Nekic 
>
>
>
>
>
> > I was about to start looking into this, too.  I have several items in
> > a "More" menu and I would like to slightly adjust the height of each
> > item.  I assumed I would discover a way to supply a layout definition
> > for the menu items but this is not possible?
>
> > On Feb 4, 10:38 am, skink  wrote:
> > > On Feb 4, 2:27 pm, manigault  wrote:
>
> > > > Hi all,
> > > > I want to customize option menu items. I can change icon when
> > > > selecting using a selector but how can i change the text color during
> > > > selection. If it was TextView i could use again selector for textColor
> > > > property but for menu items there is only resource for textValue not
> > > > for textColor. So my question is how can i change the textColor of
> > > > MenuItems on selection.
>
> > > unfortunately, you can't
>
> > > pskink
>
> > --
> > 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 > cr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Best Regards
>
> Haric

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: options menu items

2010-02-04 Thread haric zhu
I think it is not possible currently, but you can right a dialog like List
Activity to do this, i mean customize it.

2010/2/5 Robert Nekic 

> I was about to start looking into this, too.  I have several items in
> a "More" menu and I would like to slightly adjust the height of each
> item.  I assumed I would discover a way to supply a layout definition
> for the menu items but this is not possible?
>
>
>
> On Feb 4, 10:38 am, skink  wrote:
> > On Feb 4, 2:27 pm, manigault  wrote:
> >
> > > Hi all,
> > > I want to customize option menu items. I can change icon when
> > > selecting using a selector but how can i change the text color during
> > > selection. If it was TextView i could use again selector for textColor
> > > property but for menu items there is only resource for textValue not
> > > for textColor. So my question is how can i change the textColor of
> > > MenuItems on selection.
> >
> > unfortunately, you can't
> >
> > pskink
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Best Regards

Haric

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: options menu items

2010-02-04 Thread Sean Hodges
No, you cannot adjust the theme or layout of the default options menu
(see http://code.google.com/p/android/issues/detail?id=4441). However,
you can intercept the "Menu" button press and draw your own menu...


On Thu, Feb 4, 2010 at 4:25 PM, Robert Nekic  wrote:
> I was about to start looking into this, too.  I have several items in
> a "More" menu and I would like to slightly adjust the height of each
> item.  I assumed I would discover a way to supply a layout definition
> for the menu items but this is not possible?
>
>
>
> On Feb 4, 10:38 am, skink  wrote:
>> On Feb 4, 2:27 pm, manigault  wrote:
>>
>> > Hi all,
>> > I want to customize option menu items. I can change icon when
>> > selecting using a selector but how can i change the text color during
>> > selection. If it was TextView i could use again selector for textColor
>> > property but for menu items there is only resource for textValue not
>> > for textColor. So my question is how can i change the textColor of
>> > MenuItems on selection.
>>
>> unfortunately, you can't
>>
>> pskink
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: options menu items

2010-02-04 Thread Robert Nekic
I was about to start looking into this, too.  I have several items in
a "More" menu and I would like to slightly adjust the height of each
item.  I assumed I would discover a way to supply a layout definition
for the menu items but this is not possible?



On Feb 4, 10:38 am, skink  wrote:
> On Feb 4, 2:27 pm, manigault  wrote:
>
> > Hi all,
> > I want to customize option menu items. I can change icon when
> > selecting using a selector but how can i change the text color during
> > selection. If it was TextView i could use again selector for textColor
> > property but for menu items there is only resource for textValue not
> > for textColor. So my question is how can i change the textColor of
> > MenuItems on selection.
>
> unfortunately, you can't
>
> pskink

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: options menu items

2010-02-04 Thread skink


On Feb 4, 2:27 pm, manigault  wrote:
> Hi all,
> I want to customize option menu items. I can change icon when
> selecting using a selector but how can i change the text color during
> selection. If it was TextView i could use again selector for textColor
> property but for menu items there is only resource for textValue not
> for textColor. So my question is how can i change the textColor of
> MenuItems on selection.

unfortunately, you can't

pskink

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en