ReePrime China
Creating a Button: Android Programming

此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。

Creating a Button: Android Programming

2 次观看 18:25 Benedictbarry 2067

描述

Demo of using Android Studio to create a simple application with a button which generates a log message and a toast.\r
\r
1. Launch Android Studio; create simple hello-world app.\r
2. See XML and .java code for ivities\r
3. Add a button, change name, see XML\r
4. Java code to access button: View.OnClickListener\r
5. Generate a log message when button is clicked.\r
6. Generate a toast when button is clicked.\r
7. Show where to find the compiled R class.\r
\r
Listing of videos: