קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
במכשיר Android TV מופיעה מקלדת תוכנה שמופיעה במסך בשם Gboard. המקלדת
תומך במגוון רחב של תכונות, כולל המרת דיבור לטקסט (STT),
של המשתמשים, והדיבור יתורגם באופן אוטומטי לטקסט לצורך קלט.
התכונה הזו פועלת דרך Gboard, כך שאין צורך לבקש את האודיו
או לבצע טיפול מיוחד באפליקציה.
שיטות קלט
אפשר לציין את סוג שיטת הקלט
ב-Android TV בדיוק באותו האופן כמו בנייד, מלבד
Gboard ל-Android TV תומכת בקבוצה מצומצמת יותר של סוגי קלט, שמוצגים ב
את הנתונים הבאים:
איור 1. סוג הקלט של כתובת האימייל.
איור 2. סוג קלט הסיסמה.
איור 3. סוג קלט הטקסט.
איור 4. סוג קלט מספרי.
אפשר לציין סוג קלט אחד או יותר בהתאם לשימוש
מותאמת אישית. Gboard קובעת באופן אוטומטי את הפריסה הטובה ביותר על סמך הקלט
שתציינו והפריסות שבהן הוא תומך.
מיקום המודעה
אחד ההבדלים העיקריים ב-Gboard ב-Android TV הוא היכולת לציין איפה
עליך למקם את המקלדת. בעבר, המקלדת כיסה את החלק התחתון
של המסך מקצה לקצה, אבל עדכון של Gboard מאפשר
לצוף. אפשר לציין את מיקום המקלדת: שמאל, ימין או מרכז.
מיקום ברירת המחדל הוא במרכז.
איור 5. אפשרויות התאמה של Gboard.
כדי לשלוט בהתאמה, מגדירים את הערך בתוך privateImeOptions של
horizontalAlignment. האפשרויות של horizontalAlignment הן ברירת המחדל
center, left וגם right.
אפשר לראות זאת בדוגמה הבאה:
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# On-screen keyboard\n\nAndroid TV comes with an on-screen software keyboard named Gboard. The keyboard\nsupports a wide range of features, including speech-to-text (STT), which lets\nusers speak and have the speech automatically translated into text for input.\nThis feature works through Gboard, so you don't need to request the audio\npermission or do any special handling in your app.\n\nInput methods\n-------------\n\nYou can [specify the input method type](/training/keyboard-input/style)\nfor Android TV in exactly the same way as you do for mobile, except that\nGboard for Android TV supports a more limited set of input types, shown in\nthe following figures:\n\n|---------------------------------|------------------------------------|\n| **Figure 1.** Email input type. | **Figure 2.** Password input type. |\n| **Figure 3.** Text input type. | **Figure 4.** Numeric input type. |\n\nYou can specify one or more input types based on your use\ncase. Gboard automatically determines the best layout based on the input\ntypes you specify and the layouts it supports.\n\nPlacement\n---------\n\nOne major difference with Gboard for Android TV is the ability to specify where\nthe keyboard should be placed. Previously, the keyboard covered the bottom\nportion of the screen from edge to edge, but an update to Gboard lets it\nfloat. You can specify where the keyboard should go: left, right, or center.\nThe default position is in the center.\n**Figure 5.** Gboard alignment options.\n\nTo control the alignment, set the value within `privateImeOptions` for\n`horizontalAlignment`. The options for `horizontalAlignment` are the default\n`center`, `left`, and `right`.\nThis is shown in the following example: \n\n```xml\n\u003cEditText\n android:layout_width=\"match_parent\"\n android:layout_height=\"wrap_content\"\n android:imeOptions=\"actionNext\"\n android:privateImeOptions=\"horizontalAlignment=right\"\u003e\n```\n\nThis example results in the keyboard being placed at the bottom right, which works well\nwhen you have input fields aligned to the right:\n**Figure 6.** Gboard aligned to the right.\n\nSupported languages\n-------------------\n\nGboard for Android TV supports many different languages. The list of languages\nincludes the following:\n\n- English---US\n- English---Australia\n- English---Canada\n- English---UK\n- Afrikaans\n- Albanian\n- Arabic\n- Bengali\n- Bulgarian\n- Burmese\n- Chinese---Hong Kong\n- Chinese---Simplified\n- Chinese---Traditional\n- Croatian\n- Czech\n- Danish\n- Dutch---Belgium\n- Dutch---Nederlands\n- Estonian\n- Farsi\n- Filipino\n- Finnish\n- French\n- French---Belgium\n- French---Canada\n- French---Switzerland\n- German\n- German---Austria\n- German---Belgium\n- German---Switzerland\n- Greek\n- Hebrew\n- Hindi\n- Hindi---transliteration\n- Hungarian\n- Indonesian\n- Irish\n- Italian\n- Italian---Switzerland\n- Japanese---Japan\n- Korean\n- Lithuanian\n- Macedonian\n- Malay\n- Norwegian---Bokmål\n- O'zbek\n- Polish\n- Portuguese\n- Punjabi\n- Romanian\n- Russian\n- Serbian\n- Slovakian\n- Slovenian\n- Spanish---Mexico\n- Spanish---Spain\n- Swedish\n- Thai\n- Turkish\n- Ukrainian\n- Urdu\n- Vietnamese"]]