android获取焦点后按钮变大

上传者: aiwusheng | 上传时间: 2019-12-21 19:23:42 | 文件大小: 1.65MB | 文件类型: zip
当按钮获取焦点后,按钮增大到之前的1.3倍。个人博客:xiaxveliang.blog.163.com

文件下载

资源详情

[{"title":"( 43 个子文件 1.65MB ) android获取焦点后按钮变大","children":[{"title":"FocusLarge","children":[{"title":".project <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 848B </span>","children":null,"spread":false},{"title":"Button_donghua.apk <span style='color:#111;'> 226.41KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"FocusLarge.apk <span style='color:#111;'> 204.87KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-43c01156cef6b0293702df1190398b0e.jar <span style='color:#111;'> 184.80KB </span>","children":null,"spread":false},{"title":"annotations-36dc302e814fde69c553d7e6133e87dd.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"android-support-v4-080acaf633e38f0de7c81d306ae2d849.jar <span style='color:#111;'> 184.80KB </span>","children":null,"spread":false},{"title":"android-support-v4-13c0e9f2c47e58823c37b044263f4795.jar <span style='color:#111;'> 184.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-hdpi","children":null,"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </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":null,"spread":false}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 16.25KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"hck","children":[{"title":"R$string.class <span style='color:#111;'> 365B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 365B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 307B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 510B </span>","children":null,"spread":false}],"spread":true},{"title":"xiaxl","children":[{"title":"MainActivity.class <span style='color:#111;'> 499B </span>","children":null,"spread":false},{"title":"MyButton.class <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"classes.dex <span style='color:#111;'> 544.30KB </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 182B </span>","children":null,"spread":false}],"spread":true},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 848B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 472.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"xiaxl","children":[{"title":"MyButton.java <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 282B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 213B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":null,"spread":false},{"title":"anim","children":[{"title":"scale_to_large.xml <span style='color:#111;'> 385B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"hck","children":[{"title":"R.java <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 149B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • Jay龍 :
    可以用,不过不是通过点击事件来实现,通过遥控器等切换焦点时才有效果
    2016-05-18
  • sinat_27228173 :
    代码还可以 但是比较简单
    2015-10-14
  • 钟小明_ :
    很好 我想到的是在MainActivity遍历所有按钮 没有想到从根本是Button解决这个问题 惭愧了
    2015-09-16
  • lxx_1053419668 :
    只是获取焦点 并没有变大
    2015-08-25
  • 天蓝色de海 :
    额,貌似没有效果,但是可以借鉴一下思路
    2015-07-27

免责申明

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