FragmentActivity+FragmentTabHost+Fragement替代TabActibvity+TabHost+Activity.rar

上传者: olevin | 上传时间: 2019-12-21 20:24:39 | 文件大小: 6.03MB | 文件类型: rar
自Android3.2之后,TabActibvity被弃用(Deprecated),取而代之的是FragmentActivity,因为Fragment比Activiy更灵活,消耗的资源更小,完全能够满足TabActivity的效果,所以直接替代之。原来的TabActibvity+TabHost+Activity那套还可以用,不过强烈建议改用FragmentActivity+FragmentTabHost+Fragement

文件下载

资源详情

[{"title":"( 90 个子文件 6.03MB ) FragmentActivity+FragmentTabHost+Fragement替代TabActibvity+TabHost+Activity.rar","children":[{"title":"FragmentActivity+FragmentTabHost+Fragement替代TabActibvity+TabHost+Activity","children":[{"title":".project <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"lint.xml <span style='color:#111;'> 53B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"levin","children":[{"title":"fragmenttabhostdemo","children":[{"title":"FragmentPage1.java <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"FragmentPage4.java <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"FragmentPage3.java <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"MainTabActivity.java <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"FragmentPage2.java <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"FragmentPage5.java <span style='color:#111;'> 433B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 901B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"icon_meassage_nor.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"home_btn_bg.png <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"xianjian03.jpg <span style='color:#111;'> 264.23KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"icon_selfinfo_sel.png <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"xianjian02.jpg <span style='color:#111;'> 713.82KB </span>","children":null,"spread":false},{"title":"icon_more_nor.png <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"icon_square_sel.png <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"icon_selfinfo_nor.png <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"maintab_toolbar_bg.png <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"icon_meassage_sel.png <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"icon_square_nor.png <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"messagescenter_notice.png <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"icon_more_sel.png <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"icon_home_sel.png <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"icon_home_nor.png <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"xianjian01.jpg <span style='color:#111;'> 633.82KB </span>","children":null,"spread":false},{"title":"xianjian04.jpg <span style='color:#111;'> 100.76KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"selector_tab_background.xml <span style='color:#111;'> 287B </span>","children":null,"spread":false},{"title":"tab_selfinfo_btn.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"tab_more_btn.xml <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"tab_message_btn.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"tab_home_btn.xml <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"tab_square_btn.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"fragment_1.xml <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"main_tab_layout.xml <span style='color:#111;'> 927B </span>","children":null,"spread":false},{"title":"fragment_2.xml <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":"fragment_4.xml <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"fragment_5.xml <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"fragment_3.xml <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"tab_item_view.xml <span style='color:#111;'> 806B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"levin","children":[{"title":"fragmenttabhostdemo","children":[{"title":"BuildConfig.java <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 383.94KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 1.74MB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"levin","children":[{"title":"fragmenttabhostdemo","children":[{"title":"R$layout.class <span style='color:#111;'> 645B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"FragmentPage5.class <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"FragmentPage4.class <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"FragmentPage3.class <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"FragmentPage2.class <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"MainTabActivity.class <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 726B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 505B </span>","children":null,"spread":false},{"title":"FragmentPage1.class <span style='color:#111;'> 776B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 901B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-4db98dd18b9ff1e7420913b44a40f0b9.jar <span style='color:#111;'> 148.28KB </span>","children":null,"spread":false}],"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"icon_meassage_nor.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"home_btn_bg.png <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"icon_selfinfo_sel.png <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"icon_more_nor.png <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"icon_square_sel.png <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"icon_selfinfo_nor.png <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"maintab_toolbar_bg.png <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"icon_meassage_sel.png <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"icon_square_nor.png <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"messagescenter_notice.png <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"icon_more_sel.png <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"icon_home_sel.png <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"icon_home_nor.png <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"FragmentActivity+FragmentTabHost.apk <span style='color:#111;'> 1.89MB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 442.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • deqwert :
    不过,初学者可以参考一下
    2021-08-06
  • yangbin762003 :
    不过,初学者可以参考一下
    2019-07-15
  • huoran0319 :
    嗯,不错,可用。
    2018-01-22
  • guardos :
    有用,已用到项目中
    2016-11-17
  • softlove11 :
    很好,可以参考学习
    2016-10-19

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明