repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
materialcomponentsmaterialcomponentsandroid | tablayout broken tab indicator animation | Bug | this commit break the tab indicator animation would be good to fix it before 00220d0ad636355b7c9c54c6a1aad64550db5897 correct tab indicator behavior after 00220d0ad636355b7c9c54c6a1aad64550db5897 incorrect tab indicator behavior material library version 1 8 0 alpha02 |
materialcomponentsmaterialcomponentsandroid | materialdatepicker input mode text the text 11 11 41 return the year 1941 but 11 11 42 return the year 2042 | Bug | description full description of issue here I be reproduce this in the catalog app on master df9fdaf77 or tag 1 8 0 alpha02 if 3042 be resolve it could close this issue if user be force to enter in mm dd yyyy enter in 11 11 41 render the date at nov 11 2041 enter in 11 11 42 render the date as nov 11 1942 well describe via video kapture 2022 10 24 at 14 03 58 expect behavior in our case we be enter in user birthday so we would prefer it to be 1941 android api version all version material library version this occur on 1 7 0 device emulator api 33 |
materialcomponentsmaterialcomponentsandroid | bottomnavigationview onnavigationitemselecte be not call on restore state | Bug | description on restore activity state the selection state get restore but the onnavigationitemselected callback doesn t get call expect behavior the onnavigationitemselected callback should also be call source code kotlin class mainactivity appcompatactivity bottomnavigationview onnavigationitemselectedlistener override fun oncreate savedinstancestate bundle super oncreate savedinstancestate setcontentview r layout activity main bottomnavigationview setonitemselectedlistener this bottomnavigationview selecteditemid r i d menuitem view override fun onnavigationitemselected item menuitem boolean return when item itemid r i d menuitem view loadfragment viewsfragment newinstance true r i d menuitem setting loadfragment settingsfragment newinstance true else false in the above code if the user be stay in settingsfragment the second tab and leave and go back later the settingsfragment doesn t get load because the callback be not call however the second tab be select minimal sample app repro please consider attach a minimal sample app that reproduce the issue this will help narrow down the condition require for reproduce the issue and it will speed up the bug fix process you may attach a zip file of the sample app or link to a github repo that contain the sample app android api version 33 material library version 1 8 0 alpha01 device pixel 3 to help we triage fast please check to make sure you be use the late version of the library we also happily accept pull request |
materialcomponentsmaterialcomponentsandroid | outline materialautocompletetextview in textinputlayout show its hint incorrectly | Bug | description when you have a materialautocompletetextview in a textinputlayout with the style widget materialcomponent textinputlayout outlinedbox dense exposeddropdownmenu the hint be overlap by the outline example expect behavior the outline to not be present under the label just like other textinputlayout s source code xml android api version 32 material library version 1 7 0 device google pixel 1 several android emulator |
materialcomponentsmaterialcomponentsandroid | material date picker when use input mode text the date show as m d yy but should show up as mm dd yyyy | Bug | description hey all thank for read my issue 3 image I m in the us so my local be set to we it s very odd for user to have to enter in their date in this format traditionally it s mm dd yyyy 1180 point 2 be a dupe of 774 and both dsn5 ft and drchen close these as complete but I still don t see relevant commit or anyway to change my format to mm dd yyyy expect behavior copy from material io website image minimal sample app repro this be reproducible on the material component app android api version all apis material library version this occur on both material 2 and material3 component device all device |
materialcomponentsmaterialcomponentsandroid | release note 1 7 0 have a hyperlink issue | Bug | release note 1 7 0 have an issue in bottomappbar have be redesign check out the update documentation it lead to checkbox documentation |
materialcomponentsmaterialcomponentsandroid | release note wrong bottomappbar link in 1 7 0 release note | Bug | description bottomappbar have be redesign check out the update documentation link in 1 7 0 release note lead to checkbox component documentation expect behavior I m guess it should link to or |
materialcomponentsmaterialcomponentsandroid | bottomnavigationview navigationbarcolor should match bottomnavigationview s container color | Bug | be your feature request relate to a problem please describe I recently replace my pixal 6a android 13 which be why there s some space and a handle below the bottomnavigationview especially in dark theme these both color don t match the display be round around the corner describe the solution you d like I expect the library to set navigationbarcolor to be the same value as bottomnavigationview s container color which isn t straight forward since there s an elevation with respect to bottomnavigationview so simply set navigationbarcolor doesn t solve the issue client side additional context screenshot 20221020 083715 screenshot 20221020 084649 minsdk 21 targetsdk 32 android 13 tiramisu material library version com google android material material 1 6 1 1 8 0 alpha01 device google pixel 6a |
materialcomponentsmaterialcomponentsandroid | switchmaterial crash resource notfoundexception in nexus 5x with android 8 1 0 | Bug | description I have be report several issue in crashlytic after integrate an app with material 1 6 1 cause by android content re resource notfoundexception file re drawable abc switch thumb material xml from drawable resource i d 0x7f080047 at android content re resourcesimpl loaddrawableforcookie resourcesimpl java 820 at android content re resourcesimpl loaddrawable resourcesimpl java 630 at android content re resource getdrawablefordensity resource java 877 at android content re xresources getdrawablefordensity xresource java 868 at android content re resource getdrawable resource java 819 at android content re xresource getdrawable xresource java 790 at android content context getdrawable context java 605 at androidx core content contextcompat api21impl getdrawable contextcompat java 864 at androidx core content contextcompat getdrawable contextcompat java 483 at androidx appcompat widget resourcemanagerinternal getdrawable resourcemanagerinternal java 149 at androidx appcompat widget resourcemanagerinternal getdrawable resourcemanagerinternal java 137 at androidx appcompat content re appcompatresource getdrawable appcompatresource java 66 at androidx appcompat widget tinttypedarray getdrawable tinttypedarray java 84 at androidx appcompat widget switchcompat switchcompat java 262 at com google android material switchmaterial switchmaterial switchmaterial java 70 at com google android material switchmaterial switchmaterial switchmaterial java 66 at java lang reflect constructor newinstance0 constructor java at java lang reflect constructor newinstance constructor java 334 at android view layoutinflater createview layoutinflater java 647 at android view layoutinflater createviewfromtag layoutinflater java 790 at android view layoutinflater createviewfromtag layoutinflater java 730 at android view layoutinflater rinflate layoutinflater java 863 at android view layoutinflater rinflatechildren layoutinflater java 824 at android view layoutinflater rinflate layoutinflater java 866 at android view layoutinflater rinflatechildren layoutinflater java 824 at android view layoutinflater rinflate layoutinflater java 866 at android view layoutinflater rinflatechildren layoutinflater java 824 at android view layoutinflater inflate layoutinflater java 515 at android view layoutinflater inflate layoutinflater java 423 at com tal tal presentation base basefragment oncreateview basefragment kt 21 at androidx fragment app fragment performcreateview fragment java 3104 at androidx fragment app fragmentstatemanager createview fragmentstatemanager java 524 at androidx fragment app fragmentstatemanager movetoexpectedstate fragmentstatemanager java 261 at androidx fragment app fragmentmanager executeopstogether fragmentmanager java 1899 at androidx fragment app fragmentmanager removeredundantoperationsandexecute fragmentmanager java 1817 at androidx fragment app fragmentmanager execpendingaction fragmentmanager java 1760 at androidx fragment app fragmentmanager 5 run fragmentmanager java 547 at android os handler handlecallback handler java 790 at android os handler dispatchmessage handler java 99 at android os looper loop looper java 164 at android app activitythread main activitythread java 6494 at java lang reflect method invoke method java at com android internal os runtimeinit methodandargscaller run runtimeinit java 438 at com android internal os zygoteinit main zygoteinit java 807 expect behavior there be no crash source code minimal sample app repro just add the previous code to any layout android api version compilesdk 33 targetsdk 32 material library version 1 6 1 device only happen in nexus 5x probably cause after google play distribution method with cut resource for the different device |
materialcomponentsmaterialcomponentsandroid | bottomappbar the overflow menu icon button be on the right of the icon button | Bug | description the overflow menu icon button three dot be on the left of the icon button editor5 screenshot 20221017 160016 the overflow menu icon button be on the right of the icon button expect behavior the overflow menu icon button be on the left of the icon button source code minimal sample app repro editor5 zip android api version 32 material library version 1 7 0 rc01 device emulator 31 3 12 |
materialcomponentsmaterialcomponentsandroid | extend float action button elevation not respect in extendedfloatingactionbutton | Bug | description when use the extendedfloatingactionbutton view app elevation be not respect like it be on the regular floatingactionbutton expect behavior this be what elevation 0 look like on a regular floatingactionbutton with a transparent background image vs elevation 4dp notice the red sub circle image however with app elevation set to 0dp with the extendedfloatingactionbutton it look the same as the second picture with 4dp elevation I want the look of picture one so I expect set app elevation to 0dp to give the same look additionally set the text on the extendedfloatingactionbutton give inconsistent elevation result image image source code extendedfloatingactionbutton xml style xml minimal sample app repro efabbug zip material library version 1 6 1 but also test on 1 8 0 alpha01 |
materialcomponentsmaterialcomponentsandroid | button can not get background color int use kotlin btn background as colordrawable cast fail | Bug | description when try to get the background color int of a button via cast the background property as colordrawable to finally get the color property the cast into colordrawable fail it try to convert a rippledrawable into colordrawable expect behavior to work as in java source code val color btn background as colordrawable color error java lang classcastexception android graphic drawable rippledrawable can not be cast to android graphic drawable colordrawable android api version 32 material library version from sdk 32 device xiaomi mi a3 |
materialcomponentsmaterialcomponentsandroid | navigationview strange rectangle appear | Bug | description when the device be landscape and fullscreen a strange rectangle appear on the right edge of the navigation view in the bottom sheet catalog bottom app bar screenshot 20221012 104905 editor4 screenshot 20221011 122533 expect behavior the strange rectangle do not appear even when the device be landscape and fullscreen editor4 screenshot 20221011 131653 source code catalog l45 l61 l80 l81 editor4 viewcompat setonapplywindowinsetslistener getwindow getdecorview v inset inset minimal sample app repro editor4 zip android api version 32 material library version 1 7 0 rc01 device emulator 31 3 12 |
materialcomponentsmaterialcomponentsandroid | materialalertdialog materialalertdialogtitletextstyle s textsize have an arbitrary upper limit | Bug | description when styling materialalertdialog via theme the title s materialalertdialogtitletextstyle textsize attribute will ignore any value over some arbitrary limit 20sp this work just fine for the dialog s body materialalertdialogbodytextstyle I ve test this both use materialcomponent and material3 style see minimal sample app repro below expect behavior the textsize value set for materialalertdialogtitletextstyle be respect source code theme xml xml kotlin materialalertdialogbuilder this r style theme themeoverlay materialalertdialog settitle this text s size have a magical upper limit setmessage this text s size work just fine setpositivebutton ok null show minimal sample app repro environment android api version api 25 material library version break all the way from 1 1 0 no material3 on that one to late at the time of report 1 8 0 alpha01 device several emulator pixel 6 pro seem to be device independent |
materialcomponentsmaterialcomponentsandroid | get always 24 hour format after select time | Bug | description I implement materialtimepicker and strange issue observe I have configure time picker with 12 h time format and keyboard as input mode I choose 4 hour and 30 min with am but after click ok iam get 16 as time picker hour I expect 4 expect behavior after select 4hour 30 min with be hour should print as 4 now I be get 16 source code val materialtimepicker materialtimepicker materialtimepicker builder settitletext select time setinputmode materialtimepicker input mode keyboard settimeformat timeformat clock 12h sethour 12 setminute 30 build materialtimepicker show supportfragmentmanager mainactivity materialtimepicker addonpositivebuttonclicklistener val pickedhour int materialtimepicker hour val pickedminute int materialtimepicker minute android api version andriod 29 api material library version com google android material material 1 6 1 device emulator with 29 api level |
materialcomponentsmaterialcomponentsandroid | material3 style textinputlayout outline shape app endiconmode cause issue with app boxbackgroundmode outline | Bug | description hi guy I need help regard material3 styling I m basically design an outlined textinputlayout password field I m face a problem and that be when I apply endiconmode password toggle then it show white color over outlined field right side do anyone face such an issue thank in advance screenshot |
materialcomponentsmaterialcomponentsandroid | tablayout instantiation error in androidstudio | Bug | description when I use the library com google android material material 1 8 0 alhpa01 and add a tablayout to any layout in androidstudio I get the following notice java lang illegalargumentexception motion ease theme attribute must be an interpolator resource for attr motionease interpolator attribute or a string for attr motioneasing attribute at com google android material motion motionutil resolvethemeinterpolator motionutil java 74 at com google android material tabs tablayout tablayout java 614 at com google android material tabs tablayout tablayout java 509 at java base jdk internal reflect nativeconstructoraccessorimpl newinstance0 native method at java base jdk internal reflect nativeconstructoraccessorimpl newinstance nativeconstructoraccessorimpl java 62 at java base jdk internal reflect delegatingconstructoraccessorimpl newinstance delegatingconstructoraccessorimpl java 45 at java base java lang reflect constructor newinstance constructor java 490 at org jetbrains android uipreview viewloader createnewinstance viewloader java 351 at org jetbrains android uipreview viewloader loadclass viewloader java 200 at org jetbrains android uipreview viewloader loadview viewloader java 161 at com android tool idea render layoutlibcallbackimpl loadview layoutlibcallbackimpl java 294 at android view bridgeinflater loadcustomview bridgeinflater java 417 at android view bridgeinflater loadcustomview bridgeinflater java 428 at android view bridgeinflater createviewfromtag bridgeinflater java 332 at android view layoutinflater createviewfromtag layoutinflater java 965 at android view layoutinflater rinflate original layoutinflater java 1127 at android view layoutinflater delegate rinflate layoutinflater delegate java 72 at android view layoutinflater rinflate layoutinflater java 1101 at android view layoutinflater rinflatechildren layoutinflater java 1088 at android view layoutinflater inflate layoutinflater java 686 at android view layoutinflater inflate layoutinflater java 505 at com android layoutlib bridge impl rendersessionimpl inflate rendersessionimpl java 359 at com android layoutlib bridge bridge createsession bridge java 436 at com android tool idea layoutlib layoutlibrary createsession layoutlibrary java 121 at com android tool idea render rendertask createrendersession rendertask java 717 at com android tool idea render rendertask lambda inflate 9 rendertask java 873 at com android tool idea render renderexecutor runasyncactionwithtimeout 3 run renderexecutor kt 192 at java base java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1128 at java base java util concurrent threadpoolexecutor worker run threadpoolexecutor java 628 at java base java lang thread run thread java 829 expect behavior androidstudio should show a preview of the tablayout source code implementation androidx core core ktx 1 9 0 implementation androidx appcompat appcompat 1 5 1 implementation com google android material material 1 8 0 alpha01 android api version 33 material library version 1 8 0 alpha01 device androidstudio |
materialcomponentsmaterialcomponentsandroid | slider layout break when use slider on dialog | Bug | description dialog custom layout break when use slider inside give the layout as describe in the next section the dialog custom layout be set by use alertdialog builder context setview viewresid build when use space in place of slider screenshot 20221005 100841 when replace space with slider screenshot 20221005 100720 expect behavior the whole should look the same when not use slider slider itself should not interfere how its parent should lay their child without change make to the root or parent view of slider the result should look like screenshot 20221005 101051 in this screenshot I rewrote the layout from use linearlayout as parent to constraintlayout source code the code snippet which be cause this issue both alertdialog builder context setview viewresid build and materialalertdialogbuilder context setview viewresid build experience the same result android api version 25 27 30 31 32 material library version 1 6 1 device samsung galaxy tab a7 lite samsung galaxy tab a 8 0 2019 skydroid h16 skydroid h12 |
materialcomponentsmaterialcomponentsandroid | toast toast text not visible on android 13 with dark theme | Bug | description on android 13 the toast text and background be both white if dark theme be be use which prevent the text to be read an issuetracker at have be create for the issue with detail maybe someone from here google who know theme would be able to more easily find the real cause thank expect behavior text be visible android api version 13 material library version 1 4 0 1 6 1 device android 13 avd |
materialcomponentsmaterialcomponentsandroid | materialbutton paddingtop and paddingbottom be increase | Bug | description after render on the screen material button height be 48dp instead of 40dp because paddingtop and paddingbottom be 10dp no custom overload for those attribute expect behavior source code dimen m3 btn padding bottom android api version android 12 api 32 material library version 1 6 1 device pixel 3a |
materialcomponentsmaterialcomponentsandroid | motion question use materialfade as a dialog transition | Help Wanted | I want to use materialfade to transition into my dialog as be show in the motion documentation fade however there be no information in how to use materialfade to transition into dialog only with transitioning view my idea be that I could use the fragment apis to transition like this kotlin class mydialog dialogfragment override fun oncreate savedinstancestate bundle super oncreate savedinstancestate entertransition materialfade exittransition materialfade but that doesn t seem to work the plain fade animation be still use regardless be this a bug or be I mean to transition into dialog use another method any clarification here would be appreciate |
materialcomponentsmaterialcomponentsandroid | illegal char when execute mergedevdebugresource | Bug | description full description of issue here the issue be not occur on version 1 4 0 but it begin happen on 1 5 0 even in 1 5 0 alpha01 build fail with error illegal char at index 61 com package redact app mergedevdebugresource 56 value value xml I confirm this do not happen in a fresh project it may be some of the resource I m use in this project I m use animate vector drawable png s and drawable but it clearly work when I m on 1 4 0 but fail on 1 5 0 so I m not sure why that be the case the value value xml path look like a linux or unix path rather than a window path full stack trace exception be org gradle api task taskexecutionexception execution fail for task app mergedevdebugresource at org gradle api internal task execution executeactionstaskexecuter lambda executeifvalid 1 executeactionstaskexecuter java 147 at org gradle internal try failure ifsuccessfulorelse try java 282 at org gradle api internal task execution executeactionstaskexecuter executeifvalid executeactionstaskexecuter java 145 at org gradle api internal task execution executeactionstaskexecuter execute executeactionstaskexecuter java 133 at org gradle api internal task execution cleanupstaleoutputsexecuter execute cleanupstaleoutputsexecuter java 77 at org gradle api internal task execution finalizepropertiestaskexecuter execute finalizepropertiestaskexecuter java 46 at org gradle api internal task execution resolvetaskexecutionmodeexecuter execute resolvetaskexecutionmodeexecuter java 51 at org gradle api internal task execution skiptaskwithnoactionsexecuter execute skiptaskwithnoactionsexecuter java 57 at org gradle api internal task execution skiponlyiftaskexecuter execute skiponlyiftaskexecuter java 56 at org gradle api internal task execution catchexceptiontaskexecuter execute catchexceptiontaskexecuter java 36 at org gradle api internal task execution eventfiringtaskexecuter 1 executetask eventfiringtaskexecuter java 77 at org gradle api internal task execution eventfiringtaskexecuter 1 call eventfiringtaskexecuter java 55 at org gradle api internal task execution eventfiringtaskexecuter 1 call eventfiringtaskexecuter java 52 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 204 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 199 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner call defaultbuildoperationrunner java 53 at org gradle internal operation defaultbuildoperationexecutor call defaultbuildoperationexecutor java 73 at org gradle api internal task execution eventfiringtaskexecuter execute eventfiringtaskexecuter java 52 at org gradle execution plan localtasknodeexecutor execute localtasknodeexecutor java 74 at org gradle execution taskgraph defaulttaskexecutiongraph invokenodeexecutorsaction execute defaulttaskexecutiongraph java 333 at org gradle execution taskgraph defaulttaskexecutiongraph invokenodeexecutorsaction execute defaulttaskexecutiongraph java 320 at org gradle execution taskgraph defaulttaskexecutiongraph buildoperationawareexecutionaction execute defaulttaskexecutiongraph java 313 at org gradle execution taskgraph defaulttaskexecutiongraph buildoperationawareexecutionaction execute defaulttaskexecutiongraph java 299 at org gradle execution plan defaultplanexecutor executorworker lambda run 0 defaultplanexecutor java 143 at org gradle execution plan defaultplanexecutor executorworker execute defaultplanexecutor java 227 at org gradle execution plan defaultplanexecutor executorworker executenextnode defaultplanexecutor java 218 at org gradle execution plan defaultplanexecutor executorworker run defaultplanexecutor java 140 at org gradle internal concurrent executorpolicy catchandrecordfailure onexecute executorpolicy java 64 at org gradle internal concurrent managedexecutorimpl 1 run managedexecutorimpl java 48 cause by org gradle worker internal defaultworkerexecutor workexecutionexception a failure occur while execute com android build gradle internal re resourcecompilerrunnable at org gradle worker internal defaultworkerexecutor workitemexecution waitforcompletion defaultworkerexecutor java 339 at org gradle internal work defaultasyncworktracker lambda waitforitemsandgatherfailure 2 defaultasyncworktracker java 131 at org gradle internal factory 1 create factory java 31 at org gradle internal work defaultworkerleaseservice withoutlock defaultworkerleaseservice java 341 at org gradle internal work defaultworkerleaseservice withoutlock defaultworkerleaseservice java 326 at org gradle internal work defaultasyncworktracker waitforitemsandgatherfailure defaultasyncworktracker java 127 at org gradle internal work defaultasyncworktracker waitforitemsandgatherfailure defaultasyncworktracker java 93 at org gradle internal work defaultasyncworktracker waitforall defaultasyncworktracker java 79 at org gradle internal work defaultasyncworktracker waitforcompletion defaultasyncworktracker java 67 at org gradle api internal task execution taskexecution 3 run taskexecution java 250 at org gradle internal operation defaultbuildoperationrunner 1 execute defaultbuildoperationrunner java 29 at org gradle internal operation defaultbuildoperationrunner 1 execute defaultbuildoperationrunner java 26 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner run defaultbuildoperationrunner java 47 at org gradle internal operation defaultbuildoperationexecutor run defaultbuildoperationexecutor java 68 at org gradle api internal task execution taskexecution executeaction taskexecution java 227 at org gradle api internal task execution taskexecution executeaction taskexecution java 210 at org gradle api internal task execution taskexecution executewithpreviousoutputfile taskexecution java 193 at org gradle api internal task execution taskexecution execute taskexecution java 171 at org gradle internal execution step executestep executeinternal executestep java 89 at org gradle internal execution step executestep access 000 executestep java 40 at org gradle internal execution step executestep 1 call executestep java 53 at org gradle internal execution step executestep 1 call executestep java 50 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 204 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 199 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner call defaultbuildoperationrunner java 53 at org gradle internal operation defaultbuildoperationexecutor call defaultbuildoperationexecutor java 73 at org gradle internal execution step executestep execute executestep java 50 at org gradle internal execution step executestep execute executestep java 40 at org gradle internal execution step removepreviousoutputsstep execute removepreviousoutputsstep java 68 at org gradle internal execution step removepreviousoutputsstep execute removepreviousoutputsstep java 38 at org gradle internal execution step resolveinputchangesstep execute resolveinputchangesstep java 48 at org gradle internal execution step resolveinputchangesstep execute resolveinputchangesstep java 36 at org gradle internal execution step cancelexecutionstep execute cancelexecutionstep java 41 at org gradle internal execution step timeoutstep executewithouttimeout timeoutstep java 74 at org gradle internal execution step timeoutstep execute timeoutstep java 55 at org gradle internal execution step createoutputsstep execute createoutputsstep java 51 at org gradle internal execution step createoutputsstep execute createoutputsstep java 29 at org gradle internal execution step capturestateafterexecutionstep execute capturestateafterexecutionstep java 61 at org gradle internal execution step capturestateafterexecutionstep execute capturestateafterexecutionstep java 42 at org gradle internal execution step broadcastchangingoutputsstep execute broadcastchangingoutputsstep java 60 at org gradle internal execution step broadcastchangingoutputsstep execute broadcastchangingoutputsstep java 27 at org gradle internal execution step buildcachestep executewithoutcache buildcachestep java 180 at org gradle internal execution step buildcachestep lambda execute 1 buildcachestep java 75 at org gradle internal either right fold either java 175 at org gradle internal execution cache cachingstate fold cachingstate java 59 at org gradle internal execution step buildcachestep execute buildcachestep java 73 at org gradle internal execution step buildcachestep execute buildcachestep java 48 at org gradle internal execution step storeexecutionstatestep execute storeexecutionstatestep java 36 at org gradle internal execution step storeexecutionstatestep execute storeexecutionstatestep java 25 at org gradle internal execution step recordoutputsstep execute recordoutputsstep java 36 at org gradle internal execution step recordoutputsstep execute recordoutputsstep java 22 at org gradle internal execution step skipuptodatestep executebecause skipuptodatestep java 110 at org gradle internal execution step skipuptodatestep lambda execute 2 skipuptodatestep java 56 at org gradle internal execution step skipuptodatestep execute skipuptodatestep java 56 at org gradle internal execution step skipuptodatestep execute skipuptodatestep java 38 at org gradle internal execution step resolvechangesstep execute resolvechangesstep java 73 at org gradle internal execution step resolvechangesstep execute resolvechangesstep java 44 at org gradle internal execution step legacy marksnapshottinginputsfinishedstep execute marksnapshottinginputsfinishedstep java 37 at org gradle internal execution step legacy marksnapshottinginputsfinishedstep execute marksnapshottinginputsfinishedstep java 27 at org gradle internal execution step resolvecachingstatestep execute resolvecachingstatestep java 89 at org gradle internal execution step resolvecachingstatestep execute resolvecachingstatestep java 50 at org gradle internal execution step validatestep execute validatestep java 114 at org gradle internal execution step validatestep execute validatestep java 57 at org gradle internal execution step capturestatebeforeexecutionstep execute capturestatebeforeexecutionstep java 76 at org gradle internal execution step capturestatebeforeexecutionstep execute capturestatebeforeexecutionstep java 50 at org gradle internal execution step skipemptyworkstep executewithnoemptysource skipemptyworkstep java 249 at org gradle internal execution step skipemptyworkstep execute skipemptyworkstep java 86 at org gradle internal execution step skipemptyworkstep execute skipemptyworkstep java 54 at org gradle internal execution step removeuntrackedexecutionstatestep execute removeuntrackedexecutionstatestep java 32 at org gradle internal execution step removeuntrackedexecutionstatestep execute removeuntrackedexecutionstatestep java 21 at org gradle internal execution step legacy marksnapshottinginputsstartedstep execute marksnapshottinginputsstartedstep java 38 at org gradle internal execution step loadpreviousexecutionstatestep execute loadpreviousexecutionstatestep java 43 at org gradle internal execution step loadpreviousexecutionstatestep execute loadpreviousexecutionstatestep java 31 at org gradle internal execution step assignworkspacestep lambda execute 0 assignworkspacestep java 40 at org gradle api internal task execution taskexecution 4 withworkspace taskexecution java 287 at org gradle internal execution step assignworkspacestep execute assignworkspacestep java 40 at org gradle internal execution step assignworkspacestep execute assignworkspacestep java 30 at org gradle internal execution step identitycachestep execute identitycachestep java 37 at org gradle internal execution step identitycachestep execute identitycachestep java 27 at org gradle internal execution step identifystep execute identifystep java 44 at org gradle internal execution step identifystep execute identifystep java 33 at org gradle internal execution impl defaultexecutionengine 1 execute defaultexecutionengine java 76 at org gradle api internal task execution executeactionstaskexecuter executeifvalid executeactionstaskexecuter java 144 at org gradle api internal task execution executeactionstaskexecuter execute executeactionstaskexecuter java 133 at org gradle api internal task execution cleanupstaleoutputsexecuter execute cleanupstaleoutputsexecuter java 77 at org gradle api internal task execution finalizepropertiestaskexecuter execute finalizepropertiestaskexecuter java 46 at org gradle api internal task execution resolvetaskexecutionmodeexecuter execute resolvetaskexecutionmodeexecuter java 51 at org gradle api internal task execution skiptaskwithnoactionsexecuter execute skiptaskwithnoactionsexecuter java 57 at org gradle api internal task execution skiponlyiftaskexecuter execute skiponlyiftaskexecuter java 56 at org gradle api internal task execution catchexceptiontaskexecuter execute catchexceptiontaskexecuter java 36 at org gradle api internal task execution eventfiringtaskexecuter 1 executetask eventfiringtaskexecuter java 77 at org gradle api internal task execution eventfiringtaskexecuter 1 call eventfiringtaskexecuter java 55 at org gradle api internal task execution eventfiringtaskexecuter 1 call eventfiringtaskexecuter java 52 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 204 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 199 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner call defaultbuildoperationrunner java 53 at org gradle internal operation defaultbuildoperationexecutor call defaultbuildoperationexecutor java 73 at org gradle api internal task execution eventfiringtaskexecuter execute eventfiringtaskexecuter java 52 at org gradle execution plan localtasknodeexecutor execute localtasknodeexecutor java 74 at org gradle execution taskgraph defaulttaskexecutiongraph invokenodeexecutorsaction execute defaulttaskexecutiongraph java 333 at org gradle execution taskgraph defaulttaskexecutiongraph invokenodeexecutorsaction execute defaulttaskexecutiongraph java 320 at org gradle execution taskgraph defaulttaskexecutiongraph buildoperationawareexecutionaction execute defaulttaskexecutiongraph java 313 at org gradle execution taskgraph defaulttaskexecutiongraph buildoperationawareexecutionaction execute defaulttaskexecutiongraph java 299 at org gradle execution plan defaultplanexecutor executorworker lambda run 0 defaultplanexecutor java 143 at org gradle execution plan defaultplanexecutor executorworker execute defaultplanexecutor java 227 at org gradle execution plan defaultplanexecutor executorworker executenextnode defaultplanexecutor java 218 at org gradle execution plan defaultplanexecutor executorworker run defaultplanexecutor java 140 at org gradle internal concurrent executorpolicy catchandrecordfailure onexecute executorpolicy java 64 at org gradle internal concurrent managedexecutorimpl 1 run managedexecutorimpl java 48 cause by com android aaptcompiler resourcecompilationexception resource compilation fail fail to compile value resource file c user joshua king studioproject ottodroid app build intermediate incremental devdebug mergedevdebugresource merge dir value value xml cause java nio file invalidpathexception illegal char at index 61 com package redact app mergedevdebugresource 56 value value xml check log for more detail at com android aaptcompiler resourcecompiler compileresource resourcecompiler kt 129 at com android build gradle internal re resourcecompilerrunnable companion compilesingleresource resourcecompilerrunnable kt 34 at com android build gradle internal re resourcecompilerrunnable run resourcecompilerrunnable kt 15 at com android build gradle internal profile profileawareworkaction execute profileawareworkaction kt 74 at org gradle worker internal defaultworkerserver execute defaultworkerserver java 63 at org gradle worker internal noisolationworkerfactory 1 1 create noisolationworkerfactory java 66 at org gradle worker internal noisolationworkerfactory 1 1 create noisolationworkerfactory java 62 at org gradle internal classloader classloaderutil executeinclassloader classloaderutil java 97 at org gradle worker internal noisolationworkerfactory 1 lambda execute 0 noisolationworkerfactory java 62 at org gradle worker internal abstractworker 1 call abstractworker java 44 at org gradle worker internal abstractworker 1 call abstractworker java 41 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 204 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 199 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner call defaultbuildoperationrunner java 53 at org gradle internal operation defaultbuildoperationexecutor call defaultbuildoperationexecutor java 73 at org gradle worker internal abstractworker executewrappedinbuildoperation abstractworker java 41 at org gradle worker internal noisolationworkerfactory 1 execute noisolationworkerfactory java 59 at org gradle worker internal defaultworkerexecutor lambda submitwork 2 defaultworkerexecutor java 205 at org gradle internal work defaultconditionalexecutionqueue executionrunner runexecution defaultconditionalexecutionqueue java 187 at org gradle internal work defaultconditionalexecutionqueue executionrunner access 700 defaultconditionalexecutionqueue java 120 at org gradle internal work defaultconditionalexecutionqueue executionrunner 1 run defaultconditionalexecutionqueue java 162 at org gradle internal factory 1 create factory java 31 at org gradle internal work defaultworkerleaseservice withlock defaultworkerleaseservice java 270 at org gradle internal work defaultworkerleaseservice runasworkerthread defaultworkerleaseservice java 119 at org gradle internal work defaultworkerleaseservice runasworkerthread defaultworkerleaseservice java 124 at org gradle internal work defaultconditionalexecutionqueue executionrunner runbatch defaultconditionalexecutionqueue java 157 at org gradle internal work defaultconditionalexecutionqueue executionrunner run defaultconditionalexecutionqueue java 126 2 more cause by com android aaptcompiler resourcecompilationexception fail to compile value resource file c user joshua king studioproject ottodroid app build intermediate incremental devdebug mergedevdebugresource merge dir value value xml at com android aaptcompiler resourcecompiler compiletable resourcecompiler kt 192 at com android aaptcompiler resourcecompiler access compiletable resourcecompiler kt 1 at com android aaptcompiler resourcecompiler getcompilemethod 1 invoke resourcecompiler kt 138 at com android aaptcompiler resourcecompiler getcompilemethod 1 invoke resourcecompiler kt 138 at com android aaptcompiler resourcecompiler compileresource resourcecompiler kt 123 32 more cause by java nio file invalidpathexception illegal char at index 61 com package redact app mergedevdebugresource 56 value value xml at com android tool build bundletool model util file fileutil getpath fileutil java 101 at com android build gradle internal re aapt2errorutil blameloggerfor 2 invoke aapt2errorutil kt 186 at com android build gradle internal re aapt2errorutil blameloggerfor 2 invoke aapt2errorutil kt 185 at com android aaptcompiler blamelogger getoriginalsource blamelogger kt 132 at com android aaptcompiler resourcetable addresourceimpl resourcetable kt 360 at com android aaptcompiler resourcetable addresourcewithid resourcetable kt 80 at com android aaptcompiler tableextractor addresourcetotable tableextractor kt 2098 at com android aaptcompiler tableextractor addresourcetotable tableextractor kt 2111 at com android aaptcompiler tableextractor extractresourcevalue tableextractor kt 265 at com android aaptcompiler tableextractor extract tableextractor kt 181 at com android aaptcompiler resourcecompiler compiletable resourcecompiler kt 188 36 more get more help at build fail in 3s 25 actionable task 6 execute 19 up to date source code the code snippet which be cause this issue implementation com google android material material 1 5 0 vs implementation com google android material material 1 4 0 android api version 7 3 0 material library version all 1 5 0 alpha01 device n a |
materialcomponentsmaterialcomponentsandroid | checkbox indeterminate state | Bug | description indeterminate state not show with material2 theme with material3 work fine with material2 theme telegram cloud photo size 2 5292126512084008818 y with material3 theme telegram cloud photo size 2 5292126512084008819 y I fix this manually set buttondrawable and buttonicondrawable kotlin with bind cbselection buttondrawable context getdrawablebyid rmaterial drawable mtrl checkbox button buttonicondrawable context getdrawablebyid rmaterial drawable mtrl checkbox button icon expect behavior indeterminate state render correctly for all theme source code xml android api version 30 material library version 1 7 0 beta01 rc01 device emulator mi 9 lite |
materialcomponentsmaterialcomponentsandroid | snackbar the button in the snackbar become not clickable after change z index | Bug | I try to make snackbar appear behind the drawerlayout and I do that successfully but the install button become not clickable be this a bug or have I miss something getroot will return drawerlayout snackbar snackbar snackbar make activitymainbinding getroot r string youtube not instal basetransientbottombar length long snackbar getview setz activitymainbinding getroot getz 1 the button will be clickable if I remove this line snackbar setaction r string install view startactivity new intent intent action view uri parse packagename snackbar show untitled |
materialcomponentsmaterialcomponentsandroid | navigation bar bottomnavigationview cast a shadow | Bug | description do we have to use the bottomnavigationview with the linearlayout issuecomment 1249034716 the bottomnavigationview with the linearlayout cast no shadow screenshot 20220922 130226 the bottomnavigationview without the linearlayout cast a pale shadow screenshot 20220922 130204 the catalog app use the bottomnavigationview with the linearlayout or the framelayout if you remove the container the bottomnavigationview will cast a pale shadow l247 inflatebottomnavs layoutinflater view findviewbyid r i d bottom navs inflatebottomnavs layoutinflater viewgroup view l108 l112 elevation no shadow see also expect behavior the bottomnavigationview without the linearlayout cast no shadow minimal sample app repro editor2 zip android api version 33 material library version 1 7 0 rc01 device emulator 31 3 10 |
materialcomponentsmaterialcomponentsandroid | materialtimepicker materialdatepicker background color be not the same | Bug | description onsurfacecolor background be not equal for date and timepicker as you can see on the picture the background value be different on date and timepicker to each other it should be the same color second bug be the left and right margin as you can see its small on datepicker as on timepicker expect behavior the background color tint should be the same for date and or timepicker source code I do not apply any theme change to the default one app theme use m3 minimal sample app repro light mode f2f5f4 dark mode 1a2120 d1 light mode e4f0ea dark mode 192722 t1 as you can see the hex value be not the same but it should be the same in light mode and dark mode android api version android 12 material library version com google android material material 1 8 0 alpha01 device every device to help we triage fast please check to make sure you be use the late version of the library we also happily accept pull request |
materialcomponentsmaterialcomponentsandroid | materialdatepicker can t change color of current year in year picker grid | Bug | can t change color of current year in year picker grid when no day in calendar be select yet how can I set my own color instead of attr textcolorsecondary if you select any day then the text color of the year change to white and it doesn t help I have try many style and attribute but have not find the right one thank for the help |
materialcomponentsmaterialcomponentsandroid | bottomappbar rtl layout doesn t match m3 guideline | Bug | description although I don t quite understand why the bottomappbar shouldn t switch to rtl layout normally m3 design guideline say it shouldn t section responsive layout alignement align the layout of element to the edge of the container this mean the primary action such as the fab be on the right and secondary action such as icon button be on the left this arrangement reinforce the hierarchy of action it remain the same no matter the reading direction of the screen s language and the image description also say bottom app bar alignment be the same whether the text be a right to left rtl or leave to right ltr language this behavior be not implement in the library yet the fab be on the left for rtl language expect behavior match the m3 spec regard alignment behavior for bottomappbar in rtl layout mode android api version 33 material library version 1 8 0 alpha01 |
materialcomponentsmaterialcomponentsandroid | bottom sheet elevation be inconsistent | Bug | description 0 element design attribute role token or value 1 container elevation level 1 md sys elevation level1 element attribute relate method s default value elevation android elevation n a 3dp but md sys elevation level1 be not 3dp but 1dp modal bottom sheet be above a scrim while standard bottom sheet don t have a scrim besides this both type of bottom sheet have the same spec but the elevation be different in the implementation standard bottom sheet 3dp modal bottom sheet 6dp dimen m3 sys elevation level2 dimen m3 sys elevation level3 3dp 6dp l69 l82 l25 l26 l24 l25 expect behavior match the spec and the implementation android api version 32 material library version 1 7 0 rc01 device emulator 31 3 10 |
materialcomponentsmaterialcomponentsandroid | material theme the style on this component require your app theme to be theme appcompat or a descendant | Bug | description when use the theme material and material in conjunction with the new google splash screen api and use it in xml layout the component material break the layout preview an error occur in the logs everything work in runtime android studio swear only at the component material layout with standard android component work fine and show preview expect behavior in the manifest the application be inherit from the app start theme which be inherit from theme splashscreen image component realisation example image exception the follow class could not be instantiate com google android material textfield textinputedittext open class show exception clear cache com google android material textfield materialautocompletetextview open class show exception clear cache com google android material textfield textinputlayout open class show exception clear cache tip use view isineditmode in your custom view to skip code or show sample datum when show in the ide if this be an unexpected error you can also try to build the project then manually refresh the layout java lang illegalargumentexception the style on this component require your app theme to be theme appcompat or a descendant at com google android material internal themeenforcement checktheme themeenforcement java 247 at com google android material internal themeenforcement checkappcompattheme themeenforcement java 212 at com google android material internal themeenforcement checkcompatibletheme themeenforcement java 147 at com google android material internal themeenforcement obtainstyledattributes themeenforcement java 76 at com google android material textfield textinputedittext textinputedittext java 70 at com google android material textfield textinputedittext textinputedittext java 63 at java base jdk internal reflect nativeconstructoraccessorimpl newinstance0 native method at java base jdk internal reflect nativeconstructoraccessorimpl newinstance nativeconstructoraccessorimpl java 62 at java base jdk internal reflect delegatingconstructoraccessorimpl newinstance delegatingconstructoraccessorimpl java 45 at java base java lang reflect constructor newinstance constructor java 490 at org jetbrains android uipreview viewloader createnewinstance viewloader java 351 at org jetbrains android uipreview viewloader loadclass viewloader java 200 at org jetbrains android uipreview viewloader loadview viewloader java 161 at com android tool idea render layoutlibcallbackimpl loadview layoutlibcallbackimpl java 294 at android view bridgeinflater loadcustomview bridgeinflater java 417 at android view bridgeinflater loadcustomview bridgeinflater java 428 at android view bridgeinflater createviewfromtag bridgeinflater java 332 at android view layoutinflater createviewfromtag layoutinflater java 965 at android view layoutinflater rinflate original layoutinflater java 1127 at android view layoutinflater delegate rinflate layoutinflater delegate java 72 at android view layoutinflater rinflate layoutinflater java 1101 at android view layoutinflater rinflatechildren layoutinflater java 1088 at android view layoutinflater rinflate original layoutinflater java 1130 at android view layoutinflater delegate rinflate layoutinflater delegate java 72 at android view layoutinflater rinflate layoutinflater java 1101 at android view layoutinflater rinflatechildren layoutinflater java 1088 at android view layoutinflater rinflate original layoutinflater java 1130 at android view layoutinflater delegate rinflate layoutinflater delegate java 72 at android view layoutinflater rinflate layoutinflater java 1101 at android view layoutinflater rinflatechildren layoutinflater java 1088 at android view layoutinflater inflate layoutinflater java 686 at android view layoutinflater inflate layoutinflater java 505 at com android layoutlib bridge impl rendersessionimpl inflate rendersessionimpl java 359 at com android layoutlib bridge bridge createsession bridge java 436 at com android tool idea layoutlib layoutlibrary createsession layoutlibrary java 121 at com android tool idea render rendertask createrendersession rendertask java 717 at com android tool idea render rendertask lambda inflate 9 rendertask java 873 at com android tool idea render renderexecutor runasyncactionwithtimeout 3 run renderexecutor kt 192 at java base java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1128 at java base java util concurrent threadpoolexecutor worker run threadpoolexecutor java 628 at java base java lang thread run thread java 829 android api version android api from 23 to 33 compile version be 33 android studio dolphine material library version com google android material material 1 6 1 |
materialcomponentsmaterialcomponentsandroid | drawerlayout I find unintentional error inside navigationview setsubheaderinsetend function it be point to incorrect function | Bug | accord to this issue I try app subheaderinsetend 28dp inside xml also I try navigation setsubheaderinsetend 84 programmatically but all of these not solve the problem I find unintentional error inside navigationview setsubheaderinsetend function it be point to incorrect function untitle also to make sure the problem be from there I try this log w string valueof navigation getsubheaderinsetstart the output be 84 navigation setsubheaderinsetend 400 log w string valueof navigation getsubheaderinsetstart the output be 400 thank you for your effort |
materialcomponentsmaterialcomponentsandroid | the subheader look not the same when switch between ltr and rtl why drawerlayout | Bug | there be padding beginning of the subheader in the ltr english language 2 but there be no padding beginning of the subheader in the rtl arabic language 1 how can I solve this problem |
materialcomponentsmaterialcomponentsandroid | catalog bottom app bar corner of bottom sheet be not round | Bug | description the corner of the bottom sheet be not round discussion r868815029 screenshot 20220913 115523 l45 l58 expect behavior the corner of the bottom sheet be round screenshot 20220913 130200 or screenshot 20220913 130622 l45 l58 or I m not sure whether I should use the bottomsheetdraghandleview android api version 32 material library version sep 13 2022 device emulator 31 3 10 |
materialcomponentsmaterialcomponentsandroid | tablayout resourcesnotfoundexception re layout design layout tab icon xml when set viewpager adapter | Bug | description we exprience a crashe in production relate to tablayout when set viewpager adapter from motorola run android 11 I wonder if you re aware of the issue and if there s any fix fatal exception android content re resource notfoundexception file re layout design layout tab icon xml from xml type layout resource i d 0x7f0d0071 at android content re resourcesimpl loadxmlresourceparser resourcesimpl java 1277 at android content re resource loadxmlresourceparser resource java 2426 at android content re resource loadxmlresourceparser resource java 2402 at android content re resource getlayout resource java 1252 at android view layoutinflater inflate layoutinflater java 530 at com google android material tabs tablayout tabview inflateandadddefaulticonview tablayout java 2659 at com google android material tabs tablayout tabview update tablayout java 2608 at com google android material tabs tablayout tabview settab tablayout java 2561 at com google android material tabs tablayout createtabview tablayout java 1554 at com google android material tabs tablayout newtab tablayout java 859 at com google android material tabs tablayout populatefrompageradapter tablayout java 1529 at com google android material tabs tablayout setpageradapter tablayout java 1520 at com google android material tabs tablayout adapterchangelistener onadapterchange tablayout java 3440 at androidx viewpager widget viewpager setadapter viewpager java 549 android api version android 11 material library version 1 3 0 device motorola |
materialcomponentsmaterialcomponentsandroid | snackbar could not change snackbar width when migrate material design from 1 3 0 to 1 5 0 | Bug | description not sure if this be an issue but this be work on material 1 3 0 after upgrade to 1 5 and above if we want to update the width of the snackbar programatically win t work expect behavior I expect the snackbar to take the match parent of the view source code the followign code use to work to make the snackbar full width match parent after update from material 1 3 0 to 1 6 1 this have no effect val customsnackbar customsnackbar view parent as viewgroup bind customsnackbarview apply this duration duration getview layoutparam width viewgroup layoutparam match parent bind customsnackbarview imageclose setonclicklistener dismiss minimal sample app repro please consider attach a minimal sample app that reproduce the issue this will help narrow down the condition require for reproduce the issue and it will speed up the bug fix process you may attach a zip file of the sample app or link to a github repo that contain the sample app android api version compilesdkversion 31 buildtoolsversion 30 0 3 defaultconfig applicationid com xxx xxxxxx minsdkversion 23 targetsdkversion 30 versioncode 20701 versionname 2 7 0 material library version implementation com google android material material 1 6 1 device pixel c on landscape mode thank after update to materian 1 6 1 snackbar display as follow screenshot 2022 09 12 at 19 47 21 this be before the update with material 1 3 0 image we also happily accept pull request |
materialcomponentsmaterialcomponentsandroid | buttontogglegroup disable togglegroup doesn t disable child button | Bug | description hi I think this be not a bug but a logical improvement when I use setenable false to disable a materialbuttontogglegroup nothing happen expect behavior for I the logical behavior would be to have all child button disable at once for now I have to call setenable false on every child button seperately instead of simply call it on the container source code xml java bind togglegroup setenable false android api version 33 material library version 1 8 0 alpha01 device pixel 6 |
materialcomponentsmaterialcomponentsandroid | materialbutton paddingstart doesn t work | Bug | description paddingstart doesn t affect text padding but padding and paddingleft do expect behavior source code android api version android api version here material library version 1 8 0 alpha01 device no matter it even doesn t show in android studio xml redactor |
materialcomponentsmaterialcomponentsandroid | chipgroup chip with the type of choice can t be mark check programmatically | Bug | description I try to retrieve datum from the last state I want to mark a chip type choice where app singleselection true in the chipgroup expect behavior the color should be change the chip be mark source code the code snippet which be cause this issue I try to use chg check chip i d it doesn t work private fun restorelastvalue val sharedpreference getpreference mode private val rentorbuy sharedpreference getstre rentorbuy val view layoutinflat inflate r layout object type dialog null val chg view findviewbyid r i d chipgroup1 val chipscount chg childcount if rentorbuy var I 0 while I chipscount val chip chg getchildat I as chip val chiptext chip text tostre if chiptext rentorbuy tostring chg check chip i d chip ischecke true chg setsingleselection chip i d I else minimal sample app repro please consider attach a minimal sample app that reproduce the issue this will help narrow down the condition require for reproduce the issue and it will speed up the bug fix process you may attach a zip file of the sample app or link to a github repo that contain the sample app android api version android api version here android compilesdkversion 32 defaultconfig applicationid com corebuild arlocation demo minsdkversion 24 targetsdkversion 32 versioncode 1 versionname 1 0 testinstrumentationrunner androidx test runner androidjunitrunner compileoption sourcecompatibility javaversion version 1 8 targetcompatibility javaversion version 1 8 material library version material android library version you be use here e g 1 1 0 alpha07 implementation com google android material material 1 6 1 device device on which the bug be encounter here samsung s10 please can someone help I |
materialcomponentsmaterialcomponentsandroid | rotate any view 180 degree cause shadow to disappear completely | Bug | hello I know I be fight against a massive corporation but I have try my good to get at least someone that work with skia materialcomponent to fix this annoying issue which have destroy my codebase I be work on a paint app and in this app the user have the option to rotate the canvas this feature can be useful in some scenario the problem I be have be that when I rotate the materialcardview which host the canvas bitmap 180 degree the drop shadow card elevation disappear I do not get this problem when I rotate the materialcardview any angle but 180 degree only 180 degree below be some example 0 degree image 180 degree image my app be greatly suffer because of this bug as I ve have to resort to quite frankly terrible workaround such as set the rotation as 179 9 upon do more research I discover that this issue be report twice in issuetracker to my shock it be mark as resolve this issue be not resolve in android at least and be easily reproducible when create a new project in android studio dolphin with all due respect it s just absolutely insane that this bug still exist and I have have to deal with at least 5 bug because of the workaround that someone help I come up with I also have to delay the release of my next app s version because of all the bug because of this issue my codebase be also greatly suffer because of the workaround it s almost as if you guy don t care about developer and be just sweep this issue under the rug release after release after release and absolutely no comment in regard to this issue can you please patch this bug |
materialcomponentsmaterialcomponentsandroid | how to resolve the exittransition conflict in the same fragment | Help Wanted | I have a fragmenta in which there be a nested fragmentb in viewpager2 and a search button I want to jump from fragmentb to fragmentc I set exittransition and reentertransition in fragmenta and fragmentc respectively it work very well but I still need to jump from fragmenta to fragmentd when I click the search button at this time the exittransition and reentertransition in fragmenta will conflict with another transition effect how can I solve it screenshot 20220902 145813 my english so bad sorry I holp you understand my mean |
materialcomponentsmaterialcomponentsandroid | bottomappbar bottomappbar cast a shadow | Bug | description bottomappbar elevation no shadow m3 bottom app bar have new color a tall container no elevation or shadow and contain the fab unnamed9 but the bottomappbar cast a shadow 180359724 25751a28 3757 45b5 8b06 88ac6bb92b48 the materialtoolbar cast no drop shadow issuecomment 1233742799 expect behavior the bottomappbar cast no shadow or revise the documentation source code minimal sample app repro test1 zip android api version 33 material library version 1 7 0 rc01 device emulator 31 3 10 |
materialcomponentsmaterialcomponentsandroid | slider thumb halo be active for no reason label slider api 19 | Bug | sliderlabelbehaviordemofragmenton api 19 sliderlabelbehaviordemofragmenton api 29 material library version 1 7 0 rc01 |
materialcomponentsmaterialcomponentsandroid | slider label break if it s too close to the edge of the screen | Bug | material library version 1 7 0 beta01 device pixel 4 api 31 |
materialcomponentsmaterialcomponentsandroid | linearprogressindicator add track radius cause incorrect progress in the start of the indicator | Bug | description say I set a linearprogressindicator to have the follow trait progressindicator progress positioninms 100 deci second progressindicator max durationinm 100 this result in a very fine position for the progress indicator when there be no track radius set very low progress amount say 10 look fine image when there be a track radius however the show progress be much large than it should be presumably to accommodate the track radius in this example the track radius be 16dp image expect behavior the progress when there be a track radius should be the same as the progress when there be no track radius if the progress extent can not contain the whole track radius just clip the draw progress a bit so that it do correctly fit I ve attach a picture below of what I want image source code see above android api version 33 material library version 1 7 0 beta01 device oneplus 7 t running lineageo |
materialcomponentsmaterialcomponentsandroid | problem to display error on disabled textinputedittext | Bug | description hi I ve get a problem to display an error on my textinputedittext the problem be the next one when my textinputedittext be enable by default the error be well display with the message but if I disable my textinputedittext the error be not properly display just the error icon be display not the message please take a look on the image that illustrate the problem thank for your help good regard harkame start screen start screen click on disable the problem no error message clike on enable no problem the error message be display expect behavior I want to display the error icon message on a disabled textinputedittext maybe its not possible sample code here my xml code xml here how I disable my textinputedittext kotlin bind etphonenumber isenable false here how I display my error kotlin bind etphonenumber isfocusableintouchmode true bind etphonenumber error errormessage bind etphonenumber requestfocus here the full kotlin code kotlin package fr harkame textinputedittexterrorsample import android os bundle import com google android material snackbar snackbar import androidx appcompat app appcompatactivity import androidx navigation findnavcontroller import androidx navigation ui appbarconfiguration import androidx navigation ui navigateup import androidx navigation ui setupactionbarwithnavcontroller import android view menu import android view menuitem import fr harkame textinputedittexterrorsample databinde activitymainbinding class mainactivity appcompatactivity private lateinit var appbarconfiguration appbarconfiguration private lateinit var bind activitymainbinding override fun oncreate savedinstancestate bundle super oncreate savedinstancestate bind activitymainbinding inflate layoutinflater setcontentview bind root bind btdisableedittext setonclicklistener if bind etphonenumber isenable bind etphonenumber isenable false bind btdisableedittext text enable bind etphonenumber isfocusableintouchmode true bind etphonenumber error etphonenumber be now disabled bind etphonenumber requestfocus else bind etphonenumber isenable true bind btdisableedittext text disable bind etphonenumber isfocusableintouchmode true bind etphonenumber error etphonenumber be now enable bind etphonenumber requestfocus sample app that recreate the problem I have create a very minimal app that reproduce this problem android api version api 32 material library version 1 6 1 also try 1 7 0 beta01 device android emulator nexus 6 |
materialcomponentsmaterialcomponentsandroid | materialalertdialog style cut corner with backgroundcolor in title break corner | Bug | when style a materialalertdialog theme for cut corner be work but if I style the title and add a background color to the title the cut corner around the title disappear work code without the problem screenshot of work alert dialog cut corner workingcutcorner now uncommente the color lightblack line notworkingcutcorner be I not style correctly or it s really a bug or a limitation and an impossibility |
materialcomponentsmaterialcomponentsandroid | catalog navigation bar overlap ui component in landscape mode | Bug | description in the material design m3 catalog example if a user have set either 2 button or 3 button navigation mode and switch from portrait to landscape mode the navigation bar overlap some ui component on the right leave side of the screen e g back button menu button setting button however if a user have set gesture navigation mode instead the ui be not affect by that issue as the system behavior be slightly different you can reproduce the issue as follow switch to either 2 button or 3 button navigation mode on any device emulator open the material design m3 catalog example turn the device emulator to landscape mode see below example screenshot that show the issue in various component example 1 3 button navigation bar on the left side be overlap the back button icon example 2 3 button navigation bar on the right side be overlap the heart button icon example 3 3 button navigation bar on the left side be overlap the closing button icon example 4 3 button navigation bar on the right side be overlap the menu button icon expect behavior the 2 button and 3 button navigation bar don t overlap the ui component in landscape mode source code see the catalog example code to avoid that issue you should apply left and right inset for the main view via viewcompat setonapplywindowinsetslistener and setpadde minimal sample app repro see the catalog example code android api version as of api 16 up to api 33 material library version 1 7 0 beta01 device any emulator e g pixel or any real device |
materialcomponentsmaterialcomponentsandroid | bottomsheetdialog incorrect background color when override the bottom sheet dialog theme with an overlay | Bug | description bottom sheet doesn t use the elevated surface background colour when apply a theme overlay to the bottom sheet dialog theme if I comment out the bottomsheetdialogtheme attribute I can reproduce the expect behaviour screenshot 20220820 182648 expect behavior screenshot 20220820 182718 source code xml minimal sample app repro android api version android 11 api 30 material library version 1 7 0 beta01 device mi a3 |
materialcomponentsmaterialcomponentsandroid | can not change the default font in material 3 | Bug | in material 2 the default font can be change by override the defaultfontfamily property material 2 compose val typography2 typography defaultfontfamily myfont but after upgrade to material 3 it be not possible because there be no defaultfontfamily property be there certain reason |
materialcomponentsmaterialcomponentsandroid | materialbutton double ripple effect when update appcompat from 1 4 2 to 1 5 0 | Bug | description when update appcompat from 1 4 2 to 1 5 0 the ripple effect of my materialbutton be trigger twice once at the location of the click and a second time a few frame later at the center of the button it work without any issue before update appcompat I have link a video that show the double ripple effect appcompat version 1 5 0 and one that show the expect single ripple effect appcompat version 1 4 2 the appcompat version be the only difference between the two video video of the issue expect behavior because it might be hard to see the issue without step through frame by frame on the video I also add three consecutive frame of the video to well illustrate the issue android api version the issue at least occur with api 30 and api 29 but do not happen with api 31 and api 32 material library version 1 6 1 device pixel 4 emulator |
materialcomponentsmaterialcomponentsandroid | tablayout extra padding in custom tab | Bug | how to reproduce set custom tab xml as a view for tab custom tab xml result expect behavior no padding between the icon and the text actual behavior extra padding between the icon and the text material library version 1 7 0 beta01 |
materialcomponentsmaterialcomponentsandroid | checkbox uncheck animation miss animation duration unbalanced | Bug | description hi thank for the new beta release I be very happy to try out the new checkbox animation but sadly I have to say that I don t really like they personally I think the old animation be much more intuitive and smoother the new one be somehow miss the smoothness and playfulness of material you more precisely I mean the animation from unchecked to check too short in contrast to the maybe too long one from check to indeterminate and the one from check to unchecked I think it s completely miss or far too short also the old bounce effect have much well suit the playfulness of material you than the new static box I think new animation for reference new expect behavior I don t know how much of the animation be new specification of the design team currently the new doc for checkboxe be still not available for we regard what they think of but I think the hard check to unchecked animation be not a good experience and have to be improve maybe some re think of the design team be require for the animation duration in general if they look the same in their doc here be the old animation for reference notice the smooth and playful check to unchecked animation old also I have to say that I don t understand why the new drawable animation file be make of fill path instead of a simple stroke that would make the transition to indeterminate technically much simple and would allow rounded end of the stroke something I would prefer for checkboxe in my app then a method setstrokecaprounde round would be a very nice addition but that would be a new feature request android api version 33 material library version 1 7 0 beta01 device pixel 6 |
materialcomponentsmaterialcomponentsandroid | textinputlayout and textinputedittext onclick not work | Bug | description we need a read only input via textinputlayout and textinputedittext since it have a decent transition of hint label however onclick be not work on both layout expect behavior read only textinputlayout and textinputedittext but can accept click tap event source code suffixnameinput setonclicklistener requireactivity showtoast suffix inputedittextsuffixname setonclicklistener requireactivity showtoast suffix minimal sample app repro n a android api version 21 material library version 1 7 0 alpha03 device emulator pixel 3 |
materialcomponentsmaterialcomponentsandroid | materialdatepicker crash due to call show with tag | Bug | description sometimes when the dialog be a bit slow to show and accidentally you call dialog show fragmentmanager tag twice it crash with the follow log fatal exception main process com sample app pid 23149 java lang illegalstateexception can t change tag of fragment materialdatepicker 274d712 103dd30e db63 4d2a a34e 8eba30196a1a tag materialdatepicker 274d712 103dd30e db63 4d2a a34e 8eba30196a1a be materialdatepick 274d712 103dd30e db63 4d2a a34e 8eba30196a1a now materialdatepicker 274d712 103dd30e db63 4d2a a34e 8eba30196a1a tag materialdatepicker 274d712 103dd30e db63 4d2a a34e 8eba30196a1a at androidx fragment app fragmenttransaction doaddop fragmenttransaction java 312 at androidx fragment app backstackrecord doaddop backstackrecord java 195 at androidx fragment app fragmenttransaction add fragmenttransaction java 224 at androidx fragment app dialogfragment show dialogfragment java 261 at com sample app presentation ui detail overviewfragment initviews lambda 12 lambda 11 lambda 8 overviewfragment kt 208 at com sample app presentation ui detail overviewfragment r8 lambda lli1snzuqnodo8aj4 bgfvoqde8 overviewfragment kt 0 at com sample app presentation ui detail overviewfragment externalsyntheticlambda4 onclick r8 syntheticclass 0 at android view view performclick view java 7441 at android widget compoundbutton performclick compoundbutton java 146 at android view view performclickinternal view java 7418 at android view view access 3700 view java 835 at android view view performclick run view java 28676 at android os handler handlecallback handler java 938 at android os handler dispatchmessage handler java 99 at android os looper looponce looper java 201 at android os looper loop looper java 288 at android app activitythread main activitythread java 7839 at java lang reflect method invoke native method at com android internal os runtimeinit methodandargscaller run runtimeinit java 548 at com android internal os zygoteinit main zygoteinit java 1003 expect behavior no crash source code fromdatechip setonclicklistener datepickerfrom show parentfragmentmanager datepickerfrom tostre todatechip setonclicklistener datepickerto show parentfragmentmanager datepickerto tostring where datepickerfrom and datepickerto be the actual dialog from materialdatepicker builder datepicker minimal sample app repro n a intermittent android api version 31 material library version 1 7 0 alpha03 device emulator pixel 4 |
materialcomponentsmaterialcomponentsandroid | collapsingtoolbarlayout elevation bug when use swiperefreshlayout and titlecollapsemode scale | Bug | description look on toolbar in attach video expect behavior source code base on code from catalog demo app cat topappbar collapse medium fragment xml be add app titlecollapsemode scale attribute to collapsingtoolbarlayout and swiperefreshlayout xml minimal sample app repro it can be reproduce in catalog demo app with little change in cat topappbar collapse medium fragment xml android api version 32 and below material library version late from repo on issue create date ps it can be fix with app liftonscrolltargetviewid i d list attribute but anyway its a bug |
materialcomponentsmaterialcomponentsandroid | navigationbar button color on light navigation bar refuse to have dark tint | Bug | description full description of issue here the navigation bar for api 31 on pixel 5 doesn t pick up the contrast rule set in style xml expect behavior screenshot and or description of expect behavior the expect behavior should be white background and dark button source code android color white true minimal sample app repro please consider attach a minimal sample app that reproduce the issue this will help narrow down the condition require for reproduce the issue and it will speed up the bug fix process you may attach a zip file of the sample app or link to a github repo that contain the sample app android api version android api version here api 31 material library version material android library version you be use here e g 1 1 0 alpha07 device pixel 5 to help we triage fast please check to make sure you be use the late version of the library we also happily accept pull request |
materialcomponentsmaterialcomponentsandroid | topappbar compress effect not fully work on api level 24 | Bug | description I ve see that the compress effect of the m3 catalog example top app bar compress effect demo topappbarcompresseffectfragment be not properly work on device with api level 24 the problem occur in case tab be use when scroll up the app bar title be be compress and disappear as intend however as soon as the tab be start to get hide the app bar title reappear and overlap with the tab icon and text if you remove app layout scrolleffect compress from the xml the issue disappear but of course also the compress effect see the follow animation expect behavior 1 the compress effect also work as intend on api level 24 I e the app bar title and tab text icon do not overlap when scroll up down 2 in addition it would be great to have a possiblity to set the scroll effect programmatically see feature request 2894 source code minimal sample app repro see m3 catalog example top app bar compress effect demo 1 2 android api version api 23 22 21 16 material library version 1 7 0 beta01 device pixel 5 emulator |
materialcomponentsmaterialcomponentsandroid | slider touch event never end if cut off by a system gesture | Bug | description if one slide a slider while also make the back gesture in the gesture navigation mode the original slider touch event will never end the listener win t fire and the slider will continue to display as if it be be touch the only way to stop this be to touch the slider again expect behavior the slider should stop it s touch event if a system gesture be start while it be be touch source code any slider component have this android api version 30 on the device I record it on however it can also be reproduce on all other version that have gesture navigation material library version 1 7 0 alpha03 device oneplus 7 t running lineageo |
materialcomponentsmaterialcomponentsandroid | bug not compile library | Bug | screenshot 20220802 171001 sketchware pro screenshot 20220802 170959 sketchware pro screenshot 20220802 170955 sketchware pro not find macro |
materialcomponentsmaterialcomponentsandroid | bottomappbar embed fab be not vertically align with icon button | Bug | material library version 1 7 0 alpha03 |
materialcomponentsmaterialcomponentsandroid | bottomsheetbehavior shouldskiphalfexpandedstatewhendragging be ignore by some nest scroll event | Bug | description my bottom sheet be fittocontent false thus they have a half expand state I try to disable on my end the exist flag that I use work well for all touch event except for nest scrolling there the half expand state will still occur even when I try to disable it expect behavior when complete a nest scrolling event that swipe the panel up or down the behavior should check shouldskiphalfexpandedstatewhendragging and skip the half expand state when enable like the other drag code more specifically these line in onstopnestedscroll need to be update to have a check l771 l775 l799 l803 l812 l816 source code I disable the half expand state by override the follow method kotlin override fun shouldskiphalfexpandedstatewhendragging true override fun shouldexpandonupwarddrag dragdurationmillis long ypositionpercentage float true I understand that these be for internal use but since 1807 be seemingly dead I have to use whatever workaround I could find android api version api 31 material library version 1 7 0 alpha03 device pixel 5 |
materialcomponentsmaterialcomponentsandroid | navigation drawer why the text inside the navigation drawer be not the same | Bug | can I know why the text inside the navigation drawer be not the same uu notice some item have bold text and some item have regular text why be that happen I m use material design 3 |
materialcomponentsmaterialcomponentsandroid | slider the label be scroll when it s in the scroll view and label visible | Bug | description this issue come when the slider be place inside scrollview and labelbehavior be set as label visible when the user scroll down the label be scroll too whatsapp video 2022 07 27 at 1 07 47 pm expect behavior the expect behavior be the label be not scroll and be still in the slider position android api version android 10 api level 29 and android 11 api level 30 material library version test on 1 6 0 and 1 7 0 alpha03 device test on google pixel 3a emulator and xiaomi redmi 10s |
materialcomponentsmaterialcomponentsandroid | unable to save setting fail to save setting please restart android studio | Bug | I do get this on 2 version of android studio but in no other project error unable to save setting fail to save setting please restart android studio reproduction I have check if indeed it be android studio by open many other app and never see this in they to produce I just have to open the project it even crash 1 2 way and I need to re open it it will also happen when I do explicitly open setting and close it etc version test kotlin android studio dolphin 2021 3 1 beta 5 build ai 213 7172 25 2113 8774922 build on june 28 2022 runtime version 11 0 14 1 1 b1751 46 amd64 and kotlin android studio chipmunk 2021 2 1 patch 1 build ai 212 5712 43 2112 8609683 build on may 18 2022 runtime version 11 0 12 7 b1504 27 amd64 |
materialcomponentsmaterialcomponentsandroid | materialdaterangepicker how to achieve appcompat theme for view when use the material theme | Bug | I have use material theme for to achieve date range picker in my application all button textbox be get render with different style colour how to achieve the old style for all view when use the material theme use theme appcompat noactionbar for my appliction |
materialcomponentsmaterialcomponentsandroid | materialdatepicker how to achieve month pagination in date range calendar | Bug | month pagination be not enable for daterangecalendar by default how to achieve month pagination in date range calendar to navigate next and previous month instead of scroll for previous next month use theme materialcomponent daynight darkactionbar for application code snippet val constraint calendarconstraint builder setstart materialdatepicker thismonthinutcmillisecond setvalidator datevalidatorpointforward now build val datepickerbuilder materialdatepicker builder materialdatepicker builder daterangepicker setinputmode materialdatepick input mode calendar settitletext select a date setcalendarconstraint constraint val datepicker datepickerbuilder build datepicker show supportfragmentmanager date picker range |
materialcomponentsmaterialcomponentsandroid | materialdaterangepicker focus color be not align for number when set theme to dynamically | Bug | number be not align properly when set theme to dynamically use style theme appcompat noactionbar in application in androidmanif file and apply material theme for daterangecalendar use settheme api dynamically android name com testapp android testapplication android theme style theme appcompat noactionbar code snippet materialdatepicker builder materialdatebuilder materialdatepicker builder daterangepicker materialdatebuilder settitletext select date int caltheme konymain getappcontext getresource getidentifi daterangecal1 style myactivity getappcontext getpackagename materialdatebuilder settheme caltheme final materialdatepicker materialdatepicker materialdatebuilder build materialdatepicker show konymain getactcontext getsupportfragmentmanager material date picker style note not able to attach image |
materialcomponentsmaterialcomponentsandroid | materialdaterangepicker number be not align properly when set theme to dynamically | Bug | number be not align properly when set theme to dynamically code snippet materialdatepicker builder materialdatebuilder materialdatepicker builder daterangepicker materialdatebuilder settitletext select date int caltheme konymain getappcontext getresource getidentifi daterangecal1 style myactivity getappcontext getpackagename materialdatebuilder settheme caltheme final materialdatepicker materialdatepicker materialdatebuilder build materialdatepicker show konymain getactcontext getsupportfragmentmanager material date picker style androidmanif xml file |
materialcomponentsmaterialcomponentsandroid | topappbar topappbar be flicker when change tab and use app liftonscrolltargetviewid | Bug | description I ve create an app with different tab whereas each tab contain a separate fragment with separate i d s each fragment contain a recyclerview the main activity setup consist of appbarlayout materialtoolbar and tablayout follow by a viewpager2 in order to control the color effect when lift the appbar I m use app liftonscrolltargetviewid in addontabselectedlistener of the tablayout the list be update in the background by a handler I ve notice the follow behavior when two adjacent tab be in different state 1 the appbar of the first tab call alpha be in lift state whereas the appbar of the second tab call beta be not in lift state that mean that the appbar of tab alpha have a dark color light grey than the one from tab beta white 2 when switch between the tab the appbar be flicker see video 3 look closely at that video you can see the follow effect you have to scroll manually and very slowly through the video when switch from tab alpha to beta the appbar color be change from light grey to white then again to light grey and be then fade to white when switch from tab beta to alpha the appbar color be change from white to dark grey for the appbar only and then to light grey for status bar and appbar seem to be adapt to the status bar color I be debug the code and modify different parameter of the appbarlayout I couldn t find the exact reason for the flickering but it seem to I that the logic behind app liftonscrolltargetviewid somehow interfere with the default elevation parameter of the appbarlayout they seem to have different color in different layout state expect behavior the appbar doesn t flicker when switch from one tab to another source code tablayout addontabselectedlistener new tablayout ontabselectedlistener requiresapi api build version code lollipop override public void ontabselected tablayout tab tab int recyclerviewid switch tab getposition case 0 recyclerviewid r i d tab1listview break case 1 recyclerviewid r i d tab2listview break default recyclerviewid r i d tab1listview appbarlayout appbarlayout findviewbyid r i d appbar appbarlayout setliftonscrolltargetviewid recyclerviewid override public void ontabunselecte tablayout tab tab no op override public void ontabreselecte tablayout tab tab no op minimal sample app repro for the whole code a sample app and a video see here android api version 33 material library version 1 7 0 beta01 device pixel 5 emulator and various real device such as e g nokia 7 2 |
materialcomponentsmaterialcomponentsandroid | bottomappbar child be not lay out correctly | Bug | description the child of bottomappbar be not lay out correctly when app menualignmentmode be start the child of bottomappbar be lay out correctly when app menualignmentmode be auto screenshot 20220722 125942 expect behavior the child of bottomappbar be lay out correctly when app menualignmentmode be start screenshot 20220720 142926 source code the default value of app menualignmentmode widget material3 bottomappbar be not auto but start element attribute relate method s default value alignment mode app menualignmentmode setmenualignmentmode auto getmenualignmentmode l64 minimal sample app repro test1 zip android api version 32 material library version 1 7 0 alpha03 device emulator 31 2 10 |
materialcomponentsmaterialcomponentsandroid | badge crash after process death when horizontaloffset be set but verticaloffset be not | Bug | description badgestate java perform a wrong null check which can cause crash when open an app after a process death currently storedstate horizontaloffsetwithouttext be check but storedstate verticaloffsetwithouttext be access this result in a crash if horizontaloffsetwithouttext be set but verticaloffsetwithouttext be not expect behavior verticaloffsetwithouttext be check for a null value before access it source code badgestate java l165 java currentstate verticaloffsetwithouttext storedstate horizontaloffsetwithouttext null a getdimensionpixeloffset r styleable badge verticaloffset 0 storedstate verticaloffsetwithouttext stacktrace fatal exception java lang nullpointerexception attempt to invoke virtual method int java lang integer intvalue on a null object reference at com google android material badge badgestate badgestate java 166 at com google android material badge badgedrawable badgedrawable java 260 at com google android material badge badgedrawable createfromsavedstate badgedrawable java 185 at com google android material badge badgeutil createbadgedrawablesfromsavedstate badgeutil java 297 at com google android material navigation navigationbarpresenter onrestoreinstancestate navigationbarpresenter java 128 at androidx appcompat view menu menubuilder dispatchrestoreinstancestate menubuilder java 357 at androidx appcompat view menu menubuilder restorepresenterstate menubuilder java 369 at com google android material navigation navigationbarview onrestoreinstancestate navigationbarview java 932 android api version do not depend on android api version material library version test on 1 6 1 but issue persist in master device be not device dependent |
materialcomponentsmaterialcomponentsandroid | slider null pointer exception on visibility change | Bug | description null pointer exception on visibility change after this commit java lang nullpointerexception at com google android material slider baseslider onvisibilitychange baseslider java 1587 at android view view dispatchvisibilitychanged view java 7371 at android view viewgroup dispatchvisibilitychange viewgroup java 1029 at android view viewgroup dispatchvisibilitychange viewgroup java 1029 at android view viewgroup dispatchvisibilitychange viewgroup java 1029 at android view viewgroup dispatchvisibilitychange viewgroup java 1029 at android view view setflag view java 8370 at android view view setvisibility view java 5512 at com pranavpandey android dynamic support dynamic setvisibility dynamic java 1786 at com pranavpandey android dynamic support picker color dynamiccolorpicker setcontrol dynamiccolorpicker java 1012 at com pranavpandey android dynamic support picker color dialog dynamiccolordialog oncustomisebuilder dynamiccolordialog java 158 at com pranavpandey android dynamic support dialog fragment dynamicdialogfragment oncreatedialog dynamicdialogfragment java 139 at androidx fragment app dialogfragment preparedialog dialogfragment java 665 at androidx fragment app dialogfragment ongetlayoutinflater dialogfragment java 579 at androidx fragment app fragment performgetlayoutinflater fragment java 1752 at androidx fragment app fragmentstatemanager createview fragmentstatemanager java 493 at androidx fragment app fragmentstatemanager movetoexpectedstate fragmentstatemanager java 261 at androidx fragment app fragmentmanager executeopstogether fragmentmanager java 1890 at androidx fragment app fragmentmanager removeredundantoperationsandexecute fragmentmanager java 1814 at androidx fragment app fragmentmanager execpendingaction fragmentmanager java 1751 at androidx fragment app fragmentmanager 5 run fragmentmanager java 538 at android os handler handlecallback handler java 615 at android os handler dispatchmessage handler java 92 at android os looper loop looper java 137 at android app activitythread main activitythread java 4745 at java lang reflect method invokenative native method at java lang reflect method invoke method java 511 at com android internal os zygoteinit methodandargscaller run zygoteinit java 786 at com android internal os zygoteinit main zygoteinit java 553 at dalvik system nativestart main native method expect behavior it should not crash and I think some null check be require here l1587 before remove the label source code I have not change anything and everything be work fine before this code be add to the baseslider override protect void onvisibilitychange nonnull view changedview int visibility super onvisibilitychange changedview visibility when the visibility be set to visible ondraw be call again which add or remove label accord to the setting if visibility visible viewoverlayimpl contentviewoverlay viewutil getcontentviewoverlay this for tooltipdrawable label label contentviewoverlay remove label minimal sample app repro I be use it in my library via a custom slider to display a color picker inside a dialog fragment it dynamically set the visibility of various slider base on user preference it be work fine with the previous version 1 7 0 alpha02 1 clone dynamic support repository 2 change material version l29 to 1 7 0 alpha03 in build gradle file 3 run the sample app go to setting 4 select any color preference to crash android api version api 16 work fine on api 19 material library version 1 7 0 alpha03 device emulator work fine on a physical device |
materialcomponentsmaterialcomponentsandroid | tooltip tooltipcompat settooltiptext be use platform tooltip on api 26 | Bug | description when call tooltipcompat settooltiptext method I expect to always get a compatible tooltip use tooltipcompathandler class no matter which version of android I m run on this be because only the compat version allow to change the tooltip look through tooltipstyle tooltipforegroundcolor and tooltipframebackground theme attribute system one be private and can not be change I also expect other view like tab toolbar etc to show my custom tooltip instead of the default platform one expect behavior tooltipcompat settooltiptext to always use tooltipcompathandler class no matter which android version it s run on source code java public class tooltipcompat set the tooltip text for the view prior to api 26 this method set or clear when tooltip be null the view s onlongclicklistener and onhoverlistener a toast like subpanel will be create on long click or mouse hover param view the view to set the tooltip text on param tooltiptext the tooltip text public static void settooltiptext nonnull view view nullable charsequence tooltiptext if build version sdk int 26 view settooltiptext tooltiptext else tooltipcompathandler settooltiptext view tooltiptext private tooltipcompat minimal sample app repro n a android api version n a material library version 1 6 1 device any |
materialcomponentsmaterialcomponentsandroid | textfield edittext ontouchlistener should be onclicklistener | Bug | description dropdownmenuendicondelegate set a touch listener on the autocomplete edittext in dropdownmenuendicondelegate java the return false result in this touch listener be trigger twice once for motionevent action up and once for the subsequent motionevent action down expect behavior observe in the video the double ripple effect due to ontouchlistener be trigger twice it should only be a single ripple effect source code private void setupdropdownshowhidebehavior nonnull final autocompletetextview edittext set whole layout clickable edittext setontouchlistener this should be a click listener new ontouchlistener override public boolean ontouch nonnull view v nonnull motionevent event if event getaction motionevent action up if isdropdownpopupactive dropdownpopupdirty false showhidedropdown edittext updatedropdownpopupdirty return false minimal sample app repro please consider attach a minimal sample app that reproduce the issue this will help narrow down the condition require for reproduce the issue and it will speed up the bug fix process you may attach a zip file of the sample app or link to a github repo that contain the sample app android api version 31 material library version 1 6 1 device pixel 4 api 31 xxhdpi emulator to help we triage fast please check to make sure you be use the late version of the library we also happily accept pull request |
materialcomponentsmaterialcomponentsandroid | while try to take branch and run the master branch get error look like some resource be miss | Bug | description full description of issue here expect behavior screenshot and or description of expect behavior source code the code snippet which be cause this issue minimal sample app repro please consider attach a minimal sample app that reproduce the issue this will help narrow down the condition require for reproduce the issue and it will speed up the bug fix process you may attach a zip file of the sample app or link to a github repo that contain the sample app android api version android api version here material library version material android library version you be use here e g 1 1 0 alpha07 device device on which the bug be encounter here fail lib packagedebugresource token xml can t determine type for tag attr colorsurface token xml can t determine type for tag attr colorprimary fab tokens xml can t determine type for tag attr colorprimarycontainer tokens xml can t determine type for tag attr coloronprimarycontainer token xml can t determine type for tag linear token xml can t determine type for tag round token xml can t determine type for tag san serif user mac androidstudioproject material component android lib java com google android material bottomappbar re value tokens xml error can t determine type for tag attr colorsurface |
materialcomponentsmaterialcomponentsandroid | materialtimepicker be pm toggle be not display in portrait mode api 21 rtl | Bug | actual behavior expect behavior material library version 1 7 0 alpha03 condition pixel 4 api 21 portrait mode rtl on |
materialcomponentsmaterialcomponentsandroid | materialtimepicker clock face be not display in landscape mode rtl | Bug | actual behavior expect behavior material library version 1 7 0 alpha03 condition pixel 4 api 31 landscape mode rtl on |
materialcomponentsmaterialcomponentsandroid | materialtimepicker vertical alignment of digit in display mode and edit mode be different | Bug | android api version api 31 api 33 material library version 1 7 0 alpha03 |
materialcomponentsmaterialcomponentsandroid | materialtoolbar dynamic color not apply | Bug | description if a custom color be apply the dynamic color be not apply to the materialtoolbar but be apply to all other component expect behavior background color of materialtoolbar should be brown choose system color like other component minimal sample app repro materialtoolbarcolorbug zip android api version 32 material library version 1 7 0 alpha03 device resizable emulator explanation of the video 1 I show that brown be select as the system color 2 I show that I enable dynamic color in app kt 3 I start the app and I show that fab next button and materialtoolbar be brown 4 I enable the theme definition in theme xml and restart the app I create the theme in material theme builder 5 fab and next button be still brown but the materialtoolbar be blue that s the issue |
materialcomponentsmaterialcomponentsandroid | switch materialswitch be not apply to switchpreferencecompat | Bug | description I leverage switchpreferencecompat in the preference screen of my app even though mdc have release the new switch component in an unstable version the new switch will not appear on the preference screen this can be trace back to the preference implementation inflate a switch but materialcomponentsviewinflater not intercept that inflation and replace it with an analogous materialswitch expect behavior the preference screen should leverage materialswitch source code occur with any switchpreferencecompat instance android api version any api version material library version 1 7 0 alpha03 device pixel 5 |
materialcomponentsmaterialcomponentsandroid | button ripple and icon color do not match m3 spec | Bug | description accord to the material design 3 spec unselecte normal widget material3 button iconbutton and outline widget material3 button iconbutton outline icon button should have a ripple and icon tint base on coloronsurfacevariant instead since they be base on widget material3 button textbutton they actually have tint base on colorprimary this make sense if the button be select but not when it be unselecte expect behavior for icon and ripple tint in the say theme to be base on coloronsurfacevariant when unselecte source code any materialbutton apply this theme will have the issue material library version 1 7 0 alpha03 |
materialcomponentsmaterialcomponentsandroid | material3 transition animation problem | Bug | how to fix transition animation problem day night mood expect behavior screenshot and or description of expect behavior check back animation night mode be good work but light mode material library version material android library version you be use here e g 1 1 0 alpha07 and material 1 6 1 device all device code |
materialcomponentsmaterialcomponentsandroid | topappbar color effect when scroll be lose in case list item of recyclerview be update | Bug | description in my app I m use appbarlayout materialtoolbar and tablayout similar to the material component catalog example topappbarcompresseffectfragment java and cat topappbar compress effect fragment xml my app have also implement the same effect to automatically change the color of these element when the user be scroll the ui up and down in my case the scrollable part be a viewpager2 plus a recyclerview for each fragment tab in order to make the ui horizontally and vertically swipable see source code when I m scroll the ui up and down I ve notice that as soon as a list item from the recyclerview be refresh its content the color of appbarlayout materialtoolbar and tablayout be reset to their default if you then scroll up and down the list a little bit the color of the element be reinstate if a list item of the recyclerview have to be refresh e g every one second and the user be at the same time scroll up and down the list the aforementioned element color will always be reset and set again what cause the ui to flicker see here for an example where list item nr 4 be update every three second for illustrative purpose expect behavior the color of appbarlayout materialtoolbar and tablayout shouldn t be reset to their default when the user be scroll and a list item of the recyclerview be update the color effect should remain stable be there any workaround for that problem source code minimal sample app repro code issue android api version api level 33 but also in low api level material library version 1 7 0 alpha03 device pixel 5 emulator |
materialcomponentsmaterialcomponentsandroid | splash screen with dynamiccolor issue | Bug | main theme theme material3 daynight noactionbar splash theme theme splashscreen dynamic color not set on post theme while use dynamiccolor applytoactivitiesifavailable this in application class testing emulator resizable emulator api version 33 |
materialcomponentsmaterialcomponentsandroid | release note for 1 7 0 alpha03 | Bug | I note that 1 7 0 alpha03 be available for use in android studio but I can t see anything about this release in the release note |
materialcomponentsmaterialcomponentsandroid | bottomsheet indexoutofboundexception on setstateinternal | Bug | description we re experience some crash in production relate to bottomsheetbehavior among user run android 12 on samsung phone I update the material library from 1 0 0 to 1 2 1 but still experience the same in the late release I wonder if you re aware of the issue and if there s any fix fatal exception java lang indexoutofboundsexception index 0 size 0 at java util arraylist remove arraylist java 503 at androidx core view viewcompat removeactionwithid viewcompat java 1349 at androidx core view viewcompat removeaccessibilityaction viewcompat java 1339 at com google android material bottomsheet bottomsheetbehavior updateaccessibilityaction bottomsheetbehavior java 1717 at com google android material bottomsheet bottomsheetbehavior setstateinternal bottomsheetbehavior java 1111 at com google android material bottomsheet bottomsheetbehavior settlerunnable run bottomsheetbehavior java 1540 at android view choreographer callbackrecord run choreographer java 1108 at android view choreographer docallback choreographer java 866 at android view choreographer doframe choreographer java 792 at android view choreographer framedisplayeventreceiver run choreographer java 1092 at android os handler handlecallback handler java 938 at android os handler dispatchmessage handler java 99 at android os looper looponce looper java 226 at android os looper loop looper java 313 at android app activitythread main activitythread java 8669 at java lang reflect method invoke method java at com android internal os runtimeinit methodandargscaller run runtimeinit java 571 at com android internal os zygoteinit main zygoteinit java 1135 fatal exception java lang arrayindexoutofboundsexception length 10 index 1 at java util arraylist add arraylist java 468 at androidx core view viewcompat addaccessibilityaction viewcompat java 1324 at androidx core view viewcompat replaceaccessibilityaction viewcompat java 1315 at com google android material bottomsheet bottomsheetbehavior addaccessibilityactionforstate bottomsheetbehavior java 1751 at com google android material bottomsheet bottomsheetbehavior updateaccessibilityaction bottomsheetbehavior java 1720 at com google android material bottomsheet bottomsheetbehavior setstateinternal bottomsheetbehavior java 1111 at com google android material bottomsheet bottomsheetbehavior settlerunnable run bottomsheetbehavior java 1540 at android view choreographer callbackrecord run choreographer java 911 at android view choreographer docallback choreographer java 723 at android view choreographer doframe choreographer java 655 at android view choreographer framedisplayeventreceiver run choreographer java 897 at android os handler handlecallback handler java 790 at android os handler dispatchmessage handler java 99 at android os looper loop looper java 164 at android app activitythread main activitythread java 6543 at java lang reflect method invoke method java at com android internal os runtimeinit methodandargscaller run runtimeinit java 440 at com android internal os zygoteinit main zygoteinit java 810 screenshot android api version android 12 material library version 1 0 0 1 2 1 device samsung phone |
materialcomponentsmaterialcomponentsandroid | materialdivideritemdecoration divider with lastitemdecorate false be draw only when it s completely visible | Bug | in divideritemdecorationdemofragment java set up divider as follow materialdivideritemdecoration divid new materialdivideritemdecoration getcontext linearlayoutmanag vertical divider setdividerthickness 200 divider setlastitemdecorate false material library version 1 7 0 alpha03 |
materialcomponentsmaterialcomponentsandroid | component name update to com google android material material 1 6 1 give build error | Bug | description upgrade android material to the late stable version give error on build execution fail for task app mergeqadebugresource a failure occur while execute com android build gradle internal re resourcecompilerrunnable resource compilation fail fail to compile value resource file user app build intermediate incremental qadebug mergeqadebugresource merge dir value value xml cause java lang illegalstateexception can not add resource com android aaptcompiler parsedresource 69878e49 to table check log for more detail I try build it with scan log etc but not get anything regard this apart from the above why be this happen expect behavior expect behaviour be a smooth upgrade just like it have be till now source code build failure log execution fail for task app mergeqadebugresource a failure occur while execute com android build gradle internal re resourcecompilerrunnable resource compilation fail fail to compile value resource file user app build intermediate incremental qadebug mergeqadebugresource merge dir value value xml cause java lang illegalstateexception can not add resource com android aaptcompiler parsedresource 69878e49 to table check log for more detail full scan log exception be org gradle api task taskexecutionexception execution fail for task app mergeqadebugresource at org gradle api internal task execution executeactionstaskexecuter lambda executeifvalid 1 executeactionstaskexecuter java 145 at org gradle internal try failure ifsuccessfulorelse try java 282 at org gradle api internal task execution executeactionstaskexecuter executeifvalid executeactionstaskexecuter java 143 at org gradle api internal task execution executeactionstaskexecuter execute executeactionstaskexecuter java 131 at org gradle api internal task execution cleanupstaleoutputsexecuter execute cleanupstaleoutputsexecuter java 77 at org gradle api internal task execution finalizepropertiestaskexecuter execute finalizepropertiestaskexecuter java 46 at org gradle api internal task execution resolvetaskexecutionmodeexecuter execute resolvetaskexecutionmodeexecuter java 51 at org gradle api internal task execution skiptaskwithnoactionsexecuter execute skiptaskwithnoactionsexecuter java 57 at org gradle api internal task execution skiponlyiftaskexecuter execute skiponlyiftaskexecuter java 56 at org gradle api internal task execution catchexceptiontaskexecuter execute catchexceptiontaskexecuter java 36 at org gradle api internal task execution eventfiringtaskexecuter 1 executetask eventfiringtaskexecuter java 77 at org gradle api internal task execution eventfiringtaskexecuter 1 call eventfiringtaskexecuter java 55 at org gradle api internal task execution eventfiringtaskexecuter 1 call eventfiringtaskexecuter java 52 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 204 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 199 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner call defaultbuildoperationrunner java 53 at org gradle internal operation defaultbuildoperationexecutor call defaultbuildoperationexecutor java 73 at org gradle api internal task execution eventfiringtaskexecuter execute eventfiringtaskexecuter java 52 at org gradle execution plan localtasknodeexecutor execute localtasknodeexecutor java 74 at org gradle execution taskgraph defaulttaskexecutiongraph invokenodeexecutorsaction execute defaulttaskexecutiongraph java 402 at org gradle execution taskgraph defaulttaskexecutiongraph invokenodeexecutorsaction execute defaulttaskexecutiongraph java 389 at org gradle execution taskgraph defaulttaskexecutiongraph buildoperationawareexecutionaction execute defaulttaskexecutiongraph java 382 at org gradle execution taskgraph defaulttaskexecutiongraph buildoperationawareexecutionaction execute defaulttaskexecutiongraph java 368 at org gradle execution plan defaultplanexecutor executorworker lambda run 0 defaultplanexecutor java 127 at org gradle execution plan defaultplanexecutor executorworker execute defaultplanexecutor java 191 at org gradle execution plan defaultplanexecutor executorworker executenextnode defaultplanexecutor java 182 at org gradle execution plan defaultplanexecutor executorworker run defaultplanexecutor java 124 at org gradle internal concurrent executorpolicy catchandrecordfailure onexecute executorpolicy java 64 at org gradle internal concurrent managedexecutorimpl 1 run managedexecutorimpl java 48 at org gradle internal concurrent threadfactoryimpl managedthreadrunnable run threadfactoryimpl java 61 cause by org gradle worker internal defaultworkerexecutor workexecutionexception a failure occur while execute com android build gradle internal re resourcecompilerrunnable at org gradle worker internal defaultworkerexecutor workitemexecution waitforcompletion defaultworkerexecutor java 342 at org gradle internal work defaultasyncworktracker waitforitemsandgatherfailure defaultasyncworktracker java 142 at org gradle internal work defaultasyncworktracker waitforitemsandgatherfailure defaultasyncworktracker java 94 at org gradle internal work defaultasyncworktracker waitforall defaultasyncworktracker java 80 at org gradle internal work defaultasyncworktracker waitforcompletion defaultasyncworktracker java 68 at org gradle api internal task execution taskexecution 2 run taskexecution java 247 at org gradle internal operation defaultbuildoperationrunner 1 execute defaultbuildoperationrunner java 29 at org gradle internal operation defaultbuildoperationrunner 1 execute defaultbuildoperationrunner java 26 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner run defaultbuildoperationrunner java 47 at org gradle internal operation defaultbuildoperationexecutor run defaultbuildoperationexecutor java 68 at org gradle api internal task execution taskexecution executeaction taskexecution java 224 at org gradle api internal task execution taskexecution executeaction taskexecution java 207 at org gradle api internal task execution taskexecution executewithpreviousoutputfile taskexecution java 190 at org gradle api internal task execution taskexecution execute taskexecution java 168 at org gradle internal execution step executestep executeinternal executestep java 89 at org gradle internal execution step executestep access 000 executestep java 40 at org gradle internal execution step executestep 1 call executestep java 53 at org gradle internal execution step executestep 1 call executestep java 50 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 204 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 199 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner call defaultbuildoperationrunner java 53 at org gradle internal operation defaultbuildoperationexecutor call defaultbuildoperationexecutor java 73 at org gradle internal execution step executestep execute executestep java 50 at org gradle internal execution step executestep execute executestep java 40 at org gradle internal execution step removepreviousoutputsstep execute removepreviousoutputsstep java 68 at org gradle internal execution step removepreviousoutputsstep execute removepreviousoutputsstep java 38 at org gradle internal execution step resolveinputchangesstep execute resolveinputchangesstep java 48 at org gradle internal execution step resolveinputchangesstep execute resolveinputchangesstep java 36 at org gradle internal execution step cancelexecutionstep execute cancelexecutionstep java 41 at org gradle internal execution step timeoutstep executewithouttimeout timeoutstep java 74 at org gradle internal execution step timeoutstep execute timeoutstep java 55 at org gradle internal execution step createoutputsstep execute createoutputsstep java 51 at org gradle internal execution step createoutputsstep execute createoutputsstep java 29 at org gradle internal execution step capturestateafterexecutionstep execute capturestateafterexecutionstep java 61 at org gradle internal execution step capturestateafterexecutionstep execute capturestateafterexecutionstep java 42 at org gradle internal execution step broadcastchangingoutputsstep execute broadcastchangingoutputsstep java 60 at org gradle internal execution step broadcastchangingoutputsstep execute broadcastchangingoutputsstep java 27 at org gradle internal execution step buildcachestep executewithoutcache buildcachestep java 188 at org gradle internal execution step buildcachestep executeandstoreincache buildcachestep java 163 at org gradle internal execution step buildcachestep lambda executewithcache 4 buildcachestep java 133 at org gradle internal execution step buildcachestep lambda executewithcache 5 buildcachestep java 133 at org gradle internal try success map try java 164 at org gradle internal execution step buildcachestep executewithcache buildcachestep java 85 at org gradle internal execution step buildcachestep lambda execute 0 buildcachestep java 74 at org gradle internal either leave fold either java 115 at org gradle internal execution cache cachingstate fold cachingstate java 59 at org gradle internal execution step buildcachestep execute buildcachestep java 73 at org gradle internal execution step buildcachestep execute buildcachestep java 48 at org gradle internal execution step storeexecutionstatestep execute storeexecutionstatestep java 38 at org gradle internal execution step storeexecutionstatestep execute storeexecutionstatestep java 27 at org gradle internal execution step recordoutputsstep execute recordoutputsstep java 36 at org gradle internal execution step recordoutputsstep execute recordoutputsstep java 22 at org gradle internal execution step skipuptodatestep executebecause skipuptodatestep java 109 at org gradle internal execution step skipuptodatestep lambda execute 2 skipuptodatestep java 56 at org gradle internal execution step skipuptodatestep execute skipuptodatestep java 56 at org gradle internal execution step skipuptodatestep execute skipuptodatestep java 38 at org gradle internal execution step resolvechangesstep execute resolvechangesstep java 73 at org gradle internal execution step resolvechangesstep execute resolvechangesstep java 44 at org gradle internal execution step legacy marksnapshottinginputsfinishedstep execute marksnapshottinginputsfinishedstep java 37 at org gradle internal execution step legacy marksnapshottinginputsfinishedstep execute marksnapshottinginputsfinishedstep java 27 at org gradle internal execution step resolvecachingstatestep execute resolvecachingstatestep java 89 at org gradle internal execution step resolvecachingstatestep execute resolvecachingstatestep java 50 at org gradle internal execution step validatestep execute validatestep java 114 at org gradle internal execution step validatestep execute validatestep java 57 at org gradle internal execution step capturestatebeforeexecutionstep execute capturestatebeforeexecutionstep java 76 at org gradle internal execution step capturestatebeforeexecutionstep execute capturestatebeforeexecutionstep java 50 at org gradle internal execution step skipemptyworkstep lambda execute 2 skipemptyworkstep java 93 at org gradle internal execution step skipemptyworkstep execute skipemptyworkstep java 93 at org gradle internal execution step skipemptyworkstep execute skipemptyworkstep java 34 at org gradle internal execution step legacy marksnapshottinginputsstartedstep execute marksnapshottinginputsstartedstep java 38 at org gradle internal execution step loadpreviousexecutionstatestep execute loadpreviousexecutionstatestep java 43 at org gradle internal execution step loadpreviousexecutionstatestep execute loadpreviousexecutionstatestep java 31 at org gradle internal execution step assignworkspacestep lambda execute 0 assignworkspacestep java 40 at org gradle api internal task execution taskexecution 3 withworkspace taskexecution java 284 at org gradle internal execution step assignworkspacestep execute assignworkspacestep java 40 at org gradle internal execution step assignworkspacestep execute assignworkspacestep java 30 at org gradle internal execution step identitycachestep execute identitycachestep java 37 at org gradle internal execution step identitycachestep execute identitycachestep java 27 at org gradle internal execution step identifystep execute identifystep java 44 at org gradle internal execution step identifystep execute identifystep java 33 at org gradle internal execution impl defaultexecutionengine 1 execute defaultexecutionengine java 76 at org gradle api internal task execution executeactionstaskexecuter executeifvalid executeactionstaskexecuter java 142 at org gradle api internal task execution executeactionstaskexecuter execute executeactionstaskexecuter java 131 at org gradle api internal task execution cleanupstaleoutputsexecuter execute cleanupstaleoutputsexecuter java 77 at org gradle api internal task execution finalizepropertiestaskexecuter execute finalizepropertiestaskexecuter java 46 at org gradle api internal task execution resolvetaskexecutionmodeexecuter execute resolvetaskexecutionmodeexecuter java 51 at org gradle api internal task execution skiptaskwithnoactionsexecuter execute skiptaskwithnoactionsexecuter java 57 at org gradle api internal task execution skiponlyiftaskexecuter execute skiponlyiftaskexecuter java 56 at org gradle api internal task execution catchexceptiontaskexecuter execute catchexceptiontaskexecuter java 36 at org gradle api internal task execution eventfiringtaskexecuter 1 executetask eventfiringtaskexecuter java 77 at org gradle api internal task execution eventfiringtaskexecuter 1 call eventfiringtaskexecuter java 55 at org gradle api internal task execution eventfiringtaskexecuter 1 call eventfiringtaskexecuter java 52 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 204 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 199 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner call defaultbuildoperationrunner java 53 at org gradle internal operation defaultbuildoperationexecutor call defaultbuildoperationexecutor java 73 at org gradle api internal task execution eventfiringtaskexecuter execute eventfiringtaskexecuter java 52 at org gradle execution plan localtasknodeexecutor execute localtasknodeexecutor java 74 at org gradle execution taskgraph defaulttaskexecutiongraph invokenodeexecutorsaction execute defaulttaskexecutiongraph java 402 at org gradle execution taskgraph defaulttaskexecutiongraph invokenodeexecutorsaction execute defaulttaskexecutiongraph java 389 at org gradle execution taskgraph defaulttaskexecutiongraph buildoperationawareexecutionaction execute defaulttaskexecutiongraph java 382 at org gradle execution taskgraph defaulttaskexecutiongraph buildoperationawareexecutionaction execute defaulttaskexecutiongraph java 368 at org gradle execution plan defaultplanexecutor executorworker lambda run 0 defaultplanexecutor java 127 at org gradle execution plan defaultplanexecutor executorworker execute defaultplanexecutor java 191 at org gradle execution plan defaultplanexecutor executorworker executenextnode defaultplanexecutor java 182 at org gradle execution plan defaultplanexecutor executorworker run defaultplanexecutor java 124 at org gradle internal concurrent executorpolicy catchandrecordfailure onexecute executorpolicy java 64 at org gradle internal concurrent managedexecutorimpl 1 run managedexecutorimpl java 48 at org gradle internal concurrent threadfactoryimpl managedthreadrunnable run threadfactoryimpl java 61 cause by com android aaptcompiler resourcecompilationexception resource compilation fail fail to compile value resource file user app build intermediate incremental qadebug mergeqadebugresource merge dir value value xml cause java lang illegalstateexception can not add resource com android aaptcompiler parsedresource 55f2e238 to table check log for more detail at com android aaptcompiler resourcecompiler compileresource resourcecompiler kt 129 at com android build gradle internal re resourcecompilerrunnable companion compilesingleresource resourcecompilerrunnable kt 34 at com android build gradle internal re resourcecompilerrunnable run resourcecompilerrunnable kt 15 at com android build gradle internal profile profileawareworkaction execute profileawareworkaction kt 74 at org gradle worker internal defaultworkerserver execute defaultworkerserver java 63 at org gradle worker internal noisolationworkerfactory 1 1 create noisolationworkerfactory java 66 at org gradle worker internal noisolationworkerfactory 1 1 create noisolationworkerfactory java 62 at org gradle internal classloader classloaderutil executeinclassloader classloaderutil java 97 at org gradle worker internal noisolationworkerfactory 1 lambda execute 0 noisolationworkerfactory java 62 at org gradle worker internal abstractworker 1 call abstractworker java 44 at org gradle worker internal abstractworker 1 call abstractworker java 41 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 204 at org gradle internal operation defaultbuildoperationrunner callablebuildoperationworker execute defaultbuildoperationrunner java 199 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 66 at org gradle internal operation defaultbuildoperationrunner 2 execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 157 at org gradle internal operation defaultbuildoperationrunner execute defaultbuildoperationrunner java 59 at org gradle internal operation defaultbuildoperationrunner call defaultbuildoperationrunner java 53 at org gradle internal operation defaultbuildoperationexecutor call defaultbuildoperationexecutor java 73 at org gradle worker internal abstractworker executewrappedinbuildoperation abstractworker java 41 at org gradle worker internal noisolationworkerfactory 1 execute noisolationworkerfactory java 59 at org gradle worker internal defaultworkerexecutor lambda submitwork 2 defaultworkerexecutor java 206 at org gradle internal work defaultconditionalexecutionqueue executionrunner runexecution defaultconditionalexecutionqueue java 214 at org gradle internal work defaultconditionalexecutionqueue executionrunner runbatch defaultconditionalexecutionqueue java 164 at org gradle internal work defaultconditionalexecutionqueue executionrunner run defaultconditionalexecutionqueue java 131 3 more cause by com android aaptcompiler resourcecompilationexception fail to compile value resource file user app build intermediate incremental qadebug mergeqadebugresource merge dir value value xml at com android aaptcompiler resourcecompiler compiletable resourcecompiler kt 192 at com android aaptcompiler resourcecompiler access compiletable resourcecompiler kt 1 at com android aaptcompiler resourcecompiler getcompilemethod 1 invoke resourcecompiler kt 138 at com android aaptcompiler resourcecompiler getcompilemethod 1 invoke resourcecompiler kt 138 at com android aaptcompiler resourcecompiler compileresource resourcecompiler kt 123 27 more cause by java lang illegalstateexception can not add resource com android aaptcompiler parsedresource 55f2e238 to table at com android aaptcompiler tableextractor extractresourcevalue tableextractor kt 270 at com android aaptcompiler tableextractor extract tableextractor kt 181 at com android aaptcompiler resourcecompiler compiletable resourcecompiler kt 188 31 more android api version 32 material library version 1 6 1 device pixel 3a emulator |
materialcomponentsmaterialcomponentsandroid | appbarlayout background color when set dynamiccolor | Bug | description the background color of the appbarlayout be different from the background color of the parent coordinatorlayout when set dynamiccolor applytoactivityifavailable this on the activity if dynamiccolor be not set then they have the same background color expect behavior set dynamiccolor should not affect the background color of the appbarlayout source code dynamiccolor applytoactivityifavailable this android api version 31 material library version com google android material material 1 7 0 alpha02 device realme 8 without dynamiccolor without dynamiccolor with dynamiccolor with dynamiccolor |
materialcomponentsmaterialcomponentsandroid | textinputlayout hint text overlap outline | Bug | description outlinedbox cross hint on android 4 screenshot expect behavior hint be display without overlap with the box source code just simple app with theme material3 light theme minimal sample app repro create new emulator nexus 4 x86 image api 16 without google api run app my emulator setting here android api version 16 material library version com google android material material 1 6 1 device emulator api 16 ps also textinputlayout somehow ignore my set margin pps if I just add marginstart and marginend 32dp to textinputedittext in this sample app it also break hint on android 6 pixel2 api23 emulator |
materialcomponentsmaterialcomponentsandroid | outlinedbutton coloronsurface do not apply to the text color | Bug | the documentation clearly state that coloronsurface be responsible for the color of the text in the theme the attribute be declare and have a white color but the color of the text be completely different most likely it become so from the colorprimary attribute |
materialcomponentsmaterialcomponentsandroid | textinputedittext the highlight color be different from the cursor color | Bug | I use all the styling attribute in the theme except for additional attribute the theme be night and day theme material3 light noactionbar and dark respectively why can t the selection color be change even colorcontrolactivate and colorprimary inside the textinputedittext style do not save the first attribute change only the color of the cursor itself there be zero information on this on the internet at all screenshot 20220709 194418 veartme |
materialcomponentsmaterialcomponentsandroid | divider setlastitemdecorate have no effect when use with horizontal orientation | Bug | description drawforverticalorientation l320 l322 drawforhorizontalorientation l354 l355 expect behavior setlastitemdecorate false hide a divider after the last item source code kotlin val layoutmanager linearlayoutmanag context linearlayoutmanag horizontal false val divider materialdivideritemdecoration context layoutmanager orientation divider islastitemdecorate false recyclerview additemdecoration divider android api version 31 material library version 1 6 1 device pixel 3 xl |
materialcomponentsmaterialcomponentsandroid | textinputlayout filledbox float hint cut off at start of suffix | Bug | description setup be a textinputlayout with prefix suffix and hint text set the contain textinputedittext have a text set style be filledbox the float label hint be ellipsize at the end of the of the edittext instead of the end of the suffix text grafik not really sure if this be a bug or a feature request I consider it a bug because the float label be show above the prefix but not above the suffix expect behavior the float hint label also use the space above the suffix if need source code the follow xml be use in the layout to get what be see in the screenshot android api version 31 material library version 1 6 1 device android 10 in emulator of android studio chipmunk |
materialcomponentsmaterialcomponentsandroid | materialtoolbar change scrim of statusbar when scroll | Bug | description in my app I m use appbarlayout include materialtoolbar and tablayout see code below the app look as follow when I m scroll up and down the list I d like to dynamically change the color of the statusbar example collapsingtoolbarlayout provide a feature call app statusbarscrim to achieve that goal however materialtoolbar doesn t offer that expect behavior be there any chance to change the color of the statusbar dynamically when use materialtoolbar source code code of activity main xml minimal sample app repro android api version android api 33 material library version 1 7 0 alpha02 device pixel 5 emulator |
materialcomponentsmaterialcomponentsandroid | tablayout setselectedtabindicatorcolor change other component s color | Bug | description tablayout setselectedtabindicatorcolor int and its xml attribute app tabindicatorcolor change tint color of other component which use the same drawable as the tab indicator I think this be because drawable mutate be not call for tab indicator drawable in tablayout expect behavior tablayout setselectedtabindicatorcolor int and app tabindicatorcolor should not change other component color source code first open an activity with this layout first xml then open this and button color change to blue second xml minimal sample app repro tablayoutreproduction zip android api version 31 material library version 1 7 0 alpha02 device pixel 4 emulator |
materialcomponentsmaterialcomponentsandroid | material theme builder web color not find in package | Bug | description a I ve create a material m3 theme by use the theme builder on the web b I ve click on the custom button change some color and export the datum by click on android view xml that produce some xml file color theme c the theme xml file contain the follow two color but they obviously can not be find in the material design package and therefore produce a compiler error color md theme surfacetint color md theme surfacetintcolor d compiler error android resource linking fail xyz app mergefreeversionminapi16debugresources 31 value night v8 value night v8 xml 63 error style attribute attr colorsurfacetint aka xyz debug attr colorsurfacetint not find xyz app mergefreeversionminapi16debugresources 31 value night v8 value night v8 xml 64 error style attribute attr colorsurfacetintcolor aka xyz debug attr colorsurfacetintcolor not find error fail link reference e if you remove these two color from the theme xml the code be compile and the app seem two work fine expect behavior the aforementioned two color do not produce a compiler error they should either be remove from the export for android view xml in case they be not use by material design m3 or should be integrate in the material design package in case they be use source code below the xml code directly take from the generate android view xml export minimal sample app repro see above description the app can not be compile because of two color obviously miss in the material design package android api version android api version 33 material library version 1 7 0 alpha02 device pixel 5 emulator |
materialcomponentsmaterialcomponentsandroid | materialtimepicker not possible to switch from pm to am in keyboard input mode | Bug | description when set up materialtimepicker with 12 hour time format and an initial pm time as well as keyboard input mode it be not possible to switch time from pm to am the change will simply be ignore when check the dialog s hour property it will stay on the pm value alter the hour part of the time in the dialog doesn t fix this for example initialize the picker with 10 15 pm then change the value to 10 15 am and confirm the hour property will still give you 22 instead of 10 however when initialize the dialog with clock input or if the user switch to clock input via the clock icon in the bottom left of the dialog switch from pm to am now become possible also change from am to pm be always possible regardless of the input mode see the follow video for the describe behavior in action record from the official catalog app from this repository with picker input mode set to input mode keyboard device 2022 06 28 111606 webm expect behavior it should always be possible for the user to switch from pm to am regardless of the picker s input mode source code I didn t dig into the materialtimepicker implementation but if you set up the dialog like so the issue be always reproducible also in the catalog app see timepickermaindemofragment java materialtimepicker materialtimepicker new materialtimepicker builder settimeformat clockformat sethour hour setminute minute setinputmode materialtimepicker input mode keyboard this be the important line build minimal sample app repro as describe above it can be easily reproduce with the official catalog app from this repository android api version I test on android 12 and 13 material library version 1 6 1 device I guess it happen on all device but I and my user specifically see this on the follow one pixel 6 samsung sm g996u motorola moto e 7 power all sort of emulator |
materialcomponentsmaterialcomponentsandroid | materialswitch can not set track width to be small than 2x of thumb width | Bug | description can not change app track width to be small than 2x of android thumb width expect behavior I should be able to change the width of app track freely in android the track width be hardcode by library to be can not small than 2x of thumb width expect actual image |
materialcomponentsmaterialcomponentsandroid | bottomnavigationview french role description string translation be mislead | Bug | description when talkback be activate and the device be set to french the content description of a bottomnavigationview item be tabulation which be not right it should be onglet tabulation mean indentation in french expect behavior screenshot 20220627 082039 source code this line should be update l18 minimal sample app repro any sample with a bottomnavigationview will reproduce the issue android api version any material library version 1 5 0 device any ps if need I can open a pull request for that |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.