repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
materialcomponentsmaterialcomponentsandroid
linearprogressindicator when set indicator color programatically track color doesn t change
Bug
be it a bug or feature when set indicator color in xml app indicatorcolor color somecolor the track color display with disabledalpha of indicator color when set color programmatically progress bar setindicatorcolor contextcompat getcolor context r color somecolor the track color doesn t ch...
materialcomponentsmaterialcomponentsandroid
the style on this component require your app theme to be theme appcompat or a descendant
Bug
description crash in inflate of com google android material bottomnavigation bottomnavigationview start to come on some device only only android 10 there have no change in theme of application or activity expect behavior app should not crash source code ...
materialcomponentsmaterialcomponentsandroid
textinputedittext text get hide when select from google save password
Bug
first of all when I choose username and password textinputedittext from google save password by autofill background color of both edittext get yellow color shade I fix that by add below line in v26 style xml drawable round button but after that get another issue now the text itself hide when c...
materialcomponentsmaterialcomponentsandroid
luminosity ratio for the usage datum toggle button be not meet the standard non text contrast ratio
Bug
description foreground to background ratio for the talkback off state toggle button from the default android setting be 1 542 1 expect behavior the non text contrast ratio for the talkback off state toggle button from the default android setting should be great than or equal to 3 0 1 android api ...
materialcomponentsmaterialcomponentsandroid
textinputlayout content description of icon be not read by the screen reader
Bug
description the content description of the icon be not read by the screen reader expect behavior the content description will be read via screen reader or other accessibility system to explain the action of the icon reference setendiconcontentdescription java lang charsequence source c...
materialcomponentsmaterialcomponentsandroid
chip set the chip text size result in incorrect padding
Bug
this be especially noticeable for long chip text be no long correctly space my guess be it s never check the new text size and rely on the text size cache when the view be inflate
materialcomponentsmaterialcomponentsandroid
badgedrawable text color do not update if badge reuse when switch dark mode
Bug
description I want the text color of my badge to be different depend on whether dark mode be enable when the badge be originally create the text color be successfully set but subsequent attempt to update the color e g if you switch mode and come back in the attached sample app everything except the...
materialcomponentsmaterialcomponentsandroid
materialtimepicker you must supply a layout height attribute
Bug
description when I try to open the material timepicker it crash with this error layout material timepicker binary xml file line 35 you must supply a layout height attribute expect behavior should open the time picker source code calendar cal calendar getinstance cal ...
materialcomponentsmaterialcomponentsandroid
material 1 2 1 nosuchmethoderror crash specific for android 10
Bug
description nosuchmethoderror crash specific for android 10 expect behavior not crash stack trace fatal exception java lang nosuchmethoderror no virtual method getmandatorysystemgestureinset landroidx core graphic inset in class landroidx core g ae or its super class ...
materialcomponentsmaterialcomponentsandroid
circular progress indicator do not work on api 22 only
Bug
description inflate and put an indeterminate circular spin indicator programmatically in a layout and try to start the app for the record I ve set it as the actionview for a menu but I bet it s the same for every other case expect behavior the progress indicator should be visible and spin this b...
materialcomponentsmaterialcomponentsandroid
material date picker last week of january 2021 be not fully load when the calendar be open in swedish locale
Bug
on a tablet run in the swedish locale language set to swedish the last week of most month be miss when the calendar be first open one way I find to get it to show up be by press any random date as show in the attach video tap the month selection arrow to go to the month of march and back to january also seem t...
materialcomponentsmaterialcomponentsandroid
textinputlayout clear text end icon be visible for field when edittext text content be modify via code
Bug
description the clear text end icon be display if we modify the text of the edittext via code for example via settext expect behavior the clear text end icon should not be display if the textinputlayout be not focus source code the issue be present when use settext on the child e...
materialcomponentsmaterialcomponentsandroid
materialbutton opaque shape inside button
Bug
description there be an opaque shape inside button it be visible when background tint be set to a transparent color expect behavior opaque shape shouldn t be available source code android api version all version material library version 1 2 0 ...
materialcomponentsmaterialcomponentsandroid
transition strictmode leakedclosableviolation on android 11
Bug
description when strict mode detectleakedclosableobject be enable when do a share element transition use the material transition library it be observe that after a few trial it crash on android 11 device expect behavior no crash even after do the share element transition many time ...
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
tab in tablayout not fill to parent in hdpi device
Bug
description I have a tab in my application at bottom I be use com google android material tabs tablayout for it the issue I m face be the two tab get centre with wrap content I search at max most of the developer suggest set the tabmaxwidth to 0dp tabmode to fix and tabgravity to fill ...
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
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
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
app passwordtoggleenable true have bug until 1 3 0 beta01 to 1 3 0 rc01
Bug
password hide password show
materialcomponentsmaterialcomponentsandroid
autocompletetextview expose dropdown menu not show item
Bug
description expose dropdown menu implement an expose dropdown menu doesn t show item after user selection and fragment transition follow be the basic xml declaration and the declare code on the fragment inside onviewcreate val item listof material ...
materialcomponentsmaterialcomponentsandroid
android fragment and slide menu navigation
Bug
I have implement slide menu navigation in my app like in this picture when the user click an item in the slide menu a fragment be create for the correspond menu entry and it replace any exist fragment when the use navigate far away for example the top level fragment be a thinglistfragment for a list of th...
materialcomponentsmaterialcomponentsandroid
materialbutton icongravity textstart work incorrectly with multi line text
Bug
description when a materialbutton use icongravity textstart and have text with line break its icon be position too far away as if the text be single line 2 multi line 1 single line expect behavior icon position close to the text android api version 21 30 mate...
materialcomponentsmaterialcomponentsandroid
circularprogressindicator error inflate class circularprogressindicator with api 19
Bug
description problem use themed circularprogressindicator with api 19 expect behavior no crash source code have the follow main theme xml and this style xml I get the follow crash binary xml file line 46 error inflate class com...
materialcomponentsmaterialcomponentsandroid
linearprogressindicator linearprogressindicator do not show when use androidx fragment 1 3 0 rc01
Bug
description linearprogressindicator in material component 1 3 0 rc01 do not show when use androidx fragment 1 3 0 rc01 the same code work correctly with fragment 1 2 5 expect behavior linearprogressindicator should also work with androidx fragment 1 3 0 rc01 android api version andr...
materialcomponentsmaterialcomponentsandroid
matrial design spec be md state additive or not
Bug
material library version the recent material design spec description follow the spec principle additive when multiple state occur at once such as selection and hover both state indicator should be display anatomy overlay only one state layer be apply at...
materialcomponentsmaterialcomponentsandroid
materialdatepicker day of the week not color correctly
Bug
I m try to apply custom theme to date picker by override colorprimary to a blue shade colorsurface to a dark gray shade and coloronsurface to a light gray shade for dark mode though most part of the ui be color correctly the day of the week be not screenshot notice how day of the week be black ...
materialcomponentsmaterialcomponentsandroid
appbarlayout snap behavior bug
Bug
description there be a bug with appbarlayout in how it calculate snapbottom within snaptochildifneede the issue happen when the appbarlayout have more than one child for example collapsingtoolbarlayout and another view below it such as tablayout after scroll the collapse toolbar expand aga...
materialcomponentsmaterialcomponentsandroid
materialbutton text misalignment with icon with viewstart alignment
Bug
description textalignment be be offset base on the icon intrinsicwidth when set as viewstart cause the button text to not be properly center this be more prominently see when the button s width be set at match constraint as oppose to wrap content expect behavior button text to remain horizon...
materialcomponentsmaterialcomponentsandroid
materialcardview check icon could not be tint on android 21
Bug
description when use a checkable materialcardview when check the materialcardview the checkicon be black whatever the tint of the set drawable or drawable resource expect behavior the check icon be tint as specify source code all of those solution be not work when use pl...
materialcomponentsmaterialcomponentsandroid
searchview rtl doesn t apply to r i d search src text
Bug
description when change the layout direction the searchview hint text or input text be not honor the set hint input text look incorrect when rtl rtl screen hint text input text hint input text look correct when ltr ltr screen hint text i...
materialcomponentsmaterialcomponentsandroid
textinputlayout autocompletetextview not show correctly
Bug
I create a spinner use textinputlayout autocompletetextview and outlinedbox exposeddropdownmenu style but the hint be not show correctly see image whatsapp image 2021 01 15 at 17 16 59 you can see how gender hint be overlap the outlinedbox this be the code ...
materialcomponentsmaterialcomponentsandroid
materialalertdialog colorcontrolhighlight selector crash
Bug
description have a theme that extend materialcomponent and override colorcontrolhighlight with a color selector for example will crash any materialalertdialog in some device the temporary fix be to use a color instead of a selector this should not happen stacktrace ...
materialcomponentsmaterialcomponentsandroid
textinputlayout unexpected behavior when set endicondrawable with arabic rtl locale
Bug
screenshot 20210114 181259 01 description textinputlayout show extra space at the start of view when set endicondrawable when the locale be rtl ar while it s work fine with english locale expect behavior no space should be add at the start of view when set endicondrawable s...
materialcomponentsmaterialcomponentsandroid
textinputlayout placeholder gravity not work as expect
Bug
description I set the gravity inside placeholdertextappearance as center to match the text alignment of the textinputedittext but it do not center I ve also center the placeholder textalignment and still no effect expect behavior the text gravity of the placeholder should be as...
materialcomponentsmaterialcomponentsandroid
textinputlayout textinputedittext set the background to transparent doesn t render outlinedbox or filledbox
Bug
description perhaps this issue be more about not rely on set either the textinputlayout or textinputedittext background to be transparent in order to use the no background text field neither outlinedbox nor filledbox the follow cause not to render the outlinedbox or filledbox or ...
materialcomponentsmaterialcomponentsandroid
snackbar empty space between gesture navigation bar and snackbar when snackbar be use in coordinatorlayout and appcompat theme
Bug
description after update to material 1 1 0 alpha10 and later when snackbar be use in the coordinatorlayout the app be use appcompat base theme and user have android 10 gesture navigation enable device there be an empty space between navigation bar and the snackbar the issue can be re...
materialcomponentsmaterialcomponentsandroid
materialtimepicker button unreachable in landscape mode
Bug
description in landscape mode with big font display size part of the dialog be unreachable probably some kind of scroll need here android api version 30 material library version com google android material material 1 3 0 beta01 device pixel 4 image
materialcomponentsmaterialcomponentsandroid
materialdatepicker crash on date choose if monthadapter scroll
Bug
description there be a crash in landscape mode with a big font display size when select day from last row java lang nullpointerexception attempt to invoke virtual method void android widget textview setenable boolean on a null object reference at com google android material datepick...
materialcomponentsmaterialcomponentsandroid
textinputlayout textinputedittext the style be break when use it programmatically
Bug
description I m try to create a textinputlayout programmatically and put it in a alertdialog but the style be completely break kotlin val view textinputlayout this null r style widget materialcomponent textinputlayout filledbox also it hint gettext r string medicalrecord...
materialcomponentsmaterialcomponentsandroid
materialdatepicker get selection on null object reference
Bug
description after build the date picker with an initial selection if I want to retrieve that selection this exception be throw java lang nullpointerexception attempt to invoke interface method java lang object com google android material datepicker dateselector getselection on a null object referen...
materialcomponentsmaterialcomponentsandroid
materialdatepicker can t change status bar color
Bug
description when an app display fullscreen materialdatepicker the status bar color be always black this issue be noticable even in the material android catalog app I try change the status bar color use android statusbarcolor and android windowlightstatusbar but it didn t have any effect ...
materialcomponentsmaterialcomponentsandroid
autocompletetextview re announce the activity title after item selection
Bug
description implement the expose dropdown menu as explain here under implement an expose dropdown menu use text field turn on talkback and select an item in the dropdown talkback will re announce the title of the activity after the dropdown item selection most likely this be due to the ...
materialcomponentsmaterialcomponentsandroid
date picker select date text not align vertically when run in fragment scenario
Bug
description this issue be somewhat minor since it only affect testing but when do screenshot testing and manual screenshot review for content and layout correctness by non devs it become a bit more of an issue when open the material date picker inside a fragment scenario test override the theme with...
materialcomponentsmaterialcomponentsandroid
theme materialcomponent activity background color not set
Bug
description issue start since 1 3 0 alpha04 but not affect all the device I personally don t have issue neither I be possible to reproduce it while some of the user have it I have attach video of the issue background should be dark as I set in theme I m use the same approach for year without issu...
materialcomponentsmaterialcomponentsandroid
materialtimepicker error inflate materialtimepicker miss layout height attribute
Bug
description with the late update to 1 3 0 beta01 my app crash when try to show the materialtimepicker dialog here be the stack trace of the crash cause by android view inflateexception binary xml file line 46 in my app i d layout material timepicker dialog error inflate class com google a...
materialcomponentsmaterialcomponentsandroid
bottomsheetdialogfragment snackbar invisible when show from bottomsheetdialogfragment
Bug
description full description of issue here snackbar invisible when show from bottomsheetdialogfragment expect behavior screenshot and or description of expect behavior snackbar visible when show from bottomsheetdialogfragment source code the code snippet which be cause this issue pl...
materialcomponentsmaterialcomponentsandroid
materialcardview support cliptooutline in a general way
Bug
currently in materialcardview I want my card to be cut from all corner without clip the content but it be not possible because if I use shape appearance then my card will get default clip if I remove that then my content will be over the corner
materialcomponentsmaterialcomponentsandroid
materialdatepicker mix of locale below api 26
Bug
description in my app I allow the user to select a locale different from the device s locale on android 8 0 api 26 and above the date picker show everything correctly use the locale select by the user however below api 26 the picker show a mix of the user s locale and the device s locale like thi...
materialcomponentsmaterialcomponentsandroid
circularprogressindicator white transparent line on progress indicator end when use rounded track
Bug
description when enable rounded end on the progress indicator use trackcornerradius there be fine white transparent line at the beginning and end of the actual progress indicator as well as in the middle of the round corner see this screenshot image expect behavior no white transparent l...
materialcomponentsmaterialcomponentsandroid
materialdatepicker switch mode cause crash
Bug
description follow workflow only crash on my api 30 emulator 1 open materialdatepicker 2 switch to text mode 3 switch to calendar mode 4 half of calendar not visible and click on any date cause crash stack trace java lang nullpointerexception attempt to invoke virtual method v...
materialcomponentsmaterialcomponentsandroid
materialtimepicker design issue api 15
Bug
description I find some design issue when I be test on an emulator with api 15 I don t know exactly if this api version be support but this be the flaw I find no left margin padding on title minute be not center inside its rectangle background no left margin padding on be pm toggle text of ...
materialcomponentsmaterialcomponentsandroid
monthadapter nullpointerexception on monthadapter updateselectedstate monthadapter java 164
Bug
description we receive a nullpointerexception on the materialdatepicker component we don t have more information except the firebase crashlytic log information expect behavior at the source code should be a check first if the object isn t null source code fatal exception ...
materialcomponentsmaterialcomponentsandroid
textinputlayout activate the error state without error text
Bug
description sometimes we need to activate the error state of the textinputlayout but send an empty text be not activate it so we have to send a space as a text to activate the error state this be cause an empty space below the textinputlayout be there a way to activate the error state without send a tex...
materialcomponentsmaterialcomponentsandroid
material cardview child not be clip when material cardview have round corner below api 29
Bug
description on api 28 and below when use a material card view with rounded corner child such as other material card view be not clip and instead overlap the rounded corner expect behavior source code just make a simple material card view with rounded corner put a nest scrollview inside a...
materialcomponentsmaterialcomponentsandroid
textinputlayout invalid email address error overlap endicon
Bug
description 1 create a textinputlayout with a textinputedittext 2 set input type email address in edit text set endiconmode to cleartext in textinputlayout 3 enter some text in edittext set error in edit text to enter a valid email address 4 error will overlap the end icon expect behavior...
materialcomponentsmaterialcomponentsandroid
linearprogressindicator doesn t hide if app be put in background immediately after hide
Bug
description 1 hide be call 2 app put in background immediately after call home button press for example 3 app return to foreground 4 loader be show expect behavior 1 hide be call 2 app put in background immediately after call home button press for example ...
materialcomponentsmaterialcomponentsandroid
basetransientbottombar why must style on this component require your app theme to be appcompat
Bug
if style on this component be not appcompat style but component also work only some experience problem if my style not extend appcompat style your code will throw exception and crash our app actully I don t check style also work for my app so why must check sytle and if not will throw exception ...
materialcomponentsmaterialcomponentsandroid
materialdatepicker wrong month title for april 1981 1984
Bug
description datepicker be show title march instead of april issue a be for year 1981 1984 issue seem to be only the title value select from calendar be correct expect behavior month title for april should be april material library version 1 3 0 beta01
materialcomponentsmaterialcomponentsandroid
materialtimepicker can not resolve symbol materialtimepicker
Bug
description can not resolve symbol materialtimepicker expect behavior able to use materialtimepicker from material lib source code materialtimepicker materialtimepicker new materialtimepicker builder settimeformat clockformat sethour hour ...
materialcomponentsmaterialcomponentsandroid
textinputlayout unexpected focus acquisition
Bug
description nest textinputedittext get focus when textinputlayout setenable true with a small delay and if its default be false xml expect behavior nest textinputedittext doesn t get focus source code public void onviewcreate nonnull view view nullable b...
materialcomponentsmaterialcomponentsandroid
materialbutton click event not work on google pixel 5
Bug
description the click event do not work in google pixel 5 android 11 expect behavior click event be trigger work on google pixel 3a with android 11 source code android api version android 11 material library version 1 2 0 alpha06 devic...
materialcomponentsmaterialcomponentsandroid
rangeslider there be a line when two thumb be overlap
Bug
description there be a line when two thumb be overlap image expect behavior no redundant line source code xml layout java code public class myslideractivity extend appcompatactivity override protect void oncreate nullable bundle savedinsta...
materialcomponentsmaterialcomponentsandroid
slider slider thumb top and bottom clip
Bug
description the slider thumb be clip at the top and bottom here s a screenshot of an example with show layout bound turn on screenshot 20201211 152421 it look like the issue be a non configurable widgetheight property define in a material dimen file the diman be call mtrl slider w...
materialcomponentsmaterialcomponentsandroid
component name short description of issue
Invalid
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
material outline button label text color not change
Bug
description hi I be work in material outline button I try to set label color in material button with enable and disable state but its not take color from my style instead it take my accent color source code style textselector color and...
materialcomponentsmaterialcomponentsandroid
linearprogressindicator linearprogressindicator inside recyclerview viewholder disappear when scroll off screen
Bug
description linearprogressindicator inside recyclerview viewholder disappear after scroll off screen and scroll back expect behavior linearprogressindicator stay visible in recyclerview viewholder source code android api version 29 material li...
materialcomponentsmaterialcomponentsandroid
materialdatepicker november only show 29 day
Bug
description in a particular case november only show 29 day instead of 30 other month can also be wrong the problem occur when load the materialdatepicker and either the previous or next month be display across 6 row basically the layout get constrain to the height of the current month eg december 202...
materialcomponentsmaterialcomponentsandroid
extendedfloatingactionbutton draw text in center of component in rtl layout
Bug
description I m try to make a custom view that have extend from extendedfloatingactionbutton I m draw a text counter at center of this widget this be the code snippet init customize textpaint for counter paint apply textsize context getdimension r dim...
materialcomponentsmaterialcomponentsandroid
bottomnavigationview unnecessary space be add after set hide navigation flag and rotate the screen
Bug
description if you set the system ui flag layout hide navigation and system ui flag hide navigation flag when landscape mode and then remove those flag when portrait mode the unnecessary space window inset be add expect behavior do not be add unnecessary space source code I gues...
materialcomponentsmaterialcomponentsandroid
materialtimepicker break layout if reuse materialtimepicker
Bug
description I be create a materialtimepicker instance and show it in an datepicker addonpositivebuttonclicklistener method the problem be that the layout be break if I try to show that timepicker instance again after close the first one screenshot 20201127 150152 expect behavior if the mater...
materialcomponentsmaterialcomponentsandroid
constraintlayout layout constraintheight max work incorrectly
Bug
description after transfer from material 1 3 0 alpha01 to material 1 3 0 alpha02 alpha04 style argument layout constraintheight max from the code below break layout height expect behavior the height of the component must be 0 3 from the parent and must not exceed the maximum but compon...
materialcomponentsmaterialcomponentsandroid
circularprogressindicator circularprogressindicator inside recyclerview item disappear when scroll off screen
Bug
description full description of issue here circularprogressindicator inside recyclerview item disappear when scroll off screen 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 ap...
materialcomponentsmaterialcomponentsandroid
rangeslider unexpected multiple addonchangelistener invocation
Bug
description when use a rangeslider and use addonchangelistener the listener be invoke multiple time addonchangelistener do not have that behavior document rangeslider java at onchangelistener do have that document but the sentence do not really make sense expect behavior well docu...
materialcomponentsmaterialcomponentsandroid
bottomnavigationview badge accessibility not translate and not changeable
Bug
description the bottomnavigationview badge be available only in english and there be no possibility to change it expect behavior accessibility string resource should be translate or give developer possibility to implement own accessibility source code the code snippet which be cause this iss...
materialcomponentsmaterialcomponentsandroid
textinputlayout auto scrolling to the bottom of textinputlayout whenever cursor be place on textinputedittext
Bug
description on material lib version 1 2 1 1 3 0 alpha03 latest whenever a cursor be place on textinputedittext it autoscroll to the bottom of the textinputlayout so when the text be very long and cursor be place on the first few line it autoscroll to the bottom of the textinputlayout user can no l...
materialcomponentsmaterialcomponentsandroid
bottomappbar performhide not work after configuration change
Bug
I control a bottom app bar in the activity in some fragment it should be hide in some fragment it should be show performshow and performhide work nicely the fragment onresume call a method in the activity and the bottom app bar be either hide or show as soon as I turn the device emulator p...
materialcomponentsmaterialcomponentsandroid
textinputedittext the cursor stay at the beginning and addtextchangelistener be never trigger temporary fix inputtype text but doesn t work on anything else
Bug
description if you use textinputlayout with textinputedittext the cursor stay at the start and doesn t move at the end of text when write but be fix at the beginning it work if you put inputtype as text but it doesn t work for anything else for example multiline the textchangelistener be call only if...
materialcomponentsmaterialcomponentsandroid
textinputlayout invisible box outline on empty text and suffix ruin box
Bug
description box outline doesn t appear when focus with empty text unfocused screenshot 2020 11 22 113239 focus screenshot 2020 11 22 113326 focus with text screenshot 2020 11 22 115504 also in error screenshot 2020 11 22 113452 another issue be that suffix and trail icon ove...
materialcomponentsmaterialcomponentsandroid
materialtimepickerdialog can not inherit default theme overlay
Bug
description when use materialtimepickerdialog I can not seem to inherit from themeoverlay materialcomponent materialtimepicker if I want to override certain theme attribute and provide my own custom theme overlay for materialtimepickertheme be that intentional or be I miss something expect be...
materialcomponentsmaterialcomponentsandroid
textinputlayout filledbox without rounded corner at top
Bug
description my designer want to use this component by material guide but when I use it in a new empty project I get a problem with rounded corner at top of textinputlayout expect behavior image source code image android api version 29 30 material library versi...
materialcomponentsmaterialcomponentsandroid
material custom view accessibilitydelegate do not work as expect on materialautocompletetextview
Bug
artifact use com google android material material 1 2 0 version use theme use device android version reproduce on pixel 4 android 11 samsung a 50 android 10 it be very possibly our own error but we do not find any helpful information on other platform so we decide to try it here source cod...
materialcomponentsmaterialcomponentsandroid
snackbar basetransientbottombar npe in shouldanimate
Bug
description we be see a grow number of crash due to fatal exception java lang nullpointerexception attempt to invoke virtual method java util list android view accessibility accessibilitymanager getenabledaccessibilityservicelist int on a null object reference which happen at com google andr...
materialcomponentsmaterialcomponentsandroid
com google android material tabs tablayout tabmode scrollable not work when attach to fragment
Bug
description tab layout scroll mode not work when fragmentstateadapter attach to fragment expect behavior normally tab layout can scroll as fragmentstateadapter attach to the activity source code class tabbedviewpageradapter val fragment mutablelist fa fragment fragment...
materialcomponentsmaterialcomponentsandroid
migrate from viewpager to viewpager2 with fragmentstateadapter cause visible screen yank and strictmode to be trigger
Bug
description I ve follow the android documentation and this tutorial to migrate to viewpager2 when swipe the 4 screen from leave to right there be a visible screen yank the documentation explicitly mention that createfragment must provide a new fragment each time so the implementati...
materialcomponentsmaterialcomponentsandroid
bottomsheet call requestlayout will cause bottom sheet to be place in wrong position
Bug
description call requestlayout when a bottom sheet be show will cause the bottom sheet to be move down video expect behavior call requestlayout shouldn t change the bottom sheet s position source code bottomsheett zip android api version test on api 29 30 ...
materialcomponentsmaterialcomponentsandroid
material android component be crash in debug mode
Bug
description I didn t make any change to my code this issue be reproduce for both 4 1 1 and 4 4 0 gradle version app crash in debug mode but work fine in release mode I try reinstall the android studio nothing help I android api version android api version android 11 30 materi...
materialcomponentsmaterialcomponentsandroid
snackbar message text be cut off or not visible at all for multiline maxactioninlinewidth
Bug
hi we come across this problem work on accessibility for our app problem afaik the problem be cause in snackbarcontentlayout by the logic in onmeasure regard updateviewswithinlayout I m sure you be aware but just for the sake of completeness first the message text be multiline so the lay...
materialcomponentsmaterialcomponentsandroid
materialcontainertransform bounce when use appbarscrollingviewbehavior
Bug
description materialcontainertransform seem to bounce when app layout behavior string appbar scrolling view behavior be set expect behavior when app layout behavior string appbar scrolling view behavior be remove from fragmentcontainerview everything work as expect animation be ...
materialcomponentsmaterialcomponentsandroid
material chip fail to inflate in darkmode
Bug
I recently decide I want to use material s chip widget to implement tag in my app I update my appcompat daynight they to materialcomponent in day mode everything work fine but in night mode chip s fail to inflate with the error cause by java lang illegalargumentexception the style on this component...
materialcomponentsmaterialcomponentsandroid
materialdatepicker materialtimepicker how to style the shape
Bug
hello can someone help I to find how to change the shape of new picker dialog in style I try to look into the source code but it be unclear maybe there be a unified method to do that
materialcomponentsmaterialcomponentsandroid
snackbar snackbar rtl dismiss behaviour
Bug
when you try to dismiss a snackbar in an rtl layout the dismiss swipe be normal but the dismiss direction be wrong you need go swipe from right to left but the snackbar be dismiss from leave to right
materialcomponentsmaterialcomponentsandroid
materialdatepicker render incorrectly on android 11 pixel 2xl
Bug
the materialdatepicker render incorrectly on a pixel 2xl device with android 11 use version 1 3 0 alpha03 this do not happen on a pixel 3 device or android studio emulator pixel 2xl run android 11 pixel 3 emulator run android 11
materialcomponentsmaterialcomponentsandroid
bottomsheet bottomsheet go wrong state and whole screen become untouchable
Bug
description full description of issue here an user interact follow order 1 initial position collapse 2 start drag and let the bottomsheet to get in settle 3 user touch the bottomsheet again before settle status end up 4 it be observe that bottomsheet state be expand or collapse but s...
materialcomponentsmaterialcomponentsandroid
badgedrawable number not format use system locale
Bug
description the number in the badge do not get format in the device s set locale see pic english number when language be arabic image expect behavior a formatted number should be return by the getbadgetext source code nonnull private string getbadgetext if...
materialcomponentsmaterialcomponentsandroid
chip doesn t pass settextsize call to chipdrawable
Bug
chip be create programmatically in the code I try to get rid of the trail indentation fun createchip chip val chip chip context chip text sgds vsdgty bsd df g chip settextsize typedvalue complex unit sp 10f chip chipbackgroundcolor color red chip settextcol...
materialcomponentsmaterialcomponentsandroid
textinputlayout wrong hint size
Bug
description can t change label size in the collapsed and expand state it ignore value provide by hinttextappearance style expect behavior hint label text size should be affect by style material issue 2 material issue source code style ...
materialcomponentsmaterialcomponentsandroid
progressindicator indeterminate stop rotate after a while on emulator of android api 24 otherwise it work fine
Bug
description com google android material progressindicator progressindicator indeterminate stop rotate after a while a minute or so just on emulator of android api 24 otherwise it work fine expect behavior it should rotate source code fun showprogress ...
materialcomponentsmaterialcomponentsandroid
textinputlayout change endiconmode dynamically be break in v1 2 x
Bug
description let s consider the follow piece of code that be handle by the view in a mvvm implementation usernamelayout setenable loginuimodel enableusernamefield if loginuimodel showusernameendicon usernamelayout setendiconmode textinputlayout end icon custom usernamelayout se...
materialcomponentsmaterialcomponentsandroid
slider slider doesn t slide in horizontal recyclerview
Bug
description slider doesn t slide in horizontal recyclerview expect behavior slider should slide in horizontal recyclerview android api version 30 material library version 1 2 1 device emulator pixel 3