首页 移动开发 Android     /    动态增加控件及动态添加指定XML的方法---源码

动态增加控件及动态添加指定XML的方法---源码

上传者: harvic880925 | 上传时间:2023/8/4 6:31:08 | 文件大小:2.79MB | 文件类型:rar
动态增加控件及动态添加指定XML的方法---源码
《动态添加控件、设置参数及将某一XML动态加入到当前Activity显示》博客对应的源码,博文地址:http://blog.csdn.net/harvic880925/article/details/18042183 本软件ID:6829633

文件下载

资源详情

[{"title":"(95个子文件2.79MB)动态增加控件及动态添加指定XML的方法---源码","children":[{"title":"try_add_layout_from_xml","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'>672.61KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>5.82KB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>9.14KB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>17.47KB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>3.04KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"dexedLibs","children":[{"title":"annotations-4a108e3734a74c71fa350ce81132deda.jar <span style='color:#111;'>943B</span>","children":null,"spread":false},{"title":"android-support-v4-c806623fac8d3deb398d70faae5df6f3.jar <span style='color:#111;'>227.10KB</span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"try_add_layout_from_xml","children":[{"title":"MainActivity.class <span style='color:#111;'>1.45KB</span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'>379B</span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'>494B</span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'>602B</span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'>522B</span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'>512B</span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'>391B</span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'>439B</span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'>843B</span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'>523B</span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'>482B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"try_add_layout_from_xml.apk <span style='color:#111;'>281.29KB</span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'>49.33KB</span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>909B</span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'>223B</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>7.48KB</span>","children":null,"spread":false},{"title":"rixizhuang.jpg <span style='color:#111;'>2.46KB</span>","children":null,"spread":false},{"title":"maomao.jpg <span style='color:#111;'>5.82KB</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":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>24.20KB</span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'>238B</span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'>695B</span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'>218B</span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'>275B</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":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'>201B</span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'>593B</span>","children":null,"spread":false},{"title":"combination_ctrl.xml <span style='color:#111;'>1.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"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":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"try_add_layout_from_xml","children":[{"title":"BuildConfig.java <span style='color:#111;'>177B</span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'>2.45KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>177B</span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"try_add_layout_from_xml","children":[{"title":"MainActivity.java <span style='color:#111;'>1.28KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'>859B</span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'>5.00KB</span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'>364B</span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'>562B</span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>909B</span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'>606.89KB</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"try_add_combination_ctrl","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'>674.59KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>5.82KB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>9.14KB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>17.47KB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>3.04KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"dexedLibs","children":[{"title":"android-support-v4-c794b66bf37e3c2d02894e81eec7ecba.jar <span style='color:#111;'>227.10KB</span>","children":null,"spread":false},{"title":"annotations-4a108e3734a74c71fa350ce81132deda.jar <span style='color:#111;'>943B</span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"try_add_combination_ctrl","children":[{"title":"MainActivity.class <span style='color:#111;'>2.03KB</span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'>381B</span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'>1.02KB</span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'>497B</span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'>605B</span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'>525B</span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'>515B</span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'>394B</span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'>442B</span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'>853B</span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'>526B</span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'>485B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'>49.39KB</span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>911B</span>","children":null,"spread":false},{"title":"try_add_combination_ctrl.apk <span style='color:#111;'>281.82KB</span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'>223B</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>7.48KB</span>","children":null,"spread":false},{"title":"rixizhuang.jpg <span style='color:#111;'>2.46KB</span>","children":null,"spread":false},{"title":"maomao.jpg <span style='color:#111;'>5.82KB</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":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>24.20KB</span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'>239B</span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'>695B</span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'>218B</span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'>275B</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":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'>201B</span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'>835B</span>","children":null,"spread":false},{"title":"combination_ctrl.xml <span style='color:#111;'>1.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"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":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"try_add_combination_ctrl","children":[{"title":"BuildConfig.java <span style='color:#111;'>178B</span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'>2.45KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>177B</span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"try_add_combination_ctrl","children":[{"title":"MainActivity.java <span style='color:#111;'>2.49KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'>860B</span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'>5.00KB</span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'>364B</span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'>562B</span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>911B</span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'>606.89KB</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

  • coffee_8:
    超过一屏就不能添加了吧。或者一个listview下面2017-09-20
  • jonayyyy:
    很有用,对我帮助很大2016-01-06
  • lsyboy2008:
    很不错的代码2015-12-12
  • shibaide:
    好可以一用推荐2015-09-27
  • qq_18848663:
    不错!!!!!  学习了2015-08-27

免责申明

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