android自定义view:十字按钮(用于智能家电APP)

上传者: black3sky | 上传时间: 2023-02-15 14:30:30 | 文件大小: 1.41MB | 文件类型: RAR
本十字按钮可用于智能家电app,通过设置listener就可以监听四个方向的点击事件,同时其button的反应模式如系统给的button一致。在代码中也给出了另外五个普通按钮进行与十字按钮进行效果对比,亦可以学习自定义组件的消息派发机制。

文件下载

资源详情

[{"title":"( 111 个子文件 1.41MB ) android自定义view:十字按钮(用于智能家电APP)","children":[{"title":"classes.dex <span style='color:#111;'> 616.74KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"press_right_btn.png <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"click_home.png <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"click_back.png <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false},{"title":"press_down_arrow.png <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"up_arrow.png <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"press_right_arrow.png <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"click_menu.png <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"press_up_arrow.png <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"def_return.png <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"press_left_btn.png <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"down_arrow.png <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"click_ok.png <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"def_menu.png <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"right_arrow.png <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"click_return.png <span style='color:#111;'> 708B </span>","children":null,"spread":false},{"title":"def_ok.png <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"press_up_btn.png <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"def_cross_btn.png <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"def_back.png <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"press_left_arrow.png <span style='color:#111;'> 325B </span>","children":null,"spread":false},{"title":"up_btn.png <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"left_arrow.png <span style='color:#111;'> 325B </span>","children":null,"spread":false},{"title":"click_button.9.png <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"def_home.png <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"press_down_btn.png <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"def_button.9.png <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"android-support-v4-c4b1f34ad09caa1aac264dd0d1722198.jar <span style='color:#111;'> 206.37KB </span>","children":null,"spread":false},{"title":"NuRemoteCtrl.apk <span style='color:#111;'> 300.50KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"CrossButtonView.class <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 456B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 714B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 787B </span>","children":null,"spread":false},{"title":"CrossButtonView$OnDownActionListener.class <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 673B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 85.35KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 890B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"button.xml <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"returnbtn.xml <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"menubtn.xml <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":"backbtn.xml <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"centerbtn.xml <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"homebtn.xml <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"line.xml <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"press_right_btn.png <span style='color:#111;'> 6.10KB </span>","children":null,"spread":false},{"title":"click_home.png <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"click_back.png <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false},{"title":"press_down_arrow.png <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"up_arrow.png <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"press_right_arrow.png <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"click_menu.png <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"press_up_arrow.png <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"def_return.png <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"press_left_btn.png <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"down_arrow.png <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"click_ok.png <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"def_menu.png <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"right_arrow.png <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"click_return.png <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"def_ok.png <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"press_up_btn.png <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false},{"title":"def_cross_btn.png <span style='color:#111;'> 4.69KB </span>","children":null,"spread":false},{"title":"def_back.png <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"press_left_arrow.png <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"up_btn.png <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false},{"title":"left_arrow.png <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"click_button.9.png <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"def_home.png <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"press_down_btn.png <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"def_button.9.png <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 666B </span>","children":null,"spread":false},{"title":"activity_tv.xml <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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