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 阅读全文
posted @ 2018-05-29 22:51 NOIP/NOI辅导 阅读(93) 评论(0) 推荐(0)
摘要:RelativeLayout是相对布局控件:以控件之间相对位置或相对父容器位置进行排列。 相对布局常用属性: 子类控件相对子类控件:值是另外一个控件的id android:layout_above 位于给定DI控件之上android:layout_below 位于给定DI控件之下 android:l 阅读全文
posted @ 2018-05-25 22:38 NOIP/NOI辅导 阅读(449) 评论(0) 推荐(0)
摘要:TextView textView = new TextView(this); GradientDrawable drawable = new GradientDrawable(); drawable.setCornerRadius(5); drawable.setStroke(1, Color.parseColor("#cccccc")); drawable.setColor(Color.pa... 阅读全文
posted @ 2018-05-19 22:03 NOIP/NOI辅导 阅读(1775) 评论(0) 推荐(0)
摘要:public static enum Align { CENTER, LEFT, RIGHT; private Align() { }} 阅读全文
posted @ 2018-05-17 15:54 NOIP/NOI辅导 阅读(139) 评论(0) 推荐(0)
摘要:示例: 阅读全文
posted @ 2018-05-14 20:35 NOIP/NOI辅导 阅读(162) 评论(0) 推荐(0)
摘要:android:layout_above="@id/xxx" --将控件置于给定ID控件之上android:layout_below="@id/xxx" --将控件置于给定ID控件之下 android:layout_toLeftOf="@id/xxx" --将控件的右边缘和给定ID控件的左边缘对齐a 阅读全文
posted @ 2018-05-14 10:48 NOIP/NOI辅导 阅读(157) 评论(0) 推荐(0)
摘要:在Android客户端上有时候可能有些任务不是当时就执行,而是过了一个规定的时间在执行此次任务。那么这个时候定时器的作用就非常有用了。首先开启一个简单的定时器 现在我就相当于定义了一个定时器,我现在的定时器是向服务器发送Post请求来返回数据刷新到我的界面上那么接下来就是开启定时器了。开启定时器那就 阅读全文
posted @ 2018-05-12 23:23 NOIP/NOI辅导 阅读(201) 评论(0) 推荐(0)
摘要:修改你需要clone的仓库的URL地址,格式就是 https: //username:passwords@github.com/…… 阅读全文
posted @ 2018-05-08 10:24 NOIP/NOI辅导 阅读(2599) 评论(0) 推荐(0)
摘要:Button透明: 半透明<Button android:background="#e0000000" ... /> 透明<Button android:background="#00000000" ... /> 颜色和不透明度 (alpha) 值以十六进制表示法表示。任何一种颜色的值范围都是 0 阅读全文
posted @ 2018-05-07 10:52 NOIP/NOI辅导 阅读(195) 评论(0) 推荐(0)