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 <http://bit.ly/trayagenda>* - keep you daily schedule handy... *Date In Tray* <http://bit.ly/dateintraypro> - current date at glance... WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and *Twitter<http://webnetmobile.com/twitter/> * On 15 June 2011 16:33, New Developer <[email protected]> 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

