متن بخش مرکزی هر رابط کاربری است و Jetpack Compose نمایش یا نوشتن متن را آسانتر میکند. ترکیب اهرمهای بلوکهای ساختمان آن را بنویسید، به این معنی که نیازی به بازنویسی ویژگیها و روشها یا گسترش کلاسهای بزرگ برای داشتن یک طراحی و منطق قابل ترکیب خاص ندارید.
Compose به عنوان پایه خود، یک BasicText
و BasicTextField
را ارائه میکند که پایههایی برای نمایش متن و مدیریت ورودی کاربر هستند. در سطح بالاتر، Compose Text
و TextField
ارائه میکند که مطابق دستورالعملهای طراحی متریال قابل ترکیب هستند. توصیه می شود از آنها استفاده کنید زیرا ظاهر و احساس مناسبی برای کاربران در اندروید دارند و شامل گزینه های دیگری برای ساده سازی سفارشی سازی آنها بدون نیاز به نوشتن کد زیاد است.
نمونه ها
Evernote's mission is to help individuals and groups remember everything, turn ideas into action, and work effortlessly together. Their Android app gives people the tools they need to get organized, take and save notes, and collaborate with others. Squid allows users to take handwritten notes naturally on various devices. With Squid you can write just like you would on paper using an active pen, passive stylus, or your finger and easily mark up PDFs to fill out forms, edit/grade papers, or sign documents.Evernote launches on ChromeOS and sees 3X increase in time spent on larger screen devices
Squid boosts their rating with new features in ChromeOS
درحالحاضر هیچ توصیهای وجود ندارد.
وارد سیستم «حساب Google» خودتان شوید.