05 2018 档案
摘要:git config file: 1、vim .git/config 2、修改url = https://github.com/xxx/example.git to url = https://username@github.com/xxx/example.git
阅读全文
摘要:RelativeLayout是相对布局控件:以控件之间相对位置或相对父容器位置进行排列。 相对布局常用属性: 子类控件相对子类控件:值是另外一个控件的id android:layout_above 位于给定DI控件之上android:layout_below 位于给定DI控件之下 android:l
阅读全文
摘要:TextView textView = new TextView(this); GradientDrawable drawable = new GradientDrawable(); drawable.setCornerRadius(5); drawable.setStroke(1, Color.parseColor("#cccccc")); drawable.setColor(Color.pa...
阅读全文
摘要:public static enum Align { CENTER, LEFT, RIGHT; private Align() { }}
阅读全文
摘要:android:layout_above="@id/xxx" --将控件置于给定ID控件之上android:layout_below="@id/xxx" --将控件置于给定ID控件之下 android:layout_toLeftOf="@id/xxx" --将控件的右边缘和给定ID控件的左边缘对齐a
阅读全文
摘要:在Android客户端上有时候可能有些任务不是当时就执行,而是过了一个规定的时间在执行此次任务。那么这个时候定时器的作用就非常有用了。首先开启一个简单的定时器 现在我就相当于定义了一个定时器,我现在的定时器是向服务器发送Post请求来返回数据刷新到我的界面上那么接下来就是开启定时器了。开启定时器那就
阅读全文
摘要:修改你需要clone的仓库的URL地址,格式就是 https: //username:passwords@github.com/……
阅读全文
摘要:Button透明: 半透明<Button android:background="#e0000000" ... /> 透明<Button android:background="#00000000" ... /> 颜色和不透明度 (alpha) 值以十六进制表示法表示。任何一种颜色的值范围都是 0
阅读全文

浙公网安备 33010602011771号