تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يوفر نظام التشغيل Android عمليات إلغاء تعدّل السلوك المضبوط للتطبيقات.
يمكن لمصنّعي الأجهزة تطبيق عمليات إلغاء على التطبيقات على أجهزة محدّدة ذات شاشات كبيرة. توفّر الإصدارات التجريبية من Android 14 QPR1 عمليات إلغاء على مستوى المستخدم، ما يتيح للمستخدمين تطبيق عمليات الإلغاء على التطبيقات من خلال إعدادات الجهاز.
تهدف عمليات الإلغاء على مستوى التطبيق إلى تحسين تجربة المستخدم على الأجهزة ذات الشاشات الكبيرة. يمكن للتطبيقات إيقاف بعض عمليات التجاوز.
لمزيد من المعلومات حول عمليات التجاوز على مستوى التطبيق، يمكنك الاطّلاع على وضع توافق الجهاز.
عمليات الإلغاء من جانب المستخدم
يقدّم الإصدار 14 QPR1 من نظام التشغيل Android قائمة إعدادات جديدة تتيح للمستخدمين تغيير نسبة العرض إلى الارتفاع في التطبيقات لتحسين طريقة عرض التطبيقات على الشاشات الكبيرة. يتم تنفيذ القائمة في إعدادات الجهاز على أجهزة معيّنة ذات شاشة كبيرة.
على الأجهزة التي تتضمّن قائمة الإعدادات، يختار المستخدمون من قائمة التطبيقات ثم يضبطون نسبة العرض إلى الارتفاع للتطبيق على قيم مختلفة، مثل 4:3 و16:9 وملء الشاشة (يتم ضبط قيم نسبة العرض إلى الارتفاع من قِبل الشركة المصنّعة للجهاز). يمكن للمستخدمين أيضًا إعادة ضبط نسبة العرض إلى الارتفاع على الإعداد التلقائي للتطبيق، وهو القيمة التي تحدّدها الشركة المصنّعة للجهاز لكل تطبيق (راجِع OVERRIDE_MIN_ASPECT_RATIO)، أو إذا لم يتم تطبيق أي تجاوز أو إذا أوقف التطبيق التجاوز، تكون القيمة في بيان التطبيق.
إيقاف عمليات التجاوز
يتوافق الإصدار Android 14 QPR1 مع علامات PackageManager.Property التالية التي تتيح لك إيقاف قائمة إعدادات نسبة العرض إلى الارتفاع أو تعديلها على الأجهزة التي نفّذت عملية الإلغاء:
PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE
لإيقاف الإعداد التلقائي لتوافق نسبة العرض إلى الارتفاع، أضِف السمة إلى بيان تطبيقك واضبط القيمة على false:
على الأجهزة التي تم فيها تنفيذ قائمة الإعدادات، يتم استبعاد تطبيقك من قائمة التطبيقات في إعدادات الجهاز، وبالتالي لا يمكن للمستخدمين تجاهل نسبة العرض إلى الارتفاع في التطبيق.
على الأجهزة التي تم فيها تنفيذ قائمة الإعدادات، تتم إزالة خيار ملء الشاشة من قائمة خيارات نسبة العرض إلى الارتفاع في إعدادات الجهاز. لا يمكن للمستخدمين تطبيق الإذن بملء الشاشة على تطبيقك.
لن يكون لضبط هذه السمة على true أي تأثير.
تحسين تطبيقك للشاشات الكبيرة: لا تضع قيودًا على نسبة العرض إلى الارتفاع في تطبيقك، واستخدِم فئات حجم النافذة لتوفير تنسيقات مختلفة استنادًا إلى مساحة العرض المتاحة.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# Large screen user per-app overrides\n\nAndroid provides overrides that change the configured behavior of apps.\n\nDevice manufacturers can apply overrides to apps on select large screen devices. Android 14 QPR1 introduces user overrides, which enable users to apply overrides to apps through device settings.\n\nPer-app overrides are intended to improve the user experience on large screen devices. Apps can disable some overrides.\n\nFor more information about per-app overrides, see [Device compatibility mode](/guide/practices/device-compatibility-mode#user_per-app_overrides).\n| **Note:** To enable your app to provide the best user experience without relying on device manufacturer or user overrides, follow the [Large screen app quality](/docs/quality-guidelines/large-screen-app-quality) guidelines.\n\nUser overrides\n--------------\n\nAndroid 14 QPR1 introduces a new configuration menu that enables users to change the aspect ratio of apps to improve how apps display on large screens. The menu is implemented in device settings on select large screen devices.\n\nOn devices that have implemented the configuration menu, users choose from a list of apps and then set the app aspect ratio to various values, such as 4:3, 16:9, and full screen (aspect ratio values are configured by the device manufacturer). Users can also reset the aspect ratio to the app default, which is the value specified by a device manufacturer per‑app override (see [`OVERRIDE_MIN_ASPECT_RATIO`](/guide/topics/large-screens/large-screen-compatibility-mode#override_min_aspect_ratio)) or, if no override has been applied or the app has disabled the override, the value in the app manifest.\n\n### Disable the overrides\n\nAndroid 14 QPR1 supports the following [`PackageManager.Property`](/reference/android/content/pm/PackageManager.Property) tags, which enable you to disable or modify the aspect ratio configuration menu on devices that have implemented the override:\n| **Note:** The property tags are Jetpack WindowManager [WindowProperties](/reference/kotlin/androidx/window/WindowProperties) constants, which may not be available or tested on all devices.\n\n\u003cbr /\u003e\n\n- **PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE**\n\n To disable the user aspect ratio compatibility override, add the property to your app manifest and set the value to `false`: \n\n \u003capplication\u003e\n \u003cproperty\n android:name=\"android.window.PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE\"\n android:value=\"false\"/\u003e\n \u003c/application\u003e\n\n On devices that have implemented the configuration menu, your app is excluded from the list of apps in device settings; and so, users are not able to override the app's aspect ratio.\n\n Setting the property to `true` has no effect.\n\n \u003cbr /\u003e\n\n- **PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_FULLSCREEN_OVERRIDE**\n\n To disable the full-screen option of the user aspect ratio compatibility override, add the property to your app manifest and set the value to `false`: \n\n \u003capplication\u003e\n \u003cproperty\n android:name=\"android.window.PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_FULLSCREEN_OVERRIDE\"\n android:value=\"false\"/\u003e\n \u003c/application\u003e\n\n On devices that have implemented the configuration menu, the full‑screen option is removed from the list of aspect ratio options in device settings. Users are not able to apply the full‑screen override to your app.\n\n Setting this property to `true` has no effect.\n | **Caution:** If [`PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE`](#aspect_ratio_override) is set to `false`, this property has no effect.\n\n| **Note:** To implement the property tags, your app must include the Jetpack [WindowManager](/jetpack/androidx/releases/window) library dependency.\n\n**Optimize your app for large screens:** Don't set aspect ratio restrictions in your app. Use [window size classes](/develop/ui/compose/layouts/adaptive/window-size-classes) to support different layouts based on the amount of available display space."]]