首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
bluestart
】的更多相关文章
bluestart
# Add nano as default editorexport EDITOR=nanoexport PULSE_LATENCY_MSEC=60 alias ls='ls --color=auto'alias ll='ls -l' [ ! "$UID" = "0" ] && archbluey -c white[ "$UID" = "0" ] && archbluey -c blue#PS…
Android获得线性渐变某点的颜色
安卓官方确实提供了好多非常强大的工具给我们了,例如我们最近经常在shape中加入gradient(渐变),像我的项目中用的是线性渐变, <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <corners android:radius="5dip&q…
android 自己定义View之SubmitView
转载请注明出处:王亟亟的大牛之路 近期看了一大堆的自己定义View多数都能够充当耗时操作的交互界面.再接再厉再传一个SubmitView.一个和可用于模仿提交等待与用户交互用的一个自己定义View 效果图: 项目结构: 一个Android Studio项目.也能够转成Eclipse,由于没有涉及到打包啊lib的一些操作.连资源文件都没用,所以能够直接Copy过去. 自己定义View public class SubmitView extends View { private static fin…