রচনা উপাদান পরিধান 3
| সর্বশেষ আপডেট | স্থিতিশীল রিলিজ | প্রার্থী মুক্তি | বিটা রিলিজ | আলফা রিলিজ |
|---|---|---|---|---|
| আগস্ট 27, 2025 | 1.5.0 | - | - | - |
নির্ভরতা ঘোষণা করা
পরিধানের উপর নির্ভরতা যোগ করতে, আপনাকে অবশ্যই আপনার প্রকল্পে Google Maven সংগ্রহস্থল যোগ করতে হবে। আরও তথ্যের জন্য Google এর Maven সংগ্রহস্থল পড়ুন।
আপনার অ্যাপ বা মডিউলের জন্য build.gradle ফাইলে আপনার প্রয়োজনীয় আর্টিফ্যাক্টগুলির জন্য নির্ভরতা যোগ করুন:
গ্রোভি
dependencies { implementation "androidx.wear.compose:compose-foundation:1.5.0" // For Wear Material Design UX guidelines and specifications implementation "androidx.wear.compose:compose-material3:1.5.0" // For integration between Wear Compose and Androidx Navigation libraries implementation "androidx.wear.compose:compose-navigation:1.5.0" // For Wear preview annotations implementation("androidx.wear.compose:compose-ui-tooling:1.5.0") // NOTE: DO NOT INCLUDE dependencies on androidx.wear.compose:compose-material // or androidx.compose.material:material. // androidx.wear.compose:compose-material3 is designed as a replacement, // not an addition, to both of these other libraries. // If there are features from that you feel are missing from // androidx.wear.compose:compose-material3, please raise a bug to let us know. }
কোটলিন
dependencies { implementation("androidx.wear.compose:compose-foundation:1.5.0") // For Wear Material Design UX guidelines and specifications implementation("androidx.wear.compose:compose-material3:1.5.0") // For integration between Wear Compose and Androidx Navigation libraries implementation("androidx.wear.compose:compose-navigation:1.5.0") // For Wear preview annotations implementation("androidx.wear.compose:compose-ui-tooling:1.5.0") // NOTE: DO NOT INCLUDE dependencies on androidx.wear.compose:compose-material // or androidx.compose.material:material. // androidx.wear.compose:compose-material3 is designed as a replacement, // not an addition, to both of these other libraries. // If there are features from that you feel are missing from // androidx.wear.compose:compose-material3, please raise a bug to let us know. }
নির্ভরতা সম্পর্কে আরও তথ্যের জন্য, বিল্ড নির্ভরতা যুক্ত করুন দেখুন।
প্রতিক্রিয়া
আপনার প্রতিক্রিয়া জেটপ্যাককে আরও ভাল করতে সাহায্য করে। আপনি যদি নতুন সমস্যা আবিষ্কার করেন বা এই লাইব্রেরির উন্নতির জন্য ধারনা পান তাহলে আমাদের জানান। আপনি একটি নতুন তৈরি করার আগে অনুগ্রহ করে এই লাইব্রেরিতে বিদ্যমান সমস্যাগুলি দেখুন৷ আপনি তারকা বোতামে ক্লিক করে একটি বিদ্যমান সমস্যায় আপনার ভোট যোগ করতে পারেন।
আরও তথ্যের জন্য ইস্যু ট্র্যাকার ডকুমেন্টেশন দেখুন।
Wear Compose Material3 সংস্করণ 1.5
সংস্করণ 1.5.0
আগস্ট 27, 2025
androidx.wear.compose:compose-*:1.5.0 প্রকাশিত হয়েছে। সংস্করণ 1.5.0 এ এই কমিটগুলি রয়েছে।
1.4.0 থেকে গুরুত্বপূর্ণ পরিবর্তন
Wear Compose Material 3 লাইব্রেরির প্রথম প্রকাশ, যা নতুন Material 3 Expressive ডিজাইন সিস্টেমকে সমর্থন করে। এই রিলিজ অন্তর্ভুক্ত:
- আপডেট করা
MaterialThemeএবং ডাইনামিক কালার থিমিং। - নতুন
AppScaffold, ScreenScaffold,HorizontalPagerScaffold, এবংVerticalPagerScaffoldউপাদানগুলি স্ক্রীনের কাঠামো তৈরি করতে এবংScrollIndicator,TimeText,HorizontalPageIndicator, এবংVerticalPageIndicatorঅ্যানিমেশনগুলির সমন্বয় করতে৷ - শেপ morphing
IconButton,TextButton,IconToggleButton, এবংTextToggleButton, যে বৈচিত্রগুলি চাপা বা চেক করার সময় অ্যানিমেট হয়৷ -
EdgeButton, যার স্ক্রিনের নীচের জন্য ডিজাইন করা একটি বিশেষ আকৃতি রয়েছে। -
ButtonGroupবোতামগুলির একটি অভিব্যক্তিপূর্ণ গোষ্ঠী প্রয়োগ করে, একটি সারিতে যা স্পর্শ করার সময় আকার-রূপ দেয়। - অতিরিক্ত কথোপকথন বিষয়বস্তুর জন্য বৈচিত্র্য সহ
AlertDialogএবংConfirmationDialog। -
TimePickerএবংDatePickerউপাদান। - অগ্রগতি সূচকগুলির মধ্যে রয়েছে
CircularProgressIndicator(বিভাগকৃত প্রকরণ সহ),ArcProgressIndicatorএবংLinearProgressIndicator।
এছাড়াও, Wear Compose Foundation 1.5.0-এ নিম্নলিখিতগুলি অন্তর্ভুক্ত রয়েছে:
-
TransformingLazyColumn, একটি অলস, উল্লম্বভাবে স্ক্রলিং তালিকা যা স্কেলিং এবং মর্ফিং অ্যানিমেশন সমর্থন করে। -
HorizontalPagerএবংVerticalPagerসাথে Wear Compose Foundation-এ পেজিংয়ের জন্য সমর্থন। - হায়ারার্কিক্যাল ফোকাস গ্রুপ - কম্পোজিশনের সক্রিয় অংশের ট্র্যাক রাখতে এবং ফোকাস সমন্বয় করতে একটি অ্যাপ্লিকেশনে কম্পোজেবল টীকা করতে ব্যবহৃত হয়।
( ওয়্যার ওএসের জন্য ম্যাটেরিয়াল 3 এক্সপ্রেসিভ ) সম্পর্কে আরও পড়ুন
সংস্করণ 1.5.0-rc02
13 আগস্ট, 2025
androidx.wear.compose:compose-*:1.5.0-rc02 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-rc02-এ এই কমিট রয়েছে।
বাগ ফিক্স
-
TimePickerএকটি বাগ সংশোধন করা হয়েছে যেখানে দীর্ঘ, আন্তর্জাতিক স্ট্রিং (AM/PM) লেআউটটি ভেঙে দিতে পারে। ( I0fa81 )
সংস্করণ 1.5.0-rc01
30 জুলাই, 2025
androidx.wear.compose:compose-*:1.5.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-rc01-এ এই কমিট রয়েছে।
বাগ ফিক্স
-
TimePickerএখন সম্পূর্ণরূপে ব্যবহারকারীর লোকেল দ্বারা চালিত,DateFormat.getBestDateTimePatternব্যবহার করে এর বাছাইকারী এবং বিভাজকগুলির ক্রম এবং বিষয়বস্তু নির্ধারণ করে৷ এটি CJK ভাষার জন্য ভুল কলামের ক্রম সংশোধন করে, আরবি ভাষার মতো ভাষায় RTL লেআউট সমস্যা সমাধান করে, স্থানীয় বিভাজক ব্যবহার করে এবং লোকেলের উপর ভিত্তি করে 0-11 এবং 1-12 ঘন্টা উভয় ফর্ম্যাট সমর্থন করে ( I5d543 ) -
DatePickerএখন সংখ্যাসূচক এবং ভাষাগত বিন্যাসগুলিকে মিশ্রিত করা এড়াতে CJK-এর মতো কিছু লোকেলে একটি সংখ্যাসূচক মাস প্রদর্শন করে (যেমন, 2025 | 7月 | 02 এর পরিবর্তে 2025 | 07 | 02)। এই পরিবর্তনটি একটি হিউরিস্টিক প্রযোজ্য যা লোকেল বছরের জন্য ভাষাগত প্রত্যয় ব্যবহার করে কিনা তা পরীক্ষা করে এবং যদি তাই হয়, তাহলে ধারাবাহিকতার জন্য মাসিক বিন্যাসকে পাঠ্য (MMM) থেকে সংখ্যাসূচক (MM) এ পরিবর্তন করে। ( IA93fe ) - পিকার কম্পোনেন্টে শিরোনামের জন্য উল্লম্ব স্থান এখন স্থির, যখন একটি পিকার কলাম নির্বাচন করা হয়, বিশেষ করে
Talkbackমোডে দৃশ্যমান স্থানান্তর প্রতিরোধ করে। ( I7f8b7 ) -
HorizontalPageIndicatorএবংVerticalPageIndicatorপূর্ণ স্ক্রীন আঁকার কারণে একটি অ্যাক্সেসিবিলিটি বাগ সংশোধন করা হয়েছে। পৃষ্ঠা নির্দেশকগুলি আর পূর্ণ-স্ক্রীন নয়, এবংHorizontalPagerScaffoldবাVerticalPagerScaffoldসাথে ব্যবহার করার সময় স্বয়ংক্রিয়ভাবে অবস্থান করা হবে। পেজার স্ক্যাফোল্ড ব্যবহার না করার সময়,HorizontalPageIndicatorসাথেmodifier = Modifier.align(Alignment.BottomCenter)এবংVerticalPageIndicatorএর সাথেmodifier =Modifier.align(Alignment.CenterEnd)ব্যবহার করে স্পষ্টভাবে সারিবদ্ধকরণটি নির্দিষ্ট করুন। ( I3a0ad ) -
SwipeToRevealএ সোয়াইপ দিকটি এখন LTR এবং RTLLayoutDirectionsউভয়ের জন্যই সামঞ্জস্যপূর্ণ। ( I6d427 ) - ক্রিয়াগুলির জন্য উল্লম্ব কেন্দ্রীকরণ পুনঃস্থাপিত
SwipeToReveal. যদিhasPartiallyRevealedState = true,RevealStateRevealValue.Coveredএ রিসেট করা উচিত। স্ক্রোল করার সময় কলারের দ্বারা আবৃত। ( I6473d ) -
SwipeDismissableNavHostএখন API 36 এর জন্য সঠিকভাবে কন্টেন্ট ক্লিপ করে। ( Ib9a44 )
সংস্করণ 1.5.0-beta06
জুলাই 16, 2025
androidx.wear.compose:compose-*:1.5.0-beta06 প্রকাশিত হয়েছে। 1.5.0-beta06 সংস্করণে এই কমিটগুলি রয়েছে৷
বাগ ফিক্স
-
LazyColumnবাScalingLazyColumnreverseLayout = trueথাকলেEdgeButtonঅ্যানিমেশন ঠিক করুন। ( I46a1a ) -
ScreenScaffoldএ একটি বাগ সংশোধন করা হয়েছে যেখানে একটিScrollIndicator/PageIndicatorপ্রদান করা হলে টকব্যাকের অধীনে টাচ-টু-অন্বেষণ কাজ করছে না। ( I6dcee ) -
TransformingLazyColumnএখন ব্যাকগ্রাউন্ড পেইন্টারেTransformationSpecদ্বারা প্রদত্তitemHeightমান পড়েTransformationSpecথেকে কাস্টম মরফিং করার অনুমতি দেয়। ( I6a599 ) -
IconButtonজন্য অ্যানিমেটেড সক্রিয়/অক্ষম রঙ পরিবর্তন,IconToggleButtonসাথে সামঞ্জস্যপূর্ণ। ( ife10a ) - অ্যানিমেট করার সময় ন্যূনতম ডট আকারে একটি লক্ষণীয় লাফ এড়াতে
CircularProgressIndicatorইন্ডিকেটরে ন্যূনতম বিভাগ ক্ল্যাম্পিং সরিয়ে দেওয়া হয়েছে। এই পরিবর্তনের অংশ হিসেবে,drawCircularProgressIndicatorএtargetProgressপ্যারামিটার এখন অব্যবহৃত। ( I33309 ) - পিকারের এখন শব্দার্থিক ভূমিকা রয়েছে
ValuePickerযা স্ক্রিন রিডাররা পিকারদের আরও অ্যাক্সেসযোগ্য করতে ব্যবহার করতে পারে। পিকারের কাছে আপডেট করা অ্যাক্সেসিবিলিটি ক্লিক লেবেল রয়েছে যা শুধুমাত্র-পঠন মোডে মান সামঞ্জস্য করা এবং অন্যথায় বর্তমান মান নির্বাচন করার মধ্যে পার্থক্য করে। ( I33309 )
সংস্করণ 1.5.0-beta05
2 জুলাই, 2025
androidx.wear.compose:compose-*:1.5.0-beta05 প্রকাশিত হয়েছে। 1.5.0-beta05 সংস্করণে এই কমিটগুলি রয়েছে৷
বাগ ফিক্স
-
Modifier.edgeSwipeToDismiss( I78cb5 ) এর ব্যবহার স্পষ্ট করতে ডকুমেন্টেশন আপডেট করা হয়েছে - অ্যাড্রেসড বাগ যেখানে অলস তালিকায় ( I1d4f6 )
SwipeToRevealদিয়ে একাধিক প্রকাশ করা আইটেম দেখানো যেতে পারে - বিষয়বস্তু ক্লিপিং এড়াতে
TransformingLazyColumnএ কন্টেইনারের আকার এখন স্কেল করা হয়েছে। ( I9221a ) - ঘন্টা/মিনিট/সেকেন্ড বা বছর/মাস/দিনের জন্য
TimePickerএবংDatePickerলেবেলে এখন স্ক্রীন রিডারদের জন্য শিরোনাম শব্দার্থ রয়েছে ( I77d8b ) - অনিশ্চিত
CircularProgressIndicator( Iaf0bb ) এ লুপগুলির মধ্যে বিরতি সরানো হয়েছে - আইটেম সরানো হলে
TransformingLazyColumnএ একটি অ্যানিমেশন বাগ সংশোধন করা হয়েছে। ( I73034 ) - যখন আইটেমগুলি সরানো হয় তখন
TransformingLazyColumnএ অ্যাঙ্কর আইটেমগুলির সঠিক হ্যান্ডলিং। ( I841a8 ) -
PickerGroupএখন পিকারদের অনুভূমিকভাবে অ্যানিমেট করে যখন অটোসেন্টারিং চালু থাকে এবং নির্বাচিত (কেন্দ্রিক) পিকার পরিবর্তন করা হয়। ( Ic82c4 )
সংস্করণ 1.5.0-beta04
18 জুন, 2025
androidx.wear.compose:compose-*:1.5.0-beta04 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-beta04-এ এই কমিট রয়েছে।
বাগ ফিক্স
-
TransformingLazyColumnএ লেআউট বাগ ঠিক করুন, যেখানে স্ক্রীনের মধ্যে মানানসই বিষয়বস্তু এখন স্ক্রিনের শীর্ষ থেকে সঠিকভাবে সারিবদ্ধ করা হয়েছে ( I80115 ) -
TransformingLazyColumnসাথে একটি সমস্যা সমাধান করা হয়েছে যেখানে একটিEdgeButtonদিয়ে তালিকার একেবারে নীচে স্ক্রোল করার সময় নীচের আইটেমটি ভুলভাবে স্কেল করা হয়েছিল। লেআউট পুনরুদ্ধার করার সময় স্ক্রোল অগ্রগতি এখন গ্রেডিয়েন্ট ডিসেন্ট অনুসরণ করে। ( IEA375 ) -
TransformingLazyColumnএখন ব্যাকগ্রাউন্ড পেইন্টারের ভিতরে আইটেমের উচ্চতা পড়ে, যা কাস্টমTransformationSpecsমরফিং প্রয়োগ করতে দেয়। ( I022f0 ) -
SwipeToRevealএখন উল্লম্বভাবে প্রকাশিত ক্রিয়াগুলিকে সঠিকভাবে কেন্দ্র করে। ( I4419b ) -
SwipeToRevealএ একটি বাগ সংশোধন করা হয়েছে যা স্ক্রীনে ভিউ এবং কম্পোজ উভয়ই ব্যবহার করা হলে সোয়াইপ-টু-খারিজ দিয়ে সঠিকভাবে কাজ করতে বাধা দেয়। ( I5dc0e ) - একটি বাগ সংশোধন করা হয়েছে যেখানে স্ক্রল করার সময় একটি উল্লম্ব অফসেট দিয়ে
SwipeToRevealঅ্যাকশন আঁকা হয়েছে। ( I29444 ) -
AlertDialog,ConfirmationDialog,OpenOnPhoneDialogএবংSwipeToRevealএখন প্যাডিং এবং আকারগুলিকে রাউন্ড আপ করে যা স্ক্রিনের আকারের শতাংশ হিসাবে গণনা করা হয়৷ ( I76367 ) -
ButtonDefaults.outlinedButtonBorderএখন সক্রিয়/অক্ষম অবস্থার আকার পরিবর্তন করে আপডেট করে ( If2ddd ) - পেজার এবং
ScreenScaffoldসহ জটিল স্ক্রীনেEdgeButtonউচ্চতায় একটি বাগ সংশোধন করা হয়েছে। ( I946e3 ) - একটি রেস শর্ত স্থির করা হয়েছে যা প্লেসহোল্ডার অ্যানিমেশন বন্ধ করতে পারে। ( I53530 )
- ক্যানভাসে আঁকার মাধ্যমে
HorizontalPageIndicatorএবংVerticalPageIndicatorকর্মক্ষমতা উন্নত করা হয়েছে। ( ifae1e ) - উপবৃত্তাকার এবং বৃত্তগুলির মধ্যে রূপান্তরগুলিকে মসৃণ করতে এজবাটনের আকৃতি পরিমার্জিত করুন যা রূপরেখা তৈরি করে৷ ( I7721e )
-
LevelIndicatorএ একটি বাগ সংশোধন করা হয়েছে যা অপ্রয়োজনীয় পুনর্গঠনের কারণে অ্যানিমেশন বন্ধ করে দিয়েছে। ( I45d08 )
সংস্করণ 1.5.0-beta03
জুন 4, 2025
androidx.wear.compose:compose-*:1.5.0-beta03 প্রকাশিত হয়েছে। 1.5.0-beta03 সংস্করণে এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
-
OpenOnPhoneDialogএখন শুধুমাত্র TalkBack-এর অধীনে বার্তার পাঠ্য ঘোষণা করে এবং আইকন শব্দার্থবিদ্যা এড়িয়ে যায়।OpenOnPhoneDialogDefaultsআপডেট করা হয়েছেiconContentDescriptionএবংicon()থেকেcontentDescriptionপ্যারামিটার মুছে ফেলার জন্য। এছাড়াও,ConfirmationDialogDefaultsএখনSuccessIconএবংFailureIconকম্পোজেবলের মডিফায়ার প্যারামিটার রয়েছে। ( Id2ae2 )
বাগ ফিক্স
- আমরা
SurfaceTransformationপ্যারামিটারের প্রভাব প্রয়োগ করার ক্রম পরিবর্তন করেছি। আগে, Wear Material3 উপাদানগুলিতে প্রয়োগ করা রূপান্তরগুলি নিম্নরূপ করা হয়েছিল: ব্যাকগ্রাউন্ড পেইন্টার, ধারক রূপান্তর, বিষয়বস্তু রূপান্তর। এখন, প্রথম 2টি উল্টানো, এবং আমরা তাদের মধ্যে যেকোন পাস করা সংশোধক প্রয়োগ করি, তাই এটি ধারক রূপান্তর দ্বারা প্রভাবিত হয়। এটি রূপান্তর পরামিতি ব্যবহার করে একটি TLC-তে উপাদানগুলির সাথে একটি স্থানধারক শিমার প্রভাব ব্যবহার করার মতো ক্ষেত্রেগুলিকে সংশোধন করে৷ ( I786cf ) -
RevealState.Saverযোগ করা হয়েছিল যখন কার্যকলাপ বা প্রক্রিয়া পুনরায় তৈরি করা হয় তখনSwipeToRevealএর অবস্থা পুনরুদ্ধার করতে ব্যবহার করা হবে।rememberRevealStateফাংশন এখন ডিফল্টরূপে এই সেভার ব্যবহার করে। ( Ie0ecb ) -
SwipeToRevealপ্রাইমারি এবং সেকেন্ডারি অ্যাকশন বোতামগুলিকেButtonDefault.Heightএ ডিফল্ট করা উচিত (স্থির করা বাগ যেখানে এগুলি লম্বা বোতামগুলির জন্য সর্বাধিক উচ্চতা পূরণ করে)। ( Ibfba1 ) - সোয়াইপ ডান অঙ্গভঙ্গি সঞ্চালিত হয় যখন, সঙ্গে ইন্টারঅ্যাক্ট করা শেষ উপাদান পুনরায় সেট করতে
SwipeToRevealপরিবর্তন করা হয়েছে৷ ( IA8450 ) - যখন সোয়াইপের শেষ অবস্থানটি প্রকাশক এবং প্রকাশিত অ্যাঙ্করগুলির মধ্যে থাকে এবং প্রকাশক অ্যাঙ্করের কাছাকাছি থাকে তখন
Revealingঅবস্থায় স্থির হওয়ার জন্যSwipeToRevealপরিবর্তন করা হয়েছিল৷ ( if4458 ) - এখন
ButtonGroupএর বিষয়বস্তু একটি RTL লেআউটে সঠিকভাবে উল্টানো হয়েছে ( Ib378d ) -
AnimatedTextএখন আরটিএল টেক্সট ডিরেকশন সমর্থন করে ( I4533c ) -
TransformingLazyColumnএখন আইটেমগুলিকে সঠিকভাবে পুনরায় আকার দেয় যখন নীচের আইটেমটি সরানো হয় ( Idacab ) -
TransformingLazyColumnএখন শুধুমাত্র একটি পরিমাপ পাস তৈরি করে, যা ফ্রেমের সময় কমিয়ে কর্মক্ষমতা উন্নত করে। ( I501a1 )
সংস্করণ 1.5.0-beta02
20 মে, 2025
androidx.wear.compose:compose-*:1.5.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-beta02-এ এই কমিটগুলি রয়েছে৷
বাগ ফিক্স
- ভিত্তি, উপাদান এবং উপাদান3 লাইব্রেরির জন্য বেসলাইন প্রোফাইল আপডেট করা হয়েছে। ( I53f06 )
-
TransformingLazyColumnএ একটি বাগ সংশোধন করা হয়েছে, যেখানে নীচের আইটেমটি সরানো হলে আইটেমগুলির আকার পরিবর্তন করা হয়েছে। ( ইডাকাব ) -
TransformingLazyColumnএর সাথে একটি বাগ সংশোধন করা হয়েছে, যখন তালিকাটি তালিকার উপরে বা নীচে আটকে যায়। ( I49d00 ) - TalkBack-এর অধীনে
OpenOnPhoneDialogআইকন বিষয়বস্তুর বিবরণের পরিবর্তে বাঁকা পাঠ ঘোষণা করা উচিত। ( I4efe8 ) -
SwipeToRevealএ একটি বাগ সংশোধন করা হয়েছে যেটিRevealState.currentValueএ ভুল অ্যাঙ্কর রিপোর্ট করবে যখনhasPartiallyRevealedStateমিথ্যা সেট করা হয়। ( I9c7cf ) -
SwipeToRevealপূর্বাবস্থায় ফেরানো বোতামগুলি এখনButtonDefaults.Heightরূপে ডিফল্ট৷ ( I1f6c8 ) -
BasicSwipeToDismissBoxকর্মক্ষমতা স্ক্রিম আঁকার জন্য ক্যানভাসের ব্যবহার বাদ দিয়ে উন্নত করা হয়েছে। ( I68f2c ) - স্লাইডারে একটি অ্যাক্সেসিবিলিটি বাগ সংশোধন করা হয়েছে, যেখানে ঘোষিত শতাংশ আপডেটের পরে মানের সাথে মেলেনি ( I91146 )
-
placeholderShimmerবাস্তবায়নে একটি বাগ সংশোধন করা হয়েছে। ( Iee39b -
TransformingLazyColumnকর্মক্ষমতা 30% দ্বারাScrollProgressগণনা অপ্টিমাইজ করে উন্নত করা হয়েছে। ( I4c4cb )
সংস্করণ 1.5.0-beta01
7 মে, 2025
androidx.wear.compose:compose-*:1.5.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-beta01-এ এই কমিটগুলি রয়েছে৷
Wear OS এর জন্য Compose-এর 1.5.0-beta01 রিলিজ ইঙ্গিত করে যে লাইব্রেরির এই রিলিজটি বৈশিষ্ট্য সম্পূর্ণ এবং API লক করা হয়েছে (যেখানে পরীক্ষামূলক হিসাবে চিহ্নিত করা ব্যতীত)।
Wear Compose 1.5.0-beta01-এ Wear Compose Material3 লাইব্রেরি রয়েছে, যা Material 3 Expressive নামে নতুন UI ডিজাইন সিস্টেমকে সমর্থন করে। অ্যাপগুলিতে নতুন ভিজ্যুয়াল ডিজাইনকে আলিঙ্গন করতে এবং নিম্নরূপ নতুন উপাদানগুলি থেকে উপকৃত হওয়ার জন্য উপাদান থেকে উপাদান 3-তে আপগ্রেড করার পরামর্শ দেওয়া হচ্ছে:
- আপনার ডিজাইনে গভীরতা এবং বৈচিত্র্য আনার জন্য আপডেট এবং বর্ধিত রঙের স্কিম, টাইপোগ্রাফি এবং আকারের জন্য
MaterialTheme। - ডায়নামিক কালার থিমিং যা স্বয়ংক্রিয়ভাবে ঘড়ির মুখের রঙের সাথে মেলে আপনার অ্যাপের জন্য একটি রঙের স্কিম তৈরি করে।
- নতুন উপাদানগুলি স্বয়ংক্রিয়ভাবে ডিফল্টভাবে বড় স্ক্রীনের আকারে মানিয়ে নেয়
- শেপ মর্ফিং -
IconButton,TextButton,IconToggleButtonএবংTextToggleButtonমতো রাউন্ড বোতামের উপাদানগুলি চাপ বা চেক করার সময় অ্যানিমেট হওয়া বৈচিত্রগুলিকে সমর্থন করে। -
EdgeButton- স্ক্রিনের নীচের জন্য ডিজাইন করা একটি বিশেষ আকৃতি সহ একটি নতুন প্রান্ত-আলিঙ্গন বোতাম৷ - স্ক্যাফোল্ডস - স্ক্রীনের গঠন এবং
ScrollIndicatorএবংTimeTextঅ্যানিমেশন সমন্বয় করতেAppScaffoldএবংScreenScaffoldপ্রবর্তন করা হচ্ছে। - বোতাম - অসংখ্য স্টেডিয়াম-আকৃতির বোতামগুলি নমনীয়, একক-স্লট পাত্রে এবং আইকন এবং লেবেল সহ বোতামগুলির জন্য মাল্টি-স্লট বৈচিত্র্য সহ সমর্থিত। যখন টগল বোতাম প্রয়োজন হয় তখন
CheckboxButtonএবংSwitchButtonসরবরাহ করা হয়, যেখানেRadioButtonউপলব্ধ নির্বাচন বোতাম (টগল এবং নির্বাচন বোতামগুলির 'বিভক্ত' বৈচিত্রও সরবরাহ করা হয়)। -
ButtonGroup- একটি সারিতে বোতামের একটি অভিব্যক্তিপূর্ণ গোষ্ঠী প্রয়োগ করে যা স্পর্শ করার সময় আকার-রূপ দেয়। -
AlertDialogবৈচিত্রগুলি ঠিক আছে/বাতিল বোতাম বা একটিEdgeButtonসমর্থন করে। -
ConfirmationDialogসফলতা, ব্যর্থতা এবং ওপেন-অন-ফোন বৈচিত্রের জন্য বিশেষ অ্যানিমেশন সমর্থন করে একটি সময়সীমার সাথে একটি বার্তা প্রদর্শনের জন্য উপলব্ধ। - পিকার -
TimePickerএবংDatePickerবৈচিত্রগুলি সমর্থিত এবং সেইসাথে পিকার এবংPickerGroupউপাদানগুলি আপনার নিজস্ব বাছাইকারী স্ক্রিন তৈরির জন্য সমর্থিত। -
ProgressIndicators- বৃত্তাকার, এবং রৈখিক অগ্রগতি সূচকগুলি সমর্থিত (CircularProgressIndicatorইন্ডিকেটরটি বিভক্ত এবং অনির্দিষ্ট বৈচিত্র রয়েছে)। - কার্ড - শিরোনাম, সময়, সাবটাইটেল বা বিষয়বস্তু স্লট সহ কার্ডগুলির জন্য নির্দিষ্ট লেআউট অফার করে
TitleCardসহ বেশ কয়েকটি কার্ডের বৈচিত্র্য উপলব্ধ।TitleCardএকটি কার্ডের তথ্যের অর্থকে শক্তিশালী করার জন্য একটি চিত্রের পটভূমিও দেওয়া যেতে পারে। - পেজার -
HorizontalPagerScaffold,VerticalPagerScaffoldএবংAnimatedPageউপাদানগুলিHorizontalPageIndicatorএবংVerticalPagerIndicatorঅ্যানিমেশন সমন্বয় করে।HorizontalPagerএবংVerticalPagerWear Compose Foundation লাইব্রেরিতে প্রকাশিত হয়েছে। - স্থানধারক - কোনো অস্থায়ী বিষয়বস্তু উপলব্ধ নেই এমন পরিস্থিতিতে একটি উপাদানের উপর একটি কঙ্কাল আকৃতি আঁকে।
- স্লাইডার এবং স্টেপার - স্লাইডার এবং স্টেপার উভয়ই ব্যবহারকারীদের বিভিন্ন মান থেকে একটি নির্বাচন করতে দেয়। স্লাইডারগুলি আরও কমপ্যাক্ট এবং সেগমেন্ট করা যেতে পারে, যেখানে স্টেপার হল একটি পূর্ণ স্ক্রীন উপাদান যা সাধারণত একটি
StepperLevelIndicatorএর সাথে যুক্ত থাকে। -
SwipeToReveal- ডান-থেকে-বামে সোয়াইপ করা হলে কম্পোজেবলে অতিরিক্ত ক্রিয়া যোগ করতে ব্যবহৃত হয়।
এছাড়াও, Wear Compose Foundation 1.5.0-beta01-তে এই নতুন উপাদানগুলি অন্তর্ভুক্ত রয়েছে:
-
TransformingLazyColumn- একটি অলস, উল্লম্বভাবে স্ক্রলিং তালিকা যা সমর্থন করে স্কেলিং এবং morphing অ্যানিমেশন - হায়ারার্কিক্যাল ফোকাস গ্রুপ - একটি অ্যাপ্লিকেশনে কম্পোজেবল টীকা করতে, কম্পোজিশনের সক্রিয় অংশের ট্র্যাক রাখতে এবং ফোকাস সমন্বয় করতে ব্যবহৃত হয়।
- পেজার -
HorizontalPagerএবংVerticalPagerকম্পোনেন্ট, Wear OS নির্দেশিকা মেনে চলার পারফরম্যান্স উন্নত করতে Wear-নির্দিষ্ট বর্ধিতকরণ সহ কম্পোজ ফাউন্ডেশন উপাদানের উপর নির্মিত।
এপিআই পরিবর্তন
- হায়ারার্কিক্যাল ফোকাস এপিআই আপডেট করা হয়েছে -
Modifier.hierarchicalFocusনাম পরিবর্তন করেModifier.hierarchicalFocusGroupকরা হয়েছে এবং কলব্যাক প্যারামিটার সরিয়ে দেওয়া হয়েছে; একটিFocusRequesterপ্যারামিটার সহModifier.hierarchicalFocusRequesterএর ওভারলোড সরানো হয়েছে; একটি নতুনCompositionLocal,LocalScreenIsActiveতৈরি করেছে যাতে উপাদানগুলি জানাতে পারে এবং পরীক্ষা করতে পারে কোন স্ক্রীনটি সক্রিয়৷ ( I5ff7c )। - Wear Compose Material এবং Wear Compose Material3-এ
SwipeToRevealAPI-এর পক্ষে Wear Compose Foundation থেকে DeprecatedSwipeToReveal। অনুগ্রহ করে এপিআই ব্যবহার চালিয়ে যেতে Wear FoundationSwipeToRevealআমদানিকে Wear Compose Material/ Wear Compose Material3 আমদানি দিয়ে প্রতিস্থাপন করুন। ( IA147d )। - Wear Compose Material3
SwipeToRevealফাউন্ডেশনের উপর নির্ভরতা material3 প্যাকেজে সরানো হয়েছে, যেমনRevealValue,RevealDirection,RevealActionType,RevealState,rememberRevealState। ডেভেলপারদের উচিতandroidx.wear.compose.foundationথেকেandroidx.wear.compose.material3তে এই ক্লাস এবং ফাংশনগুলির আমদানি পরিবর্তন করা। ( I640e6 )। - Wear Compose Material3
SwipeToRevealAPI এইভাবে আপডেট করা হয়েছে: SwipeToReveal কম্পোজেবলেprimaryAction,onFullSwipe,secondaryAction,undoPrimaryAction,undoSecondaryActionএবংhasPartiallyRevealedStateSwipeToRevealপ্যারামিটার যোগ করা হয়েছে;RevealStateথেকেpositionalThresholdএবংanimationSpecকাস্টমাইজ করার ক্ষমতা সরিয়ে দেওয়া হয়েছে;RevealStateথেকেlastActionType,revealThresholdএবং width সরানো হয়েছে; অ্যাঙ্করগুলির পরিবর্তে একটিRevealDirectionগ্রহণ করতেRevealStateকনস্ট্রাক্টর পরিবর্তন করেছে;createRevealAnchors, নোঙ্গর, এবংbidirectionalAnchorsফাংশন সরানো হয়েছে;SwipeToRevealScopeফাংশনprimaryAction,secondaryAction,undoPrimaryActionএবংundoSecondaryActionনাম পরিবর্তন করেPrimaryActionButton,SecondaryActionButton,UndoActionButtonএবং কম্পোজেবল ফাংশনে তৈরি করা হয়েছিল;RevealActionTypeঅভ্যন্তরীণ হিসাবে চিহ্নিত করা হয়েছে। ( I885d0 )। - আরও আপডেট করা হয়েছে
SwipeToRevealAPI নিম্নরূপ:onFullSwipeথেকেonSwipePrimaryActionনামকরণ করা হয়েছে;hasPartiallyRevealedStateপ্যারামিটারের ব্যবহার নির্দেশ করতেSwipeToRevealNonAnchoredSampleনামকরণ করা হয়েছে;actionButtonHeightসরানো হয়েছে, যেহেতু ডিফল্টটি বোতামের ডিফল্ট উচ্চতা এবং বৃহত্তর উচ্চতা একটি সংশোধক ব্যবহার করে সেট করা যেতে পারে;SwipeToRevealDefaultsথেকেSmallActionButtonHeightসরানো হয়েছে;RevealValueএবংRevealDirectionকনস্ট্রাক্টরদের মধ্যে মান প্যারামিটারকে ব্যক্তিগত করেছে। ( I465ce )।
বাগ ফিক্স
-
ScreenScaffold'sEdgeButtonহ্যান্ডলিং যাতে, একটিTransformingLazyColumnআইটেম সরানোর পরে,EdgeButtonজায়গায় অ্যানিমেট করা হয়। ( I6d366 )। - কম্পোজ লাইব্রেরিতে Wear Compose নির্ভরতা 1.8.0 সংস্করণে আপডেট করা হয়েছে। ( I2ef3f )।
- অনির্দিষ্ট
CircularProgressIndicatorগতি আপডেট করা হয়েছে যাতে এটি আর অস্থায়ীভাবে প্রত্যাবর্তন না করে। ( Ieddb1 )। - একটি
SwipeDismissableNavHostবাগ সংশোধন করা হয়েছে - পিছনে সোয়াইপ করার পরে ফোকাসটি সঠিকভাবে স্যুইচ করা হয়নি, যার ফলে রোটারি ইনপুট ব্যর্থ হয়েছে (এটি API 36+ এর জন্য ছিল, যা পূর্বাভাসমূলক ব্যাক ব্যবহার করে)। ( Ieddb1 )। - হায়ারর্কিক্যাল ফোকাস API ( Idf2ff ) এর জন্য সংশোধিত ডকুমেন্টেশন।
- বোতাম এবং কার্ডের জন্য ডকুমেন্টেশন আপডেট করা হয়েছে কিভাবে
containerPainterএবংdisabledContainerPaintercontainerColorওdisabledContainerColor( I4a453 ) ওভাররাইড করে। - পূর্ববর্তী রিলিজে
TimeTextএ একটি পরিবর্তন প্রত্যাবর্তন করা হয়েছে যাBroadcastReceiverএকটি কর্মী থ্রেডে নিয়ে গেছে, কারণ এটি ন্যাভিগেশনের সময় তাদের নিজস্ব থ্রেডিং পরিচালনা করে এমন অ্যাপগুলির জন্য সমস্যা সৃষ্টি করেছে। ( I34d02 )। - অপ্রয়োজনীয় মনে রাখার কলগুলি সরাতে পিকারের নমুনাগুলি আপডেট করা হয়েছে এবং এর পরিবর্তে সর্বশেষ
contentDescriptionlambda ফাংশনটি মনে রাখতে পিকারেrememberUpdatedStateব্যবহার করুন৷ ( আইসিবি৫বি১ )। -
TimePickerএবংDatePickerএ পাঠ্য শৈলী আপডেট করা হয়েছে যাতে ফন্ট পরিবর্তনের ফলে আর ছেঁটে ফেলা হয় না। ( I26194 )। -
ListHeaderএবংListSubHeaderএখন ডিফল্ট পাঠ্য সারিবদ্ধকরণ যথাক্রমে কেন্দ্র-সারিবদ্ধ এবং স্টার্ট-সারিবদ্ধ। ( I78339 )। - কাস্টম অ্যাক্সেসিবিলিটি অ্যাকশন ঘোষণা করার জন্য নমুনা এবং ডেমো প্রকাশের জন্য ফাউন্ডেশন এবং মেটেরিয়াল সোয়াইপ আপডেট করা হয়েছে (কাস্টম অ্যাকশনগুলিকে অবশ্যই কন্টেন্টের শব্দার্থবিদ্যা হিসেবে যোগ করতে হবে, নিজে নিজে
SwipeToRevealকম্পোজেবল নয়)। ( IE92a3 )। -
EdgeButtonবিষয়বস্তুর আকার অনুযায়ী ডিফল্টMaxLinesসেট আপডেট করা হয়েছে - এটি এখন অতিরিক্ত ছোট জন্য 1, ছোট এবং মাঝারি জন্য 2 এবং বড় জন্য 3। ( IE35f6 )। - সরলীকৃত
LocalReduceMotionযাতে পর্যবেক্ষক শুধুমাত্র একবার নিবন্ধিত হয়, কর্মক্ষমতা উন্নত করতে। ( Ib1979 )। - কর্মক্ষমতা উন্নত করতে
ScrollIndicatorএ পুনরায় আঁকার সংখ্যা কমানো হয়েছে। ( IA7a67 )। -
TransformingLazyColumnএ একটি বাগ সংশোধন করা হয়েছে, যেখানে EdgeButton এর সম্পূর্ণ উচ্চতা অর্জন করার সময় তালিকার শীর্ষ দৃশ্যমান আইটেমটি সঠিকভাবে মাপতে পারেনি। ( I30580 )।
Wear Compose Material3 Version 1.0
সংস্করণ 1.0.0-alpha37
23 এপ্রিল, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha37 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha37-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- পাবলিক API পৃষ্ঠ থেকে
scrollTransformসরানো হয়েছে। আপনি যদি একই কার্যকারিতা পেতে চান তবেtransformedHeightএবংgraphicsLayerমডিফায়ারগুলির সংমিশ্রণ ব্যবহার করুন। ( IE181d ) -
ImageButtonএবংImageCardকম্পোজেবল যথাক্রমেButtonএবংCard/TitleCardওভারলোড দিয়ে প্রতিস্থাপিত হয়েছে।imageButtonColorsএর নাম পরিবর্তন করেbuttonWithContainerPainterColorsএবংimageCardColorsথেকেcardWithContainerPainterColors। পাবলিকButtonDefaults.scrimBrushএবংCardDefaults.scrimBrushযোগ করা হয়েছে। বোতামের নাম পরিবর্তন করেimageBackgroundGradientStartColorএবংimageBackgroundGradientEndColorগ্রেডিয়েন্ট এন্ড কালারscrimGradientStartColorএবংscrimGradientEndColor।CardDefaults.ImageContentPaddingtoCardDefaults.CardWithContainerPainterContentPadding( I7b8b6 ) -
PickerএবংPickerGroupএখন অপ্রয়োজনীয় পুনর্গঠন এড়াতেcontentDescriptionল্যাম্বডা হিসাবে গ্রহণ করে। ( I002dd )
বাগ ফিক্স
- একটি সমস্যা সমাধান করা হয়েছে যেখানে প্রস্থ উচ্চতার সমান না হলে অ্যানিমেশনের সময় অনির্দিষ্ট
CircularProgressIndicatorটলতে পারে। ( I76bfe ) - অবৈধ আকারে প্রান্ত বোতাম লেআউটের সাথে একটি সমস্যা সমাধান করা হয়েছে৷ এখন উচ্চতা NaN হলে প্রান্ত বোতামের লেআউট আপডেট করা বাধা দেয়। ( I32b93 )
-
OpenOnPhoneDialogএ সর্বাধিক সুইপ অ্যাঙ্গেল বৃদ্ধি করা হয়েছে যাতে ডিফল্ট 'আপনার ফোন চেক করুন' টেক্সটটি সবচেয়ে বড় ফন্ট সাইজের সাথে ক্লিপ করা না হয়। ( I90af9 )
সংস্করণ 1.0.0-alpha36
9 এপ্রিল, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha36 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha36-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
ImageButton,ButtonDefaults.imageButtonColors,ButtonDefaults.containerPainterএবংButtonDefaults.disabledContainerPainterদিয়েButtonDefaults.imageBackgroundButtonColorsপ্রতিস্থাপিত হয়েছে। এবং কার্ডের জন্য অনুরূপ পরিবর্তন। পেইন্টারদেরButtonColorsএবংCardColorsথেকে সরানো হয়। ( I8c6a1 ) - এপিআই সরলীকরণ করতে স্থানধারক আপডেট করা হয়েছে। আমরা এখন দুটি মডিফায়ার প্রদান করি, কম্পোনেন্ট লেভেলে একটি শিমার ইফেক্ট প্রয়োগ করতে
Modifier.placeholderShimmerএবং আনলোড করা বিষয়বস্তুর উপরে একটি মাস্ক প্রয়োগ করার জন্যModifier.placeholder( Iaee7a )
বাগ ফিক্স
-
ScrollIndicatorএ ইন্টিগ্রেটেড ওভারস্ক্রোল। ( Icfb7f ) - উপাদান3 ডায়ালগ চালু করার সময় ফাঁকা ব্যাকগ্রাউন্ড এবং অনুপস্থিত ডায়ালগগুলির ঠিকানা দিন৷ ( আইস597 )
- টেক্সট একাধিক লাইন বিস্তৃত যখন
FadingExpandingLabelএ সমস্যার সমাধান করা হয়েছে। ( I04eb7 ) - বোতামগুলিতে প্রাথমিক এবং মাধ্যমিক লেবেলের মধ্যে আপডেট করা প্যাডিং৷ ( I99b7b )
-
ArcLarge20spথেকে কমিয়ে18spকরা হয়েছে, এবংArcLargeএবংArcSmallএ অক্ষর ব্যবধান আপডেট করা হয়েছে।ConfirmationDialog/OpenOnPhoneDialogএখন18spএ ওভাররাইড করার পরিবর্তে ডিফল্টArcLargeব্যবহার করুন। ( Id39a8 )
নির্ভরতা আপডেট
- এই লাইব্রেরিটি এখন কোটলিন 2.0 ভাষা স্তরকে লক্ষ্য করে এবং এর জন্য KGP 2.0.0 বা নতুন প্রয়োজন৷ ( আইডিবি৬বি৫ )
সংস্করণ 1.0.0-alpha35
26 মার্চ, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha35 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha35-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- যখন একটি আইকন প্রদান করা হয় তখন
AlertDialogটপ প্যাডিং ডিফল্টরূপে হ্রাস করা হয় - এটি উপলব্ধ স্ক্রীন আকারের সর্বোত্তম ব্যবহার করে। ( Ief06c ) -
PagerScaffoldDefaults.FadeOutAnimationএর নাম পরিবর্তন করেPagerScaffoldDefaults.FadeOutAnimationSpecকরা হয়েছে।AnimatedPageএর পৃষ্ঠার প্যারামিটারটিকেpageIndexএ নামকরণ করা হয়েছে। ( I701f2 ) -
TransformingLazyColumnএরSurfaceTransformationএর জন্য আপডেট করা নামকরণ -applyTransformationapplyContainerTransformationএবংapplyContentTransformationবিভক্ত, এবংcreateContainerPainterএcreateBackgroundPainterনামকরণ করা হয়েছে।TransformationSpecএবংResponsiveTransformationSpecএর আরও নামকরণের আপডেট। ( I1c534 ) -
AppScaffold backgroundColorনাম পরিবর্তন করেcontainerColorকালার করা হয়েছে। ( I4e63f )
বাগ ফিক্স
-
FadingExpandingLabelএ একটি সমস্যা সমাধান করা হয়েছে যেখানে টেক্সট সবসময় সঠিকভাবে প্রসারিত হয় না। ( I0e773 ) -
ArcLarge20sp থেকে কমিয়ে 18sp করা হয়েছে, এবংArcLargeএবংArcSmallএ অক্ষর ব্যবধান আপডেট করা হয়েছে।ConfirmationDialog/OpenOnPhoneDialogএখন 18sp এ ওভাররাইড করার পরিবর্তে ডিফল্টArcLargeব্যবহার করুন। ( Id39a8 ) -
DatePickerএবংTimePickerভিত্তিক শিরোনাম অ্যানিমেশন আপডেট করা হয়েছে, যাতে ফেড-আউট এবং ফেড-ইন অ্যানিমেশন একটি স্প্রিং অ্যানিমেশন হিসাবে কাজ করে৷ ( I68963 ) -
AnimatedPageকম্পোজেবলেcurrentPageOffsetFractionপড়া এড়িয়ে অপ্টিমাইজ করাPagerScaffold। ( I433ef ) - সব ধরনের স্কেল ডিফল্টরূপে আনুপাতিক সংখ্যার জন্য আপডেট করা হয়েছে, কারণ এটি সবচেয়ে ঘন ঘন ব্যবহারের ক্ষেত্রে দেখা হয় এবং ট্যাবুলারে ডিফল্ট হওয়ার ফলে নির্দিষ্ট সংখ্যা জোড়ার মধ্যে খুব বেশি ব্যবধান তৈরি হয়।
TimePickerএবংDatePickerট্যাবুলার সংখ্যার জন্যFontFeatureSetting=tnumপ্রয়োগ করতে থাকে। ( I88929 ) -
TimePickerএবংDatePickerজন্য প্রাথমিক RSB ইনপুট ফোকাস সংশোধন করা হয়েছে। ( I1c773 ) -
OpenOnPhoneDialogএ ডিফল্ট টেক্সট আপডেট করে "আপনার ফোন চেক করুন"। ( I00a3f ) -
ArcLargeএবংArcMediumজন্য 600 থেকে 599 পর্যন্ত ওজন আপডেট করা হয়েছে এমন একটি সমস্যা সমাধানের জন্য যেখানে ওজন 600 কে বোল্ড হিসাবে বিবেচনা করা হয় ( I2a51d ) - বিষয়বস্তু এবং অ্যাকশন বোতামগুলির মধ্যে
SwipeToRevealএবং অ্যাকশন বোতামগুলির আইকন এবং পাঠ্যের মধ্যে প্যাডিংগুলি আপডেট করুন৷ ( আইসি৪৬সিবি )
সংস্করণ 1.0.0-alpha34
12 মার্চ, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha34 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha34-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
-
PagerScaffoldআরPagerউপাদান নির্গত করে না - পরিবর্তে এটি কম্পোজেবলcontentমাধ্যমে সরবরাহ করতে হবে।AnimatedPageএবংsnapWithSpringFlingBehaviourএখন সর্বজনীন এবং পূর্ববর্তী M3PagerScaffoldআচরণ অর্জনের জন্য Wear FoundationPagerসাথে ব্যবহার করা যেতে পারে। (আপডেট করা নমুনা দেখুন)। ( IA4724 ) -
PagerStateআপডেট করা হয়েছে, কম্পোজ ফাউন্ডেশনPagerStateবেস ক্লাস হিসেবে সরিয়ে দিয়েcurrentPage,currentPageOffsetFractionএবংpageCountবৈশিষ্ট্য যোগ করা হচ্ছে।GestureInclusionইন্টারফেস আপডেট করা হয়েছে,ignoreGestureStartপদ্ধতির নাম পরিবর্তন করে। ( I4ae07 ) -
LevelIndicatorসুইপ অ্যাঙ্গেল প্যারামিটারগুলি এখনFloatRange(0, 360)( I7e636 ) দিয়ে টীকা করা হয়েছে - আমরা
CurvedModifier.clearAndSetSemanticsযোগ করেছি এমন একটি উপায় প্রদান করার জন্য যার মাধ্যমে বাঁকা শব্দার্থবিদ্যা বন্ধ করা যেতে পারে।CurvedTextপাঠ্যের বিষয়বস্তুর বিবরণ ডিফল্ট করতে থাকে, কিন্তুtimeTextCurvedTextএবংtimeTextSeparatorএখন তাদের বিষয়বস্তু ঘোষণা করে না। ( I4b568 ) -
AppScaffoldএ একটি ব্যাকগ্রাউন্ড এবং ডিফল্ট কন্টেন্ট কালার প্যারামিটার যোগ করা হয়েছে। ( I56652 ) -
HorizontalPagerএর সোয়াইপ অঙ্গভঙ্গির ডিফল্ট পরিচালনার নাম পরিবর্তন করেPagerDefaults.gestureInclusionকরা হয়েছে। ডিফল্ট আচরণ এখন শুধুমাত্র প্রথম পৃষ্ঠার বাম প্রান্তে শুরু হওয়া সোয়াইপ অঙ্গভঙ্গি উপেক্ষা করা, এবং শুধুমাত্র তখনই যখন Talkback বন্ধ করা হয়। অন্যান্য ক্ষেত্রে, ডিফল্ট আচরণ হল যে সোয়াইপ অঙ্গভঙ্গি পেজার দ্বারা উপেক্ষা করা হবে না, তাই তারা সোয়াইপ-টু-ডিসমিস হ্যান্ডলারদের জন্য উপলব্ধ হবে না। ( IE486 ) - বোতাম, কার্ড এবং তালিকা শিরোনামের উপাদানগুলিতে একটি
SurfaceTransformationপ্যারামিটার যুক্ত করা হয়েছে, যাতে তারা বিভিন্ন পটভূমি এবং বিষয়বস্তু রূপান্তর প্রয়োগ করতে পারে যখন কনটেইনারগুলিতে ব্যবহৃত হয় যা তাদের অবস্থানের উপর ভিত্তি করে আইটেমগুলির চেহারা পরিবর্তন করে, যেমনTransformingLazyColumn। ( Iabe3f ) - আমরা আমাদের Wear Compose Material3 API-তে 'public const val' বৈশিষ্ট্যগুলিকে 'public val'-এ আপডেট করেছি, যাতে মানগুলি ইনলাইন না হয়। ( Ib0f32 )
-
SwipeToRevealএ এজ-সোয়াইপ জোনের জন্য সমর্থন যোগ করা হয়েছে। ফাউন্ডেশনSwipeToRevealএর ডিফল্ট আচরণ এখন যখন প্রান্ত থেকে অঙ্গভঙ্গি শুরু হয় তখন সোয়াইপ করার অনুমতি না দেওয়া। Material3SwipeToReveal'এর ডিফল্ট আচরণ হল সোয়াইপ করার অনুমতি না দেওয়া যখন প্রান্ত থেকে অঙ্গভঙ্গি শুরু হয়, যখনSwipeDirectionএকক দিকে সেট করা হয়। ( I32ef0 ) - সংযোজনযোগ্য
FadingExpandingLabelযোগ করা হয়েছে, যা এটিকে অ্যানিমেশন লাইনের সাথে টেক্সটে বিবর্ণ হতে দেয়। ( IC60fa ) -
TransformingLazyColumnএখন প্রথম এবং শেষ আইটেমগুলিকে কেন্দ্রে রাখার পরিবর্তে ডিফল্টরূপে খালিcontentPaddingব্যবহার করে। ( I77ab7 ) - Wear Compose Material3 লাইব্রেরি থেকে
SwipeToReveal'srememberRevealStateসরানো হয়েছে। ( I8c0e0 )
বাগ ফিক্স
- Wear Compose লাইব্রেরিগুলি Kotlin 2.0 কম্পাইলারে আপডেট করা হয়েছে। ( I2de79 )
- নন-রাউন্ড
ScrollIndicatorএবংPageIndicatorজন্য সমর্থন Material3 থেকে সরিয়ে দেওয়া হয়েছে। স্কয়ার স্ক্রিন সমর্থনও আর Wear OS প্রয়োজনীয়তার অংশ নয়, আরও তথ্যের জন্য শুরু করা নির্দেশিকা দেখুন। ( I9a852 ) -
ConfirmationDialogDefaultsএবংOpenOnPhoneDialogDefaultsএ ব্যবহৃতCurvedTextStyleটি18spএবং অক্ষর ব্যবধান1.8spসহArcLargeটাইপোগ্রাফি ব্যবহার করার জন্য আপডেট করা হয়েছে। ( IC9ced ) -
Card,ListHeader,RadioButton,CheckboxButton,SwitchButtonআর ডিফল্টরূপে এর বিষয়বস্তুর উচ্চতা সীমাবদ্ধ করে না৷ প্রয়োজনে পূর্বের আচরণ পুনরুদ্ধার করতেModifier.height(IntrinsicSize.Min)ব্যবহার করুন। ( I80bb8 ) - আমরা আরও ধূসর টোন অন্তর্ভুক্ত করতে ডিফল্ট
TimeTextএবংScrollIndicatorরঙগুলি আপডেট করেছি, কারণ শিরোনামের মতো স্ক্রিনে অন্যান্য সামগ্রীর সাথে প্রতিযোগিতা করার সময়OnBackground(সাদা) ব্যবহার করে সরাসরি খুব বেশি ভিজ্যুয়াল ওজন বহন করে। ( I8b36f ) - আমরা স্ক্যাফোল্ড উপাদানগুলিতে
TimeTextএবংScrollIndicatorঅ্যানিমেট করার সময়সীমা 2 সেকেন্ডে কমিয়ে দিয়েছি। ( I52021 ) - আমরা ডায়ালগের গতি আপডেট করেছি যাতে ডায়ালগের পটভূমির স্কেল খারিজ করতে সোয়াইপ করার সাথে সিঙ্ক্রোনাইজ করা হয়। ( I925a9 )
-
edgeSwipeToDismissমডিফায়ার ব্যবহার করে M3SwipeToRevealএর ডেমো যোগ করুন। ( I02b07 ) - আমরা TalkBack এর অধীনে
DatePickerএবংTimePickerএ একটি শিরোনাম যুক্ত করেছি যাতে ব্যবহারকারীকে তারিখ/সময় সেট করতে স্ক্রোল করার জন্য জানানো হয়। ( Id738d ) -
AnimatedTextএখন কম গতি সেটিং অনুসরণ করে। ( Ib6578 ) - ডিসপ্লে ডায়ালগ বিষয়বস্তুর জন্য
AppScaffoldব্যবহার করার জন্য অপ্টিমাইজেশান উন্নত করা হয়েছে যাতে একাধিক ডায়ালগ একে অপরের উপরে প্রদর্শিত হতে পারে ( I1209c )
সংস্করণ 1.0.0-alpha33
ফেব্রুয়ারী 26, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha33 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha33-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা
SwipeToRevealScopeএরprimaryActionএবংsecondaryActionথেকে লেবেল প্যারামিটার সরিয়ে দিয়েছি। কাস্টম অ্যাকশন শব্দার্থবিদ্যা সরাসরিSwipeToRevealউপাদানের বিষয়বস্তুতে যোগ করা উচিত, বিকাশকারীর দ্বারা। ( IA67f3 ) - আমরা
IconToggleButtonDefaultsএবংTextToggleButtonDefaults( I5471d ) এ আকার, পাঠ্য শৈলী এবং রঙ ফাংশন থেকে 'বাটন' উপসর্গগুলি সরিয়ে দিয়েছি - আমরা পরীক্ষামূলক
LocalMinimumInteractiveComponentEnforcement( I4ad8a ) সরিয়ে দিয়েছি - আমরা
PickerGroupScopeDSL কে একটি কম্পোজেবল দিয়ে প্রতিস্থাপন করেছি। যেমন, আমরাPickerGroupScopeথেকেpickerGroupItemপদ্ধতিটি সরিয়ে দিয়েছি এবং এর পরিবর্তে@Composable PickerGroupItemযোগ করেছি যাPickerGroupপিকার যোগ করতে ব্যবহার করা উচিত। আমরাPickerGroup'content' প্যারামিটারের ধরন@Composable PickerGroupScope.() -> Unitআপডেট করেছি। ( IC6aec ) - আমরা ভগ্নাংশের মানগুলির জন্য একটি
LevelIndicatorওভারলোড যুক্ত করেছি এবং সেই ওভারলোডগুলিতে একটি Stepper উপসর্গ যুক্ত করেছি যাতে একটি পরিসীমা প্যারামিটার রয়েছে (যা স্টেপার উপাদানের সাথে ব্যবহারের জন্য উপযুক্ত)। ( if4234 ) - আমরা API-তে
TransformingLazyColumnএরTransformationSpecযোগ করেছি, যা TLC-এর মাধ্যমে স্ক্রোল করার সময় আইটেমগুলিতে ঘটতে থাকা সঠিক রূপান্তরগুলির সংজ্ঞাকে অনুমতি দেয়। ( I21856 ) - আমরা
IconButtonShapes,IconToggleButtonShapes,TextButtonShapesএবংTextToggleButtonShapesআপডেট করেছি compose/material3 ক্লাসের ( I5a081 ) সাথে সামঞ্জস্যপূর্ণ হতে - আমরা
ScalingLazyColumn,TransformingLazyColumnএবংScreenScaffoldএ একটিoverscrollEffectপ্যারামিটার যোগ করেছি। ( I0cee8 ) -
rememberRevealStateএrevealDirectionকরতে আমরাswipeDirectionপ্যারামিটারের নাম পরিবর্তন করেছি। ( I7472f ) - কম্পোজ
PagerScopeব্যবহার করার পরিবর্তে Wear Pager এর এখন নিজস্বPagerScopeআছে। ( I9195b ) - আমরা কম্পোজযোগ্য
LinearProgressIndicatorContentসরিয়ে দিয়েছি, অনুগ্রহ করে সরাসরিLinearProgressIndicatorব্যবহার করুন যাতে মানগুলির পরিবর্তনগুলি ডিফল্টরূপে অ্যানিমেটেড হয়। ( I2c4ad ) - আমরা
CircularProgressIndicatorStaticকমপোজেবলটি সরিয়ে ফেলেছি এবং একই কার্যকারিতা সহ একটি পাবলিকDrawScopeফাংশনdrawCircularProgressIndicatorযুক্ত করেছি। দয়া করেCircularProgressIndicatorসরাসরি ব্যবহার করুন যাতে পরিবর্তনগুলি ডিফল্টরূপে অ্যানিমেটেড হয় তবে কাস্টম অ্যানিমেশনগুলির প্রয়োজন হলেdrawCircularProgressIndicatorথেকে আপনার নিজস্ব কমপোজেবল তৈরি করুন। ( Ie762f ) -
targetProgressপ্যারামিটারটি সরিয়ে নিতে আমরাDrawScope.drawCircularProgressIndicatorপ্যারামিটারগুলি পুনরায় অর্ডার করেছি। ( I8ab92 ) -
OpenOnPhoneDialogএপিআই অন্যান্য ডায়ালগগুলির সাথে আরও ভাল স্পষ্টতা এবং ধারাবাহিকতার জন্য আপডেট করা হয়েছিল।showপ্যারামিটারটির নামকরণ করা হয়েছিলvisibleএবংcurvedTextএবং এখন একটি ডিফল্ট মান থাকার পরিবর্তে কলার দ্বারা সরবরাহ করা হয়েছে। ( আইডিইসি 2 ডি ) - আমরা
openOnPhoneCurvedTextনামকরণ করেছিopenOnPhoneDialogCurvedText( আই 65 বিডিডি ) - আমরা
ScrollIndicatorকাস্টম রঙ সরবরাহের জন্যScrollIndicatorColorsকালার যুক্ত করেছি। ( I9eb8c ) -
TimeTextপিছনে একটি পটভূমি আঁকতে ব্যবহৃত রঙের কনফিগারেশনের অনুমতি দিন। ( I9f5d9 ) -
CurvedTextStyle( আইএফএফসি 41 ) হতে আপডেট করাArcLarge,ArcMediumএবংArcSmallটাইপোগ্রাফিগুলি আপডেট হয়েছে - আমরা
ScreenScaffoldDefaults.contentPaddingWithEdgeButtonসরিয়েছি C ( Ia923e ) - আমরা উচ্চ অগ্রাধিকারের ত্রুটিগুলি বা সুরক্ষা সতর্কতা, ব্যর্থ ডায়ালগ ওভারলে বা স্টপ বোতামগুলির মতো জরুরী ক্রিয়াকলাপগুলির জন্য, আমরা
ColorSchemeerrorDimযুক্ত করেছি। ( I70998 )
বাগ ফিক্স
- আমরা
androidx.core.core( i132e9 ) এর 1.15.0 সংস্করণেwear.compose.material3পিন করেছি - আমরা
AppScaffoldটু লেয়ার ডায়ালগগুলি অন্যান্য স্ক্রিন সামগ্রীর তুলনায় ( আই 1 বি 9 এ 4 ) ব্যবহার করে ডায়ালগের কার্যকারিতা উন্নত করেছি - হ্রাস
EdgeButtonঅভ্যন্তরীণ উল্লম্ব প্যাডিং। ( I1a5bb ) - আমরা স্লাইডার বোতামগুলিতে বোতামের শব্দার্থবিজ্ঞান যুক্ত করেছি। ( I80cc6 )
সংস্করণ 1.0.0-আলফা 32
জানুয়ারী 29, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha32 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-আলফা 32 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
-
CurvedTextStyle, আমাদের কাছে ক্লকওয়াইজ লেটার স্পেসিং এবং কাউন্টার ক্লকওয়াইজ লেটার স্পেসিংয়ে বিভক্ত চিঠি স্পেসিং রয়েছে। এটি প্রয়োজনীয় কারণ ঘড়ির কাঁটার দিকের অক্ষরগুলি বেসলাইন থেকে বেরিয়ে আসে যেখানে পাল্টা ক্লকওয়াইজ লেটার ফ্যান ইন (সুতরাং বৃহত্তর চিঠির ব্যবধান প্রয়োজন) ( আই 4 বি 848 ) - উপাদান 3 লাইব্রেরিগুলিতে ধারাবাহিকতা উন্নত করতে আমরা
IconButtonShapes,IconToggleButtonShapes,TextButtonShapesএবংTextToggleButtonShapesআপডেট করেছি। এই পরিবর্তনটি বরাদ্দের সংখ্যা হ্রাস করতে শেপ ক্যাচিংয়ের পরিচয় দেয়। ( I049fc ) - আমরা
IconToggleButtonএবংTextToggleButton( আই 58 এ 65 ) এরvariantAnimatedShapeপদ্ধতি থেকেpressedShapeCornerSizeFractionপ্যারামিটারটি সরিয়ে ফেলেছি - আমরা বাঁকানো পাঠ্য রেন্ডারিংয়ের (
TimeTextসহ) উন্নতিগুলি প্রবর্তন করছি যা নন-রাউন্ড স্ক্রিনগুলির সাথে বেমানান। নন-রাউন্ড স্ক্রিন সমর্থনটি আর ওএস ওএস প্রয়োজনীয়তার অংশ নয়, আরও তথ্যের জন্য শুরু করা গাইড দেখুন। ( I1cc1c ) - আমরা ডিএসএল-ভিত্তিক
ButtonGroupItemModifier.weight,Modifier.minWidthএবংModifier.enlargeOnPressসাথে প্রতিস্থাপন করেButtonGroupButtonGroupScopeআপডেট করেছি। ( I16c3c ) -
ButtonGroupএপিআই-তে, আমরা নতুন মডিফায়ার-ভিত্তিকButtonGroupScopeআপডেট করেছি:enlargeOnPressএখনanimateWidthবলা হয়, এবং এটিMutableInteractionSourceপরিবর্তে একটিInteractionSourceনেয় কারণ এটি পরিবর্তন করা প্রয়োজন নয়। আমরা পাবলিক ধ্রুবকButtonGroupDefaults.DefaultMinWidthযুক্ত করেছিButtonGroup( Ie27ec ) - আমরা
ListHeaderDefaults.contentColorআপডেট করেছি Con - আমরা
SliderDefaults.DecreaseIconএবংSliderDefaults.IncreaseIcon, উপযুক্ত ডিফল্ট মান সহ ( i2e1a7 ) এ একটি সামগ্রীর বিবরণ প্যারামিটার যুক্ত করেছি - আমরা
PickerএবংPickerGroupspacingপ্যারামিটারটির নাম পরিবর্তন করেছি ( আইবি 75 সিসিverticalSpacing - আমরা
ConfirmationDialogDefaults.successTextএবংfailureTextসরিয়ে ফেলেছি কারণ এটি প্রত্যাশিত যেConfirmationDialogকলকারীরা আরও প্রসঙ্গে স্ট্রিং সরবরাহ করবে। এছাড়াওconfirmationDialogCurvedTextজন্যconfirmationCurvedTextনামকরণ করা হয়েছে। অবশেষে, ডায়ালগshowপ্যারামিটারটির নাম পরিবর্তন করে ডায়ালগগুলিতে সাম্প্রতিক অন্যান্য আপডেটের সাথে ধারাবাহিকতার জন্য দৃশ্যমান। ( I10074 ) -
IconButtonনামকরণ করা হয়েছেdisabledImageOpacityDisabledImageOpacity। ( I5f94a )
বাগ ফিক্স
- আমরা
EdgeButtonঅ্যানিমেশনে একটি বাগ ঠিক করেছি যাতে প্রতিটি ফ্রেমে সঠিক আকার ব্যবহৃত হয় ( ID3B58 ) -
Buttonসাথে কাজ না করেanimateContentSizeসাথে একটি সমস্যা স্থির করে। ( আইবি 18 এ 0 ) - আমরা ফন্টের আকার
18dp( আইসি 9 ডি 52 ) পেতে বড় ধরণের স্কেল শিরোনাম পরিবর্তন করেছি - আমরা
AlertDialogস্পেসিং এবং আইকন আকার ( আইএসি 28 সি ) আপডেট করেছি - আমাদের বড় স্ক্রিন ব্রেকপয়েন্টগুলিতে স্থির অসঙ্গতি রয়েছে (225DP এর উপরে এবং এর উপরে স্ক্রিনগুলি বড় স্ক্রিন) ( I36474 )
- বোতামের অবস্থানে একটি ছোটখাট বাগ স্থির করে ( i952c2 )
সংস্করণ 1.0.0-আলফা 31
15 জানুয়ারী, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha31 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA31 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- আমরা 'স্পষ্ট এপিআই' মোডে সমস্ত পরিধান রচনা গ্রন্থাগার আপডেট করেছি। ( Iebf9f )
- আমরা
ScreenScaffoldএবংEdgeButtonএপিআইএস আপডেট করেছি, যাতে একটিEdgeButtonঅন্তর্ভুক্ত স্ক্রিনগুলিতে সামগ্রী প্যাডিংগুলি নির্দিষ্ট করা সহজ। নতুন এপিআই -তেEdgeButtonsizeকেবলEdgeButtonচলে গেছে এবংScreenScaffoldEdgeButtonএবং তালিকার সামগ্রীর মধ্যে ব্যবধানের জন্য একটিedgeButtonSpacingপ্যারামিটার নেয়। ( I424fd ) -
DatePicker, আমরাmaxDateপ্যারামিটারminDateএবংminValidDatemaxValidDateনামকরণ করেছি।DatePickerColors, আমরাactivePickerContentColorপ্যারামিটারselectedPickerContentColorএবংunselectedPickerContentColorপিকারকন্টেন্টেন্টকোলারকেinactivePickerContentColorপিকারকন্টেন্টেন্টকোলার ( আইবিএ 17 বি) এর নামকরণ করেছি - আমরা
strokeWidth=6dpএবং প্রস্তাবিতdiameter = 81.24%স্ক্রিনের উচ্চতার ( i6f248 ) এArcProgressIndicatorডিফল্ট আপডেট করেছি - ডায়ালগ হিসাবে এর ব্যবহার প্রতিফলিত করতে আমরা নিশ্চিতকরণ এপিআই আপডেট করেছি। কমপোজেবলকে এখন রঙ এবং ডিফল্ট ক্লাসগুলির নামকরণের সাথে সম্পর্কিত আপডেট সহ
ConfirmationDialogবলা হয়। আমরা অন্যান্য রচনা অ্যানিমেশন এপিআইগুলির সাথে সামঞ্জস্যের জন্যvisibleজন্যshowপ্যারামিটারটির নামও রেখেছি। তদতিরিক্ত, আমরাConfirmationDialogContent,SuccessConfirmationDialogContent,FailureConfirmationDialogContentএমন পরিস্থিতিতে উপলব্ধ করেছি যেখানে বিকাশকারীদের ইন্ট্রো/আউটরো ডায়ালগ অ্যানিমেশনগুলি কাস্টমাইজ করতে হবে। ( আইএইবি 33 ) - আমরা
CircularProgressIndicatorContentকনটেন্টকেCircularProgressIndicatorStatic(CircularProgressIndicatorঅ-অ্যানিমেটেড প্রকরণ) আপডেট করেছি যাতে এটি এখন কাস্টম অ্যানিমেশন সহCircularProgressIndicatorতৈরি করতে ব্যবহার করা যেতে পারে। ( I1346f ) - আমরা প্রথমে সংশোধক প্যারামিটারটি রেখে ( আই 4656 এ ) রেখে
ArcProgressIndicatorপ্যারামিটার অর্ডারটি স্থির করেছি - ক্রিয়াগুলির লেবেলগুলির জন্য একটি পাঠ্য স্লট প্যারামিটার পেতে (মাধ্যমিক ক্রিয়া ব্যতীত) এবং পূর্বাবস্থায় ফিরে আসা ক্রিয়া ( i5b3db ) থেকে লেবেল পরামিতিগুলি অপসারণ করতে
SwipeToRevealএপিআই উন্নত করেছে
বাগ ফিক্স
- আমরা একটি বাগ ঠিক করেছি যেখানে
LongPressহ্যাপটিক্স একাধিকবারButton,Card,IconButton,TextButton( আইএ 8 বি 0 এফ ) ট্রিগার করা হয়েছিল -
AlertDialogইউএক্সে পরিবর্তনগুলি - বড় পর্দায় নিশ্চিত হওয়া এবং বরখাস্ত বোতামগুলি এখন ছোট। নিশ্চিতকরণ এবং বরখাস্ত বোতামগুলির নীচে স্পেসিংও বৃদ্ধি পেয়েছে। ( I4f066 ) - আমরা
SwipeToRevealউপাদানটির অ্যাকশন বোতাম লেবেলের অ্যানিমেশন স্পেসগুলি পরিবর্তন করেছি। ( আইবি 87 এফবি ) - পাঠ্যটি প্রদর্শিত হওয়ার সাথে সাথে ধারকটি প্রসারিত করতে
SwipeToRevealপরিবর্তন করা হয়েছে। ( I44cf8 ) - যখন সোয়াইপটি প্রাথমিক ক্রিয়া প্রতিশ্রুতিবদ্ধ সেখানে প্রান্তটি পাস করে তখন হ্যাপটিক প্রতিক্রিয়া সম্পাদনের জন্য উন্নত
SwipeToReveal। ( I23efe ) - প্রাথমিক এবং পূর্বাবস্থায় ফিরে ক্রিয়াকলাপের জন্য আমরা ডিফল্টরূপে পাঠ্য ওভারফ্লোতে উপবৃত্ত প্রদর্শন করতে
SwipeToRevealআপডেট করেছি। ( I71f5a ) - আমরা
ButtonGroupঅ্যানিমেশনগুলিতে জিটার সৃষ্টি করে এমন একটি সমস্যা স্থির করেছি। ( I63f8f ) - আমরা
AnimatedText( i6063c ) এ পাঠ্য শব্দার্থবিজ্ঞান যুক্ত করেছি - ডায়ালগটি এখন সংলাপটি রচনা থেকে সরানো হলে ব্যাকগ্রাউন্ড স্কেলিং পুনরায় সেট করে (এই ফিক্স ছাড়াই, লঞ্চিং স্ক্রিনটি একটি স্কেলড ডাউন স্টেটে রেখে দেওয়া হতে পারে) ( আইডি 24 এসি )
- আমরা স্টিপার উপাদানগুলিতে বোতামগুলিতে একটি আকারের মরফ অ্যানিমেশন যুক্ত করেছি ( ID6ED3 )
সংস্করণ 1.0.0-আলফা 30
11 ডিসেম্বর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha30 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-আলফা 30 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
-
TransformingLazyColumnজন্যscrollTransformসংশোধকটি রিফ্যাক্টর করা হয়েছিল যা একটি এপিআই পরিবর্তনকে ট্রিগার করেছিল। ( I0c6dc ) - আমরা দুটি পৃথক আকারের পরামিতিগুলি
uncheckedPressedএবংcheckedPressed(আই 85 ডিবিডি) রাখতেIconToggleButtonShapesএবংTextToggleButtonShapesআপডেট করেছি ( আই 85 ডিবিডি ) -
minDateবাmaxDateব্যবহার করার সময় অবৈধ মাস/দিনের বিকল্পগুলি এখনDatePickerএকটি নতুনinvalidPickerContentColorসহ দৃশ্যমান। ( If4541 ) - আমরা
increaseIconএবংdecreaseIconস্লট সরবরাহ করতেStepperএপিআই আপডেট করেছি - এগুলির জন্য সামগ্রীটি আইকন কমপোজেবল থেকে যথারীতি তৈরি করা যেতে পারে। ( আইডি 35 ডিএ ) - আমরা al চ্ছিক
defaultColorSchemeপ্যারামিটারটি সরিয়ে এবং এখন বাতিলযোগ্যColorSchemeফিরিয়ে দিয়েdynamicColorSchemeআপডেট করেছি। এর অর্থ হ'ল গতিশীল রঙের স্কিম সরবরাহ না করা হলে কলারকে অবশ্যই ফ্যালব্যাক কেসটি স্পষ্টভাবে পরিচালনা করতে হবে। ( I6d62e ) - আমরা
CompactButtonসাথে ব্যবহারের জন্যButtonDefaultsআইকন আকারগুলি আপডেট করেছি। কেবলমাত্র একটি আইকনযুক্তCompactButtonCompactButtonButtonDefaults.SmallIconSize = 24.dpব্যবহার করা উচিতButtonDefaults.ExtraSmallIconSize = 20.dpএটি সুপারিশ করা হয় যেCompactButtonতার সামগ্রীটি মোড়ানো (সর্বাধিক প্রস্থ পূরণ করার পরিবর্তে) এবং নমুনাগুলি এটি দেখানোর জন্য আপডেট করা হয়েছে। ( I0582c ) - আমরা 4 টি বিভিন্ন
EdgeButtonSizesজন্য প্রস্তাবিত আইকন আকারগুলির সাথেEdgeButtonDefaultsযুক্ত করেছি। এছাড়াও,EdgeButtonলেআউটটি আপডেট করেছে যাতে এটি শীর্ষ প্যাডিংয়ের তুলনায় কিছুটা বড় নীচের প্যাডিং থাকে যা আইকন এবং পাঠ্য সামগ্রীর উভয়ের জন্য উপস্থিতি উন্নত করে। ( Id772a ) - আমরা
LinearProgressIndicatorএবং এক্সপোজডLinearProgressIndicatorContentকনটেন্টে গতি যুক্ত করেছি যা অ্যানিমেশন ছাড়াই ভিজ্যুয়াল সামগ্রী সরবরাহ করে। ( আইডিই 99 ) - অ্যানিমেশন ছাড়াই
CircularProgressIndicatorভিজ্যুয়াল সামগ্রী প্রদর্শন করতে আমরা একটি নতুনCircularProgressIndicatorContentকনটেন্ট কমপোজেবল যুক্ত করেছি। ( Ie33d4 ) -
TransformingLazyColumnনতুন নতুনভাবে স্থানীয়LocalTransformingLazyColumnItemScopeট্রান্সফর্মিংক্ল্যোলাম আইটেমস্কোপ সরবরাহ করে যাCardএস,Buttonএস এবংListHeaderএস এখনTransformingLazyColumnভিতরে স্থাপন করার সময় স্বয়ংক্রিয়ভাবে মরফ ব্যবহার করে। কলাররা নতুনTransformExclusionর্যাপারটি ব্যবহার করে স্বয়ংক্রিয় মরফিং অক্ষম করতে পারে। ( I1652f ) - আমরা
ButtonDefaults.shapeস্যাপেRoundedCornerShape( আইসিসিডিএফ 2 ) আপডেট করেছি
বাগ ফিক্স
-
TimeText( i1eb60 ) এর পটভূমিতে বিদ্যমান আলফাকে সম্মান করার জন্য আমরা একটি বাগ ঠিক করেছি - স্কেলিং অপারেশনগুলির সময় পিক্সেল সীমানায় লেটার গ্লাইফগুলি স্ন্যাপিং লেটার গ্লাইফের কারণে পাঠ্য জিটারটি এড়াতে আমরা আমাদের টাইপোগ্রাফিতে ডিফল্টরূপে
AnimatedকাছেTextMotionসেট করেছি। ( I626fa ) - দৃশ্যমানতা উন্নত করতে আমরা প্রস্থ এবং ফাঁক আকার বাড়িয়ে
ScrollIndicatorউপস্থিতি আপডেট করেছি। ( Ied7cb ) - আমরা আইটেমগুলি যুক্ত/অপসারণ/সরানো/সরানোর সময়
Modifier.scrollTransformএকটি বাগ ঠিক করেছি। ( I6830f ) - আমরা সংক্ষিপ্ত ট্যাপগুলির জন্য একটি রাউন্ড বোতাম অ্যানিমেশন সমস্যা স্থির করেছি (আগে, সর্বনিম্ন অ্যানিমেশন সময়কাল সর্বদা পর্যবেক্ষণ করা হয়নি)। ( I757a7 )
- আমরা
LevelIndicatorজন্য সুইপ কোণটি 20% (অর্থাত্ 72 ডিগ্রি) আপডেট করেছি। ( Idde5c ) - যখন
ScalingLazyColumnAutoCenteringParamsসাথে ব্যবহৃত হত তখন আমাদের স্থিরScrollIndicatorপজিশনিং রয়েছে। ( I387dd ) - আমরা
ListHeaderএবংListSubHeaderজন্য রঙ এবং টাইপোগ্রাফি আপডেট করেছি। এছাড়াওCheckboxButtonএবংSwitchButtonটগল নিয়ন্ত্রণের জন্য রঙগুলি। ( I39817 ) - আমরা
ContentPaddingসহLazyColumnএবংScalingLazyColumnScrollIndicatorঅবস্থান স্থির করেছি। ( I2bc51 ) - আমরা নতুন
CircularProgressIndicatorContentব্যবহার করেOpenOnPhoneDialogপ্রগতিশীল অ্যানিমেশনটিতে দেখা একটি বাগ ঠিক করেছি। ( I3e443 ) - হ্রাস গতি সক্ষম করা হলে অ্যানিমেশনগুলি অক্ষম করতে আমরা
HorizontalPagerScaffoldএবংVerticalPagerScaffoldআপডেট করেছি ( আইএএএফ 68 ) - অগ্রগতি 100%এরও বেশি পৌঁছে গেলে আমরা বিজ্ঞপ্তি অগ্রগতি সূচকগুলির জন্য একটি পৃথক অ্যানিমেশন প্রয়োগ করেছি। ( I47135 )
- আমরা একটি বাগ ঠিক করেছি যেখানে পেজার উপাদানগুলিতে একটি ভুল আকারের সাথে
EdgeButtonআঁকতে পারে ( i91db9 )
সংস্করণ 1.0.0-আলফা 29
13 নভেম্বর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha29 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-Alpha29 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- সময়টি দেখায় এমন ডিফল্ট সামগ্রী সরবরাহ করতে আমরা
TimeTextআপডেট করেছি। ( আইডি 23 বি 3 ) - আমরা
orientationপ্যারামিটারটি সরিয়েPagerStateজন্যScrollInfoProviderসরল করে দিয়েছি, যা আর প্রয়োজন নেই। নতুন আচরণটিTimeTextঅনুভূমিক এবং উল্লম্ব পেজিং উভয়ের জন্যই জায়গায় থাকার জন্য। ( I71767 ) -
LocalHapticFeedbackএখন যখন ভাইব্রেটার এপিআই নির্দেশ করে যে হ্যাপটিক্স সমর্থিত হয় তখন একটি ডিফল্টHapticFeedbackবাস্তবায়ন সরবরাহ করে। নিম্নলিখিতগুলিHapticFeedbackTypeযুক্ত করা হয়েছে -Confirm,ContextClick,GestureEnd,GestureThresholdActivate,Reject,SegmentFrequentTick,SegmentTick,ToggleOn,ToggleOff,VirtualKey। দীর্ঘ-ক্লিক হ্যান্ডলার সরবরাহ করা হলেButton,IconButton,TextButtonএবংCardমতো দীর্ঘ-ক্লিকযোগ্য উপাদানগুলি রচনা করুনLONG_PRESS( I5083d )
বাগ ফিক্স
- আমরা নিশ্চিতকরণের জন্য গতি আপডেট করেছি। ( I04bff )
- আমরা রচনা গ্রন্থাগারগুলির জন্য ন্যূনতম এপিআই নির্ভরতা 1.7.4 এ আপডেট করেছি। ( I88b46 )
-
OpenOnPhoneডায়ালগের জন্য নতুন গতি যুক্ত করা হয়েছিল। ( I1e10a ) - আমরা
LevelIndicatorএকটি বাগ ঠিক করেছি যাতে এটি এখন সঠিকভাবে স্তরটি শূন্য হয়। ( Ie95a4 ) - আমরা
HorizontalPageIndicatorএবংVerticalPageIndicatorঅ্যানিমেশনগুলি আপডেট করেছি। ( I5c8f3 ) - আমরা অনির্দিষ্ট
ArcProgressIndicatorএকটি সঙ্কুচিত-থেকে-ডট অ্যানিমেশন যুক্ত করেছি। ( I9fd51 )
সংস্করণ 1.0.0-আলফা 28
অক্টোবর 30, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha28 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA28 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা অনির্দিষ্ট বৃত্তাকার অগ্রগতি সূচক ( i2efc1 ) এর উপর একটি তোরণ প্রকরণ যুক্ত করেছি
- আমরা
AlertDialogContentএবংDialogকমপোজেবলগুলি প্রকাশ করেছি যাAlertDialogএপিআই তৈরি করে, যাতে প্রয়োজনে কাস্টমাইজেশন যুক্ত করা সম্ভব হয় (যেমন প্রস্তাবিত সামগ্রী লেআউটটি রাখার সময়AlertDialogঅ্যানিমেশন কাস্টমাইজ করা)। তদতিরিক্ত, আমরাEdgeButton,ConfirmButtonএবংAlertDialogDefaultsDismissButtonসদস্যদের সাথেModifierএবংColorপরামিতি যুক্ত করেছি। ( I4eb71 ) - আমরা
Placeholderএপিআইকে নিম্নরূপ আপডেট করেছি:PlaceholderState.startPlaceholderAnimationPlaceholderState.animatePlaceholderPlaceholderState.isShowContentPlaceholderState.isHidden, এবংPlaceholderDefaults.shapePlaceholderDefaults.ShapeoriginalPainterpainterWithPlaceholderOverlayBackgroundBrushব্রাশেরpainterপ্যারামিটারটির নামকরণ করা হয়েছে;PlaceholderState.placeholderProgressionদৃশ্যমানতা পরিবর্তিত হয়েছেplaceholderShimmerProgressionস্থানধারক অ্যানিমেশন সময়কাল স্থিরতাPlaceholderDefaultsযুক্ত করা হয়েছে। ( Ie5a59 ) - আমরা নিম্নরূপে
EdgeButtonএপিআই আপডেট করেছি:bottomButtonথেকেedgeButtonপর্যন্তScreenScaffoldপ্যারামিটারটির নামকরণ করা হয়েছে;EdgeButtonSizeএকটি মান শ্রেণি তৈরি। ( আইইএফ 15 ) - আমরা
copy()এর দৃশ্যমানতাটি পরিধানকারী মেটেরিয়াল 3 কালার ক্লাসে ( i0287f ) পরিবর্তন করেছি
বাগ ফিক্স
-
IconToggleButtonএবংTextToggleButtonজন্য ন্যূনতম অ্যানিমেশন সময়কাল যুক্ত করা হয়েছে ক্লিক করুন ( আইবি 333 ) -
IconButtonএবংTextButtonশেপ অ্যানিমেশনে ন্যূনতম সময়কাল যুক্ত করা হয়েছে ( আইবিসি ) -
DatePickerপুনরাবৃত্তি বিকল্পের অবস্থা সংশোধন করেছে। ( I3587c ) - সতর্কতা এবং নিশ্চিতকরণ ডায়ালগগুলির জন্য গতি যুক্ত করা হয়েছে। ( I173b1 )
সংস্করণ 1.0.0-আলফা 27
16 অক্টোবর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha27 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA27 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- ওয়েয়ার কমপোজ ফাউন্ডেশন
LazyColumnTransformingLazyColumnনামকরণের পরে আমরাScreenScaffoldএবংScrollIndicatorআপডেট করেছি। ( I0608 বি ) -
EdgeButtonpreferredHeightপ্যারামিটারটিbuttonSizeজন্য নামকরণ করা হয়েছে এবং এর মানটি কেবলমাত্র নতুন প্রবর্তিতEdgeButtonSizeমান শ্রেণীর 4 টি ধ্রুবক থেকে বেছে নেওয়া যেতে পারে। ( আইসিডিডি 70 ) - আমরা
ListSubheaderনামকরণListSubHeaderপরিবর্তন করেছি এবংListHeaderএবংListSubHeaderজন্য সর্বজনীনভাবে অ্যাক্সেসযোগ্য ডিফল্ট মান যুক্ত করেছি। ( I96730 ) - আমরা পরিধানের জন্য নতুন
HorizontalPagerScaffoldএবংVerticalPagerScaffoldউপাদানগুলি যুক্ত করেছি যা সময় পাঠ্য এবং পৃষ্ঠা সূচক উপাদানগুলির মধ্যে নতুন অ্যানিমেশন এবং সমন্বয় সরবরাহ করে। ( Iff7d0 ) - আমরা রোটারি ইনপুট ডিভাইসগুলি ব্যবহার করে পেজারদের নেভিগেট করতে ব্যবহারকারীদের সক্ষম করে
HorizontalPagerScaffoldএবংVerticalPagerScaffoldরোটারি সমর্থন যুক্ত করেছি। ( I9770d ) - আমরা ব্যবহারকে সহজতর করতে এবং ধারাবাহিকতা উন্নত করতে
MotionSchemeএপিআই পরিবর্তনগুলি করেছি। সরানো ইনলাইন করা ফাংশনগুলি মুছে ফেলা হয়েছে এবং অন্তর্নির্মিত মোশন স্কিমগুলিকে একটি ডেডিকেটেড মোশনসেমি সহচর বস্তুর দিকে সরিয়ে নিয়েছে।standardMotionSchemeএবংexpressiveMotionSchemeনামকরণ এবং অভিব্যক্তিতে নামকরণ করা হয়েছে। ( I5fd45 ) - আমরা সিস্টেমের রঙের উপর ভিত্তি করে একটি গতিশীল রঙ স্কিমের জন্য সমর্থন যুক্ত করেছি। ( I073e9 )
- আমরা সর্বশেষ ইউএক্স স্পেসগুলিতে স্টিপার আপডেট করেছি। ( I622bb )
বাগ ফিক্স
- আমরা কার্ডের উপাদানগুলির জন্য টাইপোগ্রাফি এবং প্যাডিংস আপডেট করেছি। ( I3ae48 )
- আমরা ইউএক্স স্পেস ( আইই 55F0 ) অনুসারে নিশ্চিত/বরখাস্ত বোতাম এবং বাকী সামগ্রীর 8DP থেকে 12 ডিপিতে বাকী সামগ্রীর মধ্যে
AlertDialogপরিবর্তন করেছি - আমরা স্লাইডার উপাদানটির জন্য রঙের অস্বচ্ছতা আপডেট করেছি। ( আইডিবি 383 )
সংস্করণ 1.0.0-আলফা 26
2 অক্টোবর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha26 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA26 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা এপিআই এবং
HorizontalPageIndicatorইন্ডিকেটরের উপস্থিতি আপডেট করেছি এবংVerticalPager( আইসি 9309 ) এর সাথে ব্যবহারের জন্যVerticalPageIndicatorযুক্ত করেছি -
AlertDialogএখন কাস্টম লেআউটগুলির জন্য বোতাম স্ট্যাকের প্রকরণ থেকে ডিফল্ট নীচের বোতামটি বাদ দেওয়ার ক্ষমতা সমর্থন করে যেখানে এজবাটনের প্রয়োজন নেই। ( I34fa9 ) - আমরা পরিধানের উপাদান 3 ( আইসি 38 বি 2 ) এর জন্য একটি
SwipeToRevealউপাদান যুক্ত করেছি - আমরা
SwipeToRevealদ্বি-দিকনির্দেশক সোয়াইপিংয়ের জন্য সমর্থন যুক্ত করেছি, বিরল ক্ষেত্রে যেখানে বর্তমান পর্দা সোয়াইপকে বরখাস্ত করতে সমর্থন করে না। ডিফল্টটি এখনও কেবল ডান থেকে বাম সোয়াইপগুলিতে সোয়াইপ-টু-রাইপ করা এবং এটি বরখাস্ত করার সোয়াইপের সাথে বিরোধ এড়াতে ডিফল্ট আচরণের প্রতি শ্রদ্ধা জানাতে দৃ strongly ়ভাবে পরামর্শ দেওয়া হয়। ( Ifac04 ) - আমরা
preferredHeightEdgeButtonbuttonHeightপ্যারামিটারের নামকরণ করেছি। ( I4fab3 ) - কোটলিন সংস্করণটি 1.9 ( আই 1 এ 14 সি ) এ আপডেট করা হয়েছে
-
Icon( আই 0 এফ 391 ) এর সাথে সংঘর্ষ এড়াতে আমরাOpenOnPhoneDialogDefaults.Iconডিফল্টস.কনকেOpenOnPhoneDialogDefaults.OpenOnPhoneIconনামকরণ করেছি (আই 0 এফ 391) - আমরা
LazyColumnScrollIndicatorজন্য সমর্থন যুক্ত করেছি। ( Ia546a ) - আমরা
TextToggleButtonএবংIconToggleButtonজন্য ডিফল্ট মান আপডেট করেছি। ( I7aaa9 ) - আমরা
PickerএবংPickerGroupএপিআইকে সরল করেছি। ( ID0653 ) - আমরা
CardDefaults.ShapeএবংCardDefaults.Heightযুক্ত করেছি he হাইাইট, যা (টোকেন হচ্ছে) লাইব্রেরিটি ব্যবহার করে বিকাশকারীদের কাছে অন্যথায় ব্যক্তিগত ছিল। ( আই 1594 এ , বি/347649765 ) - আমরা বাইনারি বিভাগযুক্ত বিজ্ঞপ্তি অগ্রগতি সূচকটির জন্য
segmentValueঅগ্রগতি প্যারামিটারের নামকরণ করেছি। ( আইবি 72 ডি 9 ) - আমরা স্লাইডারের জন্য রঙ এবং বিন্যাস আপডেট করেছি। ( আইসি 3 ইইসি )
বাগ ফিক্স
- আমরা
openOnPhoneআইকন অ্যানিমেশন ( i66f85 ) আপডেট করেছি - আমরা এখন
Slider,TimePickerএবংDatePickerগুগল প্রতীক আইকন ব্যবহার করছি। ( I46c7c ) - আমরা
ConfirmationএবংOpenOnPhoneDialogপ্যাডিংস আপডেট করেছি। ( আইএএ 82 ই )
সংস্করণ 1.0.0-আলফা 25
18 সেপ্টেম্বর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha25 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA25 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা একটি অনির্দিষ্ট বৃত্তাকার অগ্রগতি সূচক যুক্ত করেছি। ( I427a7 )
- আমরা
CircularProgressIndicatorএবংSegmentedCircularProgressIndicatorউভয়ের জন্য অগ্রগতি ওভারফ্লো (> 100% অগ্রগতি) এর জন্য সমর্থন যুক্ত করেছি। যখন অগ্রগতি 1.0 ছাড়িয়ে যায়, এটি নতুনoverflowTrackরঙ দ্বারা নির্দেশিত হবে। ( আইএএএ 3 ডি ) - গোলাকার
IconToggleButtonএবংTextToggleButtonএখন একটি নতুন আকারের অ্যানিমেশন প্রকরণ সমর্থন করে, যেখানে বিভিন্ন আকার চেক করা, চেক করা এবং চাপযুক্ত রাষ্ট্রগুলির প্রতিনিধিত্ব করে। সবেমাত্র চাপানো রাষ্ট্রের জন্য পূর্ববর্তী অ্যানিমেটেড আকারের প্রকরণটি সমর্থন করা অব্যাহত রয়েছে। ( I29f03 ) -
ScreenScaffoldEdgeButtonউচ্চতা স্পষ্টভাবে নির্দিষ্ট করার প্রয়োজনের কারণে আমরাColumnসহEdgeButtonব্যবহারের জন্য সমর্থন সরিয়ে ফেলেছি। ( Ie353d ) - আমরা আমাদের
ScreenScaffoldসাথে পোশাক রচনাLazyColumn(এবংLazyColumnStateজন্যScrollInfoProviderএকটি বাস্তবায়ন যুক্ত করেছি) এর জন্য সমর্থন যুক্ত করেছি। ( আইবি 8 ডি 29 ) - আমরা আরও স্কেলযোগ্য সমাধান সরবরাহ করার জন্য
LocalTextMaxLines,LocalTextAlign,LocalTextOverflowএককLocalTextConfigurationকম্পোজিশন স্থানীয় হিসাবে সংযুক্ত করেছি। ( I5edbc ) - আমরা অতিরিক্ত টাইপস্কেল হিসাবে আর্ক-লার্জ যুক্ত করেছি, যা স্ক্রিনের একেবারে শীর্ষে বা নীচে সংক্ষিপ্ত শিরোনাম পাঠ্য স্ট্রিংগুলির জন্য সংরক্ষিত, যেমন নিশ্চিতকরণ ওভারলেগুলির মতো। ( I60e3e )
- আমরা প্রস্তাবিত বড় এবং অতিরিক্ত বড় আইকন আকার এবং সামগ্রী প্যাডিংয়ের জন্য বোতামে ডিফল্ট যুক্ত করেছি। ( I84675 )
বাগ ফিক্স
- আমরা
IconButtonএবংTextButtonজন্য রঙগুলি আপডেট করেছি। ( I48324 ) - আমরা অন্যান্য ওভারলোডগুলির সাথে ধারাবাহিকতার জন্য উল্লম্বভাবে কেন্দ্র-সংযুক্ত হতে বেস বোতামের ওভারলোডগুলি পরিবর্তন করেছি। পূর্ববর্তী আচরণটি পুনরুদ্ধার করতে,
RowScopeথেকেModifier.alignব্যবহার করুন। ( I66e57 )
সংস্করণ 1.0.0-আলফা 24
4 সেপ্টেম্বর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha24 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA24 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা উপাদান 3 থিমটিতে একটি গতি স্কিম যুক্ত করেছি। এটি লাইব্রেরি জুড়ে উপাদানগুলি দ্বারা অ্যানিমেশন স্পেসিফিকেশন যেমন এক্সপ্রেশনাল গতির জন্য স্প্রিংস প্রয়োগ করতে ব্যবহৃত হবে। ( I54ff3 )
- আমরা মেটেরিয়াল 3 লাইব্রেরিতে
AppScaffoldএবংScreenScaffoldউপাদানগুলি যুক্ত করেছি, যার মধ্যেTimeTextএবংScrollIndicatorলেয়ারিং এবং ট্রানজিশনগুলির সমন্বয় করার কার্যকারিতা অন্তর্ভুক্ত রয়েছে।AppScaffoldসমস্ত স্ক্রিনের শীর্ষে বসে থাকা স্ক্যাফোল্ড উপাদানগুলির একটি শীর্ষ স্তরের সরবরাহ করে। যেমন,AppScaffoldTimeTextযুক্ত করা স্ক্রিনগুলির মধ্যে সোয়াইপ করার সময় এটিকে জায়গায় থাকতে দেয়। স্ক্রিনগুলি নিজেরাই ওভাররাইড করতে বা সময়ের পাঠ্যটি আড়াল করতে পারে।ScreenScaffoldScrollIndicatorজন্য একটি স্লট সরবরাহ করে এবং স্ক্রোলিংয়ের সময় স্বয়ংক্রিয়ভাবে স্ক্রোল সূচকটি অ্যানিমেট করে, নিষ্ক্রিয়তার পরে স্ক্রোল সূচকটি আড়াল করার সময়সীমা সহ। ( I047d6 ) - আমরা নতুন উপাদান 3 ডিজাইনের বৈশিষ্ট্যযুক্ত
ScrollIndicatorযুক্ত করেছি। অলস সামগ্রী তালিকায় লোড করা হলে আকারের বিভিন্নতা এড়াতে এটি প্রাথমিক তালিকার বিষয়বস্তুর উপর ভিত্তি করে একটি স্থির থাম্বের আকার রয়েছে। ( আইসি 228 ডি ) - আমরা
ScrollAwayএপিআইকে এমনভাবে পরিবর্তন করেছি যেScreenStageএকটি এনাম ক্লাসের পরিবর্তে একটি মান শ্রেণি, যাতে অতিরিক্ত পর্যায়গুলি যুক্ত করার জন্য প্রয়োজনীয় হিসাবে এগিয়ে যাওয়ার প্রয়োজন হয়। ( I48c93 ) - আমরা
EdgeButtonযুক্ত করেছি, একটি আকারের সাথে একটি স্বতন্ত্র পরিধান-নির্দিষ্ট বোতাম যা পর্দার নীচের অংশের বক্রতা অনুসরণ করে ( I16369 ) - আমরা নীচে বোতামের জন্য
ScreenScaffoldএকটি নতুন স্লট যুক্ত করেছি (যেমনEdgeButton), যা স্ক্রোলিং সামগ্রীর উপর নির্ভর করে প্রদর্শিত হবে এবং পুনরায় আকার দেওয়া হবে ( i032eb ) - আমরা
LazyColumnআইটেমগুলিতে ম্যাটেরিয়াল 3 গতি প্রভাব যুক্ত করতেModifier.scrollTransformএবংModifier.targetMorphingHeightযুক্ত করেছি। ( আই 229 এ ) - আমরা
CircularProgressIndicatorএকটি প্রকরণ হিসাবেSegmentedCircularProgressIndicatorযুক্ত করেছি। বিভাগযুক্ত প্রকরণটি হয় সমস্ত বিভাগে একক অগ্রগতির মান দেখায় বা প্রতিটি বিভাগকে চালু/বন্ধ হিসাবে দেখায়। ( I6e059 ) - আমরা বিদ্যমান
CircularProgressIndicatorবিকল্প হিসাবেLinearProgressIndicatorযুক্ত করেছি। ( I89182 ) - আমরা ব্যবহারকারীকে গুরুত্বপূর্ণ অনুরোধগুলি উপস্থাপনের জন্য লেআউট সরবরাহ করে
AlertDialogযুক্ত করেছি। বিকল্পগুলির একটি স্ট্যাকের নীচে এক জোড়া নিশ্চিত/বরখাস্ত বোতাম বা একক নীচের বোতাম (সাধারণত একটি এজবটন) এর জন্য বিভিন্নতা অন্তর্ভুক্ত করা হয়। উভয় বৈচিত্রের আরও বিশদ সরবরাহ করতে আইকন, শিরোনাম এবং অতিরিক্ত পাঠ্যের জন্য স্লট রয়েছে। ( আইবি 873 ) - আমরা
OpenOnPhoneDialogযুক্ত করেছি, যা ব্যবহারকারীর ফোনে অব্যাহত থাকবে এমন একটি ক্রিয়া নির্দেশ করতে ব্যবহার করা উচিত।OpenOnPhoneDialogএকটি নির্দিষ্ট সময়সীমা পরে বরখাস্ত করা হয়। ( I978fd ) - আমরা
Confirmationযুক্ত করেছি, একটি ডায়ালগ উপাদান যা আইকনের জন্য স্লট এবং বাঁকানো বা লিনিয়ার পাঠ্য রয়েছে। সাফল্য/ব্যর্থতা বার্তাগুলির জন্য নির্দিষ্ট বিভিন্নতা সরবরাহ করা হয়। নিশ্চিতকরণগুলি একটি সময়সীমা পরে স্বয়ংক্রিয়ভাবে বরখাস্ত হয়। ( আইবি 43 ই 8 ) - অন্তর্নিহিত সামগ্রী এবং
TimeTextওভারল্যাপ হয়ে যায় এবং সময়টিকে অস্পষ্ট করে তুলতে আমরাTimeTextএকটি পটভূমি যুক্ত করেছি। ( আইএ 11 এফডি ) - আমরা
LevelIndicatorযুক্ত করেছি, যা ভলিউমের মতো সেটিংয়ের মান দেখায় এবং ভলিউম স্ক্রিনটি তৈরি করতে বিদ্যমানStepperউপাদানগুলির সাথে ব্যবহার করা যেতে পারে।LevelIndicatorScrollIndicatorঅনুরূপ, তবে এটি স্ক্রিনের বিপরীত দিকে প্রদর্শিত হয় এবং এটি ডিফল্টরূপে আরও বিস্তৃত স্ট্রোকের প্রস্থ এবং বিভিন্ন সূচক রঙ রয়েছে। ( I8a4ac ) - আমরা 24 ঘন্টা সময় (সেকেন্ডের সাথে বা ছাড়াই) বা এএম/প্রধানমন্ত্রী নির্বাচনের সাথে 12 ঘন্টা সময় সহ লেআউট সহ
TimePickerযুক্ত করেছি। ( আইএ 5124 ) - আমরা কলাম অর্ডার (যেমন দিন-মাস-বছর, মাস-দিন-বছর বা বছরের মাসের দিন) এবং al চ্ছিক মিনিট/সর্বোচ্চ তারিখের জন্য কনফিগারেশন সহ
DatePickerযুক্ত করেছি। ( আইবিএফ 13 বি ) - আমরা
TimeTextএরtextফাংশনে একটি ওজন প্যারামিটার যুক্ত করেছি। টাইমটেক্সট একাধিক পাঠ্য উপাদান নিয়ে গঠিত ক্ষেত্রে, এটি স্থানটি কীভাবে বিতরণ করা হয় তার উপর নিয়ন্ত্রণের অনুমতি দেয়। ( I36700 ) - আমরা
RadioButtonএবংSplitRadioButtonযুক্ত করেছি - এই উপাদানগুলি (স্প্লিট)SelectableButtonএবং চাইল্ড রেডিও কন্ট্রোল ( আইএফ 7 এএ 8 ) উভয়কে একত্রিত করে পূর্ববর্তী এপিআইকে সহজতর করে - আমরা
CheckboxButtonএবংSplitCheckboxButtonযুক্ত করেছি - এই উপাদানগুলি (স্প্লিট)ToggleButtonএবং চাইল্ড চেকবক্স নিয়ন্ত্রণ ( আইএ 8 এফ 70 ) উভয়কে একত্রিত করে পূর্ববর্তী এপিআইকে সহজতর করে - আমরা
SwitchButtonএবংSplitSwitchButtonযুক্ত করেছি - এই উপাদানগুলি(Split)ToggleButtonএবং চাইল্ড স্যুইচ কন্ট্রোল ( আই 0 ডি 349 ) উভয়কে একত্রিত করে পূর্ববর্তী এপিআইকে সহজতর করে - ওভারশুটিং আচরণটি ব্যাখ্যা করতে আমরা
AnimatedTextডকুমেন্টেশন আপডেট করেছি। ( Iff30a ) - আমরা 2 বা 3 টি বোতাম একত্রিত করতে
ButtonGroupযুক্ত করেছি যেমন বোতাম প্রেসগুলি একটি সমন্বিত অ্যানিমেশন তৈরি করে। ( আই 27 ডিবি ) - আমরা চাপলে
IconButtonএবংTextButtonজন্য al চ্ছিক আকারের অ্যানিমেশন যুক্ত করেছি। ( Iffca5 ) - আমরা
Button,IconButton,TextButton,CompactButtonএবংEdgeButton( আই 65 এফসি 3 ) এ একটি অতিরিক্ত রঙের প্রকরণ,FilledVariantযুক্ত করেছি - আমরা
ImageWithScrimPainterforcedSizeপ্যারামিটার যুক্ত করেছি, যেমন সেই বোতামের চিত্রের ব্যাকগ্রাউন্ডগুলি এখন ডিফল্টরূপে তাদের উপাদানগুলির আকার বজায় রাখে।forcedSize = nullসেট করাPainter.instrinsicSizeগ্রহণ করে ins ( আইসি 57 এএফ ) - আমরা বোতামগুলিতে দীর্ঘ-ক্লিক যুক্ত করেছি ( আইবি 613 ডি )
-
IconButtonএবংTextButtonদীর্ঘ ক্লিক সমর্থন যুক্ত করা হয়েছে। ( I38891 ) - দীর্ঘ ক্লিক সমর্থন কার্ডগুলিতে যুক্ত করা হয়েছে। ( I305d5 )
- আমরা
LocalTextMaxLines,LocalTextAlign,LocalTextOverflowCompositionLocalsহিসাবে যুক্ত করেছি এবং এগুলিTextপ্যারামিটার ডিফল্ট হিসাবে ব্যবহার করেছি। রচনা স্থানীয়দের এখন ইউএক্স গাইডেন্স বাস্তবায়নের জন্যCheckboxButton,SwitchButton,RadioButtonএর মতো উপাদানগুলি ব্যবহার করা যেতে পারে, তবে প্রয়োজনে বিকাশকারীদের দ্বারা প্যারামিটারগুলি ওভাররাইড করা যেতে পারে। ( আইএবি 841 ) - ডেটা লোড না হওয়া পর্যন্ত আমরা বোতাম এবং কার্ডের মতো উপাদানগুলির সামগ্রীগুলি মাস্কিংয়ে সহায়তা করতে
Placeholderযুক্ত করেছি। ( I1a532 ) - আমরা এখন সরানো
ToggleButtonColorsপ্রতিস্থাপনের জন্যIconToggleButtonColorsএবংTextToggleButtonColorsযুক্ত করেছি। ( Ie0bf1 )
বাগ ফিক্স
- আমাদের কাছে ইউএক্স গাইডেন্স বাস্তবায়নের জন্য নতুন
CompositionLocalsLocalTextMaxLines,LocalTextAlign,LocalTextOverflowব্যবহার করার জন্য আমাদের আপডেট করাButton,FilledTonalButton,OutlinedButton,ChildButton,CompactButtonরয়েছে - ইউএক্স গাইডেন্স বাস্তবায়নের জন্য এই প্যারামিটারগুলি সরাসরি পাঠ্যে বিকাশকারীদের দ্বারা ওভাররাইড করা যেতে পারে ( ie51f7 ) - আমরা
ScrollIndicatorথেকে পৃথক করতেLevelIndicatorডিফল্ট স্ট্রোকের প্রস্থকে6dpপরিবর্তন করেছি যার স্ট্রোকের প্রস্থ4dpরয়েছে। ( If6f63 ) - আমরা
TimeTextএকটি সমস্যা স্থির করেছি যাতে বৃহত্তর সুইপ কোণগুলি সমর্থিত হয়। ( Ie489f ) -
EdgeButtonপুনঃসংযোগের সময় একটি সমস্যা স্থির করে। ( আই 4 সিডিসিএ ) - কাস্টমাইজড সামগ্রী প্যাডিং সরবরাহ করা হলে বিভক্ত টগল বোতামগুলির সংশোধন করা লেআউটগুলি। ( আইএ 33 ডি 3 )
- অগ্রগতি সূচকটির কমপক্ষে লাইন প্রস্থে ছোট অগ্রগতির মানগুলি গোল করে। ( I3bd84 )
সংস্করণ 1.0.0-আলফা 23
14 মে, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha23 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-আলফা 23 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- আমরা
ToggleButtonএবংRadioButtonএপিআইগুলিকে আপডেট করেছি যেমন অক্ষম রঙগুলি কনফিগার করা যায়। ( আইএফ 13 এ 7 ) - আমরা ম্যাটেরিয়াল 3 এর জন্য একটি নতুন
CircularProgressIndicatorযুক্ত করেছি। ( আইবি 3 বিডি 7 )
বাগ ফিক্স
- আমরা একটি বাগ ঠিক করেছি যেখানে ইতিমধ্যে নির্বাচিত হওয়ার পরে সিলেক্টেবল বোতামগুলি টগল করার জন্য ডাবল ট্যাপ ঘোষণা করেছে। ( I7ed88 )
সংস্করণ 1.0.0-আলফা 22
1 মে, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha22 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA22 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- আমরা ম্যাটেরিয়াল
ColorSchemeআপডেট করেছি। ( I7b2b8 ) - আমরা ম্যাটেরিয়াল 3 স্যুইচ আপডেট করেছি - পাশাপাশি কিছু রঙ পরিবর্তন, টিক এখন চেকবক্সের জন্য ব্যবহৃত মেলে। ( আইসিএসি 7 বি )
বাগ ফিক্স
- নতুন
rotaryScrollableমডিফায়ার ব্যবহার করতে সমস্ত ইন্টিগ্রেশন ডেমো আপডেট করুন। ( I25090 )
সংস্করণ 1.0.0-আলফা 21
এপ্রিল 17, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha21 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA21 এর মধ্যে এই কমিট রয়েছে।
- পূর্ববর্তী রিলিজের কোনও প্রযুক্তিগত সমস্যার কারণে এই প্রকাশটি ট্রিগার করা হয়েছিল যার ফলে উত্স জারগুলি অনুপস্থিত হয়েছিল। এই প্রকাশে কোনও নতুন কমিট নেই।
সংস্করণ 1.0.0-আলফা 20
3 এপ্রিল, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha20 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-Alpha20 এই কমিটস রয়েছে।
বাগ ফিক্স
- আমরা বিপরীতে চাপযুক্ত এবং ফোকাসযুক্ত রাষ্ট্রীয় আলফাসকে সামঞ্জস্য করেছি। ( I59f0a )
- টাইপোগ্রাফি শৈলী এবং লাইন উচ্চতায় সর্বশেষ পরিবর্তনগুলি অনুসরণ করে আমরা
Button,ToggleButtonএবংRadioButtonএ প্রাথমিক এবং মাধ্যমিক লেবেলের মধ্যে ব্যবধান যুক্ত করেছি। ( I2c0ba )
সংস্করণ 1.0.0-alpha19
6 মার্চ, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha19 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA19 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- আমরা পরিধান কমপোজ মেটেরিয়াল 3 লাইব্রেরিতে
TimeTextযুক্ত করেছি। এই উপাদানটি স্ক্রিনের শীর্ষে বর্তমান সময় (এবং অতিরিক্ত স্থিতি) দেখায়। নতুন, সংক্ষিপ্ত উপাদান 3 এপিআই লিনিয়ার এবং বাঁকা সামগ্রীর মধ্যে সদৃশতা এড়ায়। ( I4d7c3 ) - আমরা
RadioButtonজন্যonSelectedথেকেonSelectপর্যন্ত প্যারামিটারের নাম আপডেট করেছি। ( I1a971 ) -
RadioButtonএবংSplitRadioButtonটোকেনাইজ করুন এবং রঙগুলির ক্যাশেড দৃষ্টান্ত যুক্ত করে এবংRadioButtonColorsএবংSplitRadioButtonColorsঅভ্যন্তরীণ পদ্ধতিগুলি তৈরি করেCompositionLocalআলোচনার পরিমাণ হ্রাস করার জন্য বিদ্যমান পদ্ধতিগুলিও রিফ্যাক্টর করুন। ( I02b33 )
সংস্করণ 1.0.0-alpha18
ফেব্রুয়ারি 21, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha18 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha18-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা অভ্যন্তরীণভাবে ক্যাশেড দৃষ্টান্ত তৈরি করে এবং
CompositionLocalএর ব্যবহার হ্রাস করেCardColors,ToggleButtonColorsএবংSplitToggleButtonColorsজন্য ডিফল্ট প্যাটার্নটি রিফ্যাক্ট করেছি। ( If3fec )
সংস্করণ 1.0.0-আলফা 17
7 ফেব্রুয়ারি, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha17 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA17 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- আমরা ডিফল্টরূপে
buttonColorsব্যবহার করতে বোতামটি এপিআই আপডেট করেছি এবং সদৃশfilledButtonColorsসরিয়ে ফেলেছি। ( I4fe3b ) - আমরা অভ্যন্তরীণভাবে একটি ক্যাশেড উদাহরণ তৈরি করে এবং
CompositionLocalব্যবহার হ্রাস করেButtonColors,IconButtonColorsএবংTextButtonColorsজন্য ডিফল্ট নিদর্শনগুলি রিফ্যাক্টরড করেছি। ( I5f51c ) - আমরা উপাদানগুলির নির্দিষ্ট রঙ শ্রেণিতে
rememberUpdatedStateওভারহেড সরিয়ে ফেলেছি এবং রঙ শ্রেণীর অভ্যন্তরে অভ্যন্তরীণ হিসাবে চিহ্নিত অ্যাকসেসর পদ্ধতিগুলি চিহ্নিত করেছি। ( If6571 )
বাগ ফিক্স
- আমরা
Modifier.nodeব্যবহার করতেModifier.minimumInteractiveComponentSizeআপডেট করেছি। ( আইবিএ 6 বি 7 )
সংস্করণ 1.0.0-আলফা 16
24 জানুয়ারী, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha16 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-ALPHA16 এর মধ্যে এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- আমরা
CompactButtonযুক্ত করেছি, যা একই ভরাট, ভরা টোনাল এবং রূপরেখা রঙগুলি বোতাম হিসাবে ব্যবহার করতে পারে (( i05df0 )
এপিআই পরিবর্তন
- আমরা রেডিও নিয়ন্ত্রণের মতো নির্বাচন নিয়ন্ত্রণের পাত্রে
RadioButton/SplitRadioButtonযুক্ত করেছি। এটি বিদ্যমানToggleButtonথেকে পৃথক যেRadioButtonনির্বাচনযোগ্য (এবং একটি নির্বাচন গোষ্ঠীর মধ্যে কাজ করে) যেখানেToggleButtonটগলযোগ্য (এবং স্বতন্ত্র)। ( I61275 ) - আমরা কমপোজ মেটেরিয়াল 3 লাইব্রেরির সাথে ধারাবাহিকতার জন্য পোশাক কমপোজ মেটেরিয়াল 3 লাইব্রেরি থেকে
LocalContentAlphaসরিয়ে দিচ্ছি। ( I49a0a ) - তাদের এপিআই -তে একটি
MutableInteractionSourceএক্সপোর্সিং উপাদানগুলি পরিধান করুন এবং পরিধান করুন 3 উপাদানগুলি এখন আপডেট করা হয়েছে এখন একটি বাতিলযোগ্য মিউটেবলMutableInteractionSourceপ্রকাশ করার জন্য যা ডিফল্টগুলি নালিতে ডিফল্ট করে। There are no semantic changes here: passing null means that you do not wish to hoist theMutableInteractionSource, and it will be created inside the component if needed. Changing to null allows for some components to never allocate aMutableInteractionSource, and allows for other components to only lazily create an instance when they need to, which improves performance across these components. If you are not using theMutableInteractionSourceyou pass to these components, it is recommended that you pass null instead. It is also recommended that you make similar changes in your own components. ( Ib90fc , b/298048146 ) - Adds new ripple API in
wear:compose-materialandwear:compose-material3libraries which replaces the deprecatedrememberRipple. Also adds a temporaryCompositionLocal,LocalUseFallbackRippleImplementation, to revert Material components to using the deprecatedrememberRipple/RippleThemeAPIs. This will be removed in the next stable release, and is only intended to be a temporary migration aid for cases where you are providing a customRippleTheme. See developer.android.com for migration information and more background information behind this change. ( af92b21 ) - We have made minor improvements to the
HorizontalPageIndicatorapi and its documentation. ( I60efc ) - We have updated
ColorSchemeto be immutable, making individual color updates less efficient, but making more common usage of colors more efficient. The reasoning behind this change is that the majority of apps wouldn't have updating individual colors as a main use case. This is still possible but it will recompose more than before, in turn we significantly decrease the amount of state subscriptions through all of material code and will impact initialization and runtime cost of more standard use cases. ( Ibc2d6 ) - Updated
ToggleButtonandSplitToggleButtonAPIs to allow disabled colors to be customized. In addition, Material Design tokens are now used for color and typography values. ( If087c ) - Updated Button image background colors to use Material Design tokens. ( Iba215 )
- We have changed the
Checkbox,SwitchandRadioButtoncomponents to be display-only, by removing the click handling. These components are expected to be used in(Split)ToggleButtonwhich handles the click, so the components are now more clearly indicated as display-only (and are not intended for standalone use on Wear). ( I2322e )
বাগ ফিক্স
- We have added tokens for motion values of durations and easings in Wear Compose Material 3. ( I437cd )
- We have fixed a bug in the
ToggleButton,SplitToggleButton,Checkbox,SwitchandRadioButtonso that accessibility announcements are not repeated (previously, semantic roles were duplicated). ( Ica281 ) - We have removed the materialcore layer for
CompactButtonto improve performance. ( 7902858 )
Version 1.0.0-alpha15
15 নভেম্বর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha15 is released. Version 1.0.0-alpha15 contains these commits.
এপিআই পরিবর্তন
- We have renamed the Foundation level
SwipeToDismissBoxtoBasicSwipeToDismissBox. This makes the distinction clearer between the Foundation level component and the Material3 levelSwipeToDismissBox. The latter pulls colors from theMaterialThemeto be used in scrims and delegates the remaining implementation to theBasicSwipeToDismissBox. ( Ibecfc )
বাগ ফিক্স
- We have removed the material-core layer for Material3 Button to improve performance. ( I55555 )
সংস্করণ 1.0.0-আলফা 14
18 অক্টোবর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha14 is released. সংস্করণ 1.0.0-ALPHA14 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- We have removed the
indicatorStyleparameter from the Material3HorizontalPageIndicator- instead, it will follow the device screen shape (linear or round). ( I83728 ) - We have separated the colors for
SplitToggleButtonfrom those forToggleButton, by adding a newSplitToggleButtonColorsclass. ( I78bee )
Version 1.0.0-alpha13
4 অক্টোবর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha13 is released. সংস্করণ 1.0.0-আলফা 13 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- We have added an optional Subtitle field to
TitleCard. ( Ifc45a ) - We have added Material Design color tokens for
TextButton. ( I769dc )
Version 1.0.0-alpha12
20 সেপ্টেম্বর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha12 is released. সংস্করণ 1.0.0-আলফা 12 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- We have updated
IconButtonto use Material Design tokens. ( I3f137 ) - We have updated
IconToggleButtonto use Material Design tokens. ( I7d263 ) - We have made public the constructors of
CheckboxColors,RadioButtonColors,SwitchColors. ( I82b73 )
সংস্করণ 1.0.0-আলফা 11
6 সেপ্টেম্বর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha11 is released. সংস্করণ 1.0.0-আলফা 11 এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- We update updated the typography for Material3 Cards to
TitleMedium. ( I597bd ) - We have updated the typography and alignment for our Material3
ListHeaderandListSubheader. ( Ib5ceb )
Version 1.0.0-alpha10
23 আগস্ট, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha10 is released. Version 1.0.0-alpha10 contains these commits.
নতুন বৈশিষ্ট্য
- Add
HorizontalPageIndicatorin Wear Material3 library. ( Ifee99 )
এপিআই পরিবর্তন
- Update Buttons code to use Material3 design tokens. ( I92fe4 )
- Declaring Wear Material 3 Stepper and Slider APIs as experimental as the details of the user interface are still being finalized. ( I84d54 )
- We have removed the
ExtraSmallsizes from the roundTextButtonandTextToggleButtonas that size only applies to theIconButton. ( Ibc7d5 )
বাগ ফিক্স
- We have updated the guidance on typography for TextToggleButton to use LabelLarge for LargeButtonSize ( Ib10fa )
- We have updated the guidance on typography for TextButton to use LabelLarge for LargeButtonSize ( I8f3a7 )
- We have set the Card's minimum touch target to be 48dp for accessibility. ( Ieb9b1 )
- Add AppCard with image demo, removing AppCard with Background demo ( Id735f )
- Fix a bug in round buttons where modifiers were not chained correctly. ( I5e162 )
সংস্করণ 1.0.0-Alpha09
9 আগস্ট, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha09 is released. সংস্করণ 1.0.0-ALPHA09 এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- We have added
ToggleButtonfor material3 ( I6bed6 )
এপিআই পরিবর্তন
- We have turned on the
FloatRangeannotation as API constraints , which were previously stated in comments. ( Icb401 ) - We have updated the typography for Wear Material3 to adhere to the latest Material3 guidelines. ( I1bad6 )
বাগ ফিক্স
- We have updated the colors for
Button,IconButtonandTextButtonin line with Material3 design. ( Ib2495 ) - We have fixed checkbox tick visibility in disabled states. ( Ib25bf )
সংস্করণ 1.0.0-Alpha08
জুলাই 26, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha08 is released. সংস্করণ 1.0.0-ALPHA08 এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- We have added the following selection controls for Material3 -
Switch,Checkbox,RadioButton. ( Ib918c ) - We have added
IconToggleButtonandTextToggleButtonto Material3, a circular toggle button with a single slot for icon and text respectively. For different sizes ofToggleButton, we recommend usingModifier.touchTargetAwareSizewith the sizes provided in respective toggle buttons. ( I9f015 ) - We have added
ListHeaderandListSubheaderto our Material3 components. ( Ibaefe ) - We have added Material3
SwipeToDismissBox, which calls the new FoundationSwipeToDismissBoxand supplies default color values from its theme. ( I275fb ) - We have added the Material3
InlineSliderto Wear Compose. It allows users to make a selection from a range of values. The range of selections is shown as a bar between the minimum and maximum values of the range, from which users may select a single value.InlineSlideris ideal for adjusting settings such as volume or brightness. ( I7085f )
এপিআই পরিবর্তন
- We have updated the Shapes in Wear Material 3 theme to use
RoundedCornerShapebased instead of Shape. ( Idb133 ) - We have made the height constants for Button public ( Idbfde )
- Updated API files to annotate compatibility suppression ( I8e87a , b/287516207 )
- We have updated
InlineSliderColorsin Wear Compose Material 3 to have public constructor and public properties. ( I6b632 ) - We have updated all color classes in Wear Compose Material 3 to have public constructors and public properties. ( I17702 )
- We have made Button horizontal and vertical padding constants public. ( Ieeaf7 )
বাগ ফিক্স
- Button will now adjust its height to accommodate content that has grown due to large fonts for accessibility, when required ( Iaf302 )
- We have updated a number of Button demos to address accessibility issues. ( I61ce9 )
-
StepperandInlineSlidernow support repeated clicks on long press so that you can quickly increase/decrease value ofStepperandInlineSliderby holding the + or - buttons ( I27359 )
সংস্করণ 1.0.0-Alpha07
জুন 21, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha07 is released. সংস্করণ 1.0.0-alpha07 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- We have added the
Steppercomponent to our Compose for Wear OS Material 3 library. This is similar to the previous Material version, but omits range semantics by default, following developer feedback. We provideModifier.rangeSemanticsthe cases where range semantics are required. ( Ic39fd ) - We have added
curvedTextto our Compose for Wear OS Material 3 library. ( Ia8ae3 )
বাগ ফিক্স
- We have update
wear.compose.foundationto be an API dependency ofwear.compose.material3( I72004 , b/285404743 )
Version 1.0.0-alpha06
7 জুন, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha06 is released. সংস্করণ 1.0.0-alpha06 এই কমিট ধারণ করে।
বাগ ফিক্স
- We have updated
TextButtonto use thetoDisabledColorextension function for correct disabled alpha values. ( I814c8 )
সংস্করণ 1.0.0-Alpha05
24 মে, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha05 is released. সংস্করণ 1.0.0-ALPHA05 এর মধ্যে এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- We have added
TextButtonto Material3, a circular button with a single slot for text. For different sizes ofTextButton, we recommend usingModifier.touchTargetAwareSizeandExtraSmallButtonSize,SmallButtonSize,DefaultButtonSizeandLargeButtonSizeIconprovided inTextButtonDefaults. The defaultTextButtonhas no border and a transparent background for low emphasis actions. For actions that require high emphasis, usefilledTextButtonColors; for a medium-emphasis, outlinedTextButton, set the border toButtonDefaults.outlinedButtonBorder; for a middle ground between outlined and filled, usefilledTonalTextButtonColors. ( I667e4 ) - We have added
Card,OutlinedCard,AppCardandTitleCardinto the Wear Compose Material3 library.AppCardandTitleCardcan also be given the outlined appearance usingCardDefaults.outlinedCardColorsandCardDefaults.outlinedCardBorder( I80e72 )
এপিআই পরিবর্তন
- We have moved the Button label parameter to the end to support trailing lambda syntax and removed the role parameter (as this can be overridden using
Modifier.semantics).ButtonColorsconstructors are now public. ( Ie1b6d )
Version 1.0.0-alpha04
10 মে, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha04 is released. সংস্করণ 1.0.0-alpha04 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- We have added
IconButtonto Material3, a circular button with a single slot for icon/image. There are four variations:IconButton,FilledIconButton,FilledTonalIconButtonandOutlinedIconButton. For different sizes ofIconButton, we recommend usingModifier.touchTargetAwareSizeandExtraSmallButtonSize,SmallButtonSize,DefaultButtonSizeandLargeButtonSizeIconprovided inIconButtonDefaults. We also provideIconButtonDefaults.iconSizeForto determine the recommended icon size for a given button size. ( I721d4 )
Version 1.0.0-alpha03
এপ্রিল 19, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha03 is released. সংস্করণ 1.0.0-alpha03 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- We have added the Material 3 Button component - this is our stadium-shaped button and was formerly named Chip in the Wear Compose Material library (it has been renamed to Button for consistency with the Compose Material 3 library). The default Button has a filled background and there are button variations for
FilledTonal(muted background), Outlined (transparent with a thin border) and Child (transparent background and no border, used for supplementary actions with the lowest amount of prominence). Round buttons for simple icon and text content will follow in a future release.( Ia6942 )
সংস্করণ 1.0.0-alpha02
5 এপ্রিল, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
বাগ ফিক্স
- We have added a
DefaultTextStyleto Wear Compose Material 3 which defaults thePlatformTextStyle.includeFontPaddingto true (the current setting). This will allow us to synchronize turning off font padding by default with the Compose libraries in the future (see Fix font padding in Compose for background ). ( I7e461 )
Version 1.0.0-alpha01
22 মার্চ, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
Material 3 is the next evolution of Material Design and includes updated theming and redesigned components. Material 3 on Wear Compose is designed to be cohesive with the Material 3 Compose library on Android. This first alpha release contains early, functional implementations of the following:
We will continue to develop Wear Material (
androidx.wear.compose:compose-material) and Wear Material 3 (androidx.wear.compose:compose-material3) in parallel. Future material3 releases will extend the widget set to include other familiar components from Compose for Wear OS, such as buttons, pickers, and sliders.The Wear Material and Wear Material 3 libraries are mutually exclusive and should not be mixed in the same app, primarily because they reference different themes which would lead to unexpected inconsistencies.
Wear Compose Material 3
| সর্বশেষ আপডেট | স্থিতিশীল রিলিজ | প্রার্থী মুক্তি | বিটা রিলিজ | Alpha Release |
|---|---|---|---|---|
| আগস্ট 27, 2025 | 1.5.0 | - | - | - |
নির্ভরতা ঘোষণা করা
To add a dependency on Wear, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
আপনার অ্যাপ বা মডিউলের জন্য build.gradle ফাইলে আপনার প্রয়োজনীয় আর্টিফ্যাক্টগুলির জন্য নির্ভরতা যোগ করুন:
গ্রোভি
dependencies { implementation "androidx.wear.compose:compose-foundation:1.5.0" // For Wear Material Design UX guidelines and specifications implementation "androidx.wear.compose:compose-material3:1.5.0" // For integration between Wear Compose and Androidx Navigation libraries implementation "androidx.wear.compose:compose-navigation:1.5.0" // For Wear preview annotations implementation("androidx.wear.compose:compose-ui-tooling:1.5.0") // NOTE: DO NOT INCLUDE dependencies on androidx.wear.compose:compose-material // or androidx.compose.material:material. // androidx.wear.compose:compose-material3 is designed as a replacement, // not an addition, to both of these other libraries. // If there are features from that you feel are missing from // androidx.wear.compose:compose-material3, please raise a bug to let us know. }
কোটলিন
dependencies { implementation("androidx.wear.compose:compose-foundation:1.5.0") // For Wear Material Design UX guidelines and specifications implementation("androidx.wear.compose:compose-material3:1.5.0") // For integration between Wear Compose and Androidx Navigation libraries implementation("androidx.wear.compose:compose-navigation:1.5.0") // For Wear preview annotations implementation("androidx.wear.compose:compose-ui-tooling:1.5.0") // NOTE: DO NOT INCLUDE dependencies on androidx.wear.compose:compose-material // or androidx.compose.material:material. // androidx.wear.compose:compose-material3 is designed as a replacement, // not an addition, to both of these other libraries. // If there are features from that you feel are missing from // androidx.wear.compose:compose-material3, please raise a bug to let us know. }
নির্ভরতা সম্পর্কে আরও তথ্যের জন্য, বিল্ড নির্ভরতা যুক্ত করুন দেখুন।
প্রতিক্রিয়া
আপনার প্রতিক্রিয়া জেটপ্যাককে আরও ভাল করতে সাহায্য করে। আপনি যদি নতুন সমস্যা আবিষ্কার করেন বা এই লাইব্রেরির উন্নতির জন্য ধারনা পান তাহলে আমাদের জানান। আপনি একটি নতুন তৈরি করার আগে অনুগ্রহ করে এই লাইব্রেরিতে বিদ্যমান সমস্যাগুলি দেখুন৷ আপনি তারকা বোতামে ক্লিক করে একটি বিদ্যমান সমস্যায় আপনার ভোট যোগ করতে পারেন।
আরও তথ্যের জন্য ইস্যু ট্র্যাকার ডকুমেন্টেশন দেখুন।
Wear Compose Material3 Version 1.5
সংস্করণ 1.5.0
আগস্ট 27, 2025
androidx.wear.compose:compose-*:1.5.0 is released. Version 1.5.0 contains these commits .
Important changes since 1.4.0
First release of the Wear Compose Material 3 library, which supports the new Material 3 Expressive design system. This release includes:
- Updated
MaterialThemeand dynamic color theming. - New
AppScaffold, ScreenScaffold,HorizontalPagerScaffold, andVerticalPagerScaffoldcomponents to lay out the structure of the screen and coordinateScrollIndicator,TimeText,HorizontalPageIndicator, andVerticalPageIndicatoranimations. - Shape morphing
IconButton,TextButton,IconToggleButton, andTextToggleButton, with variations that animate when pressed or checked. -
EdgeButton, which has a special shape designed for the bottom of the screen. -
ButtonGroupimplements an expressive group of buttons, in a row that shape-morphs when touched. -
AlertDialogandConfirmationDialogwith variations for additional dialog content. -
TimePickerandDatePickercomponents. - Progress indicators include
CircularProgressIndicator(with segmented variation),ArcProgressIndicator, andLinearProgressIndicator.
In addition, Wear Compose Foundation 1.5.0 includes the following:
-
TransformingLazyColumn, a lazy, vertically scrolling list that supports scaling and morphing animations. - Support for paging in Wear Compose Foundation with
HorizontalPagerandVerticalPager. - Hierarchical Focus Groups - used to annotate composables in an application to keep track of the active part of the composition and coordinate focus.
Read about more about ( Material 3 Expressive for Wear OS )
Version 1.5.0-rc02
13 আগস্ট, 2025
androidx.wear.compose:compose-*:1.5.0-rc02 is released. Version 1.5.0-rc02 contains these commits .
বাগ ফিক্স
- Fixed a bug in
TimePickerwhere long, internationalised strings for the period (AM/PM) could break the layout. ( I0fa81 )
Version 1.5.0-rc01
30 জুলাই, 2025
androidx.wear.compose:compose-*:1.5.0-rc01 is released. Version 1.5.0-rc01 contains these commits .
বাগ ফিক্স
-
TimePickeris now fully driven by the user's locale, usingDateFormat.getBestDateTimePatternto determine the order and content of its pickers and separators. This fixes incorrect column ordering for CJK languages, resolves RTL layout issues in languages like Arabic, uses localized separators, and supports both 0-11 and 1-12 hour formats based on the locale ( I5d543 ) -
DatePickernow displays a numeric month in some locales, such as CJK, to avoid mixing numeric and linguistic formats (eg, 2025 | 07 | 02 instead of 2025 | 7月 | 02). This change applies a heuristic that checks if the locale uses linguistic suffixes for the year and, if so, switches the month format from textual (MMM) to numeric (MM) for consistency. ( Ia93fe ) - The vertical space for the heading in the Picker component is now constant, preventing a visible shift when a picker column is selected, especially in
Talkbackmode. ( I7f8b7 ) - Fixed an accessibility bug caused by
HorizontalPageIndicatorandVerticalPageIndicatorbeing drawn full screen. The page indicators are no longer full-screen, and will be positioned automatically when used withHorizontalPagerScaffoldorVerticalPagerScaffold. When not using a pager scaffold, specify the alignment explicitly usingmodifier = Modifier.align(Alignment.BottomCenter)withHorizontalPageIndicatorandmodifier =Modifier.align(Alignment.CenterEnd)withVerticalPageIndicator. ( I3a0ad ) - The swipe direction in
SwipeToRevealis now consistent for both LTR and RTLLayoutDirections. ( I6d427 ) - Reinstated
SwipeToRevealvertical centering for actions. IfhasPartiallyRevealedState = true,RevealStateshould be reset toRevealValue.Coveredby the caller when scrolling occurs. ( I6473d ) -
SwipeDismissableNavHostnow correctly clips content for API 36 onwards. ( Ib9a44 )
Version 1.5.0-beta06
জুলাই 16, 2025
androidx.wear.compose:compose-*:1.5.0-beta06 is released. Version 1.5.0-beta06 contains these commits .
বাগ ফিক্স
- Fix
EdgeButtonanimation whenLazyColumnorScalingLazyColumnhavereverseLayout = true. ( I46a1a ) - Fixed a bug in
ScreenScaffoldwhere touch-to-explore was not working under Talkback if aScrollIndicator/PageIndicatorwas provided. ( I6dcee ) -
TransformingLazyColumnnow allows for custom morphing fromTransformationSpecby readingitemHeightvalue provided byTransformationSpecin the background painter. ( I6a599 ) - Animated enabled/disabled color transitions for
IconButton, to be consistent withIconToggleButton. ( Ife10a ) - Removed the minimum section clamping in
CircularProgressIndicatorto avoid a noticeable jump to the minimum dot size when animating. As part of this change, thetargetProgressparameter indrawCircularProgressIndicatoris now unused. ( I33309 ) - Picker now has the semantic role
ValuePickerwhich can be used by screen readers to make pickers more accessible. Picker also has updated accessibility click labels which differentiate between adjusting the value in read-only mode and selecting the current value otherwise. ( I33309 )
Version 1.5.0-beta05
2 জুলাই, 2025
androidx.wear.compose:compose-*:1.5.0-beta05 is released. Version 1.5.0-beta05 contains these commits .
বাগ ফিক্স
- Updated the documentation to clarify usage of
Modifier.edgeSwipeToDismiss( I78cb5 ) - Addressed bug where multiple revealed items could be shown with
SwipeToRevealin lazy lists ( I1d4f6 ) - Container shapes in
TransformingLazyColumnare now scaled, in order to avoid clipping the contents. ( I9221a ) - The
TimePickerandDatePickerlabel for hour/minute/second or year/month/day now has heading semantics for screen readers ( I77d8b ) - Removed the pause between loops in the indeterminate
CircularProgressIndicator( Iaf0bb ) - Fixed an animation bug in
TransformingLazyColumnwhen items are removed. ( I73034 ) - Corrected handling of anchor items in
TransformingLazyColumnwhen items are removed. ( I841a8 ) -
PickerGroupnow animates the Pickers horizontally when autocentering is turned on and the selected (centered) picker is changed. ( Ic82c4 )
Version 1.5.0-beta04
18 জুন, 2025
androidx.wear.compose:compose-*:1.5.0-beta04 is released. Version 1.5.0-beta04 contains these commits .
বাগ ফিক্স
- Fix layout bug in
TransformingLazyColumn, where content that fits within the screen is now aligned correctly from the top of the screen ( I80115 ) - Fixed an issue with
TransformingLazyColumnwhere the bottom item was incorrectly scaled when scrolling to the very bottom of a list with anEdgeButton. The scroll progress now follows a gradient descent when restoring the layout. ( Iea375 ) -
TransformingLazyColumnnow reads the item height inside the background painter, which allows customTransformationSpecsto implement morphing. ( I022f0 ) -
SwipeToRevealnow vertically centers the revealed actions correctly. ( I4419b ) - Fixed a bug in
SwipeToRevealthat prevented it working correctly with swipe-to-dismiss if both views and compose were in use on the screen. ( I5dc0e ) - Fixed a bug where
SwipeToRevealactions were drawn with a vertical offset when scrolling. ( I29444 ) -
AlertDialog,ConfirmationDialog,OpenOnPhoneDialogandSwipeToRevealnow round up paddings and sizes that are calculated as a percentage of the screen size. ( I76367 ) -
ButtonDefaults.outlinedButtonBordernow updates following enabled/disabled state changes size( If2ddd ) - Fixed a bug in
EdgeButtonheight that occurred on complex screens with Pager andScreenScaffold. ( I946e3 ) - Fixed a race condition that could cause Placeholder animations to stop. ( I53530 )
- Improved
HorizontalPageIndicatorandVerticalPageIndicatorperformance by drawing to Canvas. ( Ifae1e ) - Refined the shape of EdgeButton to smooth the transitions between the ellipsis and circles that make up the outline. ( I7721e )
- Fixed a bug in
LevelIndicatorthat caused animations to stop, due to unnecessary recompositions. ( I45d08 )
Version 1.5.0-beta03
জুন 4, 2025
androidx.wear.compose:compose-*:1.5.0-beta03 is released. Version 1.5.0-beta03 contains these commits .
এপিআই পরিবর্তন
-
OpenOnPhoneDialognow announces only the message text under TalkBack, and skips the icon semantics. TheOpenOnPhoneDialogDefaultshave been updated to remove theiconContentDescriptionand thecontentDescriptionparameter fromicon(). Also,ConfirmationDialogDefaultsnow has modifier parameters onSuccessIconandFailureIconcomposables. ( Id2ae2 )
বাগ ফিক্স
- Changed the order in which we apply the effect of
SurfaceTransformationparameters. Before, the transformations applied to Wear Material3 components were done as follows: background painter, container transformation, content transformation. Now, the first 2 are inverted, and we apply any passed in modifier between them, so it is affected by container transformations. This fixes cases like using a placeholder shimmer effect with elements in a TLC using the transformation parameter. ( I786cf ) -
RevealState.Saverwas added to be used to restore the state ofSwipeToRevealwhen activity or process is recreated.rememberRevealStatefunction now uses this Saver by default. ( Ie0ecb ) -
SwipeToRevealprimary and secondary actions buttons should default toButtonDefault.Height(fixed bug where these were filling the maximum height for taller buttons). ( Ibfba1 ) - Changed
SwipeToRevealto reset the last component interacted with, when the swipe right gesture is performed. ( Ia8450 ) -
SwipeToRevealwas changed to settle on theRevealingstate when the end position of the swipe is in between the revealing and revealed anchors, and is closer to the Revealing anchor. ( If4458 ) - Now
ButtonGroup's content is properly inverted in a RTL layout ( Ib378d ) -
AnimatedTextnow supports RTL text direction ( I4533c ) -
TransformingLazyColumnnow resizes items correctly when the bottom item is removed ( Idacab ) -
TransformingLazyColumnnow makes just one measuring pass, which improves performance by reducing frame times. ( I501a1 )
Version 1.5.0-beta02
20 মে, 2025
androidx.wear.compose:compose-*:1.5.0-beta02 is released. Version 1.5.0-beta02 contains these commits .
বাগ ফিক্স
- Updated baseline profiles for foundation, material & material3 libraries. ( I53f06 )
- Fixed a bug in
TransformingLazyColumn, where items resized when the bottom item was removed. ( Idacab ) - Fixed a bug with
TransformingLazyColumn, when the list got stuck at the top or bottom of the list. ( I49d00 ) -
OpenOnPhoneDialogunder TalkBack should announce the curved text, rather than the icon content description. ( I4efe8 ) - Fixed a bug in
SwipeToRevealthat would report the wrong anchor inRevealState.currentValuewhenhasPartiallyRevealedStateis set to false. ( I9c7cf ) -
SwipeToRevealundo buttons are nowButtonDefaults.Heightby default. ( I1f6c8 ) -
BasicSwipeToDismissBoxperformance has been improved by eliminating use of Canvas for drawing scrims. ( I68f2c ) - Fixed an accessibility bug in Slider, where the announced percentage did not match the value after updates ( I91146 )
- Fixed a bug on
placeholderShimmerimplementation. ( Iee39b -
TransformingLazyColumnperformance has been improved, by optimizingScrollProgresscalculation by 30%. ( I4c4cb )
Version 1.5.0-beta01
7 মে, 2025
androidx.wear.compose:compose-*:1.5.0-beta01 is released. Version 1.5.0-beta01 contains these commits .
The 1.5.0-beta01 release of Compose for Wear OS indicates that this release of the library is feature complete and the API is locked (except where marked as experimental).
Wear Compose 1.5.0-beta01 includes the Wear Compose Material3 library, which supports the new UI design system called Material 3 Expressive. It is recommended to upgrade from Material to Material3 to embrace the new visual design in apps, and to benefit from the new components as follows:
-
MaterialThemefor updated and extended color schemes, typography, and shapes to bring both depth and variety to your designs. - Dynamic Color Theming which automatically generates a color scheme for your app to match the watch face colors.
- New components automatically adapt to larger screen sizes by default
- Shape Morphing - round button components like
IconButton,TextButton,IconToggleButtonandTextToggleButtonsupport variations that animate when pressed or checked. -
EdgeButton- a new edge-hugging button with a special shape designed for the bottom of the screen. - Scaffolds - introducing
AppScaffoldandScreenScaffoldto lay out the structure of the screen and coordinateScrollIndicatorandTimeTextanimations. - Buttons - numerous stadium-shaped buttons are supported with flexible, single-slot containers and multi-slot variations for buttons with icons and labels.
CheckboxButtonandSwitchButtonare provided when toggle buttons are needed, whilstRadioButtonis the available selection button ('Split' variations of the toggle and selection buttons are also provided). -
ButtonGroup- implements an expressive group of buttons in a row that shape-morph when touched. -
AlertDialogvariations support ok/cancel buttons or anEdgeButton. -
ConfirmationDialogis available to display a message with a timeout, supporting special animations for success, failure and open-on-phone variations. - Pickers -
TimePickerandDatePickervariations are supported as well as the Picker andPickerGroupcomponents for building your own picker screens. -
ProgressIndicators- circular, and linear progress indicators are supported (theCircularProgressIndicatorhas segmented and indeterminate variations). - Cards - a number of card variations are available, including
TitleCardwhich offers specific layouts for cards with title, time, subtitle or content slots.TitleCardcan also be given an image background to reinforce the meaning of the information in a card. - Pagers -
HorizontalPagerScaffold,VerticalPagerScaffoldandAnimatedPagecomponents coordinateHorizontalPageIndicatorandVerticalPagerIndicatoranimations.HorizontalPagerandVerticalPagerare released in the Wear Compose Foundation library. - Placeholders - draws a skeleton shape over a component, for situations where no provisional content is available.
- Sliders and Steppers - both sliders and steppers allow users to make a selection from a range of values. Sliders are more compact and can be segmented, whereas Stepper is a full screen component typically paired with a
StepperLevelIndicator. -
SwipeToReveal- used to add additional actions to a composable when it is swiped right-to-left.
In addition, Wear Compose Foundation 1.5.0-beta01 includes these new components:
-
TransformingLazyColumn- a lazy, vertically scrolling list the supports scaling and morphing animations - Hierarchical Focus Groups - used to annotate composables in an application, to keep track of the active part of the composition and coordinate focus.
- Pagers -
HorizontalPagerandVerticalPagercomponents, built on the Compose Foundation components with Wear-specific enhancements to improve performance and adherence to Wear OS guidelines.
এপিআই পরিবর্তন
- Updated the Hierarchical Focus API - renamed
Modifier.hierarchicalFocustoModifier.hierarchicalFocusGroupand removed the callback parameter; removed the overload ofModifier.hierarchicalFocusRequesterwith aFocusRequesterparameter; created a newCompositionLocal,LocalScreenIsActiveso that components can inform and check which screen is the active one. ( I5ff7c ). - Deprecated
SwipeToRevealfrom Wear Compose Foundation in favor ofSwipeToRevealAPIs in Wear Compose Material and Wear Compose Material3. Please replace Wear FoundationSwipeToRevealimports with Wear Compose Material/ Wear Compose Material3 imports to continue using the APIs. ( Ia147d ). - Wear Compose Material3
SwipeToRevealdependencies on Foundation were moved to the material3 package, egRevealValue,RevealDirection,RevealActionType,RevealState,rememberRevealState. Developers should change their imports of these classes and functions fromandroidx.wear.compose.foundationtoandroidx.wear.compose.material3. ( I640e6 ). - Updated the Wear Compose Material3
SwipeToRevealAPI as follows: addedprimaryAction,onFullSwipe,secondaryAction,undoPrimaryAction,undoSecondaryActionandhasPartiallyRevealedStateparameters to theSwipeToRevealcomposable; removed the ability to customizepositionalThresholdandanimationSpecfromRevealState; removedlastActionType,revealThresholdand width fromRevealState; changed theRevealStateconstructor to accept aRevealDirectioninstead of anchors; removedcreateRevealAnchors, anchors, andbidirectionalAnchorsfunctions;SwipeToRevealScopefunctionsprimaryAction,secondaryAction,undoPrimaryActionandundoSecondaryActionwere renamed toPrimaryActionButton,SecondaryActionButton,UndoActionButtonand made into Composable functions; markedRevealActionTypeas internal. ( I885d0 ). - Further updated
SwipeToRevealAPI as follows: renamedonFullSwipetoonSwipePrimaryAction; renamedSwipeToRevealNonAnchoredSampleto indicate the use of thehasPartiallyRevealedStateparameter; removedactionButtonHeight, since the default is the Button's default height and the larger height can be set using a modifier; removed theSmallActionButtonHeightfromSwipeToRevealDefaults; made the value parameter inRevealValueandRevealDirectionconstructors private. ( I465ce ).
বাগ ফিক্স
- Fixed
ScreenScaffold'sEdgeButtonhandling so that, after aTransformingLazyColumnitem is removed, theEdgeButtonis animated into place. ( I6d366 ). - Updated Wear Compose dependencies on Compose libraries to version 1.8.0. ( I2ef3f ).
- Updated the motion of the indeterminate
CircularProgressIndicatorso that it no longer regresses temporarily. ( Ieddb1 ). - Fixed a
SwipeDismissableNavHostbug - the focus was not switching correctly after swiping back, causing rotary input to fail (this was for API 36+, which uses predictive back). ( Ieddb1 ). - Amended documentation for the Hierarchical Focus API ( Idf2ff ).
- Updated the documentation for Button and Card to state how
containerPainteranddisabledContainerPainteroverridecontainerColoranddisabledContainerColor( I4a453 ). - Reverted a change to
TimeTextin the previous release which moved theBroadcastReceiverto a worker thread, because it caused issues for apps that manage their own threading during navigation. ( I34d02 ). - Updated the Picker samples to remove unnecessary remember calls and instead use
rememberUpdatedStatein Picker to remember the latestcontentDescriptionlambda function. ( Icb5b1 ). - Updated text styles in
TimePickerandDatePickerso that font changes no longer result in truncation. ( I26194 ). -
ListHeaderandListSubHeadernow default text alignment to center-aligned and start-aligned respectively. ( I78339 ). - Updated Foundation and Material Swipe to Reveal samples and demos to announce custom accessibility actions (the custom actions must be added as semantics on the content, not on the
SwipeToRevealcomposable itself). ( Ie92a3 ). - Updated the default
MaxLinesset on theEdgeButtoncontent according to its size - it is now 1 for extra small, 2 for small and medium, and 3 for large. ( Ie35f6 ). - Simplified
LocalReduceMotionso that the observer is only registered once, to improve performance. ( Ib1979 ). - Minimized the number of redraws in
ScrollIndicator, to improve performance. ( Ia7a67 ). - Fixed a bug in
TransformingLazyColumn, where the top visible item in the list did not scale correctly when EdgeButton achieved its full height. ( I30580 ).
Wear Compose Material3 Version 1.0
Version 1.0.0-alpha37
23 এপ্রিল, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha37 is released. Version 1.0.0-alpha37 contains these commits .
এপিআই পরিবর্তন
- Removed
scrollTransformfrom the public API surface. Use the combination oftransformedHeightandgraphicsLayermodifiers if you need to get the same functionality. ( Ie181d ) - Replaced
ImageButtonandImageCardcomposables withButtonandCard/TitleCardoverloads respectively. RenamedimageButtonColorstobuttonWithContainerPainterColorsandimageCardColorstocardWithContainerPainterColors. Added publicButtonDefaults.scrimBrushandCardDefaults.scrimBrush. Renamed buttonimageBackgroundGradientStartColorandimageBackgroundGradientEndColortoscrimGradientStartColorandscrimGradientEndColor. RenamedCardDefaults.ImageContentPaddingtoCardDefaults.CardWithContainerPainterContentPadding( I7b8b6 ) -
PickerandPickerGroupnow take thecontentDescriptionas a lambda to avoid unnecessary recompositions. ( I002dd )
বাগ ফিক্স
- Fixed an issue where indeterminate
CircularProgressIndicatorwould wobble during animation if width is not equal to height. ( I76bfe ) - Fixed an issue with edge button layout on invalid size. Now prevents updating the layout of the edge button when the height is NaN. ( I32b93 )
- Increased the max sweep angle in
OpenOnPhoneDialogso that the default 'Check your phone' text is not clipped with the largest font size. ( I90af9 )
Version 1.0.0-alpha36
9 এপ্রিল, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha36 is released. Version 1.0.0-alpha36 contains these commits .
এপিআই পরিবর্তন
- Replaced
ButtonDefaults.imageBackgroundButtonColorswithImageButton,ButtonDefaults.imageButtonColors,ButtonDefaults.containerPainterandButtonDefaults.disabledContainerPainter. And similar changes for Card. The painters are removed fromButtonColorsandCardColors. ( I8c6a1 ) - Updated placeholders to simplify the API. We now provide two Modifiers,
Modifier.placeholderShimmerto apply a shimmer effect at the component level, andModifier.placeholderto apply a mask on top of unloaded content ( Iaee7a )
বাগ ফিক্স
- Integrated overscroll into the
ScrollIndicator. ( Icfb7f ) - Address blank backgrounds and missing dialogs when launching material3 dialogs. ( Ice597 )
- Fixed issues in
FadingExpandingLabelwhen text spans multiple lines. ( I04eb7 ) - Updated padding between primary and secondary labels on buttons. ( I99b7b )
-
ArcLargehas been reduced from20spto18sp, and letter spacings onArcLargeandArcSmallhave been updated.ConfirmationDialog/OpenOnPhoneDialognow use the defaultArcLargeinstead of overriding it to18sp. ( Id39a8 )
Dependency Updates
- This library now targets Kotlin 2.0 language level and requires KGP 2.0.0 or newer. ( Idb6b5 )
Version 1.0.0-alpha35
26 মার্চ, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha35 is released. Version 1.0.0-alpha35 contains these commits .
এপিআই পরিবর্তন
-
AlertDialogtop padding is now reduced by default when an icon is provided - this makes best use of the screen size available. ( Ief06c ) -
PagerScaffoldDefaults.FadeOutAnimationhas been renamed toPagerScaffoldDefaults.FadeOutAnimationSpec. The page parameter onAnimatedPagehas been renamed topageIndex. ( I701f2 ) - Updated naming for
TransformingLazyColumn'sSurfaceTransformation-applyTransformationsplit intoapplyContainerTransformationandapplyContentTransformation, and renamedcreateBackgroundPaintertocreateContainerPainter. Further naming updates toTransformationSpecandResponsiveTransformationSpec. ( I1c534 ) - The
AppScaffold backgroundColorhas been renamed tocontainerColor. ( I4e63f )
বাগ ফিক্স
- Fixed an issue in
FadingExpandingLabelwhere the text did not always expand correctly. ( I0e773 ) -
ArcLargehas been reduced from 20sp to 18sp, and letter spacings onArcLargeandArcSmallhave been updated.ConfirmationDialog/OpenOnPhoneDialognow use the defaultArcLargeinstead of overriding it to 18sp. ( Id39a8 ) - Updated the heading animation for
DatePickerandTimePickerbased, so that the fade-out and fade-in animation act as one Spring animation. ( I68963 ) - Optimized
PagerScaffoldby avoiding the reading ofcurrentPageOffsetFractionin theAnimatedPagecomposable. ( I433ef ) - All type scales have been updated to have proportional numerals by default, because that is seen as the most frequent use case and defaulting to tabular resulted in too much spacing between certain number pairings.
TimePickerandDatePickercontinue to applyFontFeatureSetting=tnumfor tabular numerals. ( I88929 ) - Corrected the initial RSB input focus for
TimePickerandDatePicker. ( I1c773 ) - Updated the default text on
OpenOnPhoneDialogto "Check your phone". ( I00a3f ) - Updated weights for
ArcLargeandArcMediumfrom 600 to 599 to workaround an issue where weight 600 is treated as bold ( I2a51d ) - Update
SwipeToRevealpaddings between content and action buttons, and also the padding between the icon and text of the action buttons. ( Ic46cb )
Version 1.0.0-alpha34
12 মার্চ, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha34 is released. Version 1.0.0-alpha34 contains these commits .
এপিআই পরিবর্তন
-
PagerScaffoldno longer emits aPagercomponent - instead this must be provided via thecontentComposable.AnimatedPageandsnapWithSpringFlingBehaviourare now public and can be used along with Wear FoundationPagerto achieve previous M3PagerScaffoldbehaviour. (See updated samples). ( Ia4724 ) - Updated
PagerState, removing the Compose FoundationPagerStateas the base class and addingcurrentPage,currentPageOffsetFractionandpageCountproperties. Updated theGestureInclusioninterface, renaming the method toignoreGestureStart. ( I4ae07 ) -
LevelIndicatorsweep angle parameters are now annotated withFloatRange(0, 360)( I7e636 ) - We have added
CurvedModifier.clearAndSetSemanticsto provide a means by which curved semantics can be turned off.CurvedTextcontinues to default the content description to the text, buttimeTextCurvedTextandtimeTextSeparatordo not now announce their contents. ( I4b568 ) - Added a background and default content color parameters to
AppScaffold. ( I56652 ) -
HorizontalPager's default handling of swipe gestures has been renamed toPagerDefaults.gestureInclusion. The default behavior is now to only ignore swipe gestures that start on the left edge of the first page, and only then when Talkback is turned off. In other cases, the default behavior is that swipe gestures will not be ignored by the pager, so they will not be available to swipe-to-dismiss handlers. ( Iee486 ) - Added a
SurfaceTransformationparameter to button, card and list header components, so that they can apply different background and content transformations when used in containers that change items appearance based on their position, such asTransformingLazyColumn. ( Iabe3f ) - We have updated 'public const val' properties in our Wear Compose Material3 API to 'public val', to avoid the values being inlined. ( Ib0f32 )
- Added support for an edge-swipe zone to
SwipeToReveal. FoundationSwipeToReveal's default behavior is now to disallow swiping when the gesture starts from the edge. Material3SwipeToReveal's default behavior is now to disallow swiping when the gesture starts from the edge, when theSwipeDirectionis set to single direction. ( I32ef0 ) - Added
FadingExpandingLabelcomposable, which allows it to fade in text with animation line by line. ( Ic60fa ) -
TransformingLazyColumnnow uses emptycontentPaddingby default instead of putting first and last items into center. ( I77ab7 ) - Removed
SwipeToReveal'srememberRevealStatefrom the Wear Compose Material3 library. ( I8c0e0 )
বাগ ফিক্স
- Wear Compose libraries have been updated to the Kotlin 2.0 compiler. ( I2de79 )
- Support for non-round
ScrollIndicatorandPageIndicatorhas been removed from Material3. Square screen support is also no longer part of the Wear OS requirements, see the Getting Started guide for more information. ( I9a852 ) - The
CurvedTextStyleused inConfirmationDialogDefaultsandOpenOnPhoneDialogDefaultshas been updated to useArcLargetypography with size18spand letter spacing1.8sp. ( Ic9ced ) -
Card,ListHeader,RadioButton,CheckboxButton,SwitchButtonno longer constrain the height of its contents by default. Where necessary, useModifier.height(IntrinsicSize.Min)to restore the previous behavior if needed. ( I80bb8 ) - We have updated the default
TimeTextandScrollIndicatorcolors to include more gray tones, because usingOnBackground(white) directly carried too much visual weight when competing with other content on screen like titles. ( I8b36f ) - We have reduced the timeout for animating the
TimeTextandScrollIndicatorin scaffold components to 2 seconds. ( I52021 ) - We have updated the motion of Dialog so that the scale of the background of the Dialog is synchronised with swiping to dismiss. ( I925a9 )
- Add demo of M3
SwipeToRevealusingedgeSwipeToDismissmodifier. ( I02b07 ) - We have added a heading to
DatePickerandTimePickerunder TalkBack so that the user is informed to scroll to set date/time. ( Id738d ) -
AnimatedTextnow follows the reduce motion setting. ( Ib6578 ) - The optimisation to use
AppScaffoldfor display Dialog content has been improved to allow multiple dialogs to be displayed on top of each other ( I1209c )
Version 1.0.0-alpha33
ফেব্রুয়ারী 26, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha33 is released. Version 1.0.0-alpha33 contains these commits .
এপিআই পরিবর্তন
- We have removed the label parameter from
SwipeToRevealScope'sprimaryActionandsecondaryAction. Custom action semantics should be added to the content of theSwipeToRevealcomponent directly, by the developer. ( Ia67f3 ) - We have removed the 'Button' prefixes from sizes, text styles and color functions in
IconToggleButtonDefaultsandTextToggleButtonDefaults( I5471d ) - We have removed the experimental
LocalMinimumInteractiveComponentEnforcement( I4ad8a ) - We have replaced the
PickerGroupScopeDSL with a composable. As such, we removed thepickerGroupItemmethod fromPickerGroupScope, and instead added@Composable PickerGroupItemthat should be used to add a Picker toPickerGroup. We also updated the type ofPickerGroup'content' parameter to@Composable PickerGroupScope.() -> Unit. ( Ic6aec ) - We have added a
LevelIndicatoroverload for fractional values and added a Stepper prefix to those overloads that include a range parameter (which are suitable for use with the Stepper component). ( If4234 ) - We have added
TransformingLazyColumn'sTransformationSpecto the API, which allows the definition of the exact transformations happening to the items as they are being scrolled through the TLC. ( I21856 ) - We have updated
IconButtonShapes,IconToggleButtonShapes,TextButtonShapesandTextToggleButtonShapesto be consistent with the compose/material3 classes ( I5a081 ) - We have added an
overscrollEffectparameter added toScalingLazyColumn,TransformingLazyColumnandScreenScaffold. ( I0cee8 ) - We have renamed the
swipeDirectionparameter torevealDirectioninrememberRevealState. ( I7472f ) - Wear Pager now has its own
PagerScopeinstead of using ComposePagerScope. ( I9195b ) - We have removed the
LinearProgressIndicatorContentcomposable, please useLinearProgressIndicatordirectly so that changes to values are animated by default. ( I2c4ad ) - We have removed the
CircularProgressIndicatorStaticcomposable and added a publicDrawScopefunctiondrawCircularProgressIndicatorwith the same functionality. Please useCircularProgressIndicatordirectly so that changes are animated by default, but build your own composable fromdrawCircularProgressIndicatorif custom animations are needed. ( Ie762f ) - We have reordered the parameters in
DrawScope.drawCircularProgressIndicatorto move up thetargetProgressparameter. ( I8ab92 ) - The
OpenOnPhoneDialogapi was updated for better clarity and consistency with other Dialogs. Theshowparameter was renamed tovisibleandcurvedTextis now provided by the caller instead of having a default value. ( Idec2d ) - We have renamed
openOnPhoneCurvedTexttoopenOnPhoneDialogCurvedText( I65bdd ) - We have added
ScrollIndicatorColorsfor providing custom colors toScrollIndicator. ( I9eb8c ) - Allow the configuration of the color used to draw a background behind
TimeText. ( I9f5d9 ) - Updated
ArcLarge,ArcMediumandArcSmalltypographies to beCurvedTextStyle( Iffc41 ) - We have removed
ScreenScaffoldDefaults.contentPaddingWithEdgeButton. ( Ia923e ) - We have added
errorDimto theColorScheme, for high priority errors or emergency actions such as safety alerts, failed dialog overlays or stop buttons. ( I70998 )
বাগ ফিক্স
- We have pinned
wear.compose.material3to version 1.15.0 ofandroidx.core.core( I132e9 ) - We have improved Dialog's performance by using the
AppScaffoldto layer dialogs over other screen content ( I1b9a4 ) - Reduced
EdgeButton's internal vertical padding. ( I1a5bb ) - We have added Button semantics to Slider buttons. ( I80cc6 )
Version 1.0.0-alpha32
জানুয়ারী 29, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha32 is released. Version 1.0.0-alpha32 contains these commits .
এপিআই পরিবর্তন
- On
CurvedTextStyle, we have split letter spacing into clockwise letter spacing and counter clockwise letter spacing. This is required because clockwise letters fan out from the baseline whereas counter-clockwise letters fan in (so larger letter spacing is needed) ( I4b848 ) - We have updated
IconButtonShapes,IconToggleButtonShapes,TextButtonShapesandTextToggleButtonShapesto improve consistency across Material3 libraries. This change also introduces shape caching to reduce the number of allocations. ( I049fc ) - We have removed the
pressedShapeCornerSizeFractionparameter from thevariantAnimatedShapemethod inIconToggleButtonandTextToggleButton( I58a65 ) - We are introducing improvements to curved text rendering (including
TimeText) that are incompatible with non-round screens. Non-round screen support is also no longer part of the Wear OS requirements, see the Getting Started guide for more information. ( I1cc1c ) - We have updated
ButtonGroup'sButtonGroupScope, replacing the DSL-basedButtonGroupItemwithModifier.weight,Modifier.minWidthandModifier.enlargeOnPress. ( I16c3c ) - In the
ButtonGroupAPI, we have updated the new modifier-basedButtonGroupScope:enlargeOnPressis now calledanimateWidth, and it takes anInteractionSource, rather thanMutableInteractionSourcebecause it is not necessary to mutate it. We have also added public constantButtonGroupDefaults.DefaultMinWidth, the default minimum width of buttons in aButtonGroup. ( Ie27ec ) - We have updated
ListHeaderDefaults.contentColorto start with a lowercase letter as it is a composable property ( I125a5 ) - We have added a content description parameter to
SliderDefaults.DecreaseIconandSliderDefaults.IncreaseIcon, with suitable default values ( I2e1a7 ) - We have renamed the
spacingparameter inPickerandPickerGrouptoverticalSpacing( Ib75cc ) - We have removed
ConfirmationDialogDefaults.successTextandfailureTextbecause it is expected that callers ofConfirmationDialogwill provide strings with more context. Also renamedconfirmationCurvedTexttoconfirmationDialogCurvedText. Finally, renamed the Dialogshowparameter to visible for consistency with other recent updates to dialogs. ( I10074 ) -
IconButtonrenameddisabledImageOpacitytoDisabledImageOpacity. ( I5f94a )
বাগ ফিক্স
- We have fixed a bug in
EdgeButtonanimation so that the correct size is used in each frame ( Id3b58 ) - Fixed an issue with
animateContentSizenot working withButton. ( Ib18a0 ) - We have changed the Title Large type scale to have font size
18dp( Ic9d52 ) - We have updated
AlertDialogspacing and icon size ( Iac28c ) - We have fixed inconsistencies in large screen breakpoints (screens at and above 225dp are large screen) ( I36474 )
- Fixed a minor bug in button positioning ( I952c2 )
Version 1.0.0-alpha31
15 জানুয়ারী, 2025
androidx.wear.compose:compose-material3:1.0.0-alpha31 is released. Version 1.0.0-alpha31 contains these commits .
এপিআই পরিবর্তন
- We have updated all Wear Compose libraries to 'explicit API' mode. ( Iebf9f )
- We have updated the
ScreenScaffoldandEdgeButtonAPIs, so that it is easier to specify content paddings on screens that include anEdgeButton. In the new API theEdgeButton'ssizeis only passed to theEdgeButton, and theScreenScaffoldtakes anedgeButtonSpacingparameter for the spacing betweenEdgeButtonand list content. ( I424fd ) - In
DatePicker, we have renamed parametersminDatetomaxDate, andminValidDatetomaxValidDate. InDatePickerColors, we have renamed parameterselectedPickerContentColortoactivePickerContentColor, andunselectedPickerContentColortoinactivePickerContentColor( Iba17b ) - We have updated the
ArcProgressIndicatordefaults tostrokeWidth=6dpand recommendeddiameter = 81.24%of screen height ( I6f248 ) - We have updated the Confirmation API to reflect its usage as a dialog. The composable is now called
ConfirmationDialog, with associated updates to the naming of colors and defaults classes. We have also renamed theshowparameter tovisiblefor compatibility with other Compose animation APIs. In addition, we have madeConfirmationDialogContent,SuccessConfirmationDialogContent,FailureConfirmationDialogContentavailable for situations where developers need to customize the intro/outro dialog animations. ( Iaeb33 ) - We have updated
CircularProgressIndicatorContenttoCircularProgressIndicatorStatic(the non-animated variation ofCircularProgressIndicator) so that it can now be used to buildCircularProgressIndicatorwith custom animations. ( I1346f ) - We have fixed the parameter ordering on the
ArcProgressIndicator, putting the modifier parameter first ( I4656a ) - Improved the
SwipeToRevealAPI to receive a text slot parameter for the labels of the actions (except secondary action) and to remove label parameters from undo action ( I5b3db )
বাগ ফিক্স
- We have fixed a bug where
LongPresshaptics were triggered more than once inButton,Card,IconButton,TextButton( Ia8b0f ) - Changes to the UX of
AlertDialog- on large screens the confirm and dismiss buttons are now smaller. There is also increased spacing below the confirm and dismiss buttons. ( I4f066 ) - We have changed the animation specs of the action button label of the
SwipeToRevealcomponent. ( Ib87fb ) - Changed
SwipeToRevealto expand the container at the same time that the text is displayed. ( I44cf8 ) - Improved
SwipeToRevealto perform haptic feedback when the swipe passes the threshold where the primary action is committed. ( I23efe ) - We have updated
SwipeToRevealto display ellipsis on text overflow by default, for primary and undo actions. ( I71f5a ) - We have fixed an issue causing jitter on
ButtonGroupanimations. ( I63f8f ) - We have added text semantics to
AnimatedText( I6063c ) - Dialog now resets background scaling when the dialog is removed from the composition (without this fix, the launching screen may have been left in a scaled down state) ( Id24ac )
- We have added a shape morph animation to the buttons in the Stepper component ( Id6ed3 )
Version 1.0.0-alpha30
11 ডিসেম্বর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha30 is released. Version 1.0.0-alpha30 contains these commits .
এপিআই পরিবর্তন
- The
scrollTransformmodifier forTransformingLazyColumnwas refactored which triggered an API change. ( I0c6dc ) - We have updated
IconToggleButtonShapesandTextToggleButtonShapesto have two different shape parametersuncheckedPressedandcheckedPressed( I85dbd ) - Invalid month/day options are now visible in the
DatePicker, with a newinvalidPickerContentColor, when usingminDateormaxDate. ( If4541 ) - We have updated the
StepperAPI to provideincreaseIconanddecreaseIconslots - the content for these can be built as usual from the Icon composable. ( Id35da ) - We have updated
dynamicColorSchemeby removing the optionaldefaultColorSchemeparameter and now returning nullableColorScheme. This means that the caller must explicitly handle the fallback case when a dynamic color scheme is not provided. ( I6d62e ) - We have updated the icon sizes in
ButtonDefaultsfor use withCompactButton. ACompactButtoncontaining only an icon should useButtonDefaults.SmallIconSize = 24.dp, whereas aCompactButtoncontaining both icon and text should useButtonDefaults.ExtraSmallIconSize = 20.dp. It is recommended thatCompactButtonwrap its content (rather than filling the max width) and samples have been updated to show that. ( I0582c ) - We have added
EdgeButtonDefaultswith recommended icon sizes for the 4 differentEdgeButtonSizes. Also, updated theEdgeButtonlayout so that it has slightly larger bottom padding than top padding, which improves appearance for both Icon and Text content. ( Id772a ) - We have added motion to
LinearProgressIndicatorand exposedLinearProgressIndicatorContentwhich provides the visual content without animations. ( Idee99 ) - We have added a new
CircularProgressIndicatorContentcomposable to display the visual content ofCircularProgressIndicatorwithout animations. ( Ie33d4 ) -
TransformingLazyColumnnewly provides the composition localLocalTransformingLazyColumnItemScopewhichCards,Buttons andListHeaders now use to automatically morph when placed inside aTransformingLazyColumn. Callers can disable automatic morphing using the newTransformExclusionwrapper. ( I1652f ) - We have updated the type of
ButtonDefaults.shapetoRoundedCornerShape( Iccdf2 )
বাগ ফিক্স
- We have fixed a bug to respect existing alpha on background for
TimeText( I1eb60 ) - We have set
TextMotiontoAnimatedby default in our typography, to avoid text jitter due to snapping letter glyphs to pixel boundaries during scaling operations. ( I626fa ) - We have updated the appearance of the
ScrollIndicatorby increasing width and gap size, to improve visibility. ( Ied7cb ) - We have fixed a bug on
Modifier.scrollTransformwhen adding/removing/moving items. ( I6830f ) - We have fixed a round button animation issue for short taps (previously, the minimum animation duration was not always observed). ( I757a7 )
- We have updated the sweep angle for
LevelIndicatorto 20% (ie 72 degrees). ( Idde5c ) - We have fixed
ScrollIndicatorpositioning whenScalingLazyColumnwas used withAutoCenteringParams. ( I387dd ) - We have updated the colors and typography for
ListHeaderandListSubHeader. Also the colors for the toggle controls onCheckboxButtonandSwitchButton. ( I39817 ) - We have fixed
ScrollIndicatorpositioning inLazyColumnandScalingLazyColumnwithContentPadding. ( I2bc51 ) - We have fixed a bug seen in
OpenOnPhoneDialogprogress animation by using the newCircularProgressIndicatorContent. ( I3e443 ) - We have updated the
HorizontalPagerScaffoldandVerticalPagerScaffoldto disable animations when reduce motion is enabled ( Iaaf68 ) - We have implemented a separate animation for circular progress indicators when progress reaches over 100%. ( I47135 )
- We have fixed a bug where
EdgeButtoncould be drawn with an incorrect shape in Pager components ( I91db9 )
Version 1.0.0-alpha29
13 নভেম্বর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha29 is released. Version 1.0.0-alpha29 contains these commits .
এপিআই পরিবর্তন
- We have updated
TimeTextto provide default content that shows the time. ( Id23b3 ) - We have simplified the
ScrollInfoProviderforPagerStateby removing theorientationparameter, which is no longer needed. The new behavior is forTimeTextto remain in place for both horizontal and vertical paging. ( I71767 ) -
LocalHapticFeedbacknow provides a defaultHapticFeedbackimplementation when the Vibrator API indicates that haptics are supported. The following have been added to theHapticFeedbackType-Confirm,ContextClick,GestureEnd,GestureThresholdActivate,Reject,SegmentFrequentTick,SegmentTick,ToggleOn,ToggleOff,VirtualKey. Wear Compose long-clickable components such asButton,IconButton,TextButton, andCardnow perform theLONG_PRESShaptic when a long-click handler has been supplied. ( I5083d )
বাগ ফিক্স
- We have updated the motion for Confirmations. ( I04bff )
- We have updated the minimum API dependency to 1.7.4 for Compose libraries. ( I88b46 )
- New motion was added for the
OpenOnPhonedialog. ( I1e10a ) - We have fixed a bug in the
LevelIndicatorso that it is now correctly displayed with the level is zero. ( Ie95a4 ) - We have updated the
HorizontalPageIndicatorandVerticalPageIndicatoranimations. ( I5c8f3 ) - We have added a shrink-to-dot animation to the indeterminate
ArcProgressIndicator. ( I9fd51 )
Version 1.0.0-alpha28
অক্টোবর 30, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha28 is released. Version 1.0.0-alpha28 contains these commits .
এপিআই পরিবর্তন
- We have added an arc variation on the indeterminate circular progress indicator ( I2efc1 )
- We have made public the
AlertDialogContentandDialogcomposables that make up theAlertDialogAPI, so that it is possible to add customization if necessary (such as customizingAlertDialoganimation whilst keeping the recommended content layout). In addition, we have addedModifierandColorparameters to theEdgeButton,ConfirmButtonandDismissButtonmembers ofAlertDialogDefaults. ( I4eb71 ) - We have updated the
PlaceholderAPI as follows: renamedPlaceholderState.startPlaceholderAnimationtoPlaceholderState.animatePlaceholder,PlaceholderState.isShowContenttoPlaceholderState.isHidden, andPlaceholderDefaults.shapetoPlaceholderDefaults.Shape; renamed thepainterparameter inpainterWithPlaceholderOverlayBackgroundBrushtooriginalPainter; changed visibility ofPlaceholderState.placeholderProgressionfrom public to internal and renamed it toplaceholderShimmerProgression; added placeholder animation duration constants toPlaceholderDefaults. ( Ie5a59 ) - We have updated the
EdgeButtonAPI as follows: renamed the parameter onScreenScaffoldfrombottomButtontoedgeButton; madeEdgeButtonSizea value class. ( Ieef15 ) - We have changed the visibility of
copy()to public in wear material3 Colors classes ( I0287f )
বাগ ফিক্স
- Added minimum animation duration for
IconToggleButtonandTextToggleButtonon click ( Ieb333 ) - Added minimum duration on
IconButtonandTextButtonshape animation ( Iebcee ) - Corrected the repeat option state of
DatePicker. ( I3587c ) - Added motion for Alert and Confirmation dialogs. ( I173b1 )
Version 1.0.0-alpha27
16 অক্টোবর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha27 is released. Version 1.0.0-alpha27 contains these commits .
এপিআই পরিবর্তন
- We have updated the
ScreenScaffoldandScrollIndicatorfollowing the renaming of Wear Compose FoundationLazyColumntoTransformingLazyColumn. ( I0608b ) -
EdgeButton'spreferredHeightparameter has been renamed tobuttonSizeand its value can only be chosen from 4 constants in the newly introducedEdgeButtonSizevalue class. ( Icdd70 ) - We have changed the naming of
ListSubheadertoListSubHeaderand added publicly accessible default values forListHeaderandListSubHeader. ( I96730 ) - We have added new
HorizontalPagerScaffoldandVerticalPagerScaffoldcomponents for Wear which provide new animations and coordination between time text and page indicator components. ( Iff7d0 ) - We have added rotary support to
HorizontalPagerScaffoldandVerticalPagerScaffold, enabling users to navigate pagers using rotary input devices. ( I9770d ) - We have made
MotionSchemeAPI changes to simplify the usage and improve consistency. Removed inlined remember functions and moved the built-in Motion Schemes to a dedicated MotionScheme companion object. Renamed thestandardMotionSchemeand theexpressiveMotionSchemeto standard and expressive. ( I5fd45 ) - We have added support for a dynamic color scheme based on system colors. ( I073e9 )
- We have updated the Stepper to the latest UX specs. ( I622bb )
বাগ ফিক্স
- We have updated typography and paddings for Card components. ( I3ae48 )
- We have changed the padding in
AlertDialogbetween Confirm/Dismiss buttons and the rest of the content from 8dp to 12dp according to UX specs ( Ie55f0 ) - We have updated the color opacity for the Slider component. ( Idb383 )
Version 1.0.0-alpha26
2 অক্টোবর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha26 is released. Version 1.0.0-alpha26 contains these commits .
এপিআই পরিবর্তন
- We have updated the API and appearance of
HorizontalPageIndicatorand addedVerticalPageIndicatorfor use withVerticalPager( Ic9309 ) -
AlertDialognow supports the ability to omit the default bottom button from the button stack variation, for custom layouts in which EdgeButton is not required. ( I34fa9 ) - We have added a
SwipeToRevealcomponent for Wear Material 3 ( Ic38b2 ) - We have added support for bi-directional swiping in
SwipeToReveal, for rare cases where the current screen does not support swipe to dismiss. The default is still to swipe-to-reveal only on right-to-left swipes and it is strongly advised to respect the default behavior to avoid conflict with swipe to dismiss. ( Ifac04 ) - We have renamed
EdgeButton'sbuttonHeightparameter topreferredHeight. ( I4fab3 ) - The Kotlin version has been updated to 1.9 ( I1a14c )
- We have renamed
OpenOnPhoneDialogDefaults.IcontoOpenOnPhoneDialogDefaults.OpenOnPhoneIconto avoid clashing withIcon( I0f391 ) - We have added support for
ScrollIndicatorinLazyColumn. ( Ia546a ) - We have updated default values for
TextToggleButtonandIconToggleButton. ( I7aaa9 ) - We have simplified the
PickerandPickerGroupAPI. ( Id0653 ) - We have added
CardDefaults.ShapeandCardDefaults.Height, which (being tokens) were otherwise private to developers using the library. ( I1594a , b/347649765 ) - We have renamed the progress parameter for the binary segmented circular progress indicator to
segmentValue. ( Ib72d9 ) - We have updated the colors and layout for Slider. ( Ic3eec )
বাগ ফিক্স
- We have updated the
openOnPhoneicon animation ( I66f85 ) - We are now using Google Symbols icons in
Slider,TimePickerandDatePicker. ( I46c7c ) - We have updated the paddings in
ConfirmationandOpenOnPhoneDialog. ( Iaa82e )
Version 1.0.0-alpha25
18 সেপ্টেম্বর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha25 is released. Version 1.0.0-alpha25 contains these commits .
এপিআই পরিবর্তন
- We have added an Indeterminate circular progress indicator. ( I427a7 )
- We have added support for progress overflow (>100% progress) for both the
CircularProgressIndicatorand theSegmentedCircularProgressIndicator. When the progress exceeds 1.0, this will be indicated by the newoverflowTrackcolor. ( Iaaa3d ) - The round
IconToggleButtonandTextToggleButtonnow support a new shape animation variation, in which different shapes represent checked, unchecked and pressed states. The earlier animated shape variation for the just pressed state continues to be supported. ( I29f03 ) - We have removed support for using
EdgeButtonwithColumn, due to the need to specify theEdgeButtonheight explicitly inScreenScaffold. ( Ie353d ) - We have added support for the Wear Compose
LazyColumnwith ourScreenScaffold(and added an implementation ofScrollInfoProviderforLazyColumnState). ( Ib8d29 ) - We have combined
LocalTextMaxLines,LocalTextAlign,LocalTextOverflowinto a singleLocalTextConfigurationcomposition local to provide a more scalable solution going forwards. ( I5edbc ) - We have added arc-large as an additional typescale, reserved for short header text strings at the very top or bottom of the screen, like in Confirmation overlays. ( I60e3e )
- We have added defaults to Button for recommended large and extra large icon sizes and content padding. ( I84675 )
বাগ ফিক্স
- We have updated the colors for
IconButtonandTextButton. ( I48324 ) - We have changed the base Button overloads to be vertically center-aligned for consistency with other overloads. To restore the previous behavior, use
Modifier.alignfrom theRowScope. ( I66e57 )
Version 1.0.0-alpha24
4 সেপ্টেম্বর, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha24 is released. Version 1.0.0-alpha24 contains these commits .
এপিআই পরিবর্তন
- We have added a Motion scheme into the Material3 theme. This will be used by components across the library to apply animation specifications such as springs for expressive motion. ( I54ff3 )
- We have added
AppScaffoldandScreenScaffoldcomponents to the Material3 library, which include functionality to coordinate layering and transitions ofTimeTextandScrollIndicator.AppScaffoldprovides a top level of scaffold components that sit on top of all screens. As such, addingTimeTextto theAppScaffoldallows it to remain in place while swiping between screens. Screens can themselves override or hide the time text.ScreenScaffoldprovides a slot for theScrollIndicatorand automatically animates the scroll indicator when scrolling, including timeout to hide the scroll indicator after inactivity. ( I047d6 ) - We have added
ScrollIndicatorfeaturing the new Material3 design. It has a fixed thumb size based on initial list contents, in order to avoid size variations when lazy content is loaded into the list. ( Ic228d ) - We have changed the
ScrollAwayAPI such thatScreenStageis a value class instead of an enum class, to allow for additional stages to be added as needed going forwards. ( I48c93 ) - We have added
EdgeButton, a distinctive Wear-specific button with a shape that follows the curvature of the bottom of the screen ( I16369 ) - We have added a new slot to the
ScreenScaffoldfor a bottom button (such asEdgeButton), that will be shown and resized depending on the scrolling content ( I032eb ) - We have added
Modifier.scrollTransformandModifier.targetMorphingHeightto add Material3 motion effects to items inLazyColumn. ( Ie229a ) - We have added
SegmentedCircularProgressIndicatoras a variation onCircularProgressIndicator. The segmented variation either shows a single progress value across all segments or shows each segment as being on/off. ( I6e059 ) - We have added
LinearProgressIndicatoras an alternative to the existingCircularProgressIndicator. ( I89182 ) - We have added
AlertDialog, providing layouts for presenting important prompts to the user. Variations are included for either a pair of confirm/dismiss buttons or a single bottom button (typically an EdgeButton) below a stack of options. Both variations have slots for icon, title and additional text to provide further details. ( Ieb873 ) - We have added
OpenOnPhoneDialog, which should be used to indicate an action that will continue on the user's phone.OpenOnPhoneDialogis dismissed after a specified timeout. ( I978fd ) - We have added
Confirmation, a dialog component that has slots for an icon and either curved or linear text. Specific variations are provided for success/failure messages. Confirmations are automatically dismissed after a timeout. ( Ib43e8 ) - We have added a background to
TimeTextto mitigate issues where the underlying content and theTimeTextoverlapped, and obscured the time. ( Ia11fd ) - We have added
LevelIndicator, which shows the value of a setting such as volume, and can be used with the existingSteppercomponent to construct a volume screen.LevelIndicatoris similar toScrollIndicator, but is displayed on the opposite side of the screen and has a wider stroke width and different indicator color by default. ( I8a4ac ) - We have added
TimePicker, with layouts for 24 hour time (with or without seconds), or 12 hour time with am/pm selection. ( Ia5124 ) - We have added
DatePicker, with configuration for column ordering (ie day-month-year, month-day-year or year-month-day) and optional min/max dates. ( Ibf13b ) - We have added a weight parameter to the
TimeText'stextfunction. In cases where TimeText is made up of more than one text element, this allows control over how the space is distributed. ( I36700 ) - We have added
RadioButtonandSplitRadioButton- these components simplify the previous API by combining both the (Split)SelectableButtonand the child radio control ( If7ae8 ) - We have added
CheckboxButtonandSplitCheckboxButton- these components simplify the previous API by combining both the (Split)ToggleButtonand the child Checkbox control ( Ia8f70 ) - We have added
SwitchButtonandSplitSwitchButton- these components simplify the previous API by combining both the(Split)ToggleButtonand the child Switch control ( I0d349 ) - We have updated
AnimatedTextdocumentation to explain overshooting behavior. ( Iff30a ) - We have added
ButtonGroupto combine 2 or 3 buttons such that button presses produce a coordinated animation. ( Ie27db ) - We have added optional shape animation for
IconButtonandTextButtonwhen pressed. ( Iffca5 ) - We have added an additional color variation,
FilledVariant, toButton,IconButton,TextButton,CompactButtonandEdgeButton( I65fc3 ) - We have added the
forcedSizeparameter toImageWithScrimPainter, such that Button image backgrounds now maintain their component size by default. Setting theforcedSize = nulladopts thePainter.instrinsicSizeinstead. ( Ic57af ) - We have added long-click to Buttons ( Ib613d )
- Long click support has also been added to
IconButtonandTextButton. ( I38891 ) - Long click support has been added to Cards. ( I305d5 )
- We have added
LocalTextMaxLines,LocalTextAlign,LocalTextOverflowasCompositionLocalsand used them as parameter defaults onText. The composition locals can now be used by components such asCheckboxButton,SwitchButton,RadioButtonto implement UX guidance, but the parameters can be overridden by developers if necessary. ( Iab841 ) - We have added
Placeholderto help in masking the content of components like buttons & cards until the data is loaded. ( I1a532 ) - We have added
IconToggleButtonColorsandTextToggleButtonColorsto replace the now removedToggleButtonColors. ( Ie0bf1 )
বাগ ফিক্স
- We have updated
Button,FilledTonalButton,OutlinedButton,ChildButton,CompactButtonto use the newCompositionLocalsLocalTextMaxLines,LocalTextAlign,LocalTextOverflowto implement UX guidance - these parameters can be overridden by developers on Text directly if necessary ( Ie51f7 ) - We have changed the default stroke width of the
LevelIndicatorto6dpto differentiate it from theScrollIndicatorwhich has a stroke width of4dp. ( If6f63 ) - We have fixed an issue in
TimeTextso that larger sweep angles are supported. ( Ie489f ) - Fixed an issue during
EdgeButtonrecomposition. ( I4cdca ) - Corrected layouts of split toggle buttons when customized content padding is provided. ( Ia33d3 )
- Rounded up small progress values to at least the line width of the progress indicator. ( I3bd84 )
Version 1.0.0-alpha23
14 মে, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha23 is released. Version 1.0.0-alpha23 contains these commits .
এপিআই পরিবর্তন
- We have updated
ToggleButtonandRadioButtonAPIs such that disabled colors can be configured. ( If13a7 ) - We have added a new
CircularProgressIndicatorfor Material3. ( Ib3bd7 )
বাগ ফিক্স
- We have fixed a bug where selectable buttons announced double tap to toggle when already selected. ( I7ed88 )
Version 1.0.0-alpha22
1 মে, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha22 is released. Version 1.0.0-alpha22 contains these commits .
এপিআই পরিবর্তন
- We have updated the Material3
ColorScheme. ( I7b2b8 ) - We have updated the Material3 Switch - as well as some color changes, the tick now matches that used for the Checkbox. ( Icac7b )
বাগ ফিক্স
- Update all integration demos to use new
rotaryScrollablemodifier. ( I25090 )
Version 1.0.0-alpha21
এপ্রিল 17, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha21 is released. Version 1.0.0-alpha21 contains these commits .
- This release was triggered due to a technical issue in the previous release that resulted in missing source jars. There are no new commits in this release.
Version 1.0.0-alpha20
3 এপ্রিল, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha20 is released. Version 1.0.0-alpha20 contains these commits .
বাগ ফিক্স
- We have adjusted the Ripple pressed and focused state alphas for contrast. ( I59f0a )
- We have added spacing between primary and secondary labels in
Button,ToggleButtonandRadioButton, following the latest changes to typography styles and line heights. ( I2c0ba )
সংস্করণ 1.0.0-alpha19
6 মার্চ, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha19 is released. Version 1.0.0-alpha19 contains these commits .
এপিআই পরিবর্তন
- We have added
TimeTextto the Wear Compose Material3 library. This component shows the current time (and additional status) at the top of the screen. The new, concise Material3 API avoids duplication between linear and curved content. ( I4d7c3 ) - We have updated parameter names from
onSelectedtoonSelectforRadioButton. ( I1a971 ) - Tokenize
RadioButtonandSplitRadioButtonand also refactor the existing methods to reduce the amount ofCompositionLocallookup by adding cached instances of colors, and making methods ofRadioButtonColorsandSplitRadioButtonColorsinternal. ( I02b33 )
সংস্করণ 1.0.0-alpha18
ফেব্রুয়ারি 21, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha18 is released. সংস্করণ 1.0.0-alpha18-এ এই কমিট রয়েছে।
এপিআই পরিবর্তন
- We have refactored the defaults pattern for
CardColors,ToggleButtonColorsandSplitToggleButtonColorsby creating cached instances internally and reducing the usage ofCompositionLocal. ( If3fec )
সংস্করণ 1.0.0-আলফা 17
7 ফেব্রুয়ারি, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha17 is released. Version 1.0.0-alpha17 contains these commits.
এপিআই পরিবর্তন
- We have updated the Button API to use
buttonColorsby default and removed the duplicatefilledButtonColors. ( I4fe3b ) - We have refactored default patterns for
ButtonColors,IconButtonColorsandTextButtonColorsby creating a cached instance internally and reducing the usage ofCompositionLocal. ( I5f51c ) - We have removed the overhead of
rememberUpdatedStatein Component specific color classes and marked accessor methods inside color classes as internal. ( If6571 )
বাগ ফিক্স
- We have updated
Modifier.minimumInteractiveComponentSizeto useModifier.node. ( Iba6b7 )
Version 1.0.0-alpha16
24 জানুয়ারী, 2024
androidx.wear.compose:compose-material3:1.0.0-alpha16 is released. Version 1.0.0-alpha16 contains these commits.
নতুন বৈশিষ্ট্য
- We have added
CompactButton, which can use the same filled, filled tonal and outlined colors as Button.( I05df0 )
এপিআই পরিবর্তন
- We have added
RadioButton/SplitRadioButtonas containers for selection controls, such as the Radio control. This differs from the existingToggleButtonin thatRadioButtonis selectable (and operates within a selection group) whereasToggleButtonis toggleable (and is independent). ( I61275 ) - We are removing
LocalContentAlphafrom the Wear Compose Material3 library for consistency with the Compose Material3 library. ( I49a0a ) - Wear material and wear material3 components exposing a
MutableInteractionSourcein their API have been updated to now expose a nullableMutableInteractionSourcethat defaults to null. There are no semantic changes here: passing null means that you do not wish to hoist theMutableInteractionSource, and it will be created inside the component if needed. Changing to null allows for some components to never allocate aMutableInteractionSource, and allows for other components to only lazily create an instance when they need to, which improves performance across these components. If you are not using theMutableInteractionSourceyou pass to these components, it is recommended that you pass null instead. It is also recommended that you make similar changes in your own components. ( Ib90fc , b/298048146 ) - Adds new ripple API in
wear:compose-materialandwear:compose-material3libraries which replaces the deprecatedrememberRipple. Also adds a temporaryCompositionLocal,LocalUseFallbackRippleImplementation, to revert Material components to using the deprecatedrememberRipple/RippleThemeAPIs. This will be removed in the next stable release, and is only intended to be a temporary migration aid for cases where you are providing a customRippleTheme. See developer.android.com for migration information and more background information behind this change. ( af92b21 ) - We have made minor improvements to the
HorizontalPageIndicatorapi and its documentation. ( I60efc ) - We have updated
ColorSchemeto be immutable, making individual color updates less efficient, but making more common usage of colors more efficient. The reasoning behind this change is that the majority of apps wouldn't have updating individual colors as a main use case. This is still possible but it will recompose more than before, in turn we significantly decrease the amount of state subscriptions through all of material code and will impact initialization and runtime cost of more standard use cases. ( Ibc2d6 ) - Updated
ToggleButtonandSplitToggleButtonAPIs to allow disabled colors to be customized. In addition, Material Design tokens are now used for color and typography values. ( If087c ) - Updated Button image background colors to use Material Design tokens. ( Iba215 )
- We have changed the
Checkbox,SwitchandRadioButtoncomponents to be display-only, by removing the click handling. These components are expected to be used in(Split)ToggleButtonwhich handles the click, so the components are now more clearly indicated as display-only (and are not intended for standalone use on Wear). ( I2322e )
বাগ ফিক্স
- We have added tokens for motion values of durations and easings in Wear Compose Material 3. ( I437cd )
- We have fixed a bug in the
ToggleButton,SplitToggleButton,Checkbox,SwitchandRadioButtonso that accessibility announcements are not repeated (previously, semantic roles were duplicated). ( Ica281 ) - We have removed the materialcore layer for
CompactButtonto improve performance. ( 7902858 )
Version 1.0.0-alpha15
15 নভেম্বর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha15 is released. Version 1.0.0-alpha15 contains these commits.
এপিআই পরিবর্তন
- We have renamed the Foundation level
SwipeToDismissBoxtoBasicSwipeToDismissBox. This makes the distinction clearer between the Foundation level component and the Material3 levelSwipeToDismissBox. The latter pulls colors from theMaterialThemeto be used in scrims and delegates the remaining implementation to theBasicSwipeToDismissBox. ( Ibecfc )
বাগ ফিক্স
- We have removed the material-core layer for Material3 Button to improve performance. ( I55555 )
সংস্করণ 1.0.0-আলফা 14
18 অক্টোবর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha14 is released. সংস্করণ 1.0.0-ALPHA14 এর মধ্যে এই কমিট রয়েছে।
এপিআই পরিবর্তন
- We have removed the
indicatorStyleparameter from the Material3HorizontalPageIndicator- instead, it will follow the device screen shape (linear or round). ( I83728 ) - We have separated the colors for
SplitToggleButtonfrom those forToggleButton, by adding a newSplitToggleButtonColorsclass. ( I78bee )
Version 1.0.0-alpha13
4 অক্টোবর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha13 is released. সংস্করণ 1.0.0-আলফা 13 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- We have added an optional Subtitle field to
TitleCard. ( Ifc45a ) - We have added Material Design color tokens for
TextButton. ( I769dc )
Version 1.0.0-alpha12
20 সেপ্টেম্বর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha12 is released. সংস্করণ 1.0.0-আলফা 12 এ এই কমিটগুলি রয়েছে।
এপিআই পরিবর্তন
- We have updated
IconButtonto use Material Design tokens. ( I3f137 ) - We have updated
IconToggleButtonto use Material Design tokens. ( I7d263 ) - We have made public the constructors of
CheckboxColors,RadioButtonColors,SwitchColors. ( I82b73 )
সংস্করণ 1.0.0-আলফা 11
6 সেপ্টেম্বর, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha11 is released. সংস্করণ 1.0.0-আলফা 11 এ এই কমিটগুলি রয়েছে।
বাগ ফিক্স
- We update updated the typography for Material3 Cards to
TitleMedium. ( I597bd ) - We have updated the typography and alignment for our Material3
ListHeaderandListSubheader. ( Ib5ceb )
Version 1.0.0-alpha10
23 আগস্ট, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha10 is released. Version 1.0.0-alpha10 contains these commits.
নতুন বৈশিষ্ট্য
- Add
HorizontalPageIndicatorin Wear Material3 library. ( Ifee99 )
এপিআই পরিবর্তন
- Update Buttons code to use Material3 design tokens. ( I92fe4 )
- Declaring Wear Material 3 Stepper and Slider APIs as experimental as the details of the user interface are still being finalized. ( I84d54 )
- We have removed the
ExtraSmallsizes from the roundTextButtonandTextToggleButtonas that size only applies to theIconButton. ( Ibc7d5 )
বাগ ফিক্স
- We have updated the guidance on typography for TextToggleButton to use LabelLarge for LargeButtonSize ( Ib10fa )
- We have updated the guidance on typography for TextButton to use LabelLarge for LargeButtonSize ( I8f3a7 )
- We have set the Card's minimum touch target to be 48dp for accessibility. ( Ieb9b1 )
- Add AppCard with image demo, removing AppCard with Background demo ( Id735f )
- Fix a bug in round buttons where modifiers were not chained correctly. ( I5e162 )
সংস্করণ 1.0.0-Alpha09
9 আগস্ট, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha09 is released. সংস্করণ 1.0.0-ALPHA09 এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- We have added
ToggleButtonfor material3 ( I6bed6 )
এপিআই পরিবর্তন
- We have turned on the
FloatRangeannotation as API constraints , which were previously stated in comments. ( Icb401 ) - We have updated the typography for Wear Material3 to adhere to the latest Material3 guidelines. ( I1bad6 )
বাগ ফিক্স
- We have updated the colors for
Button,IconButtonandTextButtonin line with Material3 design. ( Ib2495 ) - We have fixed checkbox tick visibility in disabled states. ( Ib25bf )
সংস্করণ 1.0.0-Alpha08
জুলাই 26, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha08 is released. সংস্করণ 1.0.0-ALPHA08 এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- We have added the following selection controls for Material3 -
Switch,Checkbox,RadioButton. ( Ib918c ) - We have added
IconToggleButtonandTextToggleButtonto Material3, a circular toggle button with a single slot for icon and text respectively. For different sizes ofToggleButton, we recommend usingModifier.touchTargetAwareSizewith the sizes provided in respective toggle buttons. ( I9f015 ) - We have added
ListHeaderandListSubheaderto our Material3 components. ( Ibaefe ) - We have added Material3
SwipeToDismissBox, which calls the new FoundationSwipeToDismissBoxand supplies default color values from its theme. ( I275fb ) - We have added the Material3
InlineSliderto Wear Compose. It allows users to make a selection from a range of values. The range of selections is shown as a bar between the minimum and maximum values of the range, from which users may select a single value.InlineSlideris ideal for adjusting settings such as volume or brightness. ( I7085f )
এপিআই পরিবর্তন
- We have updated the Shapes in Wear Material 3 theme to use
RoundedCornerShapebased instead of Shape. ( Idb133 ) - We have made the height constants for Button public ( Idbfde )
- Updated API files to annotate compatibility suppression ( I8e87a , b/287516207 )
- We have updated
InlineSliderColorsin Wear Compose Material 3 to have public constructor and public properties. ( I6b632 ) - We have updated all color classes in Wear Compose Material 3 to have public constructors and public properties. ( I17702 )
- We have made Button horizontal and vertical padding constants public. ( Ieeaf7 )
বাগ ফিক্স
- Button will now adjust its height to accommodate content that has grown due to large fonts for accessibility, when required ( Iaf302 )
- We have updated a number of Button demos to address accessibility issues. ( I61ce9 )
-
StepperandInlineSlidernow support repeated clicks on long press so that you can quickly increase/decrease value ofStepperandInlineSliderby holding the + or - buttons ( I27359 )
সংস্করণ 1.0.0-Alpha07
জুন 21, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha07 is released. সংস্করণ 1.0.0-alpha07 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- We have added the
Steppercomponent to our Compose for Wear OS Material 3 library. This is similar to the previous Material version, but omits range semantics by default, following developer feedback. We provideModifier.rangeSemanticsthe cases where range semantics are required. ( Ic39fd ) - We have added
curvedTextto our Compose for Wear OS Material 3 library. ( Ia8ae3 )
বাগ ফিক্স
- We have update
wear.compose.foundationto be an API dependency ofwear.compose.material3( I72004 , b/285404743 )
Version 1.0.0-alpha06
7 জুন, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha06 is released. সংস্করণ 1.0.0-alpha06 এই কমিট ধারণ করে।
বাগ ফিক্স
- We have updated
TextButtonto use thetoDisabledColorextension function for correct disabled alpha values. ( I814c8 )
সংস্করণ 1.0.0-Alpha05
24 মে, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha05 is released. সংস্করণ 1.0.0-ALPHA05 এর মধ্যে এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- We have added
TextButtonto Material3, a circular button with a single slot for text. For different sizes ofTextButton, we recommend usingModifier.touchTargetAwareSizeandExtraSmallButtonSize,SmallButtonSize,DefaultButtonSizeandLargeButtonSizeIconprovided inTextButtonDefaults. The defaultTextButtonhas no border and a transparent background for low emphasis actions. For actions that require high emphasis, usefilledTextButtonColors; for a medium-emphasis, outlinedTextButton, set the border toButtonDefaults.outlinedButtonBorder; for a middle ground between outlined and filled, usefilledTonalTextButtonColors. ( I667e4 ) - We have added
Card,OutlinedCard,AppCardandTitleCardinto the Wear Compose Material3 library.AppCardandTitleCardcan also be given the outlined appearance usingCardDefaults.outlinedCardColorsandCardDefaults.outlinedCardBorder( I80e72 )
এপিআই পরিবর্তন
- We have moved the Button label parameter to the end to support trailing lambda syntax and removed the role parameter (as this can be overridden using
Modifier.semantics).ButtonColorsconstructors are now public. ( Ie1b6d )
Version 1.0.0-alpha04
10 মে, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha04 is released. সংস্করণ 1.0.0-alpha04 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- We have added
IconButtonto Material3, a circular button with a single slot for icon/image. There are four variations:IconButton,FilledIconButton,FilledTonalIconButtonandOutlinedIconButton. For different sizes ofIconButton, we recommend usingModifier.touchTargetAwareSizeandExtraSmallButtonSize,SmallButtonSize,DefaultButtonSizeandLargeButtonSizeIconprovided inIconButtonDefaults. We also provideIconButtonDefaults.iconSizeForto determine the recommended icon size for a given button size. ( I721d4 )
Version 1.0.0-alpha03
এপ্রিল 19, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha03 is released. সংস্করণ 1.0.0-alpha03 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
- We have added the Material 3 Button component - this is our stadium-shaped button and was formerly named Chip in the Wear Compose Material library (it has been renamed to Button for consistency with the Compose Material 3 library). The default Button has a filled background and there are button variations for
FilledTonal(muted background), Outlined (transparent with a thin border) and Child (transparent background and no border, used for supplementary actions with the lowest amount of prominence). Round buttons for simple icon and text content will follow in a future release.( Ia6942 )
সংস্করণ 1.0.0-alpha02
5 এপ্রিল, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
বাগ ফিক্স
- We have added a
DefaultTextStyleto Wear Compose Material 3 which defaults thePlatformTextStyle.includeFontPaddingto true (the current setting). This will allow us to synchronize turning off font padding by default with the Compose libraries in the future (see Fix font padding in Compose for background ). ( I7e461 )
Version 1.0.0-alpha01
22 মার্চ, 2023
androidx.wear.compose:compose-material3:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
Material 3 is the next evolution of Material Design and includes updated theming and redesigned components. Material 3 on Wear Compose is designed to be cohesive with the Material 3 Compose library on Android. This first alpha release contains early, functional implementations of the following:
We will continue to develop Wear Material (
androidx.wear.compose:compose-material) and Wear Material 3 (androidx.wear.compose:compose-material3) in parallel. Future material3 releases will extend the widget set to include other familiar components from Compose for Wear OS, such as buttons, pickers, and sliders.The Wear Material and Wear Material 3 libraries are mutually exclusive and should not be mixed in the same app, primarily because they reference different themes which would lead to unexpected inconsistencies.