Suchergebnisse
Es werden die Ergebnisse für activity angezeigt. Keine Ergebnisse für Acivity gefunden.
Erstelle die Seite „Acivity“ in diesem Wiki. Siehe auch die gefundenen Suchergebnisse.
- Translations:Android Training/Starting Another Activity/13/en (Abschnitt Create the Second Activity)must define the activity layout with the setContentView() method. This is where the activity performs the initial setup of the activity components.…593 Bytes (51 Wörter) - 21:22, 20. Dez. 2015
- Starting an Activity…20 Bytes (3 Wörter) - 21:13, 9. Feb. 2016
- Pausing and Resuming an Activity…32 Bytes (5 Wörter) - 21:13, 9. Feb. 2016
- Stopping and Restarting an Activity…35 Bytes (5 Wörter) - 21:13, 9. Feb. 2016
- Recreating an Activity…22 Bytes (3 Wörter) - 21:13, 9. Feb. 2016
- manifest file, AndroidManifest.xml, within the Application element, add the <activity> element for your DisplayMessageActivity class, as follows:…287 Bytes (20 Wörter) - 21:22, 20. Dez. 2015
- Translations:Android Training/Starting Another Activity/15/en (Abschnitt Create the activity without Android Studio)If you're using a different IDE or the command line tools, do the following: Create a new file named DisplayMessageActivity.java in the project's src/ directory…338 Bytes (39 Wörter) - 21:22, 20. Dez. 2015
- Set the text size and message with setText().…175 Bytes (8 Wörter) - 21:22, 20. Dez. 2015
- The complete onCreate() method for DisplayMessageActivity now looks like this:…108 Bytes (10 Wörter) - 21:22, 20. Dez. 2015
- That's it, you've built your first Android app!…47 Bytes (8 Wörter) - 21:22, 20. Dez. 2015
- Add the TextView to the RelativeLayout identified by R.id.content.…186 Bytes (11 Wörter) - 21:22, 20. Dez. 2015
- Learn the basics about the activity lifecycle, how the user can launch your app, and how to perform basic activity creation.…124 Bytes (21 Wörter) - 21:13, 9. Feb. 2016
- Learn what happens when your activity is destroyed and how you can rebuild the activity state when necessary.…109 Bytes (18 Wörter) - 21:13, 9. Feb. 2016
- callback methods, you can declare how your activity behaves when the user leaves and re-enters the activity. …131 Bytes (21 Wörter) - 21:13, 9. Feb. 2016
- and click Send. The second activity replaces the first one on the screen, showing the message you entered in the first activity.…209 Bytes (38 Wörter) - 21:22, 20. Dez. 2015
- important lifecycle callback methods that each Activity instance receives and how you can use them so your activity does what the user expects and does not consume…253 Bytes (38 Wörter) - 21:13, 9. Feb. 2016
- Translations:Android Training/Starting Another Activity/14/en (Abschnitt Create a new activity using Android Studio)right-click, and select New > Activity > Blank Activity. In the Choose options window, fill in the activity details: Activity Name: DisplayMessageActivity…1 KB (148 Wörter) - 21:22, 20. Dez. 2015
- 13 Bytes (0 Wörter) - 21:13, 9. Feb. 2016
- At the top of the file, import the TextView class. In Android Studio, press Alt + Enter (option + return on Mac) to import missing classes.…224 Bytes (24 Wörter) - 21:22, 20. Dez. 2015
- Tip: In Android Studio, press Alt + Enter (option + return on Mac) to import missing classes. Inside the sendMessage() method, use findViewById() to get…228 Bytes (26 Wörter) - 21:22, 20. Dez. 2015