码迷,mamicode.com
首页 >  
搜索关键字:flexible box layout    ( 15795个结果
Android Layout Binder(在线将XML中View find出来,生成java代码的工具)
废话不多说,这是地址:http://android.lineten.net/layout.php。 有图有真相,例如: 你的XML假如是这样:     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:orientation=...
分类:移动开发   时间:2014-05-09 15:20:54    阅读次数:424
POJ1742可行性背包
题目: Description People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there were some coins.He decided to buy a very n...
分类:其他好文   时间:2014-05-09 15:00:55    阅读次数:345
用CSS3把列表项目反转显示
忘了哪儿的一个题目来着,说是把 一个列表 给翻转序列显示,比如 :有一个列表如图:翻转为回复里面有人机智的使用 CSS3 的transform:rotate(180deg); 实现了,引发众人赞叹。其实除了这种方法,还有其他的CSS3属性可以做到。今天在看 张鑫旭的这篇文章 的时候 发现box-di...
分类:Web程序   时间:2014-05-09 04:36:29    阅读次数:388
Css3 阴影效果
-webkit-box-shadow: #666 0px 5px 10px;-moz-box-shadow: #666 0px 5px 10px;box-shadow: #666 0px 5px 10px;/* For IE 8 */-ms-filter: "progid:DXImageTransf...
分类:Web程序   时间:2014-05-08 23:14:26    阅读次数:328
android开发之 包含EditText组件 禁止自动获取焦点弹出输入法
在EditText标签的外层Layout中加入focusableInTouchMode属性android:focusableInTouchMode="true"即可。
分类:移动开发   时间:2014-05-08 17:37:00    阅读次数:307
Android Scrollview 内部组件android:layout_height="fill_parent"无效的解决办法
Found the solution myself in the end. The problem was not with theLinearLayout,but with theScrollView(seems weird, considering the fact that theScroll...
分类:移动开发   时间:2014-05-08 13:42:02    阅读次数:321
Android LayoutInflater详解
在实际开发中LayoutInflater这个类还是非常有用的,它的作用类似于findViewById()。不同点是LayoutInflater是用来找res/layout/下的xml布局文件,并且实例化;而findViewById()是找xml布局文件下的具体widget控件(如 Button、Te...
分类:移动开发   时间:2014-05-08 11:56:47    阅读次数:464
Android 单击图片切换效果
新建一个Android项目,命名为FrameLayout此实例主要操作src文件夹下的MainActivity.Java类文件和res/layout下的activity_main.xml布局文件1.布局主页面代码activity_main.xml↓ 2.Java代码MainAc...
分类:移动开发   时间:2014-05-08 07:38:14    阅读次数:375
贪心-codeforces-388A-Fox and Box Accumulation
大意:给一些箱子,每个箱子都有自己的强度,若为n,表示它上面最多能摞n个箱子。 问:最少能把这些箱子摞成几摞。 分析:从上往下摞,贪心。...
分类:其他好文   时间:2014-05-07 16:08:30    阅读次数:286
Android学习笔记(十)——使用意图链接活动
使用意图链接活动 1、新建一个名为“UsingIntent”的项目,右击src文件夹下的包名,选择New-->Class选项,并将新的类文件名命名为“SecondActivity”; 2、打开AndroidManifest.xml文件,添加如下代码: <activity android:name=".SecondActivity" ...
分类:移动开发   时间:2014-05-07 16:02:01    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!