首页 移动开发 Android     /    android动态添加删除组件(Layout)

android动态添加删除组件(Layout)

上传者: chadeltu | 上传时间:2024/12/18 22:06:39 | 文件大小:450KB | 文件类型:zip
android动态添加删除组件(Layout)
android开发有时不知道该有多少个控件,需要动态添加或删除,比如:发帖页面。
该例子工程实现了动态添加和删除一组控件(包含EditText和ImageButton按钮)。
实现逻辑比较简单,希望有所启发! 本软件ID:8324305

文件下载

资源详情

[{"title":"(36个子文件450KB)android动态添加删除组件(Layout)","children":[{"title":"AndroidDynamicLayout","children":[{"title":"AndroidManifest.xml <span style='color:#111;'>904B</span>","children":null,"spread":false},{"title":"res","children":[{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'>2.52KB</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":null,"spread":false},{"title":"menu","children":[{"title":"activity_main.xml <span style='color:#111;'>257B</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-v11","children":[{"title":"styles.xml <span style='color:#111;'>332B</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}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_add.png <span style='color:#111;'>1.66KB</span>","children":null,"spread":false},{"title":"ic_delete.png <span style='color:#111;'>1.54KB</span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'>12.22KB</span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'>389B</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;'>233B</span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'>695B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"androiddynamiclayout","children":[{"title":"MainActivity.java <span style='color:#111;'>6.41KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'>781B</span>","children":null,"spread":false},{"title":"bin","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"androiddynamiclayout","children":[{"title":"MainActivity$1.class <span style='color:#111;'>1.31KB</span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'>373B</span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'>751B</span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'>5.38KB</span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'>445B</span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'>382B</span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'>473B</span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'>566B</span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'>512B</span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'>439B</span>","children":null,"spread":false},{"title":"MainActivity$3.class <span style='color:#111;'>921B</span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'>512B</span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'>921B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'>904B</span>","children":null,"spread":false},{"title":"res","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'>364B</span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'>563B</span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'>50.19KB</span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'>376.65KB</span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'>856B</span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"androiddynamiclayout","children":[{"title":"R.java <span style='color:#111;'>2.33KB</span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'>174B</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • Seeker_ZeroOne:
    大佬!666662020-12-30
  • muxi01lingyi:
    大佬!666662020-12-30
  • yb493071294:
    下载了资源,还没有来得及看,不过先感谢2018-07-12
  • 暗夜枭熊:
    下载了资源,还没有来得及看,不过先感谢2018-07-12
  • mao_zedong:
    这个资源还是可以的2017-11-02
  • mao_zedong:
    这个资源还是可以的2017-11-02
  • qq_16932905:
    还不错,有帮助。。2017-10-13
  • qq_16932905:
    还不错,有帮助。。2017-10-13
  • cmf_1991:
    不错,学习了2016-07-16
  • BUGde不行:
    不错,学习了2016-07-16

免责申明

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