题目:ZOJ Problem Set - 3195 Design the city
题意:给出一个图,求三点的连起来的距离。
分析:分别求出三点中任意两点的距离 / 2 = ans
AC代码:
#include
#include
#include
#include
using namespace std;
#define N 50010
#define M...
分类:
其他好文 时间:
2014-11-06 20:09:26
阅读次数:
129
MaterialEditText是Android Material Design EditText控件。可以定制浮动标签、主要颜色、默认的错误颜色等。随着 Material Design 的到来, AppCompat v21 中也提供了 Material Design 的控件外观支持,其中包括 Ed...
分类:
移动开发 时间:
2014-11-06 16:53:58
阅读次数:
161
#include#include#include#include#include#include#include#includeusing namespace std;const int maxn = 100005;const long long INF = 0xfffffff;struct P.....
分类:
其他好文 时间:
2014-11-06 12:28:22
阅读次数:
155
苹果列出了app被拒最常见原因,你中枪了吗?ui design dos don'ts
分类:
其他好文 时间:
2014-11-05 12:16:01
阅读次数:
120
在 国内,有个很有意思的现状。一方面,几个国内最大的公司/企业的客户端/应用依旧冥顽不灵,丝毫不愿意遵循 Android Design,以各种扯淡的理由坚持使用 iOS UI 或者 Metro UI,或者其他叫不出名字的 UI;另一方面,Holo Theme 作为 Android Design 的一...
分类:
移动开发 时间:
2014-11-05 10:44:04
阅读次数:
236
由于本文引用了大量官方文档、图片资源,以及开源社区的Lib和相关图片资源,因此在转载的时候,务必注明来源,如果使用资源请注明资源的出处,尊重版权,尊重别人的劳动成果,谢谢!Material Design官方Material Design详细介绍文档:http://www.google.com/des...
分类:
移动开发 时间:
2014-11-04 19:05:05
阅读次数:
325
 随着 Material Design 的到来, AppCompat v21 中也提供了 Material Design 的控件外观支持,其中包括 EditTe...
分类:
其他好文 时间:
2014-11-04 17:44:00
阅读次数:
257
(转载,请注明出处:http://www.kennethyo.me/post/android/palettechu-ji-shi-yong)
相信有不少的人已经开始关注Android Lollipop,全新的Material设计风格让人眼前一亮,Material强调大胆的阴影和高亮搭配,引用那些意料之外和充满活力的颜色。
这里就要说到,不久前Android在v7包中更新的P...
分类:
其他好文 时间:
2014-11-04 17:26:30
阅读次数:
214
AppCompat V21:将 Materia Design 兼容到于5.0之前的设备本篇文章翻译自Chris Banes(就职于Google,是Android-PullToRefresh,PhotoView,photup的作者,GitHub地址:https://github.com/chrisba...
分类:
移动开发 时间:
2014-11-04 17:06:41
阅读次数:
326
以下Drawables的功能帮助你在应用中实现Material Design: ### 图片资源着色 在android 5.0(api 21)和更高版本,可以着色bitmap和.9 png 通过定义透明度遮盖。你可以着色通过使用颜色资源或者主题的属性去解析颜色...
分类:
移动开发 时间:
2014-11-04 00:23:02
阅读次数:
199