Results 1 to 3 of 3
  1. #1
    Nazneen Ali is offline Senior Member
    Join Date
    Jul 2011
    Posts
    112
    Rep Power
    0

    Default Layout Resources

    "When you compile your application, each XML layout file is compiled into a View resource. " I have read this here: Layouts | Android Developers , Section: Load the XML Resource, first line.


    But I think each XML layout is compiled into a layout resource, that's why it is in res/layout/ directory. Isn't it?
    Don't forget to smile :-)

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: Layout Resources

    It's a layout resource (at least the xml is), which Android turns into a View.
    Look at the various versions of setContentView on Activity.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    Nazneen Ali is offline Senior Member
    Join Date
    Jul 2011
    Posts
    112
    Rep Power
    0

    Default Re: Layout Resources

    OK I will, Thank you very much for now.
    Don't forget to smile :-)

Similar Threads

  1. Grid Layout change layout alignment of control s
    By rellicott in forum SWT / JFace
    Replies: 1
    Last Post: 02-13-2012, 05:11 PM
  2. Learning Resources
    By Shadukyo in forum New To Java
    Replies: 1
    Last Post: 05-31-2010, 05:45 PM
  3. Edit layout Layout please help me
    By manhtungtnk28@gmail.com in forum New To Java
    Replies: 4
    Last Post: 11-23-2009, 08:41 AM
  4. Resources
    By zzpprk in forum Advanced Java
    Replies: 6
    Last Post: 08-20-2009, 03:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •