Yes, I noticed that inflate code has not so many attributes as in xml
layout files.
I generally avoid inflate for the reasons you stated. Not really sure
what is going on behind the scenes.

On Jun 15, 6:39 pm, New Developer <secur...@isscp.com> wrote:
> Thanks
>
> my OnCreate()  has nothing in it.
> The only thing different is the method of calling the exact same  layout
> 1) using intent        and        2) using inflate
>
> The intent appears normal   the  the inflate appears transparent  even
> when the button is clicked, or text is select the  original highlight color 
> Orange is  gray  under  inflate.
>
> Thanks
>
> On Jun 15, 2011, at 10:47 AM, Marcin Orlowski wrote:
>
>
>
> > You do not run the layout. You do not call it nor call it with the intent. 
> > All you now comparing is bit nonsense as it is intent sent to your 
> > application vs inflating xml file. Not much comparable. Check your code in 
> > activity's onCreate() for anything extra you do there or check your code 
> > around inflate() to see if you do not miss anything you do in onCreate().
>
> > Regards,
> > Marcin Orlowski
>
> > Tray Agenda - keep you daily schedule handy...
> > Date In Tray - current date at glance...
> > WebnetMobile on Facebook and Twitter
>
> > On 15 June 2011 16:33, New Developer <secur...@isscp.com> wrote:
> > I have a layout with a button and EditText  fields
>
> > IF I call the layout using  intent
> > intent.setClass(getApplicationContext(), eedsClientActivity.class...
> > startActivity(....
>
> > The Buttons have a light gray background neat black text
> > and the EditText a white background
>
> > IF I call the layout using  inflate
> > inflate.inflate(R.layout.client_single,    parent);
>
> > The Buttons have a dull gray background , Large white text
> > and the EditText appear transparent, almost see through background slightly 
> > grayish
>
> > Why the Difference  it is the same .xml layout ??
>
> > What additionally is called By intent  that inflate does not call ?
>
> > thanks in advance
>
> > --
> > 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

-- 
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

Reply via email to