Time of Update: 2015-07-14
標籤: <set xmlns:android="http://schemas.android.com/apk/res/android"> <translate android:fromXDelta="0"  
Time of Update: 2015-07-14
標籤:RelativeLayout用到的一些重要的屬性: 第一類:屬性值為true或false android:layout_centerHrizontal 水平置中 android:layout_centerVertical 垂直置中
Time of Update: 2015-07-14
標籤: AnimationSet可以加入Animation,加入之後設定AnimationSet對加入的所有Animation都有效。[java] view
Time of Update: 2015-07-14
標籤:一、典型的iOS構架——MVC 在典型的MVC設定中,Model呈現資料,Vie呈現使用者介面,而ViewController調節它兩者之間的互動。 雖然View和View Controller是技術上不同的組件,但他們總是手牽手在一起,成對的,View不能和不同的View Controller配對,反之亦然。View和View
Time of Update: 2015-07-14
標籤:一、 在res/values 檔案下定義一個attrs.xml 檔案.代碼如下:<?xml version="1.0" encoding="utf-8"?><resources> <declare-styleable name="customView"> &
Time of Update: 2015-07-14
標籤:一、相關概念1、Drawable就是一個可畫的對象,其可能是一張位元影像(BitmapDrawable),也可能是一個圖形(ShapeDrawable),還有可能是一個圖層(LayerDrawable),我們根據畫圖的需求,建立相應的可畫對象2、Canvas畫布,繪圖的目的地區,用於繪圖3、Bitmap位元影像,用於圖的處理4、Matrix矩陣二、Bitmap1、從資源中擷取BitmapResources res = getResources();Bitmap bmp =
Time of Update: 2015-07-14
標籤:1. Linux中proc目錄下檔案詳解 http://wenku.baidu.com/view/2ce89f00a6c30c2259019ef1.html2. Android系統/proc目錄詳解3. android proc 進程資訊解析 http://wenku.baidu.com/view/6530ad58312b3169a451a4eb.html?re=view4. How to get memory usage at
Time of Update: 2015-07-14
標籤:css3在工作中經常遇到在手機瀏覽器中瀏覽網頁時,點擊頁面中的按鈕或者是具備點擊事件的元素,就會出現一個預設的高亮框,影響整體的感官體驗。可以用一個簡單的css3屬性來解決:tap-highlight-color,最好加上webkit瀏覽器首碼。-webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent; /* For some Androids,個人感覺是低版本的安卓,4.0以下
Time of Update: 2015-07-14
標籤:1.把下載好的ttf 或者otf 格式的字型添加到工程中2.在info.plist 裡面加入fonts provided by application添加一個字型檔名的欄位3.列印所有的字型,找到你想要的字型// for(NSString *fontfamilyname in [UIFont familyNames])// {//
Time of Update: 2015-07-14
標籤:1 謙虛的天下:http://www.cnblogs.com/qianxudetianxia/2 csdn博文精選:http://www.csdn.net/article/2011-08-30/303833 備忘:張國威、魏竹林等3 ITeye短褲黨:http://gundumw100.iteye.com/4 農民伯伯:http://over140.cnblogs.com/5 低級寫手:http://byandby.iteye.com/6
Time of Update: 2015-07-14
標籤:原文地址:http://rensanning.iteye.com/blog/2016364CordovaPhoneGap Mobile App分為三大類:Native App,Hybrid App,Web App。其中Hybrid App介於Native App和Web App之間,它能兼顧Native App的良好使用者體驗及強大的功能並具有Web App跨平台快速開發的優勢。缺點在於依賴於各平台的WebView,WebView的效能好壞直接決定了Hybrid App的效能。&
Time of Update: 2015-07-14
標籤:import org.json.JSONArray;import org.json.JSONException;import org.json.JSONObject;import android.content.Context; public void allInfoFromJson(String jsonStr){ /*{ "listMsg":"資料擷取成功", "list":[
Time of Update: 2015-07-14
標籤:Fragment實現Tab首先把activity_main.xml 檔案中的ViewPager標籤改成Fragment標籤1 <FrameLayout2 android:id="@+id/id_content"3 android:layout_width="fill_parent"4 android:layout_height="0dp"5 android:layout_weight="1" >6
Time of Update: 2015-07-14
標籤:導讀:本文是從《5 Things to Avoid while Developing Your Next Mobile App》這篇文章翻譯而來 智能手機的普及帶動了大批行動裝置 App的誕生,這些應用可以協助人們解決日常生活所面臨的種種問題。Smart Insights 發表的一份報告指出,行動裝置 App占人們使用智能手機總時間的89%,因此,為了確保你所開發的 App 可以成功,並且能夠實現長期盈利,在研發時,你需要繞過以下五個大坑: 1.
Time of Update: 2015-07-14
標籤:android課程一、DDMS的使用 DDMS 的全稱是Dalvik Debug Monitor Service,是 Android 開發環境中的Dalvik虛擬機器調試監控服務。它為我們提供例如:為測試裝置截屏,針對特定的進程查看正在啟動並執行線程以及堆資訊、Logcat、廣播狀態資訊、類比撥打電話、接收SMS、虛擬地理座標等等。 進入DDMS之後,介面如下: &
Time of Update: 2015-07-13
標籤: 很奇怪,我們不屑與他人為伍,卻害怕自己與眾不同。——By保羅.柯艾略 我從小喜歡新奇的事物,喜歡嘗試一些稀奇古怪的東西。在科技迅猛發展的這個時候,我在數位產品方面的興趣從未減退,從以前的BB機到如今的腎6,我從未停下追隨的腳步。今天給大家帶來的是一款革命性的產品,它將PC做到了極致,在這個新奇事物如雨後春筍一般的時代中,脫穎而出。這就是我今天要介紹的,智星空Smart PC,全球最小
Time of Update: 2015-07-13
標籤:ios 帶搜尋欄表視圖 帶搜尋欄表視圖 此執行個體主要實現 Search Bar and Search Display Controller ,注意不是Search Bar控制項。 Search Bar and Search Display
Time of Update: 2015-07-13
標籤:1.首先我們直接上代碼介紹:// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { repositories { //這裡可以看到是指明的jcenter(), 之前版本則是mavenCentral() //
Time of Update: 2015-07-13
標籤:Google App Engine是一個網路應用託管服務(web application hosting service)。所謂網路應用(By web application),我們的意思的可以通過網路訪問的應用或者服務,通常是通過Web瀏覽器。有購物車的店面(storefronts with shopping carts),社交網路(social networking sites),多人遊戲(multiplayer games),行動裝置 App(mobile applications)
Time of Update: 2015-07-13
標籤:mystra ios uiview 停止互動 失去焦點 UIView停止互動(失去焦點): 設定userInteractionEnabled=NO, 擷取互動設定YES. 可以應用於UIButton, UITextField等互動型控制項.[editButton