incorrect : setContentView.(R.layout.main_layout); in this .(dot) is a
mistake after setContentView

correct : setContentView(R.layout.main_layout);

On May 26, 10:00 pm, Oddin <[email protected]> wrote:
> On the android developer 
> page:http://developer.android.com/guide/topics/ui/declaring-layout.html
> Paragraph: Load the XML Resource
> is written such code to setup the layout from xml: setContentView.
> (R.layout.main_layout);
>
> So my question is: Is this extra . after setContentView is a mistake
> or it is a valid code, so if it is valid what the difference between :
>
> setContentView.(R.layout.main_layout);
> and
> setContentView(R.layout.main_layout);

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

Reply via email to