จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อความ
สิ่งที่ต้องทำ
อัปเดตล่าสุด |
รุ่นที่เสถียร |
รุ่นที่อาจได้รับการเผยแพร่ |
รุ่นเบต้า |
รุ่นอัลฟ่า |
27 สิงหาคม 2025 |
- |
- |
- |
1.0.0-alpha01 |
การประกาศทรัพยากร Dependency
หากต้องการเพิ่มการอ้างอิงใน Text คุณต้องเพิ่มที่เก็บ Maven ของ Google ลงในโปรเจ็กต์
อ่านข้อมูลเพิ่มเติมได้ที่ที่เก็บ Maven ของ Google
เพิ่มการอ้างอิงสำหรับอาร์ติแฟกต์ที่คุณต้องการในไฟล์ build.gradle
สำหรับแอปหรือโมดูลของคุณ
ดึงดูด
dependencies {
//TODO: Confirm these dependencies
implementation "androidx.text:text:1.0.0-alpha01"
}
Kotlin
dependencies {
//TODO: Confirm these dependencies
implementation("androidx.text:text:1.0.0-alpha01")
}
ดูข้อมูลเพิ่มเติมเกี่ยวกับการพึ่งพาได้ที่เพิ่มการพึ่งพาบิลด์
ความคิดเห็น
ความคิดเห็นของคุณช่วยเราปรับปรุง Jetpack ให้ดียิ่งขึ้น โปรดแจ้งให้เราทราบหากพบปัญหาใหม่หรือมี
ไอเดียในการปรับปรุงไลบรารีนี้ โปรดดูปัญหาที่มีอยู่
ในไลบรารีนี้ก่อนสร้างปัญหาใหม่ คุณสามารถโหวตปัญหาที่มีอยู่ได้โดย
คลิกปุ่มดาว
สร้างปัญหาใหม่
ดูข้อมูลเพิ่มเติมได้ในเอกสารประกอบของเครื่องมือติดตามปัญหา
ไม่มีบันทึกประจำรุ่นสำหรับอาร์ติแฟกต์นี้
รุ่น 1.0
เวอร์ชัน 1.0.0-alpha01
27 สิงหาคม 2025
androidx.text:text-vertical:1.0.0-alpha01
ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha01 มีการเปลี่ยนแปลงเหล่านี้
ฟีเจอร์ใหม่
- ไลบรารีข้อความแนวตั้งใหม่เพื่อรองรับเลย์เอาต์ข้อความแนวตั้งสำหรับภาษาญี่ปุ่นเป็นหลัก โดยใช้ประโยชน์จาก Flag VERTICAL_TEXT_FLAG ใหม่ที่เพิ่มเข้ามาใน Android 16
- เพิ่ม
VerticalTextLayout
ที่แสดงข้อความแนวตั้งที่มีการขึ้นบรรทัดอย่างถูกต้อง มีการวางแนวแบบผสม (เช่น อักขระละตินแนวนอนภายในบรรทัดแนวตั้ง) และข้อความรูบี (8b3a10)
- เพิ่ม
FontShearSpan
สำหรับรูปแบบคล้ายตัวเอียงในข้อความแนวตั้ง (1ffd78)
- เพิ่ม
EmphasisRun
สำหรับเครื่องหมายเน้นเสียง (fe12d9)
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-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-08-27 UTC"],[],[],null,["text \nAPI Reference \n[androidx.text](/reference/kotlin/androidx/text/package-summary) \nTODO \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|-----------------|----------------|-------------------|--------------|----------------------------------------------------------------|\n| August 27, 2025 | - | - | - | [1.0.0-alpha01](/jetpack/androidx/releases/text#1.0.0-alpha01) |\n\nDeclaring dependencies\n\nTo add a dependency on Text, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\nGroovy \n\n```groovy\ndependencies {\n //TODO: Confirm these dependencies\n implementation \"androidx.text:text:1.0.0-alpha01\"\n}\n```\n\nKotlin \n\n```kotlin\ndependencies {\n //TODO: Confirm these dependencies\n implementation(\"androidx.text:text:1.0.0-alpha01\")\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\n\nFeedback\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:779818%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=779818&template=1371638)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nThere are no release notes for this artifact.\n\nVersion 1.0\n\nVersion 1.0.0-alpha01\n\nAugust 27, 2025\n\n`androidx.text:text-vertical:1.0.0-alpha01` is released. Version 1.0.0-alpha01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/cd8ce2bdb21194a81a76325a8e65dad5d7e28681/text/text-vertical).\n\n**New Features**\n\n- A new vertical text library to support vertical text layout mainly for Japanese, by leveraging the new [VERTICAL_TEXT_FLAG](https://developer.android.com/reference/android/graphics/Paint#VERTICAL_TEXT_FLAG) flag added in Android 16.\n- Added `VerticalTextLayout` that displayed vertical text with proper line breaks, mixed orientation (e.g., horizontal Latin characters within a vertical line), and ruby text. ([8b3a10](https://android.googlesource.com/platform/frameworks/support/+/8b3a10cb8bc1ad17da5da6bb1386499453a4899e))\n- Added `FontShearSpan` for italic-like style in vertical text. ([1ffd78](https://android.googlesource.com/platform/frameworks/support/+/1ffd782e24d6143a899c18c1599a95cab0d6cf64))\n- Added `EmphasisRun` for emphasis marks. ([fe12d9](https://android.googlesource.com/platform/frameworks/support/+/fe12d9efff8394cfed4717324fe5dc648dc1e927))"]]