• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

main.xml problem

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all genius people,

Below given code is written in main.xml
I have named is as lib_game.xml .



It is given in the example which comes with Android SDK.
I do not come to know for which purpose they have written it.
I have seen it very first time.

Please explain me.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It defines some parameters for a particular view that is implemented by the com.example.android.tictactoe.library.GameView class. Looking at the source code for that class should provide you with more insight on how it works.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic