05 2013 档案

摘要:Android手机屏幕大小不一,有480x320, 640x360, 800x480.怎样才能让App自动适应不同的屏幕呢? 其实很简单,只需要在res目录下创建不同的layout文件夹,比如layout-640x360,layout-800x480,所有的layout文件在编译之后都会写入R.java里,而系统会根据屏幕的大小自己选择合适的layout进行使用。 阅读全文
posted @ 2013-05-29 09:24 94cool 阅读(180) 评论(0) 推荐(0) 编辑
摘要:1 public partial class Form2 : Form 2 { 3 [DllImport("user32")] 4 public static extern bool RegisterHotKey(IntPtr hWnd, int id, uint control, Keys vk); 5 //解除注册热键的api 6 [DllImport("user32")] 7 public static extern bool UnregisterHotKey(IntPtr hWnd, int id... 阅读全文
posted @ 2013-05-22 08:52 94cool 阅读(1010) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示