রচনা উপাদান ৩
androidx.compose.material3 সম্পর্কে
( সমস্ত কম্পোজ প্যাকেজের জন্য API রেফারেন্স ডক্স দেখুন )
| সর্বশেষ আপডেট | স্থিতিশীল রিলিজ | রিলিজ প্রার্থী | বিটা রিলিজ | আলফা রিলিজ |
|---|---|---|---|---|
| ২২ অক্টোবর, ২০২৫ | ১.৪.০ | - | - | ১.৫.০-আলফা০৭ |
গঠন
কম্পোজ হল androidx মধ্যে সাতটি Maven গ্রুপ আইডির সমন্বয়। প্রতিটি গ্রুপে কার্যকারিতার একটি লক্ষ্যবস্তু উপসেট থাকে, প্রতিটির নিজস্ব রিলিজ নোটের সেট থাকে।
এই টেবিলে প্রতিটি রিলিজ নোটের গ্রুপ এবং লিঙ্কগুলি ব্যাখ্যা করা হয়েছে।
| গ্রুপ | বিবরণ |
|---|---|
| রচনা.অ্যানিমেশন | ব্যবহারকারীর অভিজ্ঞতা সমৃদ্ধ করতে তাদের জেটপ্যাক কম্পোজ অ্যাপ্লিকেশনগুলিতে অ্যানিমেশন তৈরি করুন। |
| কম্পোজ.কম্পাইলার | @Composable ফাংশন রূপান্তর করুন এবং একটি Kotlin কম্পাইলার প্লাগইন দিয়ে অপ্টিমাইজেশন সক্ষম করুন। |
| রচনা.ভিত্তি | ব্যবহারের জন্য প্রস্তুত বিল্ডিং ব্লক সহ জেটপ্যাক কম্পোজ অ্যাপ্লিকেশন লিখুন এবং আপনার নিজস্ব ডিজাইন সিস্টেমের টুকরো তৈরি করতে ভিত্তি প্রসারিত করুন। |
| রচনা.উপাদান | ব্যবহারের জন্য প্রস্তুত মেটেরিয়াল ডিজাইন কম্পোনেন্ট দিয়ে জেটপ্যাক কম্পোজ UI তৈরি করুন। এটি কম্পোজের উচ্চ স্তরের এন্ট্রি পয়েন্ট, যা www.material.io-তে বর্ণিত উপাদানগুলির সাথে মেলে এমন উপাদান সরবরাহ করার জন্য ডিজাইন করা হয়েছে। |
| রচনা.উপাদান৩ | মেটেরিয়াল ডিজাইনের পরবর্তী বিবর্তন, মেটেরিয়াল ডিজাইন 3 কম্পোনেন্ট দিয়ে জেটপ্যাক কম্পোজ UI তৈরি করুন। মেটেরিয়াল 3-তে আপডেটেড থিমিং এবং কম্পোনেন্ট এবং মেটেরিয়াল ইউ পার্সোনালাইজেশন বৈশিষ্ট্য যেমন ডায়নামিক কালার অন্তর্ভুক্ত রয়েছে এবং এটি নতুন অ্যান্ড্রয়েড 12 ভিজ্যুয়াল স্টাইল এবং সিস্টেম UI-এর সাথে সামঞ্জস্যপূর্ণ হওয়ার জন্য ডিজাইন করা হয়েছে। |
| রচনা.রানটাইম | কম্পোজের প্রোগ্রামিং মডেল এবং স্টেট ম্যানেজমেন্টের মৌলিক বিল্ডিং ব্লক, এবং কম্পোজ কম্পাইলার প্লাগইনকে লক্ষ্য করার জন্য মূল রানটাইম। |
| কম্পোজ.ইউআই | ডিভাইসের সাথে ইন্টারঅ্যাক্ট করার জন্য কম্পোজ UI এর মৌলিক উপাদানগুলির প্রয়োজন, যার মধ্যে রয়েছে লেআউট, অঙ্কন এবং ইনপুট। |
নির্ভরতা ঘোষণা করা
কম্পোজের উপর নির্ভরতা যোগ করতে, আপনার প্রোজেক্টে গুগল ম্যাভেন রিপোজিটরি যোগ করতে হবে। আরও তথ্যের জন্য গুগলের ম্যাভেন রিপোজিটরি পড়ুন।
আপনার অ্যাপ বা মডিউলের জন্য build.gradle ফাইলে আপনার প্রয়োজনীয় আর্টিফ্যাক্টের জন্য নির্ভরতা যোগ করুন:
গ্রোভি
dependencies { implementation "androidx.compose.material3:material3:1.4.0" implementation "androidx.compose.material3:material3-window-size-class:1.4.0" implementation "androidx.compose.material3:material3-adaptive-navigation-suite:1.5.0-alpha07" } android { buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion = "1.1.1" } kotlinOptions { jvmTarget = "1.8" } }
কোটলিন
dependencies { implementation("androidx.compose.material3:material3:1.4.0") implementation("androidx.compose.material3:material3-window-size-class:1.4.0") implementation("androidx.compose.material3:material3-adaptive-navigation-suite:1.5.0-alpha07") } android { buildFeatures { compose = true } composeOptions { kotlinCompilerExtensionVersion = "1.1.1" } kotlinOptions { jvmTarget = "1.8" } }
নির্ভরতা সম্পর্কে আরও তথ্যের জন্য, বিল্ড নির্ভরতা যোগ করুন দেখুন।
প্রতিক্রিয়া
আপনার মতামত জেটপ্যাককে আরও উন্নত করতে সাহায্য করবে। আপনি যদি নতুন সমস্যা আবিষ্কার করেন অথবা এই লাইব্রেরি উন্নত করার জন্য কোন ধারণা থাকে তাহলে আমাদের জানান। নতুন একটি তৈরি করার আগে দয়া করে এই লাইব্রেরিতে বিদ্যমান সমস্যাগুলি একবার দেখে নিন। আপনি তারকা বোতামে ক্লিক করে বিদ্যমান সমস্যাটিতে আপনার ভোট যোগ করতে পারেন।
আরও তথ্যের জন্য ইস্যু ট্র্যাকার ডকুমেন্টেশন দেখুন।
কম্পোজ ম্যাটেরিয়াল৩ কমন ভার্সন ১.০
সংস্করণ 1.0.0-alpha01
১৭ এপ্রিল, ২০২৪
androidx.compose.material3:material3-common:1.0.0-alpha01 , androidx.compose.material3:material3-common-android:1.0.0-alpha01 , এবং androidx.compose.material3:material3-common-desktop:1.0.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
থিমহীন উপাদান যা মেটেরিয়াল ডিজাইন উপাদান তৈরি করতে ব্যবহার করা যেতে পারে:
- টোনাল প্যালেট
- আইকন
- টার্গেটের আকার স্পর্শ করুন
কম্পোজ ম্যাটেরিয়াল৩ অ্যাডাপ্টিভ নেভিগেশন স্যুট ভার্সন ১.০
সংস্করণ 1.0.0-alpha07
১ মে, ২০২৪
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha07 , androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha07 , এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha07 প্রকাশিত হয়েছে। 1.0.0-alpha07 সংস্করণে এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- নেভিগেশন স্যুট API গুলিকে পরীক্ষামূলক নয় ( If62af ) করুন
বাগ ফিক্স
- ডিফল্টরূপে কন্টেন্টের জন্য ইনসেট ব্যবহার করুন ( 50266df )
সংস্করণ 1.0.0-alpha06
১৭ এপ্রিল, ২০২৪
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha06 , androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha06 , এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha06 প্রকাশিত হয়েছে। 1.0.0-alpha06 সংস্করণে এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
NavigationSuiteScaffoldDefaultsএcontainerColorএবংcontentColorযোগ করুন। ( I64e3a , b/331993720 ) -
NavigationSuiteDefaultsএitemColorsফাংশন যোগ করা হচ্ছে। ( Idf719 , b/328480012 ) -
NavigationSuiteScopeসিল করে রাখুন। ( Iefa57 )
সংস্করণ 1.0.0-alpha05
৬ মার্চ, ২০২৪
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha05 , androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha05 , এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha05 প্রকাশিত হয়েছে। 1.0.0-alpha05 সংস্করণে এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
NavigationSuiteItemColorsকনস্ট্রাক্টরকে সর্বজনীন করুন। ( Ica83a , b/324886877 )
সংস্করণ 1.0.0-alpha04
২১ ফেব্রুয়ারী, ২০২৪
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha04 , androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha04 , এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha04 প্রকাশিত হয়েছে। 1.0.0-alpha04 সংস্করণে এই কমিটগুলি রয়েছে।
নির্ভরতা আপডেট
- নতুন মডিউল পাথগুলিতে Material3 অভিযোজিত নির্ভরতা আপডেট করুন। ( Ibc421 )
- উইন্ডো সাইজ ক্লাসের উইন্ডো ম্যানেজার সংস্করণ ব্যবহারে মাইগ্রেট করুন। ( I3794d )
সংস্করণ 1.0.0-alpha03
৭ ফেব্রুয়ারী, ২০২৪
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha03 , androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha03 , এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha03 প্রকাশিত হয়েছে। 1.0.0-alpha03 সংস্করণে এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- প্যাকেজের নাম navigation-suite ( I7eff7 ) থেকে navigationsuite এ আপডেট করুন।
- Material3 কম্পোনেন্টগুলিকে তাদের API-তে একটি
MutableInteractionSourceএক্সপোজ করার জন্য আপডেট করা হয়েছে, যা এখন একটি nullableMutableInteractionSourceএক্সপোজ করে যা ডিফল্টভাবে null থাকে। এখানে কোনও অর্থগত পরিবর্তন নেই: null পাস করার অর্থ হল আপনিMutableInteractionSourceউত্তোলন করতে চান না, এবং প্রয়োজনে এটি কম্পোনেন্টের ভিতরে তৈরি করা হবে। null এ পরিবর্তন করার ফলে কিছু কম্পোনেন্ট কখনওMutableInteractionSourceবরাদ্দ করতে পারে না এবং অন্যান্য কম্পোনেন্টগুলিকে প্রয়োজনের সময় কেবল অলসভাবে একটি ইনস্ট্যান্স তৈরি করতে দেয়, যা এই কম্পোনেন্টগুলিতে কর্মক্ষমতা উন্নত করে। আপনি যদিMutableInteractionSourceব্যবহার না করে থাকেন তবে আপনি এই কম্পোনেন্টগুলিতে পাস করেন, তবে আপনাকে null পাস করার পরামর্শ দেওয়া হচ্ছে। আপনার নিজস্ব কম্পোনেন্টগুলিতেও একই রকম পরিবর্তন করার পরামর্শ দেওয়া হচ্ছে। ( I41abb , b/298048146 )
সংস্করণ 1.0.0-alpha02
১৩ ডিসেম্বর, ২০২৩
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha02 , androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha02 , এবং androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha02 প্রকাশিত হয়েছে। 1.0.0-alpha02 সংস্করণে এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- একটি 'কিছুই নয়'
NavigationSuiteTypeযোগ করুন ( If8cb1 , b/313688598 )
বাগ ফিক্স
- রুট সারফেসে
modifier.fillMaxSizeথাকলে পুরো স্ক্রিনে নেভিগেশন কম্পোনেন্ট ভর্তি ঠিক করুন। ( c9cf250 , b/312664933 )
সংস্করণ 1.0.0-alpha01
১৫ নভেম্বর, ২০২৩
androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
কম্পোজ ম্যাটেরিয়াল৩ অ্যাডাপ্টিভ ভার্সন ১.০
সংস্করণ 1.0.0-alpha06
৭ ফেব্রুয়ারী, ২০২৪
androidx.compose.material3:material3-adaptive:1.0.0-alpha06 , androidx.compose.material3:material3-adaptive-android:1.0.0-alpha06 , এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
-
ThreePaneScaffoldNavigatorব্যাক নেভিগেশনের জন্য অতিরিক্ত আচরণ বিকল্প যোগ করা হয়েছে। ( I858aa ) - নেভিগেশন ইতিহাসে ঐচ্ছিক গন্তব্য সামগ্রী যোগ করা হয়েছে। ( Ibd7e6 )
সংস্করণ 1.0.0-alpha05
২৪ জানুয়ারী, ২০২৪
androidx.compose.material3:material3-adaptive:1.0.0-alpha05 , androidx.compose.material3:material3-adaptive-android:1.0.0-alpha05 , এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha05-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- স্ক্যাফোল্ড নেভিগেশন এবং মান ক্যালক ( I71d46 ) এ ইতিহাস-সচেতনতা সমর্থন করুন।
সংস্করণ 1.0.0-alpha04
১০ জানুয়ারী, ২০২৪
androidx.compose.material3:material3-adaptive:1.0.0-alpha04 , androidx.compose.material3:material3-adaptive-android:1.0.0-alpha04 , এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha04-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- প্যান স্ক্যাফোল্ডগুলিতে প্রান্ত থেকে প্রান্ত সমর্থন যোগ করা হয়েছে ( I1b462 )
API পরিবর্তনগুলি
- পোশ্চারে হিঞ্জ বাউন্ড প্রোপার্টিগুলিকে হিঞ্জ তথ্যের তালিকায় স্থানান্তরিত করা হয়েছে ( I24f90 )
বাগ ফিক্স
-
AnimatedPaneপুনরায় কম্পোজ করা হয়নি তা ঠিক করুন ( c3f573d )
সংস্করণ 1.0.0-alpha03
১৩ ডিসেম্বর, ২০২৩
androidx.compose.material3:material3-adaptive:1.0.0-alpha03 , androidx.compose.material3:material3-adaptive-android:1.0.0-alpha03 , এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha03-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- স্ক্যাফোল্ড রোলগুলিকে
ThreePaneScaffoldRoleএর উপনামে পরিবর্তন করুন। ( I65bd1 ) - স্ক্যাফোল্ড রোলের জন্য একটি বেস ক্লাস তৈরি করুন ( I4784d )
-
AnimatedPaneএর কন্টেন্ট ( Ibc73b ) থেকে অপ্রয়োজনীয় প্যারামিটার সরান। -
collectWindowSizeAsStateনাম পরিবর্তন করে এবং পরিবর্তে raw মান প্রদান করে ( I480f4 )
সংস্করণ 1.0.0-alpha02
২৯ নভেম্বর, ২০২৩
androidx.compose.material3:material3-adaptive:1.0.0-alpha02 , androidx.compose.material3:material3-adaptive-android:1.0.0-alpha02 , এবং androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- অ্যাডাপ্টিভ স্ক্যাফোল্ড API থেকে নেভিগেশন API বিভক্ত করুন। ( Ic4045 )
-
GutterSizeক্লাসটি সরান। ( I785b3 )
বাগ ফিক্স
-
AnimatedPaneব্যবহার না করলে প্যানগুলি স্যুইচ করা হয় না তা ঠিক করুন ( d88f181 )
সংস্করণ 1.0.0-alpha01
১৫ নভেম্বর, ২০২৩
androidx.compose.material3:material3-adaptive:1.0.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
Material3 অভিযোজিত অবস্থা API গুলি:
Material3 অ্যাডাপ্টিভ প্যান স্ক্যাফোল্ড ডাইরেক্টিভ API গুলি:
Material3 অ্যাডাপ্টিভ প্যান স্ক্যাফোল্ড API গুলি:
- প্যান স্ক্যাফোল্ড বেসিক এপিআই
কম্পোজ ম্যাটেরিয়াল৩ সংস্করণ ১.৫
সংস্করণ 1.5.0-alpha07
২২ অক্টোবর, ২০২৫
androidx.compose.material3:material3-*:1.5.0-alpha07 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-alpha07-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
- উন্নত
SearchBar.InputFieldএকটিkeyboardOptionsপ্যারামিটার সহ, যা কীবোর্ড অপশন এবংlineLimitsপ্যারামিটার নির্দিষ্ট করে টেক্সট মোড়ানো স্ক্রোলিং নির্দিষ্ট করার মাধ্যমে অপ্টিমাইজ করা টেক্সট ইনপুট প্রদান করে ( Id08a4 , b/416991049 )।
বাগ ফিক্স
- স্লাইডারে একটি বাগ ঠিক করা হয়েছে যেখানে টাচ ডাউন করার সময় প্রেস ইন্টারঅ্যাকশন নির্গত হত না। এই পরিবর্তনটি নিশ্চিত করে যে
awaitFirstDownএ অবিলম্বে একটিPressInteraction.Pressনির্গত হয়, যা তাৎক্ষণিক ভিজ্যুয়াল প্রতিক্রিয়া প্রদান করে। ( If9e25 , b/308501482 ) - স্ক্রোল করার সময়
Tooltipক্যারেটের দিক পরিবর্তন না হওয়ার সমস্যাটি সমাধান করা হয়েছে। টুলটিপ পপআপ যখনই পাশে স্যুইচ করে তখনTooltipBoxএখন একটি রিকম্পোজিশন ট্রিগার করে, যাতে ক্যারেটের দিক সঠিকভাবে আপডেট করা হয় তা নিশ্চিত করা যায়। ( I5ad1e , b/438875827 )
সংস্করণ 1.5.0-alpha06
৮ অক্টোবর, ২০২৫
androidx.compose.material3:material3-*:1.5.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-alpha06-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
AppBarWithSearchএর জন্য স্ক্রোল করা রঙ যোগ করা হয়েছে। এছাড়াও, সার্চ বার ইনপুট ফিল্ডের কন্টেইনার রঙ এখন ডিফল্টভাবে স্বচ্ছ। সার্চ বারের ডিফল্ট কন্টেইনার রঙ অপরিবর্তিত রয়েছে। ( I4fe32 ) -
FloatingToolbarএ কম্পোজেবল একটি ডিফল্ট ওভারফ্লো সূচক যোগ করা হয়েছে। ( I6a6f8 , b/415833723 ) - আপডেট
isExpandedবোতাম গ্রুপে মেনু API গুলির জন্যisShowing। ( I86309 , b/412419514 ) -
initialIsExpandedinitialIsShowingএ আপডেট করা হয়েছে এবংButtonGroupDefaultsএ কম্পোজেবল একটি ডিফল্ট ওভারফ্লো সূচক যোগ করা হয়েছে। ( I6e67c , b/412419514 ) - পাবলিক API সারফেস থেকে ড্র্যাগ-টু-রাইজ ফিচারটি সরান ( Ic85ba , b/437953743 , b/442636084 )
বাগ ফিক্স
- কীবোর্ড নেভিগেশনের ফোকাস অর্ডার ঠিক করুন, এবং RTL-এর জন্যও ঠিক করুন। ( Ibba27 , b/422220597 )
- তারিখ বাছাইকারীর বছর নির্বাচন গ্রিড কীবোর্ড নেভিগেশন ঠিক করুন। ( I02363 , b/422425720 , b/446814683 )
- তারিখ বাছাইকারীদের মধ্যে তারিখ নির্বাচন গ্রিডের জন্য স্থির কীবোর্ড নেভিগেশন। ( I594ef , b/422220597 , b/422223115 )
- কীবোর্ড ফোকাস গ্রহণকারী অফস্ক্রিন টুলবারটি ঠিক করা হয়েছে। ( I01a73 , b/422786812 )
- ফিক্সড
RangeSliderএবং স্লাইডার কীবোর্ড নেভিগেশন। ( Ib6bcf , b/424845268 , b/422942624 )
সংস্করণ 1.5.0-alpha04
১০ সেপ্টেম্বর, ২০২৫
androidx.compose.material3:material3-*:1.5.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-alpha04-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- একটি
ColorProducerল্যাম্বডা গ্রহণকারীTextকম্পোজেবল ওভারলোড যোগ করা হয়েছে যা সম্পূর্ণ পুনর্গঠন ট্রিগার না করেই দক্ষ রঙ পরিবর্তন সক্ষম করে। ( I9ff25 , b/407055128 )
API পরিবর্তনগুলি
-
Scrim()এর নাম পরিবর্তন করেLevitatedPaneScrim()করুন এবং Levitated এবং Reflowed ক্লাসের বৈশিষ্ট্য লুকান। ( I090e1 , b/427953101 ) - অভ্যন্তরীণ হিসাবে
calculatePosture()API লুকান ( Ie7227 , b/424442112 ) - একটি সিল করা পাবলিক API ( Ia4ebe ) হিসাবে
PaneScaffoldHorizontalOrderপ্রকাশ করুন - উইন্ডোর আকার এবং অবস্থান সম্পর্কিত API গুলিকে পরীক্ষামূলক হিসাবে চিহ্নিত করুন। ( I4ee96 )
বাগ ফিক্স
- কীবোর্ড নেভিগেশনের ক্রম ঠিক করা হয়েছে যাতে ফোকাস ফ্যাব বোতাম থেকে উপরের প্রথম আইটেমে যায়। ( Icaaa1 , b/422762939 )
- নেভিগেশন উন্নত করুন ড্রয়ার কীবোর্ড a11y: ড্রয়ারটি খারিজ করার পরে আর ফোকাস করা যায় না, এটি esc কী দিয়ে বন্ধ করা যেতে পারে এবং খোলার সময় এর বিষয়বস্তু ফোকাস গ্রহণ করে। ( Idb995 , b/422793544 , b/422793651 , b/422797424 )
- টাইম পিকারের ক্লকফেস এখন কীবোর্ড নেভিগেশন/ইনপুটে সাড়া দেয়। ( I9d5d9 , b/425710631 )
- প্যান এক্সপেনশন অ্যাঙ্কর তালিকা পরিবর্তন হলে নতুন প্রাথমিক অ্যাঙ্কর ব্যবহার করুন ( I91cd1 , b/438829477 )
সংস্করণ 1.5.0-alpha03
২৭ আগস্ট, ২০২৫
androidx.compose.material3:material3-*:1.5.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-alpha03-এ এই কমিটগুলি রয়েছে।
আচরণগত পরিবর্তন
- চেকবক্সের আকার এবং সূচকের রঙগুলি স্পেসিফিকেশনের সাথে সামঞ্জস্যপূর্ণ করার জন্য সামঞ্জস্য করা হয়েছে। UI ব্যাঘাত কমাতে, মাইগ্রেশনে সহায়তা করার জন্য
isCheckboxStylingFixEnabledপতাকাটি যোগ করা হয়েছে। অনুগ্রহ করে আপনার অ্যাপগুলিতে এটি ম্যানুয়ালি সক্ষম করুন। ভবিষ্যতের সংস্করণে এই পতাকাটি অবশেষে সরানো হবে। ( I5bcd3 , b/304300693 )
API পরিবর্তনগুলি
-
TopAppBar( Ia5fea ) এর জন্যcontentPaddingপ্যারামিটার যোগ করা হয়েছে। - ন্যাভ স্যুট স্ক্যাফোল্ডের জন্য কম্পোনেন্ট ওভাররাইড যোগ করুন ( I85312 )
বাগ ফিক্স
-
TimePickerDialogএcontainerColorপ্যারামিটারটি এখন সঠিকভাবে প্রয়োগ করা হয়েছে, যা ডায়ালগের পটভূমির রঙ কাস্টমাইজ করার অনুমতি দেয়। ( I47f89 , b/403183883 ) - মোডাল নেভিগেশন রেল ভেঙে পড়ার সময় আর ফোকাস হারায় না, এবং এখন ESC কী-এর প্রতিক্রিয়ায় বন্ধ হয়ে যায়। ( 4255257 )
-
Snackbarএখন অ্যাকশন এবং ডিসমিস বোতামের জন্য সঠিক কীবোর্ড ফোকাস অর্ডার রয়েছে, ডিসমিস বোতামটি একটি টুলটিপ প্রদর্শনকেও সমর্থন করে। ( 11fa13d )
সংস্করণ 1.5.0-alpha02
১৩ আগস্ট, ২০২৫
androidx.compose.material3:material3-*:1.5.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-alpha02-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
PullToRefreshDefaultsএ,shapeনাম পরিবর্তন করেindicatorShapeএবংcontainerColorনাম পরিবর্তন করেindicatorContainerColorহয়েছে এবং সূচক ব্যবহারের জন্যindicatorMaxDistanceযোগ করা হয়েছে। ( Ib6cbe ) -
PullToRefreshDefaults.indicatorColor( Iaaee2 ) থেকে অবচয় ট্যাগ সরান -
TopSearchBarপ্রতিস্থাপন করে এবং নেভিগেশন/অ্যাকশন আইকন সমর্থন করেAppBarWithSearchযোগ করা হয়েছে। ( I213a5 )
বাগ ফিক্স
- ব্যাকপ্রেস ভুলভাবে ড্রয়ার অফসেট আপডেট করে এমন বাগ ঠিক করুন। ( I85624 , b/427778135 )
- যদি অন্য কোনও অ্যাঙ্কর না থাকে, তাহলে
SwipeToDismissBoxএখন একটি স্থিরtargetValueফিরে যায়। যদি অন্য কোনও অ্যাঙ্কর না থাকে, তাহলেBottomSheetScaffoldএখন একটি প্রসারিতtargetValueফিরে যায়। ( I73d5e , b/428856426 ) - উল্লম্বভাবে স্ট্যাক করা হলে
AlertDialogএ বোতাম প্যাডিং ঠিক করা হয়েছে। ( Ia2118 ) - [FAB]
Modifier.animateFloatingActionButton( I8ea6c , b/430336834 ) লুকানোর পরেও FAB-তে ক্লিক করার বাগ ঠিক করুন। - [স্লাইডার] স্লাইডারের জন্য স্থির কীবোর্ড নেভিগেশন ( I3a405 )
সংস্করণ 1.5.0-alpha01
৩০ জুলাই, ২০২৫
androidx.compose.material3:material3-*:1.5.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.5.0-alpha01-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- টুলটিপের জন্য আরও পজিশন প্রোভাইডার যোগ করুন যাতে ডেভেলপাররা এখন নিয়ন্ত্রণ করতে পারেন যে টুলটিপ অ্যাঙ্করের উপরে, নীচে, বামে বা ডানে স্থাপন করা হয়েছে কিনা। এমন একটি API যোগ করুন যা ক্যারেটের জন্য একটি শেপ গ্রহণ করে, যাতে আরও কাস্টম শেপ প্রদান করা যায়। ( Ie513c )
API পরিবর্তনগুলি
- অবস্থার উপর ভিত্তি করে কম্পোনেন্টের রঙ গণনা করার জন্য
TextFieldColorsপদ্ধতিগুলি এখন সর্বজনীন। ( I03165 ) -
onDismissকলব্যাক থেকে সাসপেন্ড অ্যানোটেশন সরানো হয়েছে। ( Ie3166 ) -
DatePickerState.getDisplayedMonth(): YearMonth?এবংDateRangePickerState.getDisplayedMonth(): YearMonth?আপডেট করা হয়েছে যাতে বাতিলযোগ্য নয় এমন মান ফেরত দেওয়া যায়। ( Ice09c , b/427952972 ) -
ModalWideNavigationRailDefaultsসরান, এর বিষয়বস্তুWideNavigationRailDefaultsএ সরান এবং এর আকৃতি সম্পর্কিত নামগুলি পুনঃনামকরণ করুন। ( Ic5e61 ) -
WideNavigationRailItemএর রঙ এবং কপি অবচিত ফাংশনগুলি লেভেল লুকানো থাকা উচিত। ( Id7e82 ) - অবচিত
WideNavigationRailapis-এর স্তর পরিবর্তন করে Warning করুন এবং সেগুলিকে পরীক্ষামূলক করুন। ( I89085 )
বাগ ফিক্স
- নিশ্চিত করে যে
DatePickerনম্বর ফর্ম্যাটিংয়ের জন্য তার নিজস্ব লোকেলকে সম্মান করে। পূর্বে, যদিDatePickerএকটি আরবি লোকেলের জন্য কনফিগার করা হত, তাহলে ডিভাইসের সিস্টেম লোকেল যদি একটি ভিন্ন নম্বরিং সিস্টেম ব্যবহার করত তবে এটি ভুলভাবে ল্যাটিন সংখ্যাগুলি রেন্ডার করতে পারত। ( Iccf76 , b/432616196 ) - RTL লেআউটে স্টপ ইন্ডিকেটর সঠিকভাবে রেন্ডার না করা
LinearProgressIndicatorসমস্যাটি ঠিক করুন। ( I0734c ) -
PrimaryScrollableTabRowএবংSecondaryScrollableTabRowডিভাইডার এখন পূর্ণ স্ক্রিন আকার পর্যন্ত প্রসারিত হয়, এমনকি যখন ট্যাবের বিষয়বস্তু স্ক্রিনের শেষ প্রান্ত পর্যন্ত প্রসারিত হয় না। ( Ic1e9c , b/261741384 )
কম্পোজ ম্যাটেরিয়াল৩ সংস্করণ ১.৪
সংস্করণ 1.4.0
২৪ সেপ্টেম্বর, ২০২৫
androidx.compose.material3:material3-*:1.4.0 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-এ এই কমিটগুলি রয়েছে।
১.৩.০ থেকে গুরুত্বপূর্ণ পরিবর্তনগুলি:
লাইব্রেরি পরিবর্তনের ঘোষণা
কম্পোজে ম্যাটেরিয়াল আইকন প্রদর্শনের জন্য androidx.compose.material.icons লাইব্রেরি আর সুপারিশ করা হয় না , কারণ ম্যাটেরিয়াল সিম্বল হল নতুন পথ। আমরা এই লাইব্রেরির আপডেট প্রকাশ করা বন্ধ করে দিয়েছি এবং এটি সর্বশেষ ম্যাটেরিয়াল 3 লাইব্রেরি রিলিজ থেকে সরিয়ে দেওয়া হয়েছে, যদি আপনি এখনও মাইগ্রেট করতে না পারেন তবে আপনি এটি ম্যানুয়ালি রেফারেন্স করতে পারেন।
পরিবর্তে, আমরা সর্বশেষ স্টাইলযুক্ত আইকনগুলিতে অ্যাক্সেস পেতে https://fonts.google.com/icons এর অ্যান্ড্রয়েড ট্যাব থেকে একটি ভেক্টর ড্রয়েবল XML ফাইল ডাউনলোড করার পরামর্শ দিচ্ছি: ম্যাটেরিয়াল সিম্বল।
আমরা কেন আর লাইব্রেরি সুপারিশ করছি না? আইকন লাইব্রেরি ("ম্যাটেরিয়াল আইকন") এর পরিবর্তে ম্যাটেরিয়াল সিম্বলের নতুন রূপ ব্যবহার করা হয়েছে এবং আমরা দেখেছি যে লাইব্রেরি আপনার অ্যাপের নির্মাণ সময় উল্লেখযোগ্যভাবে বাড়িয়ে দিতে পারে কারণ এতে এমন সমস্ত আইকন রয়েছে যা প্রয়োজন নাও হতে পারে।
আরও তথ্যের জন্য: https://developer.android.com/develop/ui/compose/graphics/images/material
আচরণগত পরিবর্তন
এই লাইব্রেরিটি আর
material-icons-coreএ নির্ভরতা যোগ করে না, তাই যদি আপনার প্রকল্পটি এর উপর নির্ভর করে, তাহলে আপনাকে আপনার build.gradle[.kts] ফাইলগুলিতে স্পষ্টভাবে সেই নির্ভরতা যোগ করতে হবে। ( I735ff , b/349894318 )NavigationBarItemএবংNavigationRailItemএর সক্রিয় লেবেলের রঙonSurfaceথেকে সেকেন্ডারিতে পরিবর্তন করা হয় যাতে ব্যবহারযোগ্যতা, রঙের বৈপরীত্য এবং সিস্টেমের মধ্যে সমন্বয় উন্নত করা যায় ( Ibc297 ), পূর্ববর্তী আচরণে ফিরে যেতে, ডিফল্ট রঙগুলি অনুলিপি করা হয় এবংselectedTextColorTextColor কেMaterialTheme.colorScheme.onSurfaceএ পরিবর্তন করা হয়।ম্যাটেরিয়াল ৩ উপাদানগুলি এখন তাদের গতি সংজ্ঞায়িত করার জন্য নতুন
MotionSchemeব্যবহার করছে। ( Ie0f93 )অনির্দিষ্ট বৃত্তাকার অগ্রগতি নির্দেশক গতি পরিবর্তন ( I3c07e )
নতুন মেটেরিয়াল ডিজাইন ৩টি উপাদান
-
HorizontalCenteredHeroCarousel -
VerticalDragHandle - পাসওয়ার্ড এন্ট্রি ক্ষেত্রের জন্য নিরাপদ টেক্সট ক্ষেত্র
বিদ্যমান মেটেরিয়াল ডিজাইন ৩টি উপাদানের উন্নতি
- টেক্সট এখন
autoSizeসাপোর্ট করে- স্ট্রিং সহ টেক্সট
- টীকাযুক্ত স্ট্রিং সহ টেক্সট
-
BasicTextField2এর জন্য মেটেরিয়াল 3 ডেকোরেটর যোগ করা হয়েছে - একটি
TimePickerDialogAPI যোগ করা হয়েছে যাTimePicker,TimeInputঅথবা একটি পরিবর্তনযোগ্য সংস্করণের জন্য ব্যবহার করা যেতে পারে। - নতুন সার্চ বার API গুলি:
- সঙ্কুচিত অনুসন্ধান বার এবং প্রসারিত অনুসন্ধান "দর্শন" এখন পৃথক সংমিশ্রণযোগ্য:
-
SearchBarহল একটি সার্চ বার যা ধসে পড়ে আছে। -
ExpandedFullScreenSearchBarএবংExpandedDockedSearchBarএক্সপ্যান্ডেড অবস্থায় সার্চ বারকে প্রতিনিধিত্ব করে। এগুলি একটি নতুন উইন্ডোতে খোলে। - সার্চ বারের অবস্থা নিয়ন্ত্রণ করার জন্য
SearchBarState
- পরীক্ষামূলক API গুলিকে স্থিতিশীল করে তোলা হয়েছে!
- কর্মক্ষমতা উন্নতি
সংস্করণ 1.4.0-rc01
১০ সেপ্টেম্বর, ২০২৫
androidx.compose.material3:material3-*:1.4.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-rc01-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.4.0-beta03
২৭ আগস্ট, ২০২৫
androidx.compose.material3:material3-*:1.4.0-beta03 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-beta03-এ এই কমিটগুলি রয়েছে।
সংস্করণ 1.4.0-beta02
১৩ আগস্ট, ২০২৫
androidx.compose.material3:material3-*:1.4.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-beta02-এ এই কমিটগুলি রয়েছে।
নির্ভরতা পরিবর্তন
-
graphics-shapesনির্ভরতা সরান ( I219e0 , b/436230765 )
API পরিবর্তনগুলি
-
PullToRefreshDefaultsএ,shapeনাম পরিবর্তন করেindicatorShapeএবংcontainerColorনাম পরিবর্তন করেindicatorContainerColorহয়েছে এবং সূচক ব্যবহারের জন্যindicatorMaxDistanceযোগ করা হয়েছে। ( Ib6cbe ) -
PullToRefreshDefaults.indicatorColor( Iaaee2 ) থেকে অবচয় ট্যাগ সরান -
BasicAlertDialogOverrideScopeদুর্ঘটনাক্রমে স্থিতিশীল সংস্করণে উন্নীত হয়েছিল এবং aosp/3701846 থেকে এর পরীক্ষামূলক টীকাটি সরিয়ে ফেলা হয়েছিল। এটিকে অভ্যন্তরীণ হিসেবে চিহ্নিত করা হচ্ছে। এটি 1.5.0-alpha ( I9182a ) তে সর্বজনীন পরীক্ষামূলক সংস্করণ হিসেবে থাকবে।
বাগ ফিক্স
- ব্যাকপ্রেস ভুলভাবে ড্রয়ার অফসেট আপডেট করে এমন বাগ ঠিক করুন। ( I85624 , b/427778135 )
সংস্করণ 1.4.0-beta01
৩০ জুলাই, ২০২৫
androidx.compose.material3:material3-*:1.4.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-beta01-এ এই কমিটগুলি রয়েছে।
ব্রেকিং পরিবর্তনগুলি
-
ExperimentalMaterial3ExpressiveApiবাExperimentalMaterial3ComponentOverrideApiট্যাগ করা সমস্ত পাবলিক API সরিয়ে ফেলা হয়েছে, এই বৈশিষ্ট্যগুলি উপভোগ করা চালিয়ে যেতে দয়া করে1.5.0-alphaএ স্যুইচ করুন। ( Ie4ae0 ) - অনুগ্রহ করে আশা করুন যে পরবর্তী রিলিজে নিম্নলিখিত স্থিতিশীল
pullToRefreshAPI গুলি পুনঃনামকরণ করা হবে। ( Ib6cbe )
নতুন বৈশিষ্ট্য
-
Tooltipএখন কাস্টম ক্যারেট আকৃতি এবং কাস্টম ক্যারেট অবস্থান (অ্যাঙ্করের উপরে, নীচে, বাম বা ডানে) সমর্থন করে। ( Ie513c )
API পরিবর্তনগুলি
-
onDismissকলব্যাক থেকে সাসপেন্ড অ্যানোটেশন সরানো হয়েছে। ( Ie3166 ) -
DatePickerState.getDisplayedMonth(): YearMonth?এবংDateRangePickerState.getDisplayedMonth(): YearMonth?আপডেট করা হয়েছে যাতে বাতিলযোগ্য নয় এমন মান ফেরত দেওয়া যায়। ( Ice09c , b/427952972 ) -
ModalWideNavigationRailDefaultsসরান, এর বিষয়বস্তুWideNavigationRailDefaultsএ সরান এবং এর আকৃতি সম্পর্কিত নামগুলি পুনঃনামকরণ করুন। ( Ic5e61 )
বাগ ফিক্স
- নিশ্চিত করে যে
DatePickerনম্বর ফর্ম্যাটিংয়ের জন্য তার নিজস্ব লোকেলকে সম্মান করে। পূর্বে, যদিDatePickerএকটি আরবি লোকেলের জন্য কনফিগার করা হত, তাহলে ডিভাইসের সিস্টেম লোকেল যদি একটি ভিন্ন নম্বরিং সিস্টেম ব্যবহার করত তবে এটি ভুলভাবে ল্যাটিন সংখ্যাগুলি রেন্ডার করতে পারত। ( Iccf76 , b/432616196 ) - RTL লেআউটে স্টপ ইন্ডিকেটর সঠিকভাবে রেন্ডার না করা
LinearProgressIndicatorসমস্যাটি ঠিক করুন। ( I0734c ) -
PrimaryScrollableTabRowএবংSecondaryScrollableTabRowডিভাইডার এখন পূর্ণ স্ক্রিন আকার পর্যন্ত প্রসারিত হয়, এমনকি যখন ট্যাবের বিষয়বস্তু স্ক্রিনের শেষ প্রান্ত পর্যন্ত প্রসারিত হয় না। ( Ic1e9c , b/261741384 )
সংস্করণ 1.4.0-alpha18
১৬ জুলাই, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha18 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha18-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
-
ModalBottomSheetPropertiesএখন স্ক্রিম ক্লিক থেকে dismissRequest নিষ্ক্রিয় করার বিকল্প প্রদান করে। ( I8e715 ) -
RangeSliderএর ট্র্যাকেtrackCornerSizeসাপোর্ট যোগ করুন। ( Iec529 )
API পরিবর্তনগুলি
-
railExpandedতৈরি করা হয়েছেWideNavigationRailItemএর জন্য একটি প্রয়োজনীয় প্যারামিটার সম্প্রসারিত করা হয়েছে,WideNavigationRailColorsএর জন্যmodalContentColorযোগ করা হয়েছে এবংWideNavigationRailDefaults.modalContainerShapeকেModalWideNavigationRailDefaults.containerShapeএ সরানো হয়েছে। ( Id60c5 ) -
WideNavigationRailএর নতুন colors ফাংশন param কে শেষ ফাংশন হিসেবে সরান এবং পুরাতন ফাংশনটি বাদ দিন। ( Iac7f7 ) -
PullToRefreshএখন একটি স্থিতিশীল API ( I18537 ) -
DatePickersAPI-এর আপডেট। আমরাDateRangePickerজন্য ডিফল্ট নাল শেষ তারিখটি সরিয়ে দিয়েছি এবং এটি পাস করা বাধ্যতামূলক করেছি। আমরা API ডকুমেন্টেশনে তারিখ উপস্থাপনের মধ্যরাতের UTC ব্যবহারও স্পষ্ট করেছি এবং java.time API ব্যবহার করে এমন সর্বশেষ গেটার এবং সেটটারগুলিকে আপাতত পরীক্ষামূলক হিসাবে চিহ্নিত করেছি। ( I121b3 , b/427952972 ) - আইকনটিকে
tint: ColorProducerparam API অ-পরীক্ষামূলক। ( Ia0133 ) -
DatePicker,DateRangePickerএবং তাদের সমর্থনকারী অবস্থা, শ্রেণী এবং প্রকারগুলি থেকে পরীক্ষামূলক টীকাগুলি সরানো হয়েছে। ( I0e4e0 , b/391848485 ) - a11y ফোকাস ঠিক করার জন্য ডিফল্ট ফোকাসযোগ্য মানকে false এ পরিবর্তন করা হয়েছে, এবং
TooltipBoxএhasActionparam যোগ করা হয়েছে। ( I62998 ) - স্নাতক পরীক্ষামূলক
WideNavigationRail,ShortNavigationBarএবংNavigationItemAPI গুলি। ( I3ca3c ) - কিছু শীর্ষ অ্যাপ বার ফাংশন, সাপোর্টিং ক্লাস এবং অবজেক্ট থেকে
@ExperimentalMaterial3Apiঅ্যানোটেশনগুলি সরান। ( I0a9b7 )
সংস্করণ 1.4.0-alpha17
২ জুলাই, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha17 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha17-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- বোতাম গ্রুপের অ্যানিমেশনটি আপডেট করুন যাতে চাপ দেওয়ার পরিবর্তে ক্লিক করলে অ্যানিমেশনের ৭৫% অ্যানিমেট হয়। ( 593942a , b/423596967 )
বাগ ফিক্স
- লেআউট গণনার সময় কোনও ক্যারোজেল আইটেমের বৃহৎ উপাদানের আকার অতিক্রম করার সমস্যাটি সমাধান করা হয়েছে, যা পুরো উইজেটটিকে কেটে ফেলে। ( I1c3d7 , b/397489534 )
- ওভারল্যাপ করা স্টার্ট এবং এন্ড শিফট অফসেট সহ ক্যারোসেল স্ক্রোল করার সময়
beforeContentPaddingলাফিয়ে যাওয়ার সমস্যাটি ঠিক করা হয়েছে। ( c3d5f3a , b/420618979 ) -
SwipeToDismiss'সক্রিয় আচরণ আপডেট করুন যাতে বর্তমানের পরিবর্তে স্থির অবস্থা পর্যবেক্ষণ করা যায়। বিদ্যমান আচরণ পুনরুদ্ধার করে যেখানে অ্যাঙ্কর আচরণ কেবল তখনই অক্ষম থাকে যখন উপাদানটি একটি বরখাস্ত অবস্থায় স্থির থাকে। ( 3844e07 , b/425006844 ) -
ExposedDropdownMenuপপআপ মেনু এখন কীবোর্ড ইনপুটের মাধ্যমে খোলা যাবে। সম্পাদনাযোগ্য ভেরিয়েশনের জন্য মেনুটি এখন কীবোর্ডের মাধ্যমে অ্যাক্সেসযোগ্য কিনা তাও ঠিক করুন। ( 46ead03 )
সংস্করণ 1.4.0-alpha16
১৮ জুন, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha16 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha16-এ এই কমিটগুলি রয়েছে।
নতুন বৈশিষ্ট্য
- একটি কেন্দ্র সারিবদ্ধ হিরো ক্যারোজেল উপাদান যোগ করা হয়েছে ( I6f6d3 )
API পরিবর্তনগুলি
- XR উল্লম্ব টুলবারকে ওভাররাইড করে ( Ia1604 ) বাস্তবায়ন করুন
-
CarouselState( I12f8e ) তে প্রোগ্রাম্যাটিক স্ক্রোল ফাংশন যোগ করা হয়েছে। -
ModalWideNavigationRail( I4f440 ) এর জন্যComponentOverrideযোগ করুন -
WideNavigationRail( I6354f ) এর জন্যComponentOverrideযোগ করুন -
HorizontalFloatingToolbar( I51116 ) এর জন্যComponentOverrideতৈরি করুন -
ShortNavigationBar( I30e24 ) এর জন্যComponentOverrideতৈরি করুন -
SwipeToDismissBoxStateconfirmValueChangeএর রেফারেন্সগুলিকে অবচিত হিসেবে চিহ্নিত করা হয়েছে। ব্যবহারকারীদের পরিবর্তেSwipeToDismissBoxAPIonDismissedকলব্যাক ব্যবহার করা উচিত। ( Iee780 ) - ক্যারোসেল কম্পোজেবলে userScrollEnabled প্যারামিটার যোগ করা হয়েছে। ( I1d4d2 )
- ক্যারোসেলের
currentItemএখনCarouselStateথেকে পর্যবেক্ষণ করা যাবে। ( Ie87e9 )
বাগ ফিক্স
- একটি FAB-তে একটি ইচ্ছাকৃত আকৃতি যা একটি
FloatingToolbarএ পাঠানো হয় এবং তার ছায়া সঠিকভাবে প্রয়োগ করছিল না, সেই সমস্যাটি সমাধান করুন। ( Icdcc9 , b/423336922 ) - সকল ক্যারোসেল এখন ডিফল্টরূপে ক্যারোসেল সেমান্টিক ভূমিকা ব্যবহার করে। ( I7af12 )
-
LaunchedEffect( Id9f31 , b/302774166 ) এর মাধ্যমে স্লাইডারের অবস্থা আপডেট করার সময় ভুল বুড়ো আঙুলের নড়াচড়া ঠিক করা হয়েছে।
সংস্করণ 1.4.0-alpha15
২০ মে, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha15 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha15-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
MotionTheme.LocalMotionScheme, composition local যোগ করা হয়েছে। এটিcurrentValueOf(MotionTheme.LocalMotionScheme)সহCompositionLocalConsumerModifierNodesথেকে থিম মোশন স্কিমে অ্যাক্সেস করার অনুমতি দেয়। ( I014b1 ) - স্থির রঙের ভূমিকা ছাড়া
ColorSchemeকনস্ট্রাক্টর এখন বন্ধ করা হয়েছে। অনুগ্রহ করে স্থির ভূমিকা সহ কনস্ট্রাক্টরে স্থানান্তর করুন। ( Iad0ee ) - M3 টেক্সট কম্পোনেন্ট এখন
TextAutoSizeসমর্থন করে। ( I7f524 ) - বিভক্ত বোতাম আকারের ভেরিয়েন্ট তৈরির জন্য API যোগ করুন এবং নমুনা যোগ করুন। ( Ice30b )
বাগ ফিক্স
- এজ-টু-এজ সক্ষম করার সময়
SnackbarএবংFloatingActionButtonভুলভাবে স্থাপন করা হয়েছিল এমন একটি সমস্যা সমাধান করা হয়েছে। স্ক্যাফোল্ড এখন এই উপাদানগুলিতে সঠিকভাবে অনুভূমিক ইনসেট প্রয়োগ করে। ( Ib7c30 , b/244400727 ) -
BottomSheetমোশন সম্পূর্ণরূপে প্রসারিত থেকে আংশিকভাবে প্রসারিত করার জন্য ঠিক করুন।BottomSheetএখন লুকানোর সময় বা ভেঙে ফেলার সময়MotionSchemeএর দ্রুত-প্রভাব এবং প্রসারিত করার সময় default-spatial ব্যবহার করে। ( Ifa46f , b/416063171 ) - সারফেস কন্টেইনার রোল ছাড়া
ColorSchemeকনস্ট্রাক্টরকে লুকানো হিসেবে চিহ্নিত করা হয়েছে এবং আর ব্যবহারের জন্য সুপারিশ করা হয়নি। ( Ia7237 ) - আরও নমনীয়তা প্রদানের জন্য, একটি
CircularWavyProgressIndicatorSize.minDimension > 0প্রয়োজনীয়তা সরানো হয়েছে, যা আগে একটি ব্যতিক্রম দিত। ( Ic9418 , b/377531195 ) -
Text(AnnotatedString)এর হাইপারলিঙ্কগুলিতে এখন ডিফল্টরূপে Material স্টাইলিং আছে। ( I78288 , b/339843816 ) -
RoundedPolygonএরtoShape()ফাংশনটি একটি Path ক্যাশ করছে এবং বিভিন্ন আকারের একাধিকcreateOutlineকল করার সময় সমস্যা সৃষ্টি করছে এমন একটি সমস্যা সমাধান করুন। ( I4026d )
সংস্করণ 1.4.0-alpha14
৭ মে, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha14 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha14-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
AppBarRowমতো একই পদ্ধতিতে কাজ করে কিন্তু কলামে সাজানো কন্টেন্টের জন্য একটি নতুনAppBarColumnকম্পোজেবল যোগ করা হয়েছে। ( Iaf6bd ) -
AppBarRowতে সর্বাধিক আইটেম যোগ করা হয়েছে, শীর্ষ অ্যাপ বারগুলির জন্য উপাদানের স্পেক সঠিকভাবে বাস্তবায়নের জন্য এটি প্রয়োজনীয়। ( I92ce4 ) - অ্যাঙ্করের
layoutCoordinatesপেতেTooltipScopeএ একটি পদ্ধতি যোগ করা হয়েছে।drawCaretপদ্ধতিটি বাতিল করা হচ্ছে কারণ ডেভেলপাররা এই নতুন পদ্ধতি ব্যবহার করে অ্যাঙ্কর বাউন্ডlayoutCoordinatesপেতে এবং একটি উপযুক্ত আকৃতি তৈরি করতে পারে যাতে একটি ক্যারেট থাকে। ( Ia2e12 , b/329470609 ) - তারিখ বাছাইকারীদের জন্য
java.timeসমর্থন যোগ করা হয়েছে:rememberDatePickerState/rememberDateRangePickerStateওভারলোড চালু করা হয়েছে যা java.time অবজেক্ট গ্রহণ করে (যেমন, প্রাথমিকLocalDate,YearMonth)।LocalDateএবংYearMonthএর মতো প্রকার ব্যবহার করে মান পেতে/সেট করার জন্য state অবজেক্টে এক্সটেনশন ফাংশনও যোগ করা হয়েছে। API 26+ বা desugaring প্রয়োজন। ( I70f29 , b/266202516 , b/281859606 ) -
CenteredTrackকম্পোজেবল যোগ করুন যাতে একটি স্লাইডার ব্যবহার করা যায় যার ট্র্যাক কেন্দ্র থেকে শুরু হয়। ( I5b1d6 )
বাগ ফিক্স
- ওয়েভি প্রোগ্রেস ইন্ডিকেটরগুলির কর্মক্ষমতা উন্নত: লিনিয়ার টাইপগুলি এখন ~8.5% দ্রুত লোড হয় এবং ~11% কম বরাদ্দ পাওয়া যায়, যেখানে সার্কুলার টাইপগুলি উল্লেখযোগ্যভাবে ~47% গতি বৃদ্ধি এবং ~39% কম বরাদ্দ দেখতে পায়। ( I595d8 )
সংস্করণ 1.4.0-alpha13
২৩ এপ্রিল, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha13 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha13-এ এই কমিটগুলি রয়েছে।
API পরিবর্তনগুলি
-
isAppearanceLightStatusBarsএবংisAppearanceLightNavigationBarsModalBottomSheetPropertiesতে শুধুমাত্র অ্যান্ড্রয়েড প্যারামিটার হিসেবে পুনঃপ্রবর্তন করা হয়েছে। ( Id4bc0 ) - একটি
AppBarRowকম্পোজেবল যোগ করুন, যা এর সীমানার বাইরে ফিট হওয়া আইটেমগুলির ওভারফ্লো পরিচালনা করে। ( I742bd ) - ডেট-ইনপুট মোডে স্যুইচ করার সময় ফোকাসের অনুরোধ করার জন্য
DatePickerএবংDateRangePickerAPI আপডেট করুন। আমরাrequestFocusবুলিয়ান প্যারামিটারটিকে একটি ঐচ্ছিকfocusRequesterপ্যারামিটার দিয়ে প্রতিস্থাপন করেছি যা একটিFocusRequesterনেয়। ( I14b69 ) - ডিফল্ট ক্লিকযোগ্য এবং টগলযোগ্য আইটেমগুলি থেকে মডিফায়ার এবং ইন্টারঅ্যাকশন সোর্স সরান। পরিবর্তে এটিকে বাস্তবায়নের বিবরণ হিসাবে রাখুন। ( I95ed6 )
- স্ক্রিনে অনেক বেশি বোতাম ফিট না হলে ড্রপডাউন মেনুতে ওভারফ্লো করার জন্য
ButtonGroupআপডেট করা হয়েছে। ( I7b88b )
বাগ ফিক্স
- বটমশিট এখন বর্তমান অফসেটের চেয়ে ছোট হলে টপ ইনসেট ব্যবহার করে। এটি ব্যবহারকারীদের প্রসারিত আচরণের জন্য টপ ইনসেট প্রদান করতে দেয়।
BottomSheetDefaults.windowInsetsএখনWindowInsets.safeDrawing.Topঅন্তর্ভুক্ত রয়েছে। ( I0ab67 , b/321877275 , b/336962418 , b/342093067 ) - চিপ লিডিং আইকন/অ্যাভাটার এবং ট্রেলিং আইকন যোগ বা অপসারণের সময় এন্টার/এক্সিট অ্যানিমেশন (ফেইড/স্লাইড) সক্ষম করা হয়েছে। এটি প্রাথমিকভাবে নির্বাচনযোগ্য চিপস (ফিল্টার, ইনপুট) এর জন্য উপকারী তবে সাধারণভাবে প্রযোজ্য। ( I9af21 )
-
LookaheadScopeএর কারণে সৃষ্ট ভাঙা RTL স্লাইডার আচরণ ঠিক করুন। ( Ieb152 , b/408118041 ) - লুকানো সিস্টেম UI দিয়ে স্ক্রোল করার সাথে সম্পর্কিত বটম
AppBarক্র্যাশ ঠিক করুন। ( Ic6140 , b/405996228 )
সংস্করণ 1.4.0-alpha12
৯ এপ্রিল, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha12 is released. Version 1.4.0-alpha12 contains these commits .
API Changes
- Removed android specific parameters from
ModalBottomSheetProperties( Iab97f , b/362539765 ) - Introduce overloading functions for drag handle size defaults ( I0ed0d )
- Add new
NavigationSuiteScaffoldandNavigationSuiteScaffoldLayoutfunctions to support new layout types and add support for an optional primary action content. ( Ib262a , b/353144478 ) - Deprecate
Modifier.weightwith fill parameter inButtonGroup. Adding a version without fill. ( Id32bb ) - Rename
xSmall-andxLarge-IconButton component defaults to spell outextra. ( Ib6e0f ) - Add new
NavigationSuite,NavigationSuiteItemandNavigationSuiteColorsfunctions to support new layout types. ( I203d6 ) - Add new
NavigationSuiteTypesand add newnavigationSuiteTypefunction that include those layout choices ( If68f9 )
বাগ ফিক্স
-
ColorScheme.contentColorFornow mapssurfaceDimtoonSurface. ( I8891a ) - Updated
DateInputTextFieldimplementation to address an issue where the input field did not reflect programmatically set date. ( I6c8d1 , b/401143451 ) - Fixed the talkback focus order for the navigation rail and wide navigation rail ( I6cf6f , b/407048224 )
Version 1.4.0-alpha11
২৬ মার্চ, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha11 is released. Version 1.4.0-alpha11 contains these commits .
API Changes
- Update capitalization for composable properties in default objects for button and toggle button. Add methods in
ToggleButtonDefaultsandButtonDefaultsfor recommended content padding, shapes, icon size, icon spacing, and text style depending on container height. ( Iea69e ) - Removed deprecated experimental functions and constants from the
FloatingToolbar. ( I8f339 ) - Elevation components now share a common interface and have public constructors and properties. ( Ibb172 )
- Adding
animateWidthmodifier inButtonGroupScopethat will need to be used with button group's children to correctly animate the children. ( Ia3bb6 )
বাগ ফিক্স
- Fixed Floating Toolbar padding to ensure visual balance during collapse, and improved flexibility for larger content. ( I06c00 )
Version 1.4.0-alpha10
১২ মার্চ, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha10 is released. Version 1.4.0-alpha10 contains these commits .
API Changes
-
TabRowDefaults.tabIndicatorOffsethas been deprecated in favor ofTabIndicatorScope.tabIndicatorOffset. ( Ib36b3 ) - Fix typo for small content padding in button defaults. ( I19bfe )
-
TabRowandScrollableTabRoware deprecated in favor of Primary and Secondary variants of each. Primary and Secondary tab rows are more performant and accurate to spec. ( I918e2 ) - Added
rememberSliderStateandrememberRangeSliderState. ( I8e384 ) - Added
shouldAutoSnaptoSliderStateto control the auto-snapping mechanism, disabling it may be useful for custom animations. ( I07745 ) - Scrollable tab row's minimum tab width is now a parameter. Primary and Secondary tab row variants are no longer experimental. ( If6f15 , b/226665301 )
- Made the class
ExitAlwaysFloatingToolbarScrollBehaviorpublic allowing creation without composition. ( Ibf31c )
Version 1.4.0-alpha09
২৬ ফেব্রুয়ারী, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha09 is released. Version 1.4.0-alpha09 contains these commits .
API Changes
- Rename
DragHandle's setting fields in the default state; separate pressed and dragged states; make the default sizes be public. ( I787b9 ) - Updates to the
TowRowsTopAppBarAPI. Removed theexpandedlambda parameter and added separate parameters for the expanded and collapsed heights. ( Idd677 , b/306697446 , b/229134133 , b/268068946 )
বাগ ফিক্স
- The bottom app bars now observe the touch exploration service (eg,
TalkBack) and keep them visible whenever the service is on. ( I4b34d )
Version 1.4.0-alpha08
১২ ফেব্রুয়ারী, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha08 is released. Version 1.4.0-alpha08 contains these commits .
নতুন বৈশিষ্ট্য
Added an
TimePickerDialogAPI that can be used forTimePicker,TimeInputor to have a switchable version. ( Id2d83 )New search bar APIs:
- Collapsed search bars and expanded search "views" are now separate composables.
-
SearchBarrepresents a search bar in the collapsed state. -
ExpandedFullScreenSearchBarandExpandedDockedSearchBarrepresent the search bar in the expanded state. These open in a new window. -
SearchBarStateto control the state of the search bar -
TopSearchBarto add insets handling and scroll behavior - New overload of
InputFieldwhich usesSearchBarState( Ie0723 , b/261496232 , b/283311462 , b/350916229 , b/352872248 )
API Changes
- Support corner shape morphing of icon buttons on press. ( I21843 )
- Text field decorator/decoration box APIs are no longer experimental. ( I31d95 )
- Added samples and defaults for the connected variant for
ButtonGroup. ( I5c8ce ) - Make state param the last one in
NavigationSuiteScaffoldandNavigationSuiteScaffoldLayout. ( I9cc7b )
বাগ ফিক্স
- Added custom accessibility actions to the
FloatingToolbarsso accessibility services can now expand or collapse allFloatingToolbarvariations. The FAB-equipped version applies this to the FAB, while the FAB-less version applies it to the main content. ( I26420 ) - The
FloatingToolbarsnow observe the touch exploration service (eg, TalkBack) and keep the toolbar expanded and visible whenever the service is on. ( I02172 ) - Fixed a crash at the progress and loading indicators in case a
Float.NaNis passed in as a progress. ( I4fa96 , b/352364576 )
Version 1.4.0-alpha07
২৯ জানুয়ারী, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha07 is released. Version 1.4.0-alpha07 contains these commits .
নতুন বৈশিষ্ট্য
- Added more flexibility in customizing the appearance of Checkboxes with a new API. This API provides Stroke parameters that allow for greater control over how the checkmark and the checkbox-outline are rendered. ( I65a88 )
- Added
TwoRowsTopAppBarAPI, a more customizable alternative to Medium and Large app bars for creating two-row top app bars. Developers now have control over the content of titles and subtitles in both collapsed and expanded states, with customizable heights for each state. ( I0be3c , b/306697446 , b/229134133 , b/268068946 )
API Changes
- Renamed an experimental
BottomAppBarvariation toFlexibleBottomAppBar, providing more control over content arrangement and height. ( Iaa448 ) - Update naming for properties in Button Group default object to be
CapitalCase. Update the name ofanimateFractionto be more precise to the behavior that it's representing. ( I545cd ) - Adding overloads for common buttons that allow for animated shapes on press interaction. Added cached button shapes. ( I5ec20 )
- You can now control how a
FloatingToolbarwith FAB reacts to scrolling by providing aFloatingToolbarScrollBehavior. For toolbars positioned along a center edge (like top or bottom center), we recommend using a scroll behavior to hide the entire component on scroll for a cleaner look. This also prevents the FAB from becoming off-center, which could happen when using theexpandedflag for collapsing. ( I33f67 ) - Updates the experimental
TopAppBarAPIs to useAlignment.Horizontalinstead of a customTopAppBarTitleAlignmentwhen setting the alignment of the title and subtitle. ( I70ca2 ) -
SliderState#onValueChangeis now public to give more control to the user ( I104eb ) - Introduce
NavigationSuiteScaffoldStateto allow for animation of the navigation component. Also introduce overloads ofNavigationSuiteScaffoldandNavigationSuiteScaffoldLayoutthat have a state param. ( I6a8c9 , b/328674235 )
বাগ ফিক্স
- Move
IconButtonColorsandIconToggleButtonColorsclasses fromIconButtonDefaults.ktback toIconButton.kt. ( I3c233 )
External Contribution
-
SliderState#isDraggingis now public. ( I8458a )
Version 1.4.0-alpha06
১৫ জানুয়ারী, ২০২৫
androidx.compose.material3:material3-*:1.4.0-alpha06 is released. Version 1.4.0-alpha06 contains these commits .
আচরণগত পরিবর্তন
- Added
displayCutoutto the group of insets that Material components take into account by default, to avoid content overlapping with the display cutout. This is a behavior change that will impact how inset-aware components behave around a display cutout. This includes the default value of theWindowInsetsparameter for inset-aware Material 3 components, and theWindowInsetsvalues provided in the component Defaults objects for both Material 2 and Material 3. If this change causes undesirable behavior, manually specify theWindowInsetsparameter on a per-component basis. ( I43ee9 , b/362508045 )
API Changes
- Updates to the
TopAppBarAPI. Rename the medium and large top app bars with a subtitle to*FlexibleTopAppBar. Unified the color variations into a singleTopAppBarDefault.topAppBarColors()function, and added asubtitlecolor parameter to be applied for a provided subtitle Composable ( I41b65 ) - Remove
WideNavigationRailArrangementAPI in favor ofArrangement.Vertical( Id0341 ) - Add a new
VerticalSlider @Composable. ( I2bfba ) - Add a new Track
@Composablethat allows specifying custom external track corners and track icons. ( I436a4 ) - Update the floating toolbar APIs to use the
FloatingToolbarColorsobject instead of a single container color. ( I9a054 ) - Add and use new experimental annotation
ExperimentalMaterial3ComponentOverrideApi( Ia1eaf ) -
Modifier.indicatorLinenow takes a shape for the text field to handle clipping. ( I8c5f3 , b/380704151 ) - Rename the experimental
FloatingAppBarfunctions toFloatingToolbar( I1dbf8 ) - Added a new
floatingToolbarVerticalNestedScrollthat can be attached to a scrollable container to update the floating toolbar expansion state based on a scroll motion that crosses a threshold. ( I6d65f ) - Introducing a new API for creating a floating toolbar with an attached Floating Action Button (FAB). The API provides flexible customization options, allowing you to arrange the toolbar horizontally or vertically and place the FAB at the start or end of the toolbar. ( I9e350 )
বাগ ফিক্স
- Fix a Snackbar accessibility issue that caused it to announce itself on dismiss when
TalkBackis on. ( /I9db53 )
External Contribution
- Commonized
BasicTooltipin foundation andBasicTooltip/Tooltipin material3. ( Ifc2e6 )
Version 1.4.0-alpha05
১২ ডিসেম্বর, ২০২৪
androidx.compose.material3:material3-*:1.4.0-alpha05 is released. Version 1.4.0-alpha05 contains these commits .
API Changes
- Replace type in
WideNavigationRailState.current/targetvalue for an enum for better readability ( I2d6ab ) -
SplitButtonchange Shape api from data class to class for binary compatibility. ( I53812 ) - Added a tooltip API that has a
onDismissRequestparameter so makers can decide what happens when a user clicks outside of the tooltip. Deprecated the old API that doesn't contain this new parameter. ( I99aef ) - Change naming of
opticalCenteringtohorizontalCenterOptically. Making the modifier internal. Replace padding parameter with max start and end offset. ( I0b904 ) - Change
WideNavigationRailStateto have current/target value, remove enums in favor of boolean. ( Idfa29 , b/356039090 ) - Add
NavigationBarItemComponentOverride. ( I3a06a )
বাগ ফিক্স
- Fix the top and bottom app-bar behaviors to reliably change color when content is scrolled all the way. ( Idc4e8 , b/293665988 )
- Scroll behavior functions for top and bottom app bars now return a remembered behavior to perform better across recompositions. ( I0fdbe , b/207957336 )
- Modifier pararemeter is now applied after internal modifiers such as dragging behavior and semantics, instead of before. This affects the ordering in which modifiers are applied. ( I8d83f )
- Expanded bottom sheet remains expanded on size change. ( I2870b , b/324934884 )
- Correctly route status and navigation bar flags for windows properties. ( Ie674d , b/362539765 )
- Move modifier parameter to the scaffolds root, as documented. This aligns implementation with M2. ( I0235e , b/372311595 )
External Contribution
- Commonized
DatePickerDialogfunction. ( I7dced )
Version 1.4.0-alpha04
১৩ নভেম্বর, ২০২৪
androidx.compose.material3:material3-*:1.4.0-alpha04 is released. Version 1.4.0-alpha04 contains these commits .
আচরণগত পরিবর্তন
- Revert color changes introduced in aosp/3212478 to
iconButtonColors,iconToggleButtonColors,outlinedIconButtonColors,outlinedIconToggleButtonColorsandoutlinedIconToggleButtonBorder. Moved the now-reverted behavior into a new set of functions callediconButtonVibrantColorsand so forth to emphasize the high contrast colors being returned. ( Iffd8d )
নতুন বৈশিষ্ট্য
- Introduce
VerticalDragHandlecomponent ( I6c770 )
API Changes
- Rename
DismissibleModalWideNavigationRailDefaultstoModalWideNavigationRailDefaults. ( I8e877 ) - Add
NavigationBarComponentOverrides. ( I8a3f3 ) - Add
NavigationRailComponentOverride. ( I83e13 ) - Introduce
WideNavigationRailStateto handle collapsing/expanding of the rail, allowModalWideNavigationRailto be dismissible and deleteDismissibleModalWideNavigationRail. ( I88568 ) - Add xSmall, medium, large, and xLarge size defaults into toggle button defaults. ( Ie95d1 )
- Add xSmall, medium, large, and xLarge size defaults into button defaults. ( If8b6d )
বাগ ফিক্স
- Filter chip trailing icon color has been updated from Primary to
OnSurfaceContainer, per spec. All chip outline colors have been updated from Outline to Outline Variant, per spec. ( I68bd4 )
Version 1.4.0-alpha03
৩০ অক্টোবর, ২০২৪
androidx.compose.material3:material3-*:1.4.0-alpha03 is released. Version 1.4.0-alpha03 contains these commits .
API Changes
-
SheetStateconstructor with density has been deprecated in favor of positional and velocity thresholds. ( Ifd16e ) - Added
rememberTooltipPositionProviderthat contains an updated positioning logic. DeprecatedrememberPlainTooltipPositionProviderandrememberRichTooltipPositionProvider. ( Ie66e2 ) - Additional
ModalBottomSheetPropertiesallow for customization of status and navigation bar colors. By default, these update based on content color instead of system dark theme status. ( Ib874e , b/362539765 ) - Improved the input experience for date pickers: when in input mode, the date text field will be focused for immediate text entry. The change adds a
requestFocusparameter to theDatePickerand theDateRangePicker. You may prevent a focus by passingfalse. ( I12d09 , b/286399710 , b/340102743 ) - Caching the shape defaults into the Shape object. Making the shape defaults
@Composablefor toggle button. Collapsing the shapes into one shape default since the variants point to the same token file. ( Iaa014 )
বাগ ফিক্স
- Optimize Scaffold
contentPaddingbehavior to avoid always recomposing the body content when thecontentPaddingchanges. ( I8c8e2 , b/373904168 ) -
TextFieldLabelScopeprogressrenamed tolabelMinimizedProgress -
TextFieldLabelPositionDefaultrenamed toAttached. Interface members have been removed. ( If75c6 ) - Fixed an issue with the
DatePickerin input mode where validation errors could cause the component's height to change. ( I2e229 , b/280462363 ) - Make the material Slider change its value when control keys are pressed. ( I1c442 )
Version 1.4.0-alpha02
১৬ অক্টোবর, ২০২৪
androidx.compose.material3:material3-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits .
API Changes
- Updates to the date pickers to ensure consistent Locale usage throughout the
DatePickerandDateRangePickerwhen setting a Locale directly through aDatePickerStateor aDateRangePickerState. Note that when setting Locales directly to the state, it's up to you to ensure that the title and headline texts are localized accordingly, as their default text will still be applied according to the default platform Locale. ( I37073 , b/326490763 , b/321657276 ) -
SheetState.isAnimationRunningis now exposed. ( I9a3d7 ) -
DatePickerColorsnow correctly take precedence over any conflicting colors defined at the theme's Typography text styles. Also note that this update adjusts thecolorparameter's position in the date picker functions and introduces acontentColorparameter for customizing the header and title text colors. ( I30d03 , b/347031394 ) - Rename
SplitButtontoSplitButtonLayoutand removeSplitButtoncolor variants APIs, variants will be achieve by re-using button variants provided bySplitButtonDefaults. ( I44c36 ) -
ModalBottomSheetnow hassheetGestureEnabledparameter ( I856cb , b/288211587 ) - Renamed the
standardMotionSchemeand theexpressiveMotionSchemeto standard and expressive. Both functions are now accessible through theMotionSchemecompanion object by callingMotionScheme.standard()andMotionScheme.expressive(). ( Iceccf ) - Adding
maxWidthparameter to plain and rich tooltips. It defaults to the design spec of 200 dp for plain tooltips and 320 dp for rich tooltips. ( I30ce9 )
বাগ ফিক্স
- The
DatePickerandDateRangePickernow correctly update the displayed month when set via their state'sdisplayedMonthMillis. ( If9e47 , b/333414302 ) -
ModalBottomSheetcontent now moves content away from status bar. ( I5114c , b/321877275 , b/336962418 , b/342093067 ) - [Bottom Sheet] Change back callback priority to
PRIORITY_DEFAULTto allow IME keyboard to dismiss first. ( I447fb ) - Fix crashes in the
DatePickerandDateRangePickerwhen the minimum selectable year is set to a future year. ( I78656 , b/319395747 ) - Fix a date-picker issue to update the UI when an updated
SelectableDatesinstance is applied. ( Iad59a , b/290135807 , b/339898760 )
Version 1.4.0-alpha01
২ অক্টোবর, ২০২৪
androidx.compose.material3:material3-*:1.4.0-alpha01 is released. Version 1.4.0-alpha01 contains these commits .
আচরণগত পরিবর্তন
- Library no longer adds a dependency to
material-icons-coreso if your project relied on that, you will have to explicitly add that dependency in yourbuild.gradle[.kts]files. ( I735ff , b/349894318 ) -
NavigationBarItemandNavigationRailItem's active label color change fromonSurfacetosecondaryin order to improve usability, color contrast and improve coherence within the system ( Ibc297 ), to revert to the previous behavior, copy the default colors and change theselectedTextColortoMaterialTheme.colorScheme.onSurface. - Material 3 components are now using the new
MotionSchemeto define their motion. ( Ie0f93 ) - Indeterminate circular Progress Indicator motion changes ( I3c07e )
- Update
OutlinedIconButtonColorsandOutlinedIconToggleButtonColorsfor better color contrast. ( I2743d ) - Updated container and content color for
FilledIconToggleButtonColorsandFilledTonalIconToggleButtonColors. ( Ic5d0f ) - Updated
OutlinedButtonborder color fromoutlinetooutlineVariant. ( 057f00 )
API Changes
- Added an optional
reverseLayoutparameter to theTopAppBar'senterAlwaysScrollBehaviorfunction to better support content that was set with areverseLayout. ( I4e0e5 ) -
SegmentedButtonnow supportscontentPaddingargument. ( I5ad91 , b/358414376 ) -
PullToRefreshStatedoes no longer have default implementation forisAnimating( I6a593 ) - Added new overloads of Material
TextFieldandOutlinedTextFieldthat useTextFieldState. Added decoration box APIs that are compatible withTextFieldDecorator. ( If13a1 ) - Added parameter to control text field's
labelPosition. UsingalwaysMinimizeallows the UI pattern of displaying a label and placeholder in a text field at the same time even when the field is unfocused. ( I1ef2c ) - Added Material
SecureTextFieldandOutlinedSecureTextFieldfor password entry fields. ( I7e22d ) - Added a scope to text field labels to query animation progress. ( If5ec8 )
- Adds support for
MotionEvent.CLASSIFICATION_DEEP_PRESSto tooltips. ( I62e6a ) -
TimePickerState'sisAfternoonis now an extension val instead of a var in the interface, renamed toisPm( I89a97 ) - Updating typography class to support emphasized type scales. ( Ifa13c )
- Added
ModalWideNavigationRailAPI and renamedModalExpandedNavigationRailAPIs toDismissibleModalWideNavigationRail. ( Ic9118 ) - Updated
FloatingAppBarScrollBehaviorto auto-calculate thescreenOffsetand not require a@Composable. ( Idf349 ) - Updates to the
LoadingIndicatorAPI to fix the naming at its defaults object. Added aLoadingIndicatorElevationconstant at thePullToRefresh. ( I1d72b ) - Updates to the
LoadingIndicatorAPI to fix the naming at its defaults object. Added aLoadingIndicatorElevationconstant at thePullToRefresh. ( I1d72b ) - Added an
amplitudeand awaveSpeedparameters to the indeterminate variations of theLinearWavyProgressIndicatorand theCircularWavyProgressIndicator. ( I2a0c5 ) - Support changing an icon toggle button's shape based on its pressed or checked state. ( Ibc781 )
- Updating typography class to support emphasized type scales. ( Ifa13c )
-
SplitButtonshape morphs based on default / pressed state. RemovedAnimatedTrailingButtonapi becauseTrailingButtonapi can offer the same customizations ( I95066 ) - Add modifier to animate showing and hiding of FAB, eg when content scrolls. ( I8338d )
- Adding connected button group shapes and spacing to
ButtonGroupDefaultsto be used in a sample. ( I68e30 ) - Split button add horizontal padding for trailing button and enable optical centering calculated from start and end corner differences ( I122e2 )
- Introducing a new Material
MotionSchemeto allow setting a scheme for the component's motion. The scheme is set through theMaterialTheme. ( Id50c2 )
বাগ ফিক্স
- Apply the correct focus traversal index to
Scaffoldchild Composables. The order istopBar,bottomBar, fab, content, snackbar. ( I5936b ) - Fixed an issue at the
DatePickerandDateRangePickerwhere in certain locales and format-skeletons some of the date elements (eg month names) did not start with a capital letter. ( I1430f ) - Integrate FAB and FAB Menu component tokens (minor visual updates to paddings and text) ( Ib57f3 )
-
ModalBottomSheetis now first in semantic traversal order, followed by the scrim. ( I436f9 , b/358594665 ) - Fix bottom app bar not disappearing entirely when scrolling under the navigation pill in edge to edge mode ( I3ee21 )
Compose Material3 Version 1.3
Version 1.3.2
৯ এপ্রিল, ২০২৫
androidx.compose.material3:material3-*:1.3.2 is released. Version 1.3.2 contains these commits .
বাগ ফিক্স
-
ListItemcorrects its intrinsic height calculation, now reserving the appropriate amount of space in Layout. - Remove excess
NavigationBarItemlabel padding, correctly aligning with spec. - Corrects
TabRowLayout in RTL mode.
সংস্করণ 1.3.1
৩০ অক্টোবর, ২০২৪
androidx.compose.material3:material3-*:1.3.1 is released. Version 1.3.1 contains these commits .
বাগ ফিক্স
- The
DatePickerandDateRangePickernow correctly update the displayed month when set via their state'sdisplayedMonthMillis. ( If9e47 , b/333414302 ) - Fix crashes in the
DatePickerandDateRangePickerwhen the minimum selectable year is set to a future year. ( I78656 , b/319395747 ) - Fix a date-picker issue to update the UI when an updated
SelectableDatesinstance is applied. ( Iad59a , b/290135807 , b/339898760 ) - Change back callback priority used by bottom sheets to
PRIORITY_DEFAULTto allow IME keyboard to dismiss first. ( I447fb )
সংস্করণ 1.3.0
৪ সেপ্টেম্বর, ২০২৪
androidx.compose.material3:material3-*:1.3.0 is released. Version 1.3.0 contains these commits .
Important changes since 1.2.0
Major features of 1.3.0
New Material Design 3 components
- ক্যারোজেল
-
HorizontalMultiBrowseCarouselandHorizontalUncontainedCarouselEnhancements to existing Material Design 3 components.
-
- [
ModalBottomSheet] now supports Predictive Back on U+ ( Iccf32 , b/281967264 , b/304850357 ) - [
SearchBar] now supports Predictive Back on U+ ( I657f8 ) - Nav Drawer (
ModalDrawerSheetandDismissibleDrawerSheet) now supports Predictive Back on U+ as opt-in ( Ie5b0b ) -
DropdownMenunow supports custom color, shape, elevation, and border. ( I8e981 , b/289554448 , b/301887035 , b/283654243 ) - Updated Slider to improve accessibility by adding a gap and stop indicator. ( I3058e )
- Updated
ProgressIndicatorto improve accessibility by adding a gap and stop indicator. ( I21451 ) - Added a default caret for rich tooltip, support custom caret to be drawn given anchor
LayoutCoordinates. ( Ifd42c ) Breaking Changes - New pull-to-refresh APIs:
- Simplified
PullToRefreshStateto use fractional values instead of Dp units. -
isRefreshingstate is controlled by the user instead ofPullToRefreshState. - Separated out the nested scroll connection from
PullToRefreshState. It is handled by the newPullToRefreshBoxorModifier.pullToRefresh. - This update is a breaking change to previous experimental APIs. ( I0adeb , b/314496282 , b/317177684 , b/323787138 , b/324573502 , b/317177683 ) Visual Breaking Changes
- Simplified
- Update focus state overlay to be 0.1f to ensure sufficient color contrast. ( I7ea77 )
- Small adjustments to surface and background color defaults in
lightColorSchemeanddarkColorScheme. ( I9db52 ) - Updated Slider and
ProgressIndicatorcolors to follow the new Non-Text Contrast specs. ( I26807 ) -
SurfaceContainervariants are now used by components. Components which formally calculated color withSurfaceandTonalElevationnow useSurfaceContainerroles by default, which are not affected by tonal elevation. ( b/304584161 ) - Surface and Surface container baseline roles have been slightly adjusted, providing more tint in light and dark themes. ( I677a5 )
- Promoted experimental APIs to stable!
- কর্মক্ষমতা উন্নতি
Version 1.3.0-rc01
২১ আগস্ট, ২০২৪
androidx.compose.material3:material3-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits .
বাগ ফিক্স
-
ModalBottomSheetis now first in semantic traversal order, followed by the scrim. ( I436f9 , b/358594665 )
Version 1.3.0-beta05
২৪ জুলাই, ২০২৪
androidx.compose.material3:material3-*:1.3.0-beta05 is released. Version 1.3.0-beta05 contains these commits .
- Fixed issue where
BottomSheetcontent is missing or cut off on Android N and O ( a10a2d ) - Increased slider's semantics bounds in order for
TalkBackto properly show the focus indicators around the thumbs. ( 0b5a1d )
Version 1.3.0-beta04
২৬ জুন, ২০২৪
androidx.compose.material3:material3-*:1.3.0-beta04 is released. Version 1.3.0-beta04 contains these commits .
Version 1.3.0-beta03
১২ জুন, ২০২৪
androidx.compose.material3:material3-*:1.3.0-beta03 is released. Version 1.3.0-beta03 contains these commits .
External Contribution
- Make
androidx.compose.material3.DropdownMenuavailable from common source set. ( If62c0 )
Version 1.3.0-beta02
২৯ মে, ২০২৪
androidx.compose.material3:material3-*:1.3.0-beta02 is released. Version 1.3.0-beta02 contains these commits .
API Changes
-
Modifier.pullToRefreshIndicatorsupports elevation, update Pull To Refresh APIs to have enabled be a boolean, instead of a lambda. Support content alignment inPullToRefreshBox( I75679 ) - Making
TooltipScopea sealed interface and creating an internal implementation to use inTooltipBoxand Label. ( I3833e ) - Added two new modifiers to
CarouselItemScope-maskClipandmaskBorder- to easily add a shape and border to any carousel item ( Id67a1 ) -
TimePickerStateis now an interface and allows for setting the time ( I88546 ) - Updated API for styling the links: moved the
TextLinkStylesto theTextStyleand removed theTextDefaultsfrom material. ( I5477b )
বাগ ফিক্স
-
ModalBottomSheetstatus and nav bar icons now respond to dark theme status. ( Ie1fe7 , b/338342149 ) - Added close sheet semantics to
ModalBottomSheetscrim. ( 0e61cb , b/328801864 )
External Contribution
- Make
androidx.compose.material3.AlertDialogavailable from common source set ( Ia33f5 ) - Make
ModalBottomSheetavailable from common source set ( Id7cc7 )
Version 1.3.0-beta01
১৪ মে, ২০২৪
androidx.compose.material3:material3-*:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits .
API Changes
- Using
DpSizeinstead ofCaretProperties. RemovingCaretProperties. RenameCaretScopetoTooltipScope. ( Id9a76 ) - Updated the API for getting Material themed links in text. Specifically, removed the methods from the
TextDefaultsfor constructing themedLinkAnnotationsand parse HTML with themed links. Instead, added aTextLinkStylesclass that allows to style the links as a parameter to the Text composable. ( I31b93 )
Version 1.3.0-alpha06
১ মে, ২০২৪
androidx.compose.material3:material3-*:1.3.0-alpha06 is released. Version 1.3.0-alpha06 contains these commits .
Breaking Changes
New pull-to-refresh APIs:
- Simplified
PullToRefreshStateto use fractional values instead of Dp units. -
isRefreshingstate is controlled by the user instead ofPullToRefreshState. - Separated out the nested scroll connection from
PullToRefreshState. It is handled by the newPullToRefreshBoxorModifier.pullToRefresh. - This update is a breaking change to previous experimental APIs. ( I0adeb , b/314496282 , b/317177684 , b/323787138 , b/324573502 , b/317177683 )
- Simplified
API Changes
-
RippleConfiguration#isEnabledhas been removed, andLocalRippleConfigurationhas been made nullable. To disable a ripple, instead of providing aRippleConfigurationwithisEnabled = false, providenulltoLocalRippleConfiguration. ( I22725 ) -
ModalBottomSheetmore accurately draws scrim over status bar when edge to edge is enabled. Modal bottom sheet content can now consume window insets, allowing for visible content above the navigation bar.ModalBottomSheetparameterwindowInsetsrenamed tocontentWindowInsetsto specify where the insets will be applied, these are no longer tied to window logic.contentWindowInsetstype has been changed to a function which returnsWindowInsets, to allow it to be resolved within its new window. ( I39630 , b/274872542 , b/300280229 , b/290893168 ) -
PrimaryScrollableTabRowandSecondaryScrollableTabRownow use custom layout instead of subcomposition, which should improve performance. ( I991e0 ) - Text links got pressed state styling option in addition to normal styling, hovered and focused.
TextDefaultsmethods each got apressedStyleargument to support that. ( Ic473f , b/139312671 )
বাগ ফিক্স
- Navigation drawer drag anchors now match the
drawerContent's width. ( Ibc72f , b/245355396 ) -
OutlinedTextFieldtop padding for label now accounts for system font size. ( Idc781 ) - Fixed package location of
CalendarLocale. ( Ifa235 ) - [Predictive Back] Update predictive back animations to use interpolation curve of (0.1, 0.1, 0, 1) ( I2591a )
Version 1.3.0-alpha05
১৭ এপ্রিল, ২০২৪
androidx.compose.material3:material3-*:1.3.0-alpha05 is released. Version 1.3.0-alpha05 contains these commits .
নতুন বৈশিষ্ট্য
-
SearchBarandDockedSearchBarhave new overloads that take a text field parameter. This allows styling the text field separately from the rest of the search bar as well as passing in custom text fields. The text field of the current implementation has been made available asSearchBarDefaults.InputField. ( I50c73 , b/275074248 , b/278773336 , b/326627700 ) - the lambda
drawTickhas been added to the public API in order to customize the ticks if needed ( I0c048 )
API Changes
- Text links got pressed state styling option in addition to normal styling, hovered and focused ( I5f864 , b/139312671 )
- Updated
CarouselItemInfoto expose a mask Rect that the item is being clipped by ( I785d8 ) - Removed
BasicTooltipStatefrom the Material 3 public API. Its functionality is combined withTooltipStateuntil Foundation'sBasicTooltipis stabilized. ( Icda29 ) - Added a
TextDefaultsobject that contains methods to construct aLinkAnnotationand parse HTML-tagged string which applyMaterialThemeto the links ( I98532 , b/139312671 ) -
ExposedDropdownMenuBoxScopeno longer permits subclasses. Exposed dropdown menus now have aMenuAnchorTypewhich should be passed tomenuAnchorto support better a11y. This should be used instead of passingfocusabletoExposedDropdownMenu, which is now deprecated.menuAnchorhas a new parameter to controlenabledstate. ( I55ee6 , b/257209915 , b/308840226 ) - Fixed the border color of
OutlinedButtonwhen disabled. AddedButtonDefaults.outlinedButtonBorder("enabled")overload that takes the enabled state. ( Ie650b , b/318461363 ) - Added a new
CarouselItemInfoclass to help clients get information about the item sizes. ( I9070c ) -
ColorSchemeconstructor without surface containers is now deprecated. Please migrate to the constructor that includes surface containers. ( I35c11 ) - [Outlined]
TextFieldDefaultsContainerBoxrenamed toContainer. ( Ie8d3b )
বাগ ফিক্স
-
BottomSheetScaffoldwill no longer scroll from nested scroll ifsheetSwipeEnabledis false. ( I5e1c1 , b/306464779 ) - Removed some
ExperimentalMaterial3ApiOptIn annotation inIconButtonSamples.kt. ( I111d1 )
Version 1.3.0-alpha04
৩ এপ্রিল, ২০২৪
androidx.compose.material3:material3-*:1.3.0-alpha04 is released. Version 1.3.0-alpha04 contains these commits .
নতুন বৈশিষ্ট্য
- Added two experimental versions of the Material3 Carousel -
HorizontalMultiBrowseCarouselandHorizontalUncontainedCarousel( I88d64 ) - Updated Compose M3 Nav Drawer (
ModalDrawerSheetandDismissibleDrawerSheet) to support Predictive Back on U+ as opt-in ( Ie5b0b ) - Added a new API in Icon to allow passing color tint as lambda to avoid recomposing. ( I5b5a2 )
- Top app bar APIs now support custom heights for both fixed and collapsible sections. ( Ib8b0c , b/323403446 )
API Changes
- Top app bar APIs now support custom heights for both fixed and collapsible sections. Fixed an issue that caused single-line top app bars to recompose too many times when scrolling content. Resolved an issue where
MediumTopAppBartruncated titles on devices with large font/display settings. ( Ib8b0c , b/323403446 , b/300953236 , b/286296147 , b/330410290 , b/308540676 ) -
SegmentedButtonand associated APIs are now stable ( I8a158 ) -
SwipeToDismissBox,SwipeToDismissBoxDefaults,SwipeToDismissBoxStateandSwipeToDismissBoxValueare now marked stable. ( I5f000 ) - Removed deprecated
DismissDirectionandDismissValueenums and APIs. ( I89ccd ) - Added an experimental tag to Carousel's
CarouselStatecompanion object. ( I94154 ) - Deprecate
LocalMinimumInteractiveComponentEnforcementand introducedLocalMinimumInteractiveComponentSizeto replace it. ( I7a7ac ) -
SearchBarColorsconstructor is now public. ( I769ca ) - Added a
gesturesEnabledparameter toSwipeToDismissBox. ( Idc59f , b/324170119 ) - Removed text field APIs that were marked as deprecated and experimental. ( I1305f )
Version 1.3.0-alpha03
২০ মার্চ, ২০২৪
androidx.compose.material3:material3-*:1.3.0-alpha03 is released. Version 1.3.0-alpha03 contains these commits .
Visual Breaking Changes
- Update focus state overlay to be 0.1f to ensure sufficient color contrast. ( I7ea77 )
- Small adjustments to surface and background color defaults in
lightColorSchemeanddarkColorScheme. ( I9db52 )
নতুন বৈশিষ্ট্য
- Added parameters to customize
ExposedDropdownMenu. In particular, menus now have afocusableparameter (defaulttrue) that should be set tofalsewhen working with editable text fields. ( I4184c , b/323694447 , b/278609042 )
API Changes
- The
ScaffoldSubcomposeInMeasureFixflag has been removed. ( Ie2a4b ) -
NavigationRailItemColorsis now marked as@Immutable. ( If6112 , b/327660613 ) -
NavigationBarItemColorsis now marked as@Immutable. ( I42a30 , b/298064514 ) - Reorder params in Slider Track composable. ( I9f315 )
-
ExposedDropdownMenuis now implemented usingPopup. The behavior should be the same except focusable menus with editable text fields may be dismissed when typing on the keyboard.
বাগ ফিক্স
- Surface and Surface container baseline roles have been slightly adjusted, providing more tint in light and dark themes. ( I677a5 )
- Updated Slider and
ProgressIndicatorcolors to follow the new Non-Text Contrast specs. ( I26807 ) - Update focus state overlay to be 0.1f to ensure sufficient color contrast. ( I7ea77 )
- Small adjustments to surface and background color defaults in
lightColorSchemeanddarkColorScheme. ( I9db52 )
Version 1.3.0-alpha02
৬ মার্চ, ২০২৪
androidx.compose.material3:material3-*:1.3.0-alpha02 is released. Version 1.3.0-alpha02 contains these commits .
API Changes
- Making the slider states stable again. Making
State.onValueChangeFinisheda val again. WrappingonValueChangeFinishedin arememberUpdatedState. ( I82ab2 , b/322269951 ) - The Navigation components now use the new
SurfaceContainerroles.DrawerDefaultsnow provides distinctstandardContainerColorandmodalContainerColorattributes.DrawerDefaults.ModalDrawerElevationis now0.dp. ( I7fbac ) - Removing
@Stablefrom the states ofSlidersince we're changingstate.onValueChangeFinishedto avar. ( Ied34a , b/322269951 ) -
ModalBottomSheetandStandardBottomSheetanimation spec is now aTweenSpec, updated from a spring animation. This resolves an issue with a visible overshoot. DeprecatedSheetStateconstructors without density have now been removed. ( I7babc , b/285847707 )
বাগ ফিক্স
-
SurfaceContainervariants are now used by components. Components which formally calculated color with Surface andTonalElevationnow useSurfaceContainerroles by default, which are not affected by tonal elevation. ( b/304584161 ) - Fixed bug that caused
ElevatedFilterChip's unselected, disabled container color to be black. ( I400e6 , b/322407043 ) - Fix indeterminate progress indicator when the progress is 0 ( Id6582 )
- Fixed an issue with
SliderandRangeSlideron RTL layout ( Iab0e1 ) - Adding
SliderRangeTolerancefor the slider range calculation since Float rounding can be inaccurate. ( Ic918a , b/324934900 ) - Ensure that the
DatePickerDialogdisplays its buttons when nesting aDateRangePickeror when displaying any type of date picker on small screens with larger fonts. ( Ie4758 , b/325107799 , b/277768544 ) -
Menunow leverages theSurfaceContainerrole for container color.MenuDefaults.TonalElevationis now0.dp. ( I135b7 ) -
TextFieldnow leverages theSurfaceContainerHighestrole for container color. ( I4dced ) - Elevated chips now leverage the
SurfaceContainerLowrole ( I7cd2f ) -
DatePickercontainer color is nowSurfaceContainerHigh.DatePickerDefaults.TonalElevationis now0.dp. ( Ida753 ) - Updates Bottom Sheets container color and drag handle color. ( I72a0a )
-
RichTooltipcontainer color is nowSurfaceContainer. ( Ia8b45 ) -
SearchBarcontainer color is nowSurfaceContainerHighest.SearchBarDefaults.TonalElevationis now0.dp. ( I88604 ) - Updates switch disabled and unselected tracks/icons to leverage the
SurfaceContainerHighestcolor role. ( I7687a ) -
AlertDialogcontainer color is nowSurfaceContainerHigh. ( Ie0433 ) -
BottomAppBarcontainer color is nowSurfaceContainer.TopAppBaronScrollcolor is nowSurfaceContainer. ( I41630 ) -
ElevatedCardcontainer color is nowSurfaceContainerLow.FilledCard's container color ofSurfaceContainerHighest. ( I35141 ) -
ElevatedButtoncontainer color is nowSurfaceContainerLow.FilledIconButton's when unselected now have a container color ofSurfaceContainerHighest. ( I792c9 ) - Updates
TimePickercontainer color and clock dial color role toSurfaceContainerHighest. ( I43b93 )
Version 1.3.0-alpha01
২১ ফেব্রুয়ারী, ২০২৪
androidx.compose.material3:material3-*:1.3.0-alpha01 is released. Version 1.3.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
- Update Compose M3
ModalBottomSheetto support Predictive Back on U+ ( Iccf32 , b/281967264 , b/304850357 ) - Updated Compose M3
SearchBarto support Predictive Back on U+ ( I657f8 ) - Updated Slider to improve accessibility by adding a gap and stop indicator. ( I3058e )
- Updated
ProgressIndicatorto improve accessibility by adding a gap and stop indicator. ( I21451 ) - Adding a default caret for rich tooltip, new rich tooltip API now allows for custom caret to be drawn given anchor
LayoutCoordinates. ( Ifd42c )
আচরণগত পরিবর্তন
- Material components have been migrated to use the new ripple APIs, and no longer query
RippleTheme.
API Changes
- The fun
drawStopIndicatoris now public. ( I3f59f ) - Mark the
DatePicker'sformatWithSkeletonfunction as internal ( Ic65dc ) -
DropdownMenunow supports custom color, shape, elevation, and border. ( I8e981 , b/289554448 , b/301887035 , b/283654243 ) - Material3 components exposing a
MutableInteractionSourcein their API have been updated to now expose a nullableMutableInteractionSourcethat defaults tonull. 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. ( I41abb , b/298048146 ) - Adds
RippleConfigurationandLocalRippleConfigurationto allow for per-component / sub-tree customization of ripples using fixed values. For example, to change the color of a component you don't control, or to disable a ripple for a component. In most cases the default values should be used: these APIs are an escape hatch for customization of individual components / limited sub-trees. For wider changes and custom design systems, you should instead build your own ripple usingcreateRippleModifierNode. ( I7b5d6 , b/298048146 ) - Adds new ripple API in material3 which replaces the deprecated
rememberRipple. Also adds a temporaryCompositionLocal,LocalUseFallbackRippleImplementation, to revert material3 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. ( I34cbc , b/298048146 )
বাগ ফিক্স
- Removed subcomposition inside
ModalBottomSheetto improve performance. Fixed an issue whereModalBottomSheetcould crash in specific scenarios in combination withLookaheadScope. ( I2a198 ) - Removed subcomposition inside
BottomSheetScaffoldto improve performance. Fixed an issue whereBottomSheetScaffoldwould crash in specific scenarios in combination withLookaheadScope. ( Ie6401 ) - The badge alignment is adjusted to be closer to the center of the anchor content in respect to the top-right corner. ( I18a28 )
- Fix an a11y issue with the
DateRangePickerwhere the Month-Year text title was conveyed as actionable to the screen reader, Switch access, and Voice access users. ( I2ac55 ) - Fixed
mediumTopAppBarColorsparam order bug. ( Ibe64a )
Version 1.2
Version 1.2.1
৬ মার্চ, ২০২৪
androidx.compose.material3:material3-*:1.2.1 is released. Version 1.2.1 contains these commits .
বাগ ফিক্স
- Make the Slider states stable again. Making
State.onValueChangeFinisheda val again. WrappingonValueChangeFinishedin arememberUpdatedState. ( Ie8fd0 , b/322269951 ) - Removing
@Stablefrom the states ofSlidersince we're changingstate.onValueChangeFinishedto avar. ( I82ba1 , b/322269951 ) - Fix
NavigationBarcustom colors to copy from defaults. ( 80a779 , b/326894020 ) - Fix regression in
ExposedDropdownMenuto make it focusable again ( 3fcec1 , b/323694447 ) - Fix button color caching issue ( 3e5bbc b/327371655 )
সংস্করণ 1.2.0
৭ ফেব্রুয়ারী, ২০২৪
androidx.compose.material3:material3-*:1.2.0 is released. Version 1.2.0 contains these commits.
জ্ঞাত সমস্যা
- A View-Compose interop rendering bug was introduced in
PrimaryTabRowas part of a performance improvement change. The workaround is to useTabRowwithTabRowDefaults.PrimaryIndicator
Important changes since 1.1.0
New Material Design 3 Components
- রিফ্রেশ করতে টানুন
- সেগমেন্টেড বোতাম
Enhancements to existing Material Design 3 components.
- Bottom app bar (RTL alignment, auto-hide on scroll)
- Tabs visual update
- Badge (alignment update)
Promoted experimental APIs to stable!
কর্মক্ষমতা উন্নতি
- Please see this blog post for more details!
Version 1.2.0-rc01
২৪ জানুয়ারী, ২০২৪
androidx.compose.material3:material3-*:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits.
বাগ ফিক্স
- Fixed
mediumTopAppBarColorsparam order bug. ( Ibe64a ) - Fixed a bug introduced in
1.2.0-beta02inCardDefaults.cardColorsthat did not updatecontentColorbased on thecontainerColorparam value. ( Iee041 , b/319671246 ) - Fixed a bug in
disabledContentColorintroduced in1.2.0-beta02and added small optimization. ( I6dda1 , b/318428829 )
Version 1.2.0-beta02
১০ জানুয়ারী, ২০২৪
androidx.compose.material3:material3-*:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.
Known Bug
- A bug in
IconButtonColorswill by default assigndisabledContentColorto an alpha (0.38f) ofLocalContentColorinstead of the user specifiedcontentColor. The workaround is to explicitly set thedisabledContentColor. This will be fixed in the next release.
API Changes
- Adding the capability to enable tooltip carets for Plain
TooltipAPIs. ( Ibf767 ) -
SwipeToDismissState,rememberSwipeToDismissandSwipeToDismissValueare all renamed to have_SwipeToDismissBox_. ( I68d6d )
বাগ ফিক্স
- Fixed
ListItemend padding value to align with spec. ( Ibd68b , b/305342674 ) - Outline color for outlined card is now correctly mapped to
OutlineVariant. ( I75480 , b/310979715 ) - Dynamic color now pulls from system defined color roles. This improves contrast for accessible content, and more closely aligns dynamic color to the Material spec. ( I1de96 )
- Fixed
ModalBottomSheetback handling on Android T/13+ whenandroid:enableOnBackInvokedCallback="true". ( I728dc , b/306196110 )
Version 1.2.0-beta01
১৩ ডিসেম্বর, ২০২৩
androidx.compose.material3:material3-*:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.
API Changes
- Mark
TabIndicatorScopeas experimental. ( I45c88 ) - Removing deprecated experimental APIs for tooltip. ( I438cb )
- Change new
TabRowoverloads to not use subcompositions. This results in a different way to build theTabRowindicators with custom modifiers provided. ( Ife741 ) - Deprecate
DismissDirectionandDismissValueAPI's. These have been merged toSwipeToDismissValue, whose values indicate both position and direction ofSwipeToDismissBox.DismissState.progressis now marked as aFloatRangebetween0.0and1.0.DismissStatedeprecated Saver and Constructor have now been removed.SwipeToDismisscomponent, state and defaults object have been remarked as experimental. ( Ib54f2 )
বাগ ফিক্স
- The default indicator for
PullToRefreshis now an open arrowhead instead of a solid triangle. ( I67be3 )
Version 1.2.0-alpha12
২৯ নভেম্বর, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha12 is released. Version 1.2.0-alpha12 contains these commits.
API Changes
-
RangeSlidernow takes a Kotlin range (eg,0f..1f) instead of a customFloatRangevalue class.SnapFlingBehavior.ktnow also uses a Kotlin range. ( I025cb ) - Mark Modifier factory functions as
@Stable. ( Ib109f )
Version 1.2.0-alpha11
১৫ নভেম্বর, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha11 is released. Version 1.2.0-alpha11 contains these commits.
নতুন বৈশিষ্ট্য
- Implements
PullToRefreshContainerandPullToRefreshState, which together provide a pull to refresh implementation in Material3. ( I16456 , b/261760718 )
API Changes
- Mark the
SwipeToDismissBoxDismissDirectionandDismissValueas experimental. ( I517b0 ) - Rename
SwipeToDismisstoSwipeToDismissBox. RenamebackgroundtobackgroundContentanddismissContentto trailingcontentlambda. ( I7f4d3 ) - Make the constructor for
ChipElevationandSelectableChipElevationpublic. ( Ie0c48 , b/308432421 ) - Adding
ModalBottomSheetProperties. MovingsecurePolicyintoModalBottomSheetProperties. AddingisFocusableandshouldDismissOnBackPresstoModalBottomSheetProperties. These new booleans help determine how modal bottom sheet should handle IME events. ( Iea56f , b/278216859 ) - Updated
RangeSliderandSliderstates to removeinitialOnValueChange, the initial prefixes, and appropriate kdocs. ( I57d30 ) - Deprecate
ChipBorderclass and its associated function calls, recommend usingBorderStrokedirectly instead. ( I89cc2 ) - Foundation Tooltip APIs are now
@ExperimentalFoundationApi. ( I30b0b ) -
TabRowandScrollableTabRoware no longer deprecated. The new Primary and Secondary variants are marked as experimental. ( I0def6 ) - Filter and input chips now use
BorderStrokedirectly. ( I07a8d ) -
SegmentedButtonnow usesBorderStrokedirectly. ( I89b9b ) - Renamed the generic
AlertDialogfunction toBasicAlertDialog, and deprecate the previous function. ( Idbe52 ) - Rename
SwipeToDismissAPIs toSwipeDismiss, and promote the newSwipeDismissAPIs to stable. ( I14cbe ) - Adding
tonalElevationandshadowElevationto tooltip APIs. Additionally, movingTooltipBox,PlainTooltip, andRichTooltipAPIs back to experimental since they were accidentally released as stable. ( If0f66 , b/293939035 ) - Promote experimental chip APIs to stable. ( Iea2c3 )
- Removed the
@ExperimentalMaterial3Apiannotation from the Material3 clickable Cards. ( I88dbf )
বাগ ফিক্স
- Fixed an issue where
SwipeToDismisswould crash in certain scenarios with nested Lookahead and Lazy layouts. ( Ica8d1 , b/297226562 )
Version 1.2.0-alpha10
১৮ অক্টোবর, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha10 is released. Version 1.2.0-alpha10 contains these commits.
API Changes
- Promoting
BadgeandBadgedBoxto stable. ( I67f16 , b/261565132 ) - Adding
securePolicyas a parameter toModalBottomSheet, so users can define the behavior forWindowManager.LayoutParams.FLAG_SECURE. ( Icdac8 , b/296250262 ) - Added new overloads of
LinearProgressIndicatorandCircularProgressIndicatorthat takeprogressas a lambda. These should be more performant than the previous versions. ( I824e6 , b/295616656 ) - Renames
StandardSizeClassestoAllSizeClasses. ( I8cb07 ) - Combine calculation functions of window size classes. ( Iad935 )
বাগ ফিক্স
- Fix a
DatePickercrash when quickly clicking the navigation arrow buttons when the displayed month is at the edge of the allowed range of years. ( I46f36 , b/290954897 , b/297002119 ) - [Nav rail/bar] Support transparent color for indicator. ( Ie0a9b , b/267289987 )
Version 1.2.0-alpha09
৪ অক্টোবর, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha09 is released. Version 1.2.0-alpha09 contains these commits.
API Changes
- Migrated
ModalNavigationDrawerandDismissibleNavigationDrawerto use newAnchoredDraggableAPIs.DrawerState'sanimateTohas been replaced by the open and close methods, and the offset is now exposed as a float instead of a state object. You can access the offset directly throughcurrentOffset. ( I0a72c ) - Non-Composable functions have been added for creating a
DatePickerStateandDateRangePickerStatedirectly. These functions can be used as an alternative to the ComposablerememberDatePickerStateandrememberDateRangePickerStatefunctions when needed. ( I70326 , b/291524052 ) - Fixed and Scrollable
TabRowsnow have Primary and Secondary variants. These correctly map to the color and indicator behavior as defined in Material3. -
PrimaryScrollableTabRowandSecondaryScrollableTabRownow expose scroll state. ( Iec8f5 , b/260572337 ) - Adding a new
sheetMaxWidthparameter that developers can set to specify a maximum width that the sheet will span. Dp.Unspecified can be passed in for the parameter if a sheet that spans the entire screen width is desired. ( Ifb7c9 , b/266697696 ) - Adding back
PlainTooltipBoxandRichTooltipBoxAPIs as deprecated methods. ( I246fa )
বাগ ফিক্স
- Fix a crash when the
DatePickeris initialized with aDatePickerFormatterthat has certain date skeletons that stay the same when converted to date patterns (such as YY). ( I01f29 )
Version 1.2.0-alpha08
২০ সেপ্টেম্বর, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha08 is released. Version 1.2.0-alpha08 contains these commits.
Behavior Breaking Change
-
ColorSchemeis now 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. ( Ic447d , b/297212873 ) - Tonal Elevation no longer animates in different interaction states to match spec. ( Icdd12 )
API Changes
- Added a new
BottomAppBarthat takes as parameter aBottomAppBarScrollBehaviorin order to auto-hide it when content is scrolled. Also addedFabPosition.EndOverlayallowing the FAB to overlay the bottom app bar in the scaffold instead of being anchored above it. ( Iecb47 ) - Added a simple Label component that builds on top of
BasicTooltipBoxthat won't dismiss when tapping outside of the bounds of the label. ( I821f9 )
বাগ ফিক্স
- Removed the use of
rememberSaveablefor tooltips. ( Icc131 , b/299500338 ) - Introduced a temporary flag to control whether Scaffold should measure its children during measurement or during placement. By default, this will measure in measurement. If you are facing issues with the new behavior, please file an issue. ( I0b354 )
- Fixed horizontal Edge to Edge in
BottomSheetby using the correct measurement for device screen width. ( I1df0c , b/299058752 ) - Fixed a bug where
ModalBottomSheetwas not callingonDismissedRequestwhen dismissing it by swiping down on the sheet. ( Idfdd8 )
Version 1.2.0-alpha07
৬ সেপ্টেম্বর, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha07 is released. Version 1.2.0-alpha07 contains these commits.
নতুন বৈশিষ্ট্য
- Auto-mirror icons support has been added in
compose material 1.6.0-alpha05, please see the release notes for details on auto-mirror icons.
API Changes
-
SliderStateimplementsDraggableState( I9b116 ) - Change shape to be a required param. Rename
positiontoindexin shape helper function. ( I34941 ) - Updates the
DatePickerformatWithSkeletonto include a map that is used as a cache for performance improvements. ( I3195f ) - Added
BasicTooltipBoxtocompose.foundationand updatedPlainTooltipBoxandRichTooltipBoxto useTooltipBoxwith newPlainTooltipandRichTooltipcomposables. ( I79e1d )
বাগ ফিক্স
-
dynamicLightColorSchemeanddynamicDarkColorSchemenow return higher chroma colors for surface andsurfaceContainerroles. ( I5e901 ) - Fixed an issue where some components using Subcomposition (eg
BottomSheetScaffold) inside a Scaffold inside aLookaheadScopewere attempting to read their size too early. ( I297b4 , I871f1 , b/295536718 )
Version 1.2.0-alpha06
২৩ আগস্ট, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha06 is released. Version 1.2.0-alpha06 contains these commits.
বাগ ফিক্স
- Fixed
DropdownMenu'soffsetcalculation so x offsets depend solely on the local layout direction, and y offsets will no longer be reversed when the menu is near the bottom of the screen. ( Iccc74 , b/294103942 ) - Fixed
DropdownMenu'soffsetcalculation so x offsets depend solely on the local layout direction, and y offsets will no longer be reversed when the menu is near the bottom of the screen. ( Ib87a2 , b/294103942 )
Version 1.2.0-alpha05
৯ আগস্ট, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha05 is released. Version 1.2.0-alpha05 contains these commits.
API Changes
- Updates to the Checkbox and
TriStateCheckboxcolors. TheCheckboxDefaults.colors()disabledUncheckedColornow only affects the border of the checkbox. Special cases that require you to set the internal box color when disabled and unchecked requires a custom constructed instance of aCheckboxColorswith the desired color values. ( I77d17 , b/291943198 )
Version 1.2.0-alpha04
২৬ জুলাই, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- Experimental Segmented Button API ( Ifc8fb )
- Dividers now have a parameter to control orientation to support vertical dividers. ( I4c899 , b/288438593 )
API Changes
- We are moving the density dependency to the component level. This applies to the following components:
SwipeToDismissand Sheet based components. Please use the new overload provided where density is a parameter. ( I1846e ) - Additional annotations to specify allowed inputs to composables ( Ief234 )
- Add an icon parameter to segmented button, split semantics so that segmented buttons can be selectable to implement single-select, and toggleable to implement multi-select, with
SelectableSegmentedButtonRowandToggelableSegmentedButtonRowrespectively. ( I38740 ) - Divider has been renamed to
HorizontalDivider. AddedVerticalDividerfunctionality. ( I5975c ) - Change the use of
ClosedFloatingPointRangefor the lighter weightFloatRangein experimental Material3 APIs to minimize autoboxing. ( I4aab5 ) - Added new Start alignment for
FabPosition( Ib7aea , b/170592777 )
বাগ ফিক্স
-
ModalBottomSheetrespects local layout direction. ( Ib4f44 , b/285628622 )
Version 1.2.0-alpha03
২১ জুন, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha03 is released. Version 1.2.0-alpha03 contains these commits.
আচরণগত পরিবর্তন
-
includeFontPaddingis nowfalseby default in Material 3 typography. The default line height style has also been changed toTrim.NoneandAlignment.Center, and explicitlineHeight(in sp) have been added to theTextStyles ofTypography. Consult the API docs if you want to customize these values, and see the blog post for an in-depth explainer of these changes. ( I6266f , Icabc3 )
নতুন বৈশিষ্ট্য
- Added an overload for
RangeSliderthat is a stateful version of the component. CreatedRangeSliderStatethat holds all of the information for the current active track, the measurements of the components of theRangeSlider, and the drag and gesture logic. ( I8c270 ) - Search bar now supports shadows via the newly added
shadowElevationparameter. ( Ia5369 , b/271040353 ) -
ColorSchemenow supports newSurfaceContainerroles . - Surface tonal elevation overlay can now be disabled with the
LocalTonalElevationEnabledcomposition local. ( Ic203c , b/277774590 )
API Changes
- Open the component colors constructors. ( I8c4a6 )
- Adding focusable parameter to both tooltip APIs, so that developers can have the tooltip consume touch events or not. Be cautious that this might break accessibility focus automatic traversal. ( Ie32d8 )
- Optimized accessibility for performance and memory allocations. ( Iede48 )
- Expose
DefaultSizeClassesand createStandardSizeClassesforWindowSizeClasses( I91838 ) - change
WindowWidth/HeightSizeClassto float value classes ( Ie686e )
বাগ ফিক্স
- Scaffold's
contentWindowInsetsparameter now respects consumed window insets. Note that the behavior of content padding based ontopBarandbottomBarremains unchanged when these parameters are provided. ( I08b73 , b/264601542 ) - Fix the alignment of the center top app bar to ensure that a long title doesn't render over the action icons or the navigation icon. ( I4369f , b/236994621 )
- Tab positions now enforce a minimum content width of 24.dp. This provides an accessible touch target for tab indicators. ( Id8861 )
- Dynamic color palettes from
dynamicLightColorSchemeanddynamicDarkColorSchemenow support new surface roles. ( I1252e ) - Updating the badge notification alignment to not clip when colliding with great grandparent. ( Idf75a )
Version 1.2.0-alpha02
২৪ মে, ২০২৩
androidx.compose.material3:material3-*:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.
API Changes
- Add window insets parameter to
ModalBottomSheet.- Scrim for
ModalBottomSheetmay now be drawn behind status bar withwindowInsetsset to zero - Updated default
ModalBottomSheetfunctionality to stay outside of system bars including navigation - Status bar inset handling is provided by drag handle in edge-to-edge mode.
-
BottomSheetDefaultsincludes window insets forBottomSheetWindow. ( I31200 , b/274872542 , b/272973615 , b/272334475 , b/268432129 , b/275849044 , b/275486106 , b/268433162 )
- Scrim for
- Deprecate
Indicatorand addPrimary/SecondaryIndicatorto match the M3 specs.PrimaryIndicatormatches the width of the tab's content whereasSecondaryIndicatorspans the full available width.SecondaryIndicatoris equivalent to the now deprecatedIndicatorand can be a direct replacement. ( I27604 ) - Added an option to pass in a
ScrollStatewhen constructing aDropdownMenuor anExposedDropdownMenufor controlling the vertical scroll state of the displayed menu items. ( Ia0734 , b/185304441 ) - Added an overload for
Sliderthat is a stateful version of the component. CreatedSliderStatethat holds all of the information for the current active track, the measurements of the components of theSlider, and the drag and gesture logic. ( I124a5 ) - Renaming the Semantics property
isContainertoisTraversalGroup( I121f6 ) - Added optimized
TextStyle.merge(...)with full parameter list. ( Iad234 , b/246961787 ) - Made
TooltipState,RichTooltipState, andPlainTooltipStatepublic interfaces. AddedRichTooltipStateImplandPlainTooltipStateImplfor default states. Addedremember*Statefunctions to obtain these implemented states. RemovedTooltipSyncin favor of anTooltipDefault.GlobalMutatorMutex. ( I7813d ) - Updated the
DatePickerColorsto include additional customization options for the date picker divider, navigation, and text input fields colors. ( I1a685 , b/274626815 ) -
DatePickerStateand theDateRangePickerStateare now public interfaces with default implementations that can be retrieved by therememberDatePickerStateandrememberDateRangePickerState. ( I71c52 ) - Removed the
dateValidatorfromDatePickerandDateRangePickerand introduced aSelectableDatesinterface that can be set on the state to control which dates or years are selectable in the UI. ( Ic2fc6 ) -
TimePickerremoved from stable API, further changes are expected in the state API ( I3f39a ) -
ModalBottomSheetmoved to android only.ModalBottomSheetis not recommended for desktop use, and the functionality is not actively maintained. ( Ib3778 )
বাগ ফিক্স
- Fixed the
AlertDialogdismiss action to appear below the confirm action when the actions stacked over each other to fit into the dialog's width. This fix aligns the implementation with the Material Design spec. ( I029de , b/235454277 ) - Fixed bug in
ListItemusing incorrect padding for three-line items. ( I6e235 ) -
ModalBottomSheetnow can display IME keyboard ( Idc508 , b/262140644 , b/268380384 , b/272483584 )
Version 1.2.0-alpha01
১০ মে, ২০২৩
androidx.compose.material3:material3:1.2.0-alpha01 and androidx.compose.material3:material3-window-size-class:1.2.0-alpha01 are released. Version 1.2.0-alpha01 contains these commits.
সংস্করণ 1.1
সংস্করণ 1.1.2
২০ সেপ্টেম্বর, ২০২৩
androidx.compose.material3:material3:1.1.2 and androidx.compose.material3:material3-window-size-class:1.1.2 are released. Version 1.1.2 contains these commits.
বাগ ফিক্স
- Fixed modifier incorrectly being passed to two composables. ( b/282761472 )
- Fixed
TimePickerStatereturns incorrect hours when initialized with 23 hours. ( b/278242122 ) - Fixed initial toggle state for noon and minute validation. ( b/269768197 , b/282790635 )
- Fixed
state.hourreturning incorrect value for 11pm. ( b/282761472 , b/278242122 )
সংস্করণ 1.1.1
২১ জুন, ২০২৩
androidx.compose.material3:material3:1.1.1 and androidx.compose.material3:material3-window-size-class:1.1.1 are released. Version 1.1.1 contains these commits.
বাগ ফিক্স
- Adds call for
ModalBottomSheetwithoutwindowInsetparam for binary compatibility. ( Ib7959 ) - Add window insets parameter to
ModalBottomSheet.- Scrim for
ModalBottomSheetmay now be drawn behind status bar withwindowInsetsset to zero - Updated default
ModalBottomSheetfunctionality to stay outside of system bars including navigation - Status bar inset handling is provided by drag handle in edge-to-edge mode.
-
BottomSheetDefaultsincludes window insets forBottomSheetWindow. ( I31200 , b/274872542 , b/272973615 , b/272334475 , b/268432129 , b/275849044 , b/275486106 , b/268433162 )
- Scrim for
সংস্করণ 1.1.0
১০ মে, ২০২৩
androidx.compose.material3:material3:1.1.0 and androidx.compose.material3:material3-window-size-class:1.1.0 are released. Version 1.1.0 contains these commits.
Major features of 1.1.0
New Material Design 3 components
Enhancements to existing Material Design 3 components.
Promoted experimental APIs to stable!
Please see this blog post for more details!
Version 1.1.0-rc01
১৯ এপ্রিল, ২০২৩
androidx.compose.material3:material3:1.1.0-rc01 and androidx.compose.material3:material3-window-size-class:1.1.0-rc01 are released. Version 1.1.0-rc01 contains these commits.
API Changes
-
TimePickerremoved from stable API, further changes are expected in the state API ( I3f39a ) -
ModalBottomSheetmoved to android only.ModalBottomSheetis not recommended for desktop use, and the functionality is not actively maintained. ( Ib3778 )
Version 1.1.0-beta02
৫ এপ্রিল, ২০২৩
androidx.compose.material3:material3:1.1.0-beta02 and androidx.compose.material3:material3-window-size-class:1.1.0-beta02 are released. Version 1.1.0-beta02 contains these commits.
API Changes
-
SheetStatenow has optionalskipHiddenStateparameter -
rememberStandardBottomSheetStatenow has optionalskipHiddenStateparameter -
BottomSheetScaffoldnow has a defined Hidden anchor, though it is disabled by default -
SheetState.requireOffsetdocumentation has been updated -
BottomSheetDefaults.MinimizedShapehas been renamed asBottomSheetDefaults.HiddenShape( I839f4 , b/273870234 )
বাগ ফিক্স
- Do not switch the dial face from hour to minute when touch exploration is enabled. ( I717d0 )
-
ModalBottomSheetandBottomSheetScaffolddrag handle semantics are now merged. ( I05afb ) -
BottomSheetScaffoldmodifier,containerColorandcontentColorparameters now only affect content. ( I992cb ) -
BottomSheetScaffold nestedScrollfor sheet content now implements flings. ( I992cb )
Version 1.1.0-beta01
২২ মার্চ, ২০২৩
androidx.compose.material3:material3:1.1.0-beta01 and androidx.compose.material3:material3-window-size-class:1.1.0-beta01 are released. Version 1.1.0-beta01 contains these commits.
API Changes
- Add layout type param to
TimePickercomposable. It allows to use different layouts, depending on the screen configuration ( Ia0e16 ) -
SearchBarDefaultshas been marked as experimental. ( I65561 ) - Added shadow elevation to
BottomSheetScaffold( I94e0f ) - Added support for displaying the date pickers without the header part. API changes to allow passing a null headline when creating a date picker. You can now pass null headline, title, and
showToggleMode = falsein order to display a headless picker. ( Id3f3a , b/266132421 , b/267194809 )
বাগ ফিক্স
- Search bars now automatically clear focus when made inactive. ( I22a7c , b/261444487 )
- Updated the
DateRangePickerto allow selecting a range with the same date for its start and end. ( I16529 , b/272882497 ) - Text fields now properly position their text elements when font size is smaller than expected. This may result in a few pixels change in your apps based on font settings and script. ( I8b8d0 )
- Bottom sheet semantic actions now have labels. ( I277b0 )
Version 1.1.0-alpha08
৮ মার্চ, ২০২৩
androidx.compose.material3:material3:1.1.0-alpha08 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha08 are released. Version 1.1.0-alpha08 contains these commits.
নতুন বৈশিষ্ট্য
- Added support for
BottomSheetScaffoldandBottomSheetScaffoldState. ( I063d4 )
API Changes
- Added functionality to the
DatePickerStateand theDateRangePickerStateto allow setting dates after the initial creation of the state, as well as resetting selections by setting null timestamps. Setting dates manually should be made with caution, and the newsetSelectionfunction will throw an exception in case a provided date fails a precondition (see documentation). ( Ifa645 , b/268609314 , b/270427389 ) - Rename Collapsed
SheetValuetoPartiallyExpandedto more accurately and flexibly depict behavior in this state. ( Ia1491 ) - Updated
ListItemparameter names to _content instead of _text. Default getters are nowReadOnlyComposableswhere relevant. ( I69a25 ) - Graduate interactive Surface APIs from experimental. ( I90d59 , b/261561812 )
বাগ ফিক্স
- Fixed an issue where
ModalBottomSheet'sHalfExpandedstate was calculated incorrectly and the sheet would appear to be floating. ( I45e84 , b/268411386 ) - Add
confirmValueChangecheck to scrim tap forModalBottomSheet. ( I2311a , b/270425759 ) - Move semantic
BottomSheetactions to drag handle. ( I158ba ) -
ModalBottomSheetnow commands focus on launch, handles back button. ( I4d2ab ) -
ModalBottomSheet onDismissRequestis now also handled during nested scroll flings. ( I655c5 , b/268433166 )
Version 1.1.0-alpha07
২২ ফেব্রুয়ারী, ২০২৩
androidx.compose.material3:material3:1.1.0-alpha07 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha07 are released. Version 1.1.0-alpha07 contains these commits.
নতুন বৈশিষ্ট্য
- Add a Time Input composable that works with
rememberTimePickerState(), it follows the M3 spec for time input ( Ia4fab ) - Added a Material 3
DateRangePickerAPI for selecting a range of dates. ( I7a6c3 , b/267194809 ) - Added a Material 3 input mode support for selecting date ranges via the
DateRangePickerAPI. ( Ifdbc4 ) - Text field colors now allow customizing:
- The input field and placeholder text colors based on focus and error state. The
textColorparameter has been renamed tounfocusedTextColor, andplaceholderColorhas been renamed tounfocusedPlaceholderColor. - The container color for filled text fields based on error state with the new
errorContainerColorparam.
- The input field and placeholder text colors based on focus and error state. The
- Exposed dropdown menu text field colors have been updated with parameters to support the new prefix and suffix API. ( I9c8b4 , b/254284181 , b/264766350 )
API Changes
- Reverting some Slider API versions and removing redundant Slider overloads that are covered by the new experimental Slider with custom thumb and track. Promoting
RangeSliderto be stable. ( Ie8fbd ) - Renamed
defaultElevationtoelevationin chip's elevation functions. ( I0f872 ) - The following Material 3 text field APIs are no longer experimental:
TextField,OutlinedTextField,textFieldWithLabelPadding,textFieldWithoutLabelPadding,outlinedTextFieldPadding. ( Ieb5c0 , b/261561819 ) -
TimePickersis24Houruses system setting ( I18856 ) - Removed experimental annotation from scaffold apis. ( Ibb51e , b/261565765 , b/261436953 )
বাগ ফিক্স
-
ModalBottomSheetdefault shape is now alwaysSheetDefaults.ExpandedShape. ( I0dfca ) - Accessibility improvements for Material 3
DatePickerandDateRangePicker. ( I5087e ) - Fix bug where max height constraint is propagated and may crash. ( I30d8c )
- Removed semantic roles from clickable and selectable surfaces, updated components that used them to set roles using modifier.semantics ( I793d9 )
Version 1.1.0-alpha06
৮ ফেব্রুয়ারী, ২০২৩
androidx.compose.material3:material3:1.1.0-alpha06 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha06 are released. Version 1.1.0-alpha06 contains these commits.
নতুন বৈশিষ্ট্য
- Text fields now support prefix and suffix text ( Ia8578 , b/179884561 )
- Added a
TimePickerfunction to show a time picker following the Material 3 spec, used in conjunction withTimePickerStateand convenience methodrememberTimePickerState( I71910 ) - A date input is now a display mode at the
DatePicker. Added support for switching between date picker and date input modes. ( Ieeff7 ) - Added API for
RichTextTooltips. ( I58ef3 ) - Modal bottom sheet implementation for Material 3, including
ModalBottomSheetandModalBottomSheetDefaults. Also introducesSheetStateandrememberSheetStatewhich can be used for future sheet components. ( I0853a , b/244189383 )
API Changes
- Stablize the API
showSnackbar( I195c2 , b/261424370 ) - Stablize the APIs for assist chip and suggestion chip ( Ibb67b , b/261424370 )
- Promotes
ListItem,ListItemDefaultsandListItemColorsAPI to non-experimental ( I7e7fa , b/261438882 ) - Promoting
SliderPositions,SliderDefaults.Thumb, andSliderDefaults.Trackto stable and adding non-experimentalSliderandRangeSliderAPIs that contain custom thumbs and track. Also deprecating the previousSliderandRangeSliderAPIs. ( Ie5ea6 , b/261566890 ) - Made
Modifier.tooltipAnchor()public, so devs can pass it to the anchor to indicate a tooltip should be displayed on long press. UpdatedPlainTooltipBoxAPI to no longer makeTooltipStatenullable and now has a default. ( Ie2fb7 ) -
ProgressIndicatorDefaults.circularTrackColorhas been marked@Composablefor consistency. ( Id29cc ) - Restored property getter
LocalMinimuTouchTargetEnforcementand mark it as deprecated and redirect toLocalMinimumInteractiveComponentEnforcement. ( I60dd5 )
Version 1.1.0-alpha05
২৬ জানুয়ারী, ২০২৩
androidx.compose.material3:material3:1.1.0-alpha05 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha05 are released. Version 1.1.0-alpha05 contains these commits.
নতুন বৈশিষ্ট্য
-
DatePickerDialogand accessibility support - Added Custom thumb and track to
RangeSlider.
নির্ভরতা আপডেট
-
Compose UIandCompose Materialnow depend on Lifecycle 2.6.0 .
Version 1.1.0-alpha04
January 11, 2023
androidx.compose.material3:material3:1.1.0-alpha04 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha04 are released. Version 1.1.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- Initial
DatePickerAPI for picking a single date via a calendar UI. This API is still undergoing changes. ( I722b9 ) - Added support for plain tooltips via
PlainTooltipBox. ( I0cdfb ) - Search bar ( Iad128 )
-
SwipeToDismiss( I458a8 , b/242889540 )
API Changes
- Added in
IsContainersemantics property on Surfaces. This property will be used in a later change that determines traversal order based on the semantic meaning of elements such as surfaces. ( I63379 ) - Mark navigation drawer related APIs as stable. ( Iab01e , b/261439597 )
- Added a track color parameter for circular progress indicators, and a stroke cap parameter for both circular and linear progress indicators. ( Ie668c , b/216325962 , b/222964817 )
- More return type nullability of deprecated-hidden functions ( Ibf7b0 )
- Add
Modifier.minimumInteractiveComponentSize. It can be used to reserve at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. ( I33f58 , b/258495559 ) - Added experimental API for
AlertDialogcomposable that has a content slot. ( Iec4a2 )
বাগ ফিক্স
- Progress for progress indicators is now properly bounded to its expected range. ( I8a7eb , b/262262727 )
জ্ঞাত সমস্যা
- When updating from
androidx.compose.foundation:1.4.0-alpha03toandroidx.compose.foundation:1.4.0-alpha04, you might experience ajava.lang.NoSuchFieldErrorerror. Here is where the issue was orginially reported. A fix has been submitted, and will be available on the next Compose update. As a work around, update yourandroidx.compose.materialandandroidx.compose.material3libraries to the latest version(1.1.0-alpha04) or downgrade yourandroidx.compose.foundationto 1.4.0-alpha03.
Version 1.1.0-alpha03
৭ ডিসেম্বর, ২০২২
androidx.compose.material3:material3:1.1.0-alpha03 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha03 are released. Version 1.1.0-alpha03 contains these commits.
API Changes
- Renamed
consumedWindowInsets()toconsumeWindowInsets()andwithConsumedWindowInsets()toonConsumedWindowInsetsChanged()and made the Modifiers public. ( Ie44e1 ) - Add new default content padding for text button with icon to use. ( I8f662 )
- Added disabled colors for navigation bar and rail. ( Ia7892 , b/258867034 )
- Added an Modifier API to query ancestors scroll info. ( I2ba9d , b/203141462 )
- Used in
Clickableto correctly delay press interactions, when gestures could become scroll events. - Fixed
Clickablesnot correctly delaying ripples, when used inside anScrollable ViewGroup. - Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
নির্ভরতা আপডেট
-
Compose UIandCompose Materialnow depend on Lifecycle 2.5.1. ( I05ab0 , b/258038814 )
Version 1.1.0-alpha02
৯ নভেম্বর, ২০২২
androidx.compose.material3:material3:1.1.0-alpha02 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha02 are released. Version 1.1.0-alpha02 contains these commits.
API Changes
-
awaitFirstDownandwaitForUpOrCancellationnow accept aPointerEventPassfor greater flexibility (also fixesExposedDropdownMenuBoxshowing a menu while scrolling).( I7579a , b/212091796 ) - Added
minLinesparameter into material and material3 Text,TextFieldandOutlinedTextFieldwhich allows setting the minimum height of the component in terms of number of lines ( I4af1d ) - Deprecate the
TopAppBarDefaults smallTopAppBarColorsfunction in favor of a newtopAppBarColorsfunction that should be used when creating aTopAppBar. ( Ie6cb9 ) - Added
minLinesparameter to theBasicTextandBasicTextField. It allows to set the minimum height of these composables in terms of number of lines ( I24294 , b/122476634 )
বাগ ফিক্স
- Clip the content of a Material3
IconButtonandIconToggleBottonto the component's state-layer shape (eg circular shape). ( I9da8f ) - Updates Material3 Medium and Large top app bars to apply the same background color across their entire surface, and to allow setting overriding the default colors with transparent color values. ( I67659 , b/249688556 , b/250838918 )
Version 1.1.0-alpha01
২৪ অক্টোবর, ২০২২
androidx.compose.material3:material3:1.1.0-alpha01 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.
বাগ ফিক্স
- Fixes to the top app bar when title is applied with a TextStyle and a Brush. ( If667e )
সংস্করণ 1.0
সংস্করণ 1.0.1
৯ নভেম্বর, ২০২২
androidx.compose.material3:material3:1.0.1 and androidx.compose.material3:material3-window-size-class:1.0.1 are released. Version 1.0.1 contains these commits.
বাগ ফিক্স
- Updates Material3 Medium and Large top app bars to apply the same background color across their entire surface, and to allow setting overriding the default colors with transparent color values. ( I67659 , b/249688556 , b/250838918 )
সংস্করণ 1.0.0
২৪ অক্টোবর, ২০২২
androidx.compose.material3:material3:1.0.0 and androidx.compose.material3:material3-window-size-class:1.0.0 are released. Version 1.0.0 contains these commits.
Major features of 1.0.0
This is the first stable release of Compose Material 3!
Material Design 3 theming and Material You dynamic color
Material Design 3 components
- ব্যাজ
- Bottom App Bar
- বোতাম
- FAB and extended FAB
- কার্ড
- চেকবক্স
- চিপস
- সংলাপ
- বিভাজক
- ড্রপডাউন মেনু
- তালিকা
- নেভিগেশন বার
- নেভিগেশন ড্রয়ার
- ন্যাভিগেশন রেল
- অগ্রগতি নির্দেশক
- রেডিও বোতাম
- স্লাইডার
- সুইচ
- ট্যাব
- টেক্সট ফিল্ড
- Top app bar
- আইকন
- টেক্সট
- পৃষ্ঠতল
- লেআউট
- Content color
Window Size Class
material3-window-size-classis a new library that provides support for window size classes: a set of opinionated viewport breakpoints for you to design, develop, and test resizable application layouts against. You can usecalculateWindowSizeClassto retrieve a window size class instance, which you can use to determine how your UI should appear, such as showing a navigation rail instead of bottom navigation for larger window sizes. For more information and sample usage see the API reference documentation forWindowSizeClass.Please see this blog post for more details!
Version 1.0.0-rc01
৫ অক্টোবর, ২০২২
androidx.compose.material3:material3:1.0.0-rc01 and androidx.compose.material3:material3-window-size-class:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.
API Changes
- Added slot param for supporting text to text field API ( Iaac0d , b/227146125 )
Version 1.0.0-beta03
২১ সেপ্টেম্বর, ২০২২
androidx.compose.material3:material3:1.0.0-beta03 and androidx.compose.material3:material3-window-size-class:1.0.0-beta03 are released. Version 1.0.0-beta03 contains these commits.
API Changes
-
ExposedDropdownMenuDefaultsnow exposes a padding value for menu items. ( I34ee1 ) -
ExposedDropdownMenuBoxScopenow has aModifier.menuAnchor()modifier that should be passed to the text field for proper a11y behavior. ( I27fa3 ) - Adding two overloaded methods for the current Slider API to allow users to pass in a thumb or track to populate the slider. ( I21c00 )
বাগ ফিক্স
- Updated dark theme color mapping for On Error Container to tone 90 ( Ic5612 )
- Fix to allow setting a transparent background for small Material 3 top app bars. ( I645e2 , b/245575782 )
Version 1.0.0-beta02
৭ সেপ্টেম্বর, ২০২২
androidx.compose.material3:material3:1.0.0-beta02 and androidx.compose.material3:material3-window-size-class:1.0.0-beta02 are released. Version 1.0.0-beta02 contains these commits.
API Changes
- Default components insets introduced in m3 components in beta01 version no longer account for IME insets.
- Material3 Scaffold component now has a
contentWindowInsetsparameter, allowing to specify the amount of insets to handle for the content slot. ( Icf11a , b/243713323 ) - Deprecates the experimental Material 3
SmallTopAppBarfunction and introduces an equivalentTopAppBarfunction. Please migrate your usage to the new one. ( I74404 , b/226918634 ) - Adds control over the top app bar fling and snap behaviors. ( I15c81 )
- Removes startIndent from Divider, moves color to last parameter. ( If7be2 )
বাগ ফিক্স
- Have Dialogs identify themselves to talkback users by announcing the word Dialog when they are displayed. ( I857ef )
Version 1.0.0-beta01
২৪ আগস্ট, ২০২২
androidx.compose.material3:material3:1.0.0-beta01 and androidx.compose.material3:material3-window-size-class:1.0.0-beta01 are released. Version 1.0.0-beta01 contains these commits.
API রেফারেন্স
To see latest theming, component and other composables available check out the Compose Material 3 API reference overview .
API Changes
- Updated the Material 3 top app bar to snap into a fully collapsed to a fully extended state. Also, updated the
TopAppBarDefaultsbehavior function to be Composables and provide default values for their top app bar state and animation spec. ( I642b3 ) - Updated FAB component signatures to match surface API ( I3afaa )
- Added insets Build-in support for Top app bars, drawers, navigation bar and rail. These components, when used separately or with Scaffold will automatically handle insets for developers. Note: This change doesn't add automatic handling of status bar icons and transparency of the status and navigation bars. Please, continue to do it manually to ensure the best edge-to-edge experience. ( I7e4e6 , b/183161866 )
- Updated component defaults to reduce API surface for future flexibility and performance improvements. ( I31820 )
- Reordered chip and navigation drawer sheet parameters to maintain consistency within the API ( I45d0b )
- Removed
startIndentfrom Divider and moved color to be the last parameter.( If7be2 )
Version 1.0.0-alpha16
১০ আগস্ট, ২০২২
androidx.compose.material3:material3:1.0.0-alpha16 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha16 are released. Version 1.0.0-alpha16 contains these commits.
নতুন বৈশিষ্ট্য
- Support specifying a custom width on a navigation drawer. ( Ia7f10 )
API Changes
- Reorder Tab and Leading icon tab parameters to maintain consistency within the API ( Ie2637 )
- Marked
BadgeDefaultsas experimental. ( I98ef3 ) - Remove deprecated navigation drawer function. ( I4f2db )
- Reorder Slider parameters in Material 3 to maintain consistency within the API ( I0aee7 )
- Reorder
NavigationBarandNavigationRailparameters to maintain consistency within the API ( I51cda ) - Reorder parameters in Material 3 to maintain consistency across the API. ( If4ae1 )
- Reorder Slider parameters in Material 3 to maintain consistency within the API ( I62673 )
- Renamed icons parameter to actions to be consistent with top app bar ( Id75be )
- Mark
BadgeandBadgedBoxas experimental because the anchor alignment is still influx. ( I1712e , b/236524516 ) - Change
@ExperimentalMaterial3Apiannotations on icon button variants to@OptIn( I070b5 ) - Separated a navigation drawer's content to its own composable to support specifying a custom width on it. ( Ia7f10 )
- Removes
DividerfromMenuDefaultsandTabDefaults( I4e33c )
Version 1.0.0-alpha15
২৭ জুলাই, ২০২২
androidx.compose.material3:material3:1.0.0-alpha15 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha15 are released. Version 1.0.0-alpha15 contains these commits.
নতুন বৈশিষ্ট্য
- Allow dragging the top app bar from the bar itself. ( I65c00 , b/205873416 )
API Changes
- Updates to the
FilterChipandElevatedFilterChipAPIs to remove theselectedIconslot and promote reusing theleadingIconfor displaying a selected state. ( Ie5dc2 ) - Add scrim and outline variant color roles. ( Id6d54 )
- Fix naming conventions for composable defaults. ( I62b27 )
- Mark
ListItemDefaultsandListItemColorsas experimental. ( I1f3ec ) - Changes to the top app bar API to better reflect the meaning of its state properties. Also, mark the top app bar API as experimental. ( Ic0ad8 )
- Text selection colors have now been added to
TextFieldColorsfor better discoverability. ( Iba1b8 ) - Adding
ButtonDefault.ButtonWithIconContentPaddingto be used with buttons that contain an icon. ( I2bf9c ) - Text fields have been marked as experimental to allow for more flexibility in future API changes. ( I127b5 )
- Removed the
@ExperimentalMaterial3Apiannotation from theCheckboxfunction. ( I5eefc ) - Removed the
@ExperimentalMaterial3Apiannotation from theRadioButtonfunction. ( I17e2a ) - Removed the
@ExperimentalMaterial3Apiannotation from the non-interactive Cards. ( I9bd49 ) - Updates various component defaults objects to include colors, shapes etc. ( I96e11 )
বাগ ফিক্স
- Removed non-functioning trailing icons from input chip samples to avoid user confusion in the catalog app. ( I9846a )
Version 1.0.0-alpha14
২৯ জুন, ২০২২
androidx.compose.material3:material3:1.0.0-alpha14 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha14 are released. Version 1.0.0-alpha14 contains these commits.
নতুন বৈশিষ্ট্য
- Added M3 list implementation, see the documentation for sample usage ( Id7a20 )
API Changes
- Change parameter name from values to value in
RangeSlider( I3b79a ) - API changes to the
InputChipimplementation to support a selectable state per the Material Design spec. Additional support at theFilterChipcolors for selected disabled state. ( I55244 , b/235792432 ) - Add
BottomAppBardefault FAB ( Ida4c8 ) -
ColorScheme.surfaceColorAtElevationwas added ( Id41af ) - Interfaces in compose libraries are now built using jdk8 default interface methods ( I5bcf1 )
-
WindowWidthSizeClassandWindowHeightSizeClassnow implement Comparable, so they can be compared using operators (<, <=, >=, >) and other APIs. ( I747d0 )
বাগ ফিক্স
- Update badge sample to provide more meaningful content description. ( I10b9d )
- Adds option to use the system font size to the Material 3 catalog's theme picker. ( I10605 )
- Adds sample code for Badge and indeterminate progress indicators. ( I8fbe0 )
Version 1.0.0-alpha13
১ জুন, ২০২২
androidx.compose.material3:material3:1.0.0-alpha13 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha13 are released. Version 1.0.0-alpha13 contains these commits.
API Changes
- Supports maintaining the top app bar position on configuration change. ( I10459 , b/216160958 )
Version 1.0.0-alpha12
১৮ মে, ২০২২
androidx.compose.material3:material3:1.0.0-alpha12 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha12 are released. Version 1.0.0-alpha12 contains these commits.
বাগ ফিক্স
- Slider parent can now have 0 width. ( b/231707291 )
Version 1.0.0-alpha11
১১ মে, ২০২২
androidx.compose.material3:material3:1.0.0-alpha11 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha11 are released. Version 1.0.0-alpha11 contains these commits.
নতুন বৈশিষ্ট্য
- Added
RangeSliderto Material 3 ( I18e38 ) - Adds Material3
AssistChipandInputChipsupport ( I0d25a ) - Adds Material3
FilterChipandSuggestionChipsupport ( I9fdf3 )
API Changes
- Renamed
TextFieldDefaults.BorderStrokecomposable that draws a border stroke inOutlinedTextFieldtoTextFieldDefaults.BorderBox. ( I5f295 ) - Switch m3 visual changes ( Iab30e )
- Allow passing colors to the standard icon buttons. ( Ia2445 )
বাগ ফিক্স
- Add lint check to material3/Scaffold to ensure that the inner padding is used ( I72293 , b/226951418 )
Version 1.0.0-alpha10
২০ এপ্রিল, ২০২২
androidx.compose.material3:material3:1.0.0-alpha10 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha10 are released. Version 1.0.0-alpha10 contains these commits.
নতুন বৈশিষ্ট্য
-
material3-window-size-classis a new library that provides support for window size classes: a set of opinionated viewport breakpoints for you to design, develop, and test resizable application layouts against. You can usecalculateWindowSizeClassto retrieve a window size class instance, which you can use to determine how your UI should appear, such as showing a navigation rail instead of bottom navigation for larger window sizes. For more information and sample usage see the API reference documentation forWindowSizeClass. For more information on window size class definitions, see the public guidance on supporting different screen sizes.
API Changes
- Adds default FAB elevation for
BottomAppBar, removes trailing lambda fromBottomAppBarwith FAB. ( I92c47 ) - Adds Material3
FilledIconButton,FilledTonalIconButton, andOutlinedIconButton. ( Ib2bda ) - Updates Material 3 Snackbar API to accept color values for the optional action and dismiss-action. ( Ibe4b4 )
- Partial consumption (down OR position) has been deprecated in
PointerInputChange. You can useconsume()to consume the change completely. You can useisConsumedto determine whether or not someone else has previously consumed the change. -
PointerInputChange::copy()now always makes a shallow copy. It means that copies ofPointerInputChangewill be consumed once one of the copies is consumed. If you want to create an unboundPointerInputChange, use constructor instead. ( Ie6be4 , b/225669674 ) - Changes to the Cards API to receive the container and content colors via a
CardColorsinterface, and to support a disabled state for clickable cards. ( I927df ) - The parameter
backgroundColorhas been renamedcontainerColorin Material 3 text fields for improved consistency with other components. ( I6fbd9 )
বাগ ফিক্স
- Updates to the standard
IconButtonto align it with the Material3 spec. ( I09eab ) - Move the top bar height of material3 Scaffold into the padding passed to content, allowing the content to render underneath the top app bar. If the
PaddingValuesare ignored, then the content might be obscured by the top bar. ( I83cbc , b/217776202 )
Version 1.0.0-alpha09
৬ এপ্রিল, ২০২২
androidx.compose.material3:material3:1.0.0-alpha09 is released. Version 1.0.0-alpha09 contains these commits.
নতুন বৈশিষ্ট্য
- Added Material 3 Switch API ( I2c3ad )
API Changes
- Added support for dropdown menus with text fields (aka 'exposed dropdown menus' or 'combo boxes'.) ( I1b832 )
- Added shape parameter to MaterialTheme and Shape sub system. ( I37426 )
- Added an expanded parameter to
ExtendedFloatingActionButtonto control whether the FAB is expanded or collapsed, with animations between each state. Added Extended FAB overload for extended FABs with trailing text for ExtendedFABs without icon. ( Iba7f1 )
Version 1.0.0-alpha08
২৩ মার্চ, ২০২২
androidx.compose.material3:material3:1.0.0-alpha08 is released. Version 1.0.0-alpha08 contains these commits.
নতুন বৈশিষ্ট্য
- Added support for Material 3 text fields. ( I795cc , b/199377790 )
API Changes
- Add default divider for menu ( I01374 )
- Added
surfaceTintcolor parameter toColorSchemeclass. ( I2f558 )
বাগ ফিক্স
- Fix at the Material3 Button to read its default text style value from the MaterialTheme. ( Ie62fc )
Version 1.0.0-alpha07
৯ মার্চ, ২০২২
androidx.compose.material3:material3:1.0.0-alpha07 is released. Version 1.0.0-alpha07 contains these commits.
API Changes
- Updates to Material 3 Surface API that brings back the overloaded functions for clickable Surfaces, as well as adding a function to support selectable and toggleable Surfaces. ( I4bf18 )
-
LazyVerticalGridandLazyHorizontalGridare now stable. ( I307c0 ) -
LazyVerticalGrid/LazyHorizontalGridand all related apis were moved into .grid subpackage. Please update your imports from androidx.compose.foundation.lazy to androidx.compose.foundation.lazy.grid. ( I2d446 ) - Reverted previous change of relying solely on a View for
WindowInsetsControllerCompat, and again require a Window which is required for managing some window flags. DeprecatedViewCompat.getWindowInsetsControllerin favor ofWindowCompat.getInsetsControllerto ensure that the correct Window is used (such as if the View is in a dialog). ( I660ae , b/219572936 ) - Added a new
LazyVerticalGridAPI to define cross axis sizes ( I17723 )
বাগ ফিক্স
- Updates to the Card API to follow changes at the Surface API ( I3c8b9 )
Version 1.0.0-alpha06
২৩ ফেব্রুয়ারী, ২০২২
androidx.compose.material3:material3:1.0.0-alpha06 is released. Version 1.0.0-alpha06 contains these commits.
API Changes
-
NavigationDrawerItemis added that represents a single destination within the drawers ( Ic396f , b/218286829 ) -
PermanentNavigationDrawerandDismissibleNavigationDrawerhave been added as experimental APIs. Those are the drawers suitable well for large screen devices. ( I5f8ab , b/218286829 ) - Adds Material 3 bottom app bar support ( Ic432a )
-
NavigationDrawerhas been renamed toModalNavigationDrawer( I1807d , b/218286829 ) - Added Material 3 Slider class and tokens ( I1ccee )
- Added Tab implementation, see the documentation for sample usage ( Ie0146 )
বাগ ফিক্স
- Fixed an issue where the
TalkBackscreen reader linear navigation selected an empty top app bar title. ( Id4690 ) - Added
IconSizetoFloatingActionButtonDefaults. ( Ia71cf ) - Bug fix for hidden
AlertDialogbuttons when a long text is added with aLazyColumn. ( Ib2cc9 , b/216663029 )
Version 1.0.0-alpha05
৯ ফেব্রুয়ারী, ২০২২
androidx.compose.material3:material3:1.0.0-alpha05 is released. Version 1.0.0-alpha05 contains these commits.
নতুন বৈশিষ্ট্য
Added Material Design 3 components
- ড্রপডাউন মেনু
- কার্ড
API Changes
- Deprecated
Surfacefunction that takes an onClick callback. Clickable surfaces should be created with anInteractionSourceand aModifier.clickable(). ( I211c6 ) - Added pressed and focused elevation support for FAB. ( Ibb584 )
- Changed the
SurfaceAPI to receive an InteractionSource which allows controlling its appearance in different states. ( Iafbc8 )
বাগ ফিক্স
- Added missing tertiary colors in dynamic color schemes ( I456c4 , b/214588434 )
Version 1.0.0-alpha04
২৬ জানুয়ারী, ২০২২
androidx.compose.material3:material3:1.0.0-alpha04 is released. Version 1.0.0-alpha04 contains these commits.
API Changes
- Added
NonRestartableComposableto methods that are overloads of existing methods without complex logic. This reduces compiler generated memoization checks (equals) for all parameters which are repeated in the inner function that is called. ( I90490 ) - Added Material 3 divider. ( Ica5fc )
- Mark the Checkbox and RadioButton with an experimental API annotation. ( Ie44bb )
- Added support for Material 3 progress indicators. ( Iff232 , b/205023841 )
বাগ ফিক্স
- Update a disabled
TextButton'scontainer color to be transparent ( I6b248 , b/213339737 )
Version 1.0.0-alpha03
১২ জানুয়ারী, ২০২২
androidx.compose.material3:material3:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
বাগ ফিক্স
- Add
LocalIndicationto Material 3'sMaterialTheme. ( I7ce4e ) - Fix the corner radius that is applied for Checkboxes ( I38b03 , b/175198975 , b/202309440 )
নির্ভরতা আপডেট
- Now depends on Kotlin
1.6.10.
Version 1.0.0-alpha02
১ ডিসেম্বর, ২০২১
androidx.compose.material3:material3:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
নতুন বৈশিষ্ট্য
- Add support for checkbox and radiobutton.
- Updated to be compatible with Kotlin
1.6.0
API Changes
- Remove drawer from Material 3's scaffold. ( I04f51 )
- Adds Material 3
Checkboxsupport. ( Id5542 ) - Adds Material 3
RadioButtonsupport. ( I20334 )
বাগ ফিক্স
- Reduce
IconButtonripple radius from 40dp to 20dp. ( I68bbe , b/206674345 ) - Port string fast path for
Textchanges fromcompose.material( I30b03 ) - Fixed but that hardcoded button to always be enabled. ( Iea832 , b/205335456 )
Version 1.0.0-alpha01
২৭ অক্টোবর, ২০২১
androidx.compose.material3:material3:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
Material Design 3 theming and Material You dynamic color
Material Design 3 components
- বোতাম
- FAB and extended FAB
- সংলাপ
- নেভিগেশন বার
- নেভিগেশন ড্রয়ার
- ন্যাভিগেশন রেল
- Top app bar
- ব্যাজ
- আইকন
- টেক্সট
- পৃষ্ঠতল
- লেআউট
- Content color
For more information, check out the Material Design 3 and Material You section in the Material Theming in Compose guide.