编程心语

markdown语法学习

markdown,为写作而生,没错,你现在在我的博客看到的文章都是markdown写的。无论是谁,只要需要写文字,都应该学习markdown

[copy]Android Studio Shortcuts (Mac)

Notes:

  • Two of the most useful shortcuts utilize the Fn (function) keys. It is therefore recommended that you enable the “Use all F1, F2, etc. keys as standard function keys” option [System Preferences > Keyboard].
  • Be sure to enable the Mac OS X 10.5+ keymap in Android Studio [Preferences > Keymap].
  • A fairly complete shortcut list can be found here .

Useful symbols:

⌘ = Command Key ⌥ = Option Key ⇧ = Shift Key ⌃ = Control Key

android如何获取view的宽高

As the idea of the Android evolved, Android has received wide attention and deployed on a very wide range of devices. Android UI had to move and make developers’ life easier: AbsoluteLayout got deprecated. It is very logical because your app will be installed on very small devices and very large devices and all the devices in between. Now, it is all WRAP_CONTENT, FILL_PARENT/MATCH_PARENT. Yet, a developer sometimes needs to

How to fix Android SDK Content Loader stuck at 0% in Eclipse

Have you encountered the case where Eclipse hangs upon startup, in particular when you are developing an Android applications with Android SDK? When that happens you see “Android SDK Content Loader” stuck at 0% in the bottom right hand of the Eclipse status bar. There are four things you can try… Solution 1: Make sure that eclipse is not active. If it is active kill eclipse from the processes tab