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

User Interfaces Design - II

الكلية كلية تكنولوجيا المعلومات     القسم قسم شبكات المعلومات     المرحلة 3
أستاذ المادة رائد نصر كاظم العبيدي       30/04/2018 10:03:50
1. Action BAR
In place of the traditional title bar located at the top of the device’s screen, the Action Bar displays the application icon together with the activity title. Optionally, on the right side of the Action Bar are action items. Besides displaying the application icon and the activity title on the left of the Action Bar, you can also display additional items on the Action Bar. These additional items are called action items. Action items are shortcuts to some of the commonly performed operations in your application. For example, you might be building an RSS reader application, in which case some of the action items might be “Refresh feed,” “Delete feed” and “Add new feed.”

• How do you add action items to the Action Bar?
Adding action items to the Action Bar is similar to creating menu items for an options menu — simply handle the onCreateOptionsMenu and onOptionsItemSelected events.


2. Creating and Using Menus
Menus offer a way to expose application functions without sacrificing valuable screen space. Each Activity can specify its own Activity menu that’s displayed when the device’s menu button is pressed. Android also supports context menus that can be assigned to any View within an Activity. A View’s context menu is triggered when a user holds the middle D-pad button, depresses the trackball, or long- presses the touch screen for around 3 seconds when the View has focus. Activity and context menus support submenus, checkboxes, radio buttons, shortcut keys, and icons.


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