repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
materialcomponentsmaterialcomponentsandroid
extendedfloatingactionbutton background clip animation do not work
Bug
description when custom background be set to clip drawable or any contain like below xml cliping do not work set the same for normal button do work expect behavior with extendedfloatingactionbutton image with simple button image source code ...
materialcomponentsmaterialcomponentsandroid
tablayout tab isselecte will return true if tablayout getselectedtabposition return 1 and tab position be 1 invalid position
Bug
description it s possible to have a tab with an invalid position and a tablayout with a null selectedtab that will return 1 when call tablayout getselectedtabposition in this scenario call tab isselecte on the tab with an invalid position will erroneously return true expec...
materialcomponentsmaterialcomponentsandroid
tablayout set a custom drawable with intrinsic height as the select tab indicator will not appear on screen
Bug
description set a custom drawable with an intrinsic height as the select tab indicator for a tablayout will cause it to be draw with a height of 0 and not appear on screen repro the follow step use a minimal custom tablayout implementation that inherit from com google android material tab tabla...
materialcomponentsmaterialcomponentsandroid
indexoutofboundsexception offset should be less than line limit on textinputedittext with email input type
Bug
description lately there have be a crash on our android app on a xiaomi redmi note 7 device probably when a textinputedittext with email input type gain focus from the stacktrace below there be no direct relation to our code even in other thread stracktrace I only know that it happen every time ...
materialcomponentsmaterialcomponentsandroid
materialtoolbar navigationcontentdescription be not disaplye as tooltip
Bug
description tooltip be an essential part of accessibility they be specially important where icon might not be as descriptive due to regional cultural difference all the toolbar menu item be properly display as tooltip but for some reason the navigation icon be not expect behavior i...
materialcomponentsmaterialcomponentsandroid
textview appbarlayout maybe more material3 crash with light theme
Bug
description use a theme with theme material3 daynight noactionbar as parent my app crash when run a light theme the dark theme work fine here be part of the stack trace regard the appbarlayout java lang runtimeexception unable to start activity componentinfo nl jolanrensen widgetscreens...
materialcomponentsmaterialcomponentsandroid
chip can t check a chip with signleselection true
Bug
description I can t check a chip when the attribute singleselection of the chipgroup be set to true source code image questionsanswerslist be the chipgroupview with issingleselection false image with issingleselection true image android api version 30 ...
materialcomponentsmaterialcomponentsandroid
material3 bottomsheet bottomsheetdialogfragment do not perform slide animation when it appear
Bug
description on material3 theme bottomsheetdialogfragment do not perform slide animation when it appear and it s define as in an android navigation graph I ve update my app theme from theme materialcomponent to theme material3 and now this slide animation be not perform when bottomsheet di...
materialcomponentsmaterialcomponentsandroid
shapeableimageview background color with alpha be not render correctly
Bug
description when use the shapeableimageview with a color that have a certain transparency the transparency be less than when we use the same color on another view I e textview see image as a reference this be only the case when I use it like this in a list item 20210910 120526 expect beh...
materialcomponentsmaterialcomponentsandroid
materialbutton icongravity not work correct for circularprogressindicator
Bug
description I ve create a custom view that extend materialbutton that replace the drawable with a circularprogressindicator when it s load however when I replace the drawable with the circularprogressindicator the icongravity doesn t work anymore expect behavior correct behaviour delete cor...
materialcomponentsmaterialcomponentsandroid
textinputlayout remove start icon click listener lead to ripple effect never remove
Bug
description assume a texinputlayout with to state and we want to make start icon clickable only for one stat when remove click listener once start icon be click lead to ripple effect stay on screen forever expect behavior ripple effect be remove when click listener be remove source code ...
materialcomponentsmaterialcomponentsandroid
textinputlayout hint text over outline border when boxcornerradiustopstart be set
Bug
description the hint text be over the outline border on the left when boxcornerradiustopstart be set it be fine until I update the material lib from 1 3 0 to 1 4 0 could also reproduce this with the late 1 5 0 alpha03 version expect behavior textinputlayout hint expect prob...
materialcomponentsmaterialcomponentsandroid
materialdatepicker crash in dark theme
Bug
description materialdatepicker and materialtimepicker not show and app crash when theme be dark on the phone in light theme everything be fine expect behavior datepicker dialog should be show android api version android 10 api 29 material library version material android library ...
materialcomponentsmaterialcomponentsandroid
textinputlayout endicon not display if field isn t focus when text be change
Bug
description when change the value of an an autocompletetextview programmatically the endicon on the parent textinputlayout doesn t display unless the field have focus expect behavior the endicon be display if the new value be not null or empty and the field have focus source code ...
materialcomponentsmaterialcomponentsandroid
bottomsheetdialog content clip after orientation change
Bug
description this issue be introduce in 1 4 0 bottom sheet width be not invalidated on orientation change without activity recreation when activity have configchange orientation attribute and bottomsheet have be initialize with screen width more than 640dp bottom sheet content width win t be invalidate...
materialcomponentsmaterialcomponentsandroid
material3 which api style your app icon
Bug
I m use material3 on my android 12 device and it s work great the last thing I want to do be allow my app icon to be style by material you like all of google app do on android 12 be that available somewhere
materialcomponentsmaterialcomponentsandroid
chip chip set style via code be not as easy as other view
Bug
description set style via xml seem to work set style via attr seem to work but set a style form a style name directly do not seem to work below be some stackoverflow on this expect behavior screenshot and or description of expect behavior in general I like to set a style for a view via ...
materialcomponentsmaterialcomponentsandroid
tablayout set selectedtabindicator programmatically be break
Bug
description when I try to set selectedtabindicator through setselectedtabindicator indicator be completely go set same drawable through xml attribute work fine I figure out that it happen because drawable have zero height expect behavior setselectedtabindicator should properly set indicato...
materialcomponentsmaterialcomponentsandroid
m3 catalog dynamic color preference always disable
Bug
description dynamic color preference always disabled even though run on android 12 beta 4 2 expect behavior dynamic color preference enable source code the source of the issue be in method of androidx core os buildcompat checkssdkintatleast codename s public sta...
materialcomponentsmaterialcomponentsandroid
java lang classcastexception android graphic rect can not be cast to java lang integer
Bug
description hi we be have crash with follow log for one of our playstore apk as below fatal exception java lang classcastexception android graphic rect can not be cast to java lang integer com google android material chip chip handleaccessibilityexit chip java 823 com google androi...
materialcomponentsmaterialcomponentsandroid
materialalertdialog can t tint unchecked checkedtextviewstyle in materialalertdialog
Bug
description when I customize materialalertdialog I can specify a colorsecondary color which will impact checkboxe and radio button in single and multi choice materialalertdialog however I would like to customize the unchecked state of checkboxe and radio button but android checkmarktint b...
materialcomponentsmaterialcomponentsandroid
progressindicator indeterminate animation do not resume after turn screen off on
Bug
description when turn the device screen off and back on e g press the power button the inderminate animation of both circular and linear progressindicator s do not resume expect behavior the animation should resume step to reproduce install the catalog app head to the progr...
materialcomponentsmaterialcomponentsandroid
slider labelfor do not work
Bug
description per the description for accessibility for slider it say to use label for use slider if you do this it do not read the label for as the other view do expect behavior talkback should announce like it do with other view such as seekbar actual 0 slider use volume key to adju...
materialcomponentsmaterialcomponentsandroid
bottomnavigation the badge align different anchor on bottomnavigation between lib and doc
Bug
description the badge align different anchor on bottomnavigation see below build lib result the view to the right of the green line will be large when badge be wide device 2021 08 27 173138 the doc show both view right side and leave side of the green line be same size when badg...
materialcomponentsmaterialcomponentsandroid
circularprogressindicator line outside indicator circle
Bug
description indicator have 2 line inside and outside the circle these line have color from trackcolor attribute the color I use in xml have no alpha screenshot photo 2021 08 23 21 12 49 photo 2021 08 23 21 12 58 expect behavior no line of track color outside indicator circle ...
materialcomponentsmaterialcomponentsandroid
materialdatepicker touch target for selectable date be 40dp should be at least 48dp accord to google play pre launch report
Bug
description google play pre launch report complain that the touch target for various ui element be to small when look into the report most of the warning be from the material date picker dialog expect behavior screenshot of the pre launch report warn image source code nothing sp...
materialcomponentsmaterialcomponentsandroid
make the progressbar change evenly
Bug
make the progressbar change evenly I want to use a timer to make the progressbar count down to 30 second but if I do it by set the progress property it will make the progress bar change suddenly I want it to grow evenly
materialcomponentsmaterialcomponentsandroid
textfield textinputlayout password toggle icon can t align it s layout
Bug
description when hintenable attribute set as false password toggle icon can not align to center expect behavior image source code android api version all api version material library version 1 4 0 device all device
materialcomponentsmaterialcomponentsandroid
textinputlayout suffix text bug
Bug
when I use the material component version 1 3 0 I don t have a problem but when I replace it with version 1 4 0 I have a problem where the suffix text be not on the right side of the textinputlayout but be in the center of textinputlayout please fix this
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout not center when maxline be define
Bug
description when maxline be set to a value high than 1 and expandedtitlegravity be center the collapsingtoolbarlayout do not center the text exactly I m not sure if this be the intend behaviour but I d not expect maxline to change the positioning of the text source code t...
materialcomponentsmaterialcomponentsandroid
materialtimepicker crash on inflate picker
Bug
description I try to add time picker to my project but it get crash each time when I try to call it whatever param I set I ve try run it on 1 4 0 and 1 5 0 alpha02 version after some investigation I find that crash appear when my app theme be extend from theme materialcomponent light darkact...
materialcomponentsmaterialcomponentsandroid
progress indicator doesn t animate well with materialsharedaxis animation
Bug
description full description of issue here the progress indicator doesn t animate at all and freeze on a fragment pop expect behavior screenshot and or description of expect behavior source code the code snippet which be cause this issue please consider attach a minimal sample app that...
materialcomponentsmaterialcomponentsandroid
bottomsheetdialog materialbutton in bottomsheetdialog will be force to single line
Bug
materialbutton in bottomsheetdialog will be force to single line with the layout inspector I find singleline ture and maxline 1 but I never set these value explicitly the bug start from material 1 4 0 and still exist in 1 5 0 alpha02 the follow be a very simple layout a button in a framelayout ...
materialcomponentsmaterialcomponentsandroid
appbarlayout android outlineprovider none don t work
Bug
description see subject expect behavior if in layout xml you put and an elevation 0dp in an appbarlayout tag it do not work as expect the shadow be paint however around the rectangle of the viewgroup I have test with materialbutton too and it work instead programmatically appbar setout...
materialcomponentsmaterialcomponentsandroid
textinputlayout height be wrong when use in a dialogfragment use constraintlayout expandedhintenable false and layout width 0dp
Bug
description use a textinputlayout with app expandedhintenable false work fine in a normal fragment but when use it in a dialogfragment use constraintlayout the height of the textinputlayout become large the long the placeholder text be when use a 1 character placeholder text the height be correct w...
materialcomponentsmaterialcomponentsandroid
unable to set transparent background on activity
Bug
description transparent activity background be now black instead of transparent after bump material component from 1 3 0 to 1 4 0 expect behavior material 1 3 0 expect actual behavior material 1 4 0 actual source code activity style actual style parent be ...
materialcomponentsmaterialcomponentsandroid
navigationrail vertical spacing between icon and label increase when the width increase
Bug
I m use navigation rail component with certain width to accommodate the menu label I try set the width to wrap content but the menu label still show ellipsis at the end so I try to set the width of navigation rail view manually but the vertical spacing between icon and label in the menu item be get large when...
materialcomponentsmaterialcomponentsandroid
circularprogressindicator crash in circularprogressindicator
Bug
I be get crash report from firebase fatal exception java lang nullpointerexception attempt to invoke virtual method void e z a a b a android graphic drawable drawable on a null object reference at com google android material progressindicator circularindeterminateanimatordelegate 2 onanimationend ...
materialcomponentsmaterialcomponentsandroid
floatingactionbutton when press mini fab have excess shadow on bottom and right side
Bug
description use floatingactionbutton mini variant have render issue when press on android 12 issue full scale expect behavior screenshot and or description of expect behavior expect pixel 3a android 11 actual pixel 5 android 12 beta 3 android pixel 3a api 30 127...
materialcomponentsmaterialcomponentsandroid
materialbutton icontint with colorstatelist do not work on api 23
Bug
description icontint with colorstatelist fail to update color in some case so far I ve see it in two scenario 1 button be enable disabled at runtime after fragment transaction 1 icontint be clear and after delay reapplie here the dynamic button be disabled but its icon use enable...
materialcomponentsmaterialcomponentsandroid
materialdatepicker show month of constrained startdate when current month be after month of setselection date
Bug
description full description of issue here when setselection be call on the materialdatepicker builder with a date in a previous month than the current month and calendar constraint be set the calendar show the month of the startdate but the select date be what be pass into setselection ...
materialcomponentsmaterialcomponentsandroid
textinputlayout text inside textinputlayout disappear when device be rotate
Bug
description when I enter value inside the textinputlayout then try rotate the device the content be clear disappear I have try use an edittext below it and the edittext s content doesn t disappear when I rotate my device expect behavior source code xml andro...
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout expand text use width of collapse text
Bug
description if you meet some specific condition like text size of collapse and expand text size then you get some strange behavior of expand text by design requirement we have collapse text size of 22sp and expand 28sp margin leave and right be 16dp also we have three menu icon show in toolba...
materialcomponentsmaterialcomponentsandroid
materialcardview cardmaxelevation not work
Bug
description I have a recyclerview vertical layout manager with multiple card I would like to each card have the same shadow for that I set the cardelevation and cardmaxelevation with the same value but the card have different shadow card at bottom have dark shadow I try to set app cardusecompatpad...
materialcomponentsmaterialcomponentsandroid
how can I not find a functional dialogue
Bug
dialog materialalertdialogbuilder this dialog setcancelable false settitle show how can I not find a functional dialogue
materialcomponentsmaterialcomponentsandroid
bottomsheetbehavior flickering bottomsheetdialog width when expand in large screen
Bug
description relate to this commit I have bottomsheetdialogfragment after upgrade to 1 4 0 when bottomsheet expand it s look flicker from full width previous behavior in 1 3 0 to new default max width I think this be race condition issue expect behavior bottomsheet expand without...
materialcomponentsmaterialcomponentsandroid
in 1 5 0 alpha01 the slider label text be the wrong colour
Bug
at least in a dark theme the label above the slider have a light grey background and a text colour that be a bit light not very visible revert to 1 4 0 and the text colour be again dark which be much more readable against the label background
materialcomponentsmaterialcomponentsandroid
motion get crash report when use container anim between two activity
Bug
description get crash report when use container anim between two activity startactivity a recycler view that contain several card endactivity a recycler view in which each view holder be full screen it s very similar to image everything work fine but I get some crash report as belo...
materialcomponentsmaterialcomponentsandroid
textinputedittext chnage hint gravity to top
Bug
description I have textinputedittext with minheight 250dp inside textinputedittext and have sette hint on it but intial hint be show in center vertically I want to show on start or top right side of textinputedittext android api version api 29 material library version 1 5 0 al...
materialcomponentsmaterialcomponentsandroid
bottomsheet bottomsheetdialogfragment not occupy whole width on tablet
Bug
I have match parent everywhere I can version 1 4 0 screenshot 20210719 080749 geoviewer mobile debug
materialcomponentsmaterialcomponentsandroid
materialtoolbar error of subtitle alignment
Bug
issue the subtitle be align to the left if text string of the title and the subtitle be identical step 1 use materialtoolbar for toolbar 2 set both titlecentere and subtitlecentere to true 3 set both tile and subtitle to the same vale for example aaa example root caus...
materialcomponentsmaterialcomponentsandroid
materialdatepicker can not get the first select value after device rotation
Bug
description with the date picker already show after the screen be rotate the first select value be not obtain after that it work normally I show a toast whenever a value be select but the toast be not show after the screen rotation when the first value be select from second selection and so on ...
materialcomponentsmaterialcomponentsandroid
textinputlayout screenreader can announce text hide behind bullet while in password mode
Bug
description when the textinputlayout be use endiconmode password toggle such that it be operate as a password entry field a screenreader can read the text that be suppose to be hide behind the bullet this only happen when the screenreader be navigate by word navigate normally by swiping ...
materialcomponentsmaterialcomponentsandroid
materialalertdialogbuilder alertdialog do not follow material spec
Bug
description our designer just point out that the default standard materialalertdialog create with the materialalertdialogbuilder do not follow the material specification from material io spec accord to the spec the button container should have a size of 52dp which be give ...
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout expandedtitletextcolor be break in release 1 4 0
Bug
description I might be use the wrong approach I m try to use the new fade collapse mode via titlecollapsemode without show expand title set color to transparent via expandedtitletextcolor doesn t seem to work title be still show seem to default to the color with alpha channel to the max 000...
materialcomponentsmaterialcomponentsandroid
materialbutton default style contain not show
Bug
description button on bottomsheetdialogfragment do not default to contain style expect behavior screenshot 1625743809 screenshot 1625743837 source code android api version 30 material library version 1 4 0 device emulator gigaset gs110
materialcomponentsmaterialcomponentsandroid
shape can t set cutcornertreatment programmatically
Bug
description set a cut corner treatment programmatically use setallcorner cutcornertreatment doesn t do anything expect behavior I should be able to see cut corner apply to the view source code view background materialshapedrawable shapeappearancemodel builder seta...
materialcomponentsmaterialcomponentsandroid
material time picker be pm mode do not work in landscape on tablet
Bug
description be pm input mode do not work on a tablet in landscape orientation the control be not show see screenshot below expect behavior device 2021 07 06 083934 actual behavior device 2021 07 06 082554 android api version 6 0 1 material library version ...
materialcomponentsmaterialcomponentsandroid
datepicker materialcalendargridview crash on select a date range across two month second month with 6 week
Bug
description it still crash with com google android material material 1 4 0 see 2195 update
materialcomponentsmaterialcomponentsandroid
bottomsheetdialogfragment apptheme still do not get apply
Bug
description I see this other issue close fix and this other one but I still can not achieve to have the apptheme apply in my bottomsheetdialogfragment expect behavior apptheme be apply correctly to my bottomsheetdialogfragment I still have to do the workaround of return inflat...
materialcomponentsmaterialcomponentsandroid
materialbutton theme all textbutton use borderlessbuttonstyle
Bug
description the button theme doc theme button show that theme textbutton globally on app theme basis can be do by use borderlessbuttonstyle and specify the custom style inherit widget materialcomponent button textbutton however borderlessbuttonstyle do not apply the style attribute ...
materialcomponentsmaterialcomponentsandroid
textinputlayout hint label cut by the outline border when gravity be set to end
Bug
description in a textinputlayout after android gravity end be set for the textinputedittext when the text field be click and the hint label be automatically move to the outline border the position of the hint label be too right cause the right most part of it to be cut by ...
materialcomponentsmaterialcomponentsandroid
snackbar space be show above the text
Bug
description with compilesdkversion 30 and targetsdkversion 30 the snackbar be add space above the text field this issue be observe from the library version 1 3 0 alpha02 to the late available 1 4 0 rc01 this issue be find after upgrade the compilesdkversion and targetsdkversion...
materialcomponentsmaterialcomponentsandroid
textinputlayout border overlap float label when round shape appearance use
Bug
description I be see that the border outline of a textinputlayout overlaps its float label the overlap issue only occur when a rounded shape appearance be use a square shape appearance do not exhibit this issue this look to be a similar issue to 2127 but this ticket be mark as fix round with ove...
materialcomponentsmaterialcomponentsandroid
slider illegalstateexception on huawei android 9
Bug
we keep experience illegalstateexception but only on huawei device and only android 9 when use another device on same user account no crash occur current version 1 4 0 beta01 fatal exception java lang illegalstateexception value 475 0 must be equal to valuefrom 100 0 plus a multiple of steps...
materialcomponentsmaterialcomponentsandroid
tablayout first time tab position in 0 next select position 1 create more than one fragment
Bug
the tablayout after the init offscreenpagelimit 1 position in 0 when select position 2 will create two new fragment the true be create one fragment in position 2 not create position in 1 and 2 fragment
materialcomponentsmaterialcomponentsandroid
textinputedittext minem be not work
Bug
description textinputedittext minem be not work on 1 3 0 ver all work fine expect behavior minem must set width of textinputedittext by value source code android api version 28 29 material library version 1 4 0 rc01 device xiaomi mi11 emulator api 28 an...
materialcomponentsmaterialcomponentsandroid
tablayout tablayout can not be make short that it s default height
Bug
description when try to decrease the textsize in tablayout s tab their height be not get any small even though it s height have be set to wrap content expect behavior the tablayout to get small and match the size of its content image source code the issue can be observe in the vi...
materialcomponentsmaterialcomponentsandroid
second textinputlayout textinputedittext be not work correctly this behaviour happen in all device
Bug
in a dialogue the second edit text do not work correctly it do not add text from keyboard expect behavior screenshot and or description of expect behavior android api version android api version here api 28 29 30 material library ve...
materialcomponentsmaterialcomponentsandroid
materialbuttontogglegroup incorrect check state when combine xml programmatically
Bug
when a materialbuttontogglegroup have set app selectionrequire true and app singleselection true in xml and you also change the check button in code at run time with check r i d newcheckedbutton on the group multiple button become select incorrectly seem like this fix be not fully work ...
materialcomponentsmaterialcomponentsandroid
component name short description of issue
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 please consider attach a minimal sample app that reproduce the issue android api version android api version here ...
materialcomponentsmaterialcomponentsandroid
bottom navigation slow bottom nav menu inflation approx 200ms
Bug
description inflation of bottom navigation be take time and be hit the app startup speed approx 200ms source code android api version android 11 api 30 material library version 1 3 0 device pixel 2xl flame chart
materialcomponentsmaterialcomponentsandroid
bottomsheet bottomsheetbehavior miss state dispatch when isdraggable flag change
Bug
description bottomsheetbehavior miss state dispatch when isdraggable flag change mean isdraggable false user try to move the bottom sheet than change to isdraggable true and the bottomsheetstate listener doesn t receive the input from the user bug redirect from here use case be ...
materialcomponentsmaterialcomponentsandroid
materialcontainertransform startview be visible over the endview container
Bug
description the startview fab in this case in the materialcontainertransform between two fragment be visible above the endview during the animation process expect behavior startview dissapear with the animation when the transition start source code entertransition materialconta...
materialcomponentsmaterialcomponentsandroid
materialdatepicker day of week not appear correctely in arabic
Bug
description day of week not appear correctely in arabic the name of day of week be write in two line if the version of android less than android oreo capture android api version api 25 material library version com google android material material 1 4 0 rc01 device ...
materialcomponentsmaterialcomponentsandroid
navigationrailview navigation rail use bottomnavigationview specific inset
Bug
description when navigationbarview be make the base class for both navigationrailview and bottomnavigationview the inset handling from bottomnavigationview in its applywindowinset l307 be move to navigationbarview however this mean that navigationrailview which be a vertic...
materialcomponentsmaterialcomponentsandroid
circularprogressindicator circularindeterminateanimatordelegate cause npe
Bug
description when update circularprogressindicator progress with animate true param there be a chance if cpi be detach from window for example on fragment detach completeendanimator will cause nullpointerexception stacktrace java java lang nullpointerexception attempt to invoke virtu...
materialcomponentsmaterialcomponentsandroid
tablayout rtl issue on api low than 18
Bug
description when tabmode be scrollable tab be not scrollable to the end also there be an empty space at the start of the view empty space expect behavior you should be able to scroll tab item to the end I do not expect to have an empty space at the start of tab item source code ...
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout while collapsingtoolbarlayout be expand scroll view be not entirely visible when scroll with keyboard
Bug
description the bottom of the scroll view seem to be out of bound while collapsingtoolbarlayout be expand and user try to scroll the view with keyboard only expect behavior when user scroll the view via keyboard navigation while collapsingtoolbarlayout be expand the entire view should be ...
materialcomponentsmaterialcomponentsandroid
badgedrawable should the app s theme must to be theme materialcomponent
Bug
description I just need use the badgedrawable feature in my app what be the reason that my app s theme must to be theme materialcomponent I really confuse about this enforcement expect behavior cause by java lang illegalargumentexception the style on this component require your...
materialcomponentsmaterialcomponentsandroid
navigationview itembackground inflate exception on api 26 27 28
Bug
description here s the relevant exception line android view inflateexception binary xml file line 45 binary xml file line 45 error inflate class com google android material navigation navigationview cause by android view inflateexception binary xml file line 45 binary xml file l...
materialcomponentsmaterialcomponentsandroid
badgedrawable badgedrawable appear clip when use with a toolbar
Bug
description I ve be try to use a badgedrawable on a menuitem in our toolbar but it can t really get it to work as expect it appear as if the value get visually clip due to exceed the menu item view bound and I think it s due to the positioning of the badge be too far right number 99 ...
materialcomponentsmaterialcomponentsandroid
materialtimepicker do not respect iscancelable setcancelable
Bug
description the materialtimepicker component do not respect the iscancelable property setcancelable in the follow way the cancel button be still visible the dialog get dismiss after press cancel expect behavior it be expect that the cancel button not be visible so that cancel ...
materialcomponentsmaterialcomponentsandroid
material card view unable to change stroke color after first time
Bug
description the material card view do not clear the previously select card view s color even after add the new stroke color in the card view after analyze a bit more the color will change only after open a keyboard layout issue screenshot gif source code private fun updatelocationse...
materialcomponentsmaterialcomponentsandroid
materialdatepicker npe crash
Bug
the material date picker crash sometimes when preselecte a date range code to invoke the datepicker private fun launchdatepicker val now zoneddatetime now toepochsecond 1000 val selectionrange arraylist apply add datevalidatorpointforward from zonedd...
materialcomponentsmaterialcomponentsandroid
component name short description of issue getnet
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 please consider attach a minimal sample app that reproduce the issue android api version android api version here mater...
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout the attribute expandedtitlemarginend do not work
Bug
when the text size in collapsedtitletextappearance and expandedtitletextappearance be same the expandedtitlemarginend seem to be ignore but if the difference between the two text size be 0 001 everything will be perfect after a rough walking through the source code the issue should be relevant to the log...
materialcomponentsmaterialcomponentsandroid
dialog can t setwindowinsetsanimationcallback to listenner the inputmethod show and hide
Bug
such as code in activity windowcompat setdecorfitssystemwindow window false viewcompat setwindowinsetsanimationcallback view windowinsetscallback it can work success but code in dialog this code can t invoke callback
materialcomponentsmaterialcomponentsandroid
rangeslider label not show proper
Bug
description I be use range slider in this label not get show properly expect behavior image source code android api version 28 material library version implementation com google android material material 1 4 0 beta01 device honor 7x
materialcomponentsmaterialcomponentsandroid
component name short description of issue
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 please consider attach a minimal sample app that reproduce the issue android api version android api version here ...
materialcomponentsmaterialcomponentsandroid
viewpager2 do not support direct child view
Bug
material library version 1 4 0 beta01 test on android 10 xml private val page arrayof test1fragment test2fragment test3fragment inner class testadapter fragment fragment fragmentstateadapter fragme...
materialcomponentsmaterialcomponentsandroid
component name short description of issue
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 please consider attach a minimal sample app that reproduce the issue android api version android api version here ...
materialcomponentsmaterialcomponentsandroid
java lang noclassdeffounderror fail resolution of landroidx appcompat widget appcompatedittext
Bug
05 31 11 36 35 770 11975 11975 e androidruntime cause by java lang noclassdeffounderror fail resolution of landroidx appcompat widget appcompatedittext 05 31 11 36 35 771 11975 11975 e androidruntime at androidx appcompat widget appcompattextviewautosizehelper supportsautosizetext appcompattextviewautosiz...
materialcomponentsmaterialcomponentsandroid
materialtextview text appearance doesn t seem to work as expect but style do
Bug
description so I ve define this style and then on my main theme define this when I use my style on a textview as a textappearance property the fontfamily doesn t get select accordingly image but if I change it to style it do ...
materialcomponentsmaterialcomponentsandroid
materialswitch check change animation don t work within recyclerview or viewpager2
Bug
description materialswitch s animation be not fire after recyclerview re attach the view expect behavior I expect animation to work consistently the same way as they be before switch the tab scroll the list source code android api version all test on 28 and 30 material ...
materialcomponentsmaterialcomponentsandroid
textinputlayout all error be announce when use multiple input field
Bug
description when there be multiple input field on a screen and the user press the submit button which cause error text to be set and there be multiple error the screen reader announce all of the error expect behaviour the screen reader should announce only the error for the input that have f...
materialcomponentsmaterialcomponentsandroid
textinputlayout tab key do not move focus to the clear text button
Bug
description when use an external keyboard the tab key do not move focus to the clear text button as a result our accessibility team will not approve this component for use in our app since the button be not publicly accessible we can t even manually set focus on it expect behavior the tab key...
materialcomponentsmaterialcomponentsandroid
bottomsheetdialog edge to edge break on landscape orientation
Bug
description the padding on edge to edge bottomsheetdialog doesn t get apply correctly check out this screenshot from material catalog with cat bottomsheet content background color for exaggeration expect behavior the bottom sheet should look like this which I get by some change as foll...
materialcomponentsmaterialcomponentsandroid
materialtimepicker attr colorsurface attribute to be set in your app theme
Bug
java lang illegalargumentexception com google android material timepicker materialtimepicker require a value for the xxx attr colorsurface attribute to be set in your app theme you can either set the attribute in your theme or update your theme to inherit from theme materialcomponent or a descendant impleme...
materialcomponentsmaterialcomponentsandroid
textinputlayout end icon not center and error icon change height
Bug
description I have an input field use filledbox style and a custom shapeappearanceoverlay which be just round corner I remove the hint with the follow attribute in style the edittext layout height be much big then it should be when it have an end icon enable normal state be 57 dp and with end...