انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Displaying Pictures and Menus with Views

الكلية كلية تكنولوجيا المعلومات     القسم قسم شبكات المعلومات     المرحلة 3
أستاذ المادة علي كاظم خضير البيرماني       30/12/2016 12:09:23
Displaying Pictures
and Menus with Views
WHAT YOU WILL LEARN IN THIS CHAPTER
? How to use the Gallery, ImageSwitcher, GridView, and ImageView
views to display images
? How to display options menus and context menus



Gallery and ImageView Views
The Gallery is a view that shows items (such as images) in a
center-locked, horizontal scrolling list. Figure 5-1 shows how
the Gallery view looks when it is displaying some images.
The following Try It Out shows you how to use the Gallery
view to display a set of images.

ImageSwitcher
The previous section demonstrated how to use the Gallery view together with an ImageView to
display a series of thumbnail images so that when one is selected, it is displayed in the ImageView.
However, sometimes you don’t want an image to appear abruptly when the user selects it in the
Gallery view — you might, for example, want to apply some animation to the image when it

GridView
The GridView shows items in a two-dimensional scrolling grid. You can use the GridView together
with an ImageView to display a series of images.

المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .