
Android View样式
心宽何处不桃源
我的github:https://github.com/BoomGit
我的stackoverflow:http://stackoverflow.com/users/7224200/boom
展开
-
Android 圆形的TextView
在使用的时候将控件比如imageview或textview的高宽设置成一样就是正圆,solid表示远的填充色,stroke则代表远的边框线,所以两者结合可以实现带边缘的圆,当然也可以直接加上size控制高宽, xmlns:android="http://schemas.android.com/apk/res/android" android:sh原创 2016-07-20 07:50:02 · 930 阅读 · 0 评论 -
Android之控件按下抬起变色样式
Android按下抬起变色的功能主要用到的是 state_pressed这个属性 值有True(代表按下) false(代表抬起)在res文件夹下新建一个文件夹drawable 在string里添加#ff6501 #a44100给控件应用<Button android:layout_marg原创 2016-07-20 08:01:26 · 1443 阅读 · 0 评论