開發android也這麼久了 ,對使用主題這樣的簡單事情再也沒必要去查看文檔,剛看到對使用主題,覺得寫的很好,很全,很到位,建議不是很熟悉的朋友看看轉載 :http://eshock.blogbus.com/logs/60758767.html使用主題Styles 樣式Themes 主題 Set the theme in the manifest 在manifest檔案中設定主題Set the theme from the application 在程式中設定主題 在設計應用程式時,
在android.graphics.Canvas類中有個沿路徑畫字的方法void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint)Draw the text, with origin at (x,y), using the specified paint, along the specified path.void drawTextOnPath(char[] text, int
Android Studio 是google 今年I/O大會中的重磅產品,GOOGLE終於開發重視Android苦逼的開發人員了。儘管是linux下進行開發,速度任然還是比較慢,可視化,智能化又低 ,而且eclipse 佔用記憶體又大,相比蘋果的XCODE 簡直弱爆了。AndroidStudio 官方下載連結Android Studio 簡介:官方是這麼描述的: Android Studio is a new Android development environment based on
神馬情況,竟然gradle 自動下載下來了,估計也就用了20來分鐘的樣子,如果你網速還行的話,當你建立一個項目的時候他會給你自動下載該檔案的。好吧既然下下來了,咋就開始幹活,但是幹活之前至少得知道咋使用吧,畢竟也是一個新工具,需要看看產品說明書了,才能發揮它的功效是吧下面就簡單的介紹下他的幾個快速鍵的使用:NO.1 Ctrl+N 可以快速的尋找你需要開啟的類,當你輸入類名的時候具有自動補全功能!To open any class in the editor quickly,
原文:http://stackoverflow.com/questions/13425002/android-html-in-strings-xmlThe best way to add html source code in strings.xml is to use <![CDATA[html source code]]>. Here is an example:<string