المفضلة
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
- نشاط المضيف:
TelecomActivity
- جزء:
FavoriteFragment
الشكل 1. شاشة المفضلة
تَخطِيط. @layout/favorite_fragment
-
@+id/empty_page_container
المكون [المعرف:] ClassName | ملكية | قيمة |
---|
TextView | textAppearance | ?android:attr/textAppearanceLarge |
| string | @string/favorites_empty |
| layout_marginBottom | @dimen/favorite_add_button_and_text_separation |
add_favorite_button: UxrButton | height | @dimen/touch_target_size |
| android:textAppearance | ?android:attr/textAppearanceMedium |
| textColor | @color/hero_button_text_color |
| background | @drawable/hero_button_background |
| paddingHorizontal | @dimen/favorite_add_button_padding |
| app:carUxRestrictions | UX_RESTRICTIONS_NO_SETUP |
الشكل 2. @ layout / fragment_fragment
تَخطِيط. @layout/favorite_fragment
-
@+id/favorite_list_fragment. FavoriteListFragment
> @layout/list_fragment
عنصر الاتصال المفضل. @layout/favorite_contact_list_item
عنصر [المعرف:] ClassName | ملكية | قيمة |
---|
root: LinearLayout | orientation | vertical |
gravity | center_horizontal |
background | ?android:attr/selectableItemBackground |
icon: ImageView | width | @dimen/large_avatar_icon_size |
height | @dimen/large_avatar_icon_size |
marginBottom | @dimen/favorites_avatar_margin_bottom |
title: TextView | textAppearance | ?android:attr/textAppearanceLarge |
text: TextView | textAppearance | ?android:attr/textAppearanceSmall |
زر "إضافة المفضلة". @layout/add_favorite_list_item
المكون [المعرف:] ClassName | ملكية | قيمة |
---|
title: UxrButton | text | @string/add_favorite_button |
| textColor | @color/hero_button_text_color |
| textAppearance | ?android:attr/textAppearanceLarge |
| background | ?android:attr/selectableItemBackground |
| drawableTop | @drawable/ic_add_favorite |
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2023-06-16 (حسب التوقيت العالمي المتفَّق عليه)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]
{"lastModified": "\u062a\u0627\u0631\u064a\u062e \u0627\u0644\u062a\u0639\u062f\u064a\u0644 \u0627\u0644\u0623\u062e\u064a\u0631: 2023-06-16 (\u062d\u0633\u0628 \u0627\u0644\u062a\u0648\u0642\u064a\u062a \u0627\u0644\u0639\u0627\u0644\u0645\u064a \u0627\u0644\u0645\u062a\u0641\u0651\u064e\u0642 \u0639\u0644\u064a\u0647)"}
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2023-06-16 (حسب التوقيت العالمي المتفَّق عليه)"]]