Your SlideShare is downloading. ×
0
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
View andlayout
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

View andlayout

877

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
877
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. UI Widget
  • 2. Activity • Activity has Views or ViewGroups • ViewGroup has ViewGroups or Views • ViewGroup has ViewGroups or Views • recursive continue
  • 3. Layout • View Widget • ViewGroup Layout • Layout res/layout XML • onCreate setContentView
  • 4. View • TextView • EditText • ImageView • Button • ImageButton
  • 5. ViewGroup • LinearLayout • TableLayout • Gallery • TabHost
  • 6. URL • http://bit.ly/91DbG4 • http://bit.ly/8rBLYG • http://bit.ly/d5ieWu
  • 7. View • • TextView Button • width fill parent wrap content • height wrap content fill parent
  • 8. ( ) • View i/f • Button
  • 9. Button • Button button = (Button)findViewById(R.id.button);
  • 10. • Toast • setContentView setOnClickListener button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { Toast.makeText(ListenActivity.this, "button clicked", Toast.LENGTH_LONG).show(); }});
  • 11. • • • • – Android
  • 12. Dialog • • View
  • 13. Dialog • AlertDialog • DatePickerDialog • ProgressDialog • TimePickerDialog • ZoomDialog
  • 14. Dialog • AlertDialog • http://bit.ly/bghNAh
  • 15. • Menu • onCreateOptionMenu • onPrepareOptionsMenu
  • 16. • (http://db.tt/HNf3bu) •
  • 17. • NotepadTutorial • http://bit.ly/c8jm70

×