• 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: 42970
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.
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!