目前分類:來玩Android (56)
- Jun 23 Tue 2015 15:23
[Android] Android基本功-單選radio button及其選擇事件監聽
- Jun 23 Tue 2015 14:46
[Android] Android基本功-核取方塊及其事件監聽
- Jun 23 Tue 2015 14:08
[Android] Android基本功-按鈕按後停用
- Jun 23 Tue 2015 13:57
[Android] Android基本功-字型字體的設定
- Jun 23 Tue 2015 13:36
[Android] Android基本功-文字顏色大小設定
- Jun 23 Tue 2015 11:25
[Android] Android基本功-鍵盤事件的監聽
- Jun 23 Tue 2015 11:03
[Android] Android基本功-螢幕觸摸的監聽
- Jun 23 Tue 2015 10:52
[Android] Android基本功-按下及放開按鈕的事件監聽
- Jun 23 Tue 2015 10:30
[Android] Android基本功-按下按鈕的事件監聽
- Jun 22 Mon 2015 14:35
[Android] Android基本功-使用table來控制顯示
- Jun 22 Mon 2015 14:24
[Android] Android基本功-使用for建立多個按鈕
- Jun 22 Mon 2015 13:52
[Android] Android基本功-建立按鈕
- Jun 22 Mon 2015 13:04
[Android] Android基本功 建立多行文字顯示
package com.example.addmultitext; import android.app.*; import android.os.*; import android.widget.*; import android.view.Menu; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LinearLayout ll = new LinearLayout(this); ll.setOrientation(LinearLayout.VERTICAL); setContentView(ll); TextView tv1 = new TextView(this); tv1.setText("歡迎使用Android!"); TextView tv2 = new TextView(this); tv2.setText("再次感謝使用Android!"); ll.addView(tv1); ll.addView(tv2); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } }
- Jun 22 Mon 2015 13:02
[Android] Android基本功 建立文字顯示
- Jun 22 Mon 2015 13:00
[Android] 初試啼聲 Android第一個Hello World程式
- Jun 22 Mon 2015 12:54
[Android] Android開發環境的安裝
1.先到Oracle網站http://www.oracle.com/technetwork/java/javase/downloads/index.html下載安裝JDK並安裝.
2.設定JAVA的系統環境路徑