1 / 29

動手體驗 02 按鈕放大文字

動手體驗 02 按鈕放大文字. 書上頁數: P2-21~P2-31. 設計第一個具有互動 的 App. 使用圖形界面設計畫面. 最簡單的按一下時的處理方法. 資源 ID 是資源與程式的橋樑. 為什麼是 findViewById() ?. 首先先把舊專案關閉. 建立新專案. 接著設計 App 畫面. 幫 TextView 元件設定 Id 屬性. @+id/txv 表示是要新增一個 ID, 名稱是 "txv". 存檔後才會在 R.java 中產生對應的資源 ID. 加入按鈕元件. 設定按鈕的 On Click 屬性.

etoile
Download Presentation

動手體驗 02 按鈕放大文字

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

More Related