文件名称:android_fragment
介绍说明--下载内容均来自于网络,请自行研究使用
Android运行在各种各样的设备中,有小屏幕的手机,超大屏的平板甚至电视。针对屏幕尺寸的差距,很多情况下,都是先针对手机开发一套App,然后拷贝一份,修改布局以适应平板神马超级大屏的。难道无法做到一个App可以同时适应手机和平板么,当然了,必须有啊。Fragment的出现就是为了解决这样的问题。你可以把Fragment当成Activity的一个界面的一个组成部分,甚至Activity的界面可以完全有不同的Fragment组成,更帅气的是Fragment拥有自己的生命周期和接收、处理用户的事件,这样就不必在Activity写一堆控件的事件处理的代码了。更为重要的是,你可以动态的添加、替换和移除某个Fragment。-Android running on a variety of devices, there is a small screen mobile phone, tablet or even a large-screen TV. For screen size disparity, in many cases, it is the first to develop a set for mobile App, then copy, modify the layout to accommodate the flat Shenma super large screen. Do not do a App can simultaneously accommodate mobile phones and tablet Why, of course, there must be ah. The emergence of Fragment is to solve this problem. You can put Fragment as an integral part of the Activity interface, and even the Activity interface can be completely different Fragment composition is more handsome Fragment has its own life cycle and for receiving, processing user events, so you do not write in Activity a bunch of event handling code control. More importantly, you can dynamically add, replace and remove a Fragment.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
android_fragment
................\.classpath
................\.project
................\.settings
................\.........\org.eclipse.core.resources.prefs
................\AndroidManifest.xml
................\assets
................\......\MainActivity3.java
................\bin
................\...\android_fragment.apk
................\...\AndroidManifest.xml
................\...\classes
................\...\.......\com
................\...\.......\...\example
................\...\.......\...\.......\android_fragment
................\...\.......\...\.......\................\BuildConfig.class
................\...\.......\...\.......\................\MainActivity.class
................\...\.......\...\.......\................\MainActivity2$1.class
................\...\.......\...\.......\................\MainActivity2.class
................\...\.......\...\.......\................\MainActivity3$1.class
................\...\.......\...\.......\................\MainActivity3.class
................\...\.......\...\.......\................\MainActivity4$1.class
................\...\.......\...\.......\................\MainActivity4.class
................\...\.......\...\.......\................\MyFragment$1.class
................\...\.......\...\.......\................\MyFragment.class
................\...\.......\...\.......\................\MyFragment2.class
................\...\.......\...\.......\................\MyFragment3.class
................\...\.......\...\.......\................\MyFragment4.class
................\...\.......\...\.......\................\MyFragment5$MyListener.class
................\...\.......\...\.......\................\MyFragment5.class
................\...\.......\...\.......\................\R$attr.class
................\...\.......\...\.......\................\R$color.class
................\...\.......\...\.......\................\R$dimen.class
................\...\.......\...\.......\................\R$drawable.class
................\...\.......\...\.......\................\R$id.class
................\...\.......\...\.......\................\R$layout.class
................\...\.......\...\.......\................\R$menu.class
................\...\.......\...\.......\................\R$string.class
................\...\.......\...\.......\................\R$style.class
................\...\.......\...\.......\................\R.class
................\...\classes.dex
................\...\dexedLibs
................\...\.........\android-support-v4-07ab575b4404ee6570ca0afda0b678be.jar
................\...\jarlist.cache
................\...\res
................\...\...\crunch
................\...\...\......\drawable-hdpi
................\...\...\......\.............\ic_launcher.png
................\...\...\......\drawable-mdpi
................\...\...\......\.............\ic_launcher.png
................\...\...\......\drawable-xhdpi
................\...\...\......\..............\ic_launcher.png
................\...\...\......\drawable-xxhdpi
................\...\...\......\...............\ic_launcher.png
................\...\resources.ap_
................\gen
................\...\com
................\...\...\example
................\...\...\.......\android_fragment
................\...\...\.......\................\BuildConfig.java
................\...\...\.......\................\R.java
................\ic_launcher-web.png
................\libs
................\....\android-support-v4.jar
................\proguard-project.txt
................\project.properties
................\res
................\...\drawable
................\...\........\radio_pressed.xml
................\...\drawable-hdpi
................\...\.............\ic_launcher.png
................\...\drawable-ldpi
................\...\drawable-mdpi
................\...\.............\ic_launcher.png
................\...\drawable-xhdpi
................\...\..............\ic_launcher.png
................\...\drawable-xxhdpi
................\...\...............\ic_launcher.png
................\...\layout
................\...\.