📄 النص الكامل للصفحة
--- SECTION: لإضافة مكون HorizontalArrangement (الترتيب الأفقي): ---
لإضافة مكون HorizontalArrangement (الترتيب الأفقي):
من مجموعة Layout (التخطيط)، أضف مكوّن HorizontalArrangement (الترتيب الأفقي) إلى الشاشة.
في مكوّن HorizontalArrangement1 (الترتيب الأفقي)، اضبط خاصية BackgroundColor (لون الخلفية) إلى None (بدون). 2
واضبط خاصية AlignHorizontal (المحاذاة الأفقية) إلى 3 :Center (المنتصف:3). 3
واضبط خاصية AlignVertical (المحاذاة العمودية) إلى 3 :Bottom (الأسفل:3). 4
اضبط خاصية Height (الارتفاع) إلى Fill parent (تعبئة المساحة). 5
وخاصية Width (العرض) إلى Fill parent (تعبئة المساحة). 6
--- SECTION: لإضافة زر Map (الخريطة): ---
لإضافة زر Map (الخريطة):
من مجموعة User Interface (واجهة المستخدم)، أضف المكوّن Button (زر) إلى Screen1 (شاشة 1)، وأعد تسميته إلى map_button (زر_الخريطة). 2
في المكوّن map_button (زر_الخريطة)، اضبط خاصية BackgroundColor (لون الخلفية) إلى None (بدون). 3
وامسح النص من حقل Text (النص)، 4 واضبط خاصية Image (صورة) إلى أيقونة خريطة. 5
وزارة التعليم
147
Ministry of Education
2025 - 1447
--- VISUAL CONTEXT ---
**FIGURE**: شكل 3.30: إضافة مكون HorizontalArrangement (الترتيب الأفقي)
Description: A screenshot of the MIT App Inventor development environment. The interface is divided into several panels:
**Top Bar**: Displays 'MIT APP INVENTOR' logo, navigation links ('Projects', 'Connect', 'Build', 'Settings', 'Help', 'My projects', 'View Trash', 'Guide', 'Report an issue'), language selector ('English'), user email ('qkhaled.bl@gmail.com'), and view toggles ('Designer', 'Blocks').
**Left Panel (Palette)**: Lists various UI components and categories. Categories include 'User Interface' (with components like Button, CheckBox, DatePicker, Image, Label, ListPicker, ListView, Notifier, PasswordTextBox, Slider, Spinner, TextBox, TimePicker, WebViewer), 'Layout' (with HorizontalArrangement, HorizontalScrollArrangement, TableArrangement, VerticalArrangement, VerticalScrollArrangement), 'Media', 'Drawing and Animation', 'Maps', 'Sensors', 'Social', 'Storage', 'Connectivity', 'LEGO® MINDSTORMS®', 'Experimental', 'Extension'.
**Center Panel (Viewer)**: Shows a smartphone emulator with an app preview. The app is titled 'Discover Saudi Arabia' and 'Al Masmak', displaying an image of a fort and the text 'Text for Label1'. Above the emulator, there are options 'Display hidden components in Viewer' and 'Phone size (506,320)'.
**Right Panel (Components & Properties)**:
* **Components**: Lists the components currently in the app: 'AlMasmak', 'discover_label', 'VerticalArrangement1', 'title_label', 'image', 'description_label', 'HorizontalArrangement1'. Below this, 'Rename' and 'Delete' buttons are visible.
* **Properties**: Displays properties for the selected component, 'HorizontalArrangement1'. Properties shown are 'AlignHorizontal' (set to Center: 3), 'AlignVertical' (set to Bottom: 3), 'BackgroundColor' (set to None), 'Height' (set to Fill parent), 'Width' (set to Fill parent), 'Image' (set to None), and 'Visible' (checked).
**Bottom Right Panel (Media)**: Lists media assets: 'welcome-screen.png', 'riyadh_nav-img.png', 'jeddah_nav-img.png'.
Numbered circles (1-6) are overlaid on the image, pointing to specific areas of the interface relevant to the instructions provided in the text.
Key Values: MIT APP INVENTOR, Projects, Connect, Build, Settings, Help, My projects, View Trash, Guide, Report an issue, English, qkhaled.bl@gmail.com, Designer, Blocks, Palette, Search Components..., User Interface, Button, CheckBox, DatePicker, Image, Label, ListPicker, ListView, Notifier, PasswordTextBox, Slider, Spinner, TextBox, TimePicker, WebViewer, Layout, HorizontalArrangement, HorizontalScrollArrangement, TableArrangement, VerticalArrangement, VerticalScrollArrangement, Media, Drawing and Animation, Maps, Sensors, Social, Storage, Connectivity, LEGO® MINDSTORMS®, Experimental, Extension, Viewer, Display hidden components in Viewer, Phone size (506,320), Discover Saudi Arabia, Al Masmak, Text for Label1, Components, AlMasmak, discover_label, VerticalArrangement1, title_label, image, description_label, HorizontalArrangement1, Rename, Delete, Properties, HorizontalArrangement1, AlignHorizontal, Center: 3, AlignVertical, Bottom: 3, BackgroundColor, None, Height, Fill parent, Width, Fill parent, Image, None, Visible, welcome-screen.png, riyadh_nav-img.png, jeddah_nav-img.png
Context: This figure visually demonstrates the steps for adding and configuring UI components (specifically HorizontalArrangement and implicitly a Map button) within the MIT App Inventor interface, a visual programming tool for app development. The numbered circles in the image correspond to specific areas of the interface referenced in the accompanying instructions.
🎴 بطاقات تعليمية للمراجعة
عدد البطاقات: 5 بطاقة لهذه الصفحة
ما هي خطوات إضافة مكون HorizontalArrangement (الترتيب الأفقي) في MIT App Inventor؟
الإجابة: 1. من مجموعة Layout (التخطيط)، أضف مكوّن HorizontalArrangement (الترتيب الأفقي) إلى الشاشة. 2. اضبط خاصية BackgroundColor (لون الخلفية) إلى None (بدون). 3. اضبط خاصية AlignHorizontal (المحاذاة الأفقية) إلى Center (المنتصف). 4. اضبط خاصية AlignVertical (المحاذاة العمودية) إلى Bottom (الأسفل). 5. اضبط خاصية Height (الارتفاع) إلى Fill parent (تعبئة المساحة). 6. اضبط خاصية Width (العرض) إلى Fill parent (تعبئة المساحة).
الشرح: هذه الخطوات توضح كيفية إضافة وتكوين مكون تخطيط أفقي في بيئة تطوير تطبيقات MIT App Inventor، وهو أمر أساسي في تصميم واجهات المستخدم.
تلميح: ركز على الخطوات الست المذكورة بالترتيب، بدءاً من اختيار المجموعة المناسبة.
التصنيف: صيغة/خطوات | المستوى: متوسط
ما هي خطوات إضافة زر Map (الخريطة) في MIT App Inventor؟
الإجابة: 1. من مجموعة User Interface (واجهة المستخدم)، أضف المكوّن Button (زر) إلى Screen1 (شاشة 1). 2. أعد تسميته إلى map_button (زر_الخريطة). 3. اضبط خاصية BackgroundColor (لون الخلفية) إلى None (بدون). 4. امسح النص من حقل Text (النص). 5. اضبط خاصية Image (صورة) إلى أيقونة خريطة.
الشرح: هذه الخطوات توضح كيفية إنشاء زر مخصص يعمل كزر خريطة، من خلال إضافة زر عادي ثم تعديل خصائصه مثل النص والصورة.
تلميح: تذكر أن الزر يُضاف من مجموعة واجهة المستخدم، ويجب تكوين عدة خصائص بعد إضافته.
التصنيف: صيغة/خطوات | المستوى: متوسط
ما هي قيمة خاصية AlignHorizontal (المحاذاة الأفقية) التي يجب ضبطها لمكون HorizontalArrangement لوضعه في المنتصف؟
الإجابة: Center (المنتصف).
الشرح: ضبط خاصية المحاذاة الأفقية على Center يضمن أن يتم وضع المحتويات داخل مكون الترتيب الأفقي في منتصف الشاشة أفقيًا.
تلميح: الكلمة تعني 'المركز' أو 'الوسط' في اللغة الإنجليزية.
التصنيف: مفهوم جوهري | المستوى: سهل
ما هي قيمة خاصيتي Height (الارتفاع) و Width (العرض) التي تجعل مكون HorizontalArrangement يملأ المساحة المتاحة له من العنصر الأب؟
الإجابة: Fill parent (تعبئة المساحة).
الشرح: تعيين الخاصيتين إلى Fill parent يجعل مكون الترتيب الأفقي يأخذ أقصى ارتفاع وعرض ممكنين ضمن العنصر الحاوي له، مما يوفر تحكماً كاملاً في التخطيط.
تلميح: هذه القيمة تعني أن المكون سيتوسع ليشغل كل المساحة المخصصة له من العنصر الذي يحتويه.
التصنيف: مفهوم جوهري | المستوى: سهل
من أي مجموعة في لوحة Palette (لوحة الأدوات) يتم سحب مكون HorizontalArrangement؟
الإجابة: من مجموعة Layout (التخطيط).
الشرح: مكونات التخطيط مثل HorizontalArrangement و VerticalArrangement توجد في مجموعة Layout لأن وظيفتها الأساسية هي ترتيب مكونات واجهة المستخدم الأخرى.
تلميح: هذه المجموعة مسؤولة عن تنظيم وترتيب العناصر الأخرى على الشاشة.
التصنيف: مفهوم جوهري | المستوى: سهل