Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

main.xml problem  RSS feed

 
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.
 
Rancher
Posts: 42972
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!