1 < Android.support.v4.view.ViewPager 2 Android:id = "@+id/pager" 3 android:layout_width= "Match_parent"4 android:layout_height = "Wrap_content" 5 tools:context= ". Mainactivity "/>
tools:context= the phrase "activity name" will not be packaged into the APK.
Just the layout editor of ADT sets the corresponding render context in your current layout file,
Indicates that the rendering context where your current layout is located is the activity of activity name,
If the activity has a theme set in the manifest file,
Then the ADT Layout Editor will render your current layout according to this theme.
That is, if you set the mainactivity set a theme.light (others can),
Then you see in the visual layout manager of the background of a control ah or something should be theme.light look.
Just to show you what you see and what you get.
Original address: http://blog.csdn.net/cdl343794966/article/details/13168059