repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
materialcomponentsmaterialcomponentsandroid
slider can not set stepsize 1 0
Bug
description when I set stepsize 0 1 I get next error cause by java lang illegalargumentexception the stepsize must be 0 or a factor of the valuefrom valueto range at com google android material slider slider validatestepsize slider java 383 at com google android material sl...
materialcomponentsmaterialcomponentsandroid
slider add a way to prevent the label from be draw at all
Bug
description when I set slider isfloatinglabel false label stills show slider isfloatinglabel true default screenshot 1571896439 slider isfloatinglabel false screenshot 1571896494 expect behavior I expect that I can hide float label source code ...
materialcomponentsmaterialcomponentsandroid
bottomappbar inside bottomnavigationview add rectangle
Bug
when bottomnavigationview be add inside bottomappbar offset rectangle appear the below screenshot show the behavior I try to change inset and add the follow code but it do not work viewutil doonapplywindowinset bottomappbar view inset initialpadde inset xml layout ...
materialcomponentsmaterialcomponentsandroid
textinputlayout hint gravity or alternative way
Bug
be your feature request relate to a problem please describe in case when textinputlayout use with legacy design starticon prefix hint title draw with trouble and its look very bad
materialcomponentsmaterialcomponentsandroid
snackbar custom snackbar not call to contentviewcallback
Bug
description I have create a custom snackbar extend from the basetransientbottombar class everything work great except for the com google android material snackbar contentviewcallback callback that be never invoke except if I change animationmode animation mode slide see the basetransientbottombar code it se...
materialcomponentsmaterialcomponentsandroid
slider float label not visible
Bug
description float label not visible in the slider screenshot from 2019 10 22 19 43 05 expect behavior show float label source code android api version 23 28 probably not version specific material library version 1 2 0 alpha01 device ...
materialcomponentsmaterialcomponentsandroid
materialbuttontogglegroup corner don t handle visibility change correctly
Bug
description change visibility on child of a materialbuttontogglegroup do not fix the corner of the view that be now at the edge expect behavior if the visibility of the outer view be set to view go or view invisible the corner for the inner view should go back to their original shape I e th...
materialcomponentsmaterialcomponentsandroid
textinputlayout errortext counter combination result in misplacement
Bug
description when display an error and a character counter on small device the character count be misplace cutoff image expect behavior the error text should have a linebreak instead source code inputlayout apply iscounterenable true countermaxleng...
materialcomponentsmaterialcomponentsandroid
bottomnavigationview crash when inflate menu
Bug
description when use app menu attribute app crash when its empty app run normally expect behavior expect to correct inflate menu source code android api version api 28 material library version material android library version you be use here e g 1...
materialcomponentsmaterialcomponentsandroid
textinputlayout nulle error cause currently display helper text to be hide
Bug
description have helper text currently show set error to null cause helper text to be hide expect behavior I expect that currently display helper text be not affect by set error to null in any way simply do nothing have display helper text I expect that set error to null do nothing set error to ...
materialcomponentsmaterialcomponentsandroid
shape theme crash
Bug
shape theme crash on android 9 in honor 8 pro
materialcomponentsmaterialcomponentsandroid
component cardview sample lineheight isn t adjust
Bug
description when make a modification to the line height it isn t be reflect in the card component text this be happen because the textview in the component cardview xml be use the appcompattextview instead of the materialtextview once I change the component cardview xml to use the materialtextview ev...
materialcomponentsmaterialcomponentsandroid
materialdatepicker manual date input do not work on samsung device
Bug
description when click the edit button next to select date on the picker to manually input a date with the edit text it be not possible to enter a valid date with the samsung stock keyboard since the number keyboard that be open do not allow to enter or screenshot 20191018 021210 zenjob...
materialcomponentsmaterialcomponentsandroid
android android studio complaint when use themeoverlay materialcomponent instead of themeoverlay appcompat
Bug
description I have add theme materialcomponent as per the getting start guide I have also replace themeoverlay appcompat with themeoverlay materialcomponent which have no mention in the getting start guide when I create an activity I get the follow error screenshot 20191016 164335 ...
materialcomponentsmaterialcomponentsandroid
textinputlayout hint text area background color glitch
Bug
remove
materialcomponentsmaterialcomponentsandroid
navigationview talkback do not announce the number of item in the navigationview
Bug
description talkback do not behave as expect on the navigation drawer it be include separator between menu item group in the count of item in the list of item in the navigation drawer additionally the header view automatically add 1 to the count of item even if it have no focusable item or if it have mo...
materialcomponentsmaterialcomponentsandroid
chip chip be blink in chipgroup with custom font
Bug
description I m try to update all chip s in chipgroup but they be blink for a short time gif example expect behavior chip update without blink source code chip be create programmatically private fun createchip context context chiptitle string chip ...
materialcomponentsmaterialcomponentsandroid
material toolbar action menu material toolbar action menu incorrect background
Bug
screenshot of the issue image image leave correct behavior android 10 right incorrect behavior android 5 1 component material toolbar com google android material material 1 1 0 beta01 base theme theme materialcomponent daynight noactionbar I m pass app theme ...
materialcomponentsmaterialcomponentsandroid
bottomsheetdialog frame with dark line appear in dim area when minimize app
Bug
description frame with dark line appear in dim area when minimize app expect behavior source code android api version 27 material library version 1 1 0 beta01 device xiaomi mi9 t
materialcomponentsmaterialcomponentsandroid
edittext resourcenotfound exception design password eye xml
Bug
this be a very nasty bug since it only happen on some device in the field I can not reproduce this on my local development device note that our app be deploy as android app bundle from the play store I flag this as a material library bug because the missing resource be part of the material library w...
materialcomponentsmaterialcomponentsandroid
materialalertdialog typography not work
Bug
description the materialalertdialogbuilder be not use the typography which be define in the app theme screenshot 2019 10 10 at 15 53 51 expect behavior the alertdialog be automatically use textappearanceheadline6 for the title textappearancebody1 for the message and textappe...
materialcomponentsmaterialcomponentsandroid
textinputlayout with textinputedittext fast input crash
Bug
description I have a com google android material textfield textinputlayout contain a com google android material textfield textinputedittext if I type quickly into the textinputedittext my app crash silently there be no output to android studio logcat however if I type slowly into the textinputed...
materialcomponentsmaterialcomponentsandroid
datepicker theme for dialog
Bug
I wonder how to set theme to force picker to be a dialog use r attr materialcalendartheme as in catalog app isn t ok because these attrs be private int dialogtheme resolveorthrow getcontext r attr materialcalendartheme int fullscreentheme resolveorthrow getcontext r attr materialcalen...
materialcomponentsmaterialcomponentsandroid
floatingactionbutton app crash because of shapeappearance on fab
Bug
description here be the demo app as describe in this link to the gif you can reproduce the crash expect behavior it should not crash source code here be the problem make cornersizetopright and cornersizebottomleft to 30dp be cause the crash link to the gif ...
materialcomponentsmaterialcomponentsandroid
catalog app crash when run demo of shape theme
Bug
description as describe in the title the demo app intitule catalog debug that I ve download from crash when I try to start the demo or any additional example of sahpe theame expect behavior n a source code crash log below e fatal exception main process io material c...
materialcomponentsmaterialcomponentsandroid
materialdatepicker month be package private
Bug
description go from 1 1 0 alpha10 to 1 1 0 beta01 make com google android material datepicker month package private even though it s in the public api and need for call like kotlin materialdatepicker builder datepicker setcalendarconstraint calendarco...
materialcomponentsmaterialcomponentsandroid
many lack of elevation on pre lollipop cause major color issue
Bug
description materialshapedrawable be use everywhere as background drawable to support material shape and fake shadow its elevation be important as it seem to affect its color shade I e become bright with increase elevation on a dark theme but lot of component have no default elevation ignor...
materialcomponentsmaterialcomponentsandroid
snackbar fade animation be flicker
Bug
description when use snackbar with the default animation mode fade it look like it s flicker when animate snackbar expect behavior animation should be smooth source code snackbar make view message snackbar length short show android api version api level 26 ...
materialcomponentsmaterialcomponentsandroid
theme materialcomponent theme materialcomponent crash on device 8 1
Bug
I be use stable version of material component 1 0 0 I be receive this error on device 8 1 java lang illegalstateexception you need to use a theme appcompat theme or descendant with this activity in my androidmanif xml I be use android theme style apptheme and in style
materialcomponentsmaterialcomponentsandroid
badgedrawable badge to close to bottom navigation view border
Bug
description I update from version 1 1 0 alpha08 to version 1 1 0 alpha10 if I now add a badge to a bottom navigation view entry it touch the border of the bottom navigation view image I assume chaoyang0201 get the same or a related problem and thus open this relate issue with this pr ...
materialcomponentsmaterialcomponentsandroid
fab fab layout not fab itself do not resize with fabcustomsize
Bug
I would like to resize my fab to 24dp but the fabcustomsize just resize the fab itself not resize the layout surround it annotation 2019 09 29 124725
materialcomponentsmaterialcomponentsandroid
what version of library to use post androidx
Bug
hi I have upgrade to androidx however on some device I be face this error binary xml file line 120 binary xml file line 120 error inflate class com google android material textfield textinputlayout base on so I need to upgrade this library I be currently use 1 0 0 what be the right...
materialcomponentsmaterialcomponentsandroid
chipdrawable chipdrawable bitmap
Bug
I need a bitmap image of a chipdrawable that retain the textattribute font I want when I assign the chipdrawable to an imageview by call imageview setimagedrawable chipdrawable I get the desire look but what I need for my use case be a bitmap when call val chipdraw...
materialcomponentsmaterialcomponentsandroid
component name project sync fail
Bug
description project synchronization fail with error can not invoke method getcompileclasspath on null object expect behavior the project be expect to sync with no error and could be run on device source code file material component android lib build gradle line 203 task each ...
materialcomponentsmaterialcomponentsandroid
bottomsheetdialog crash when call dimiss
Bug
description implement bottomsheetdialogfragment and when try to dimiss the bottomsheetdialogfragment by call dismiss its throw error expect behavior its shouldn t crash source code the code snippet which be cause this issue please consider attach a minimal sample app that reproduce the...
materialcomponentsmaterialcomponentsandroid
materialdatepicker crash on singledateselector when erase type in date
Bug
description 1 show the materialdatepicker for select a single date 1 click on the edit toggle to go to the textinputedittext view 1 type one digit 1 erase the digit 1 a crash will occur expect behavior the field should be empty with no crash source code java lang...
materialcomponentsmaterialcomponentsandroid
navigationview logic error when draw nav bar scrim
Bug
description navigationview try to apply a scrim behind navigation bar when the navigation bar color be not transparent it doesn t scrim at all when there s no window provide scrim also if the navigationview be inflate with a contextthemewrapper the logic wouldn t work the activity ...
materialcomponentsmaterialcomponentsandroid
bottomnavigationview in compilesdkversion 29 bottom nav item be blink when it have unselecte
Bug
description I m use bottomnavigatgionview with a standard way today when I upgrade my app s compilesdkversion to 29 the behavior have change the behavior be that bottom nav item be blink when it have unselecte be this a bug expect behavior bottom nav item be not blink source code...
materialcomponentsmaterialcomponentsandroid
tablayout tab indicator do not update immediately when select
Bug
description make valueanimator when ontabselecte and addupdatelistener for valueanimator to update textview the indicator update after animation end source code tablayout addontabselectedlistener new tablayout ontabselectedlistener override public void ontabselected tablayo...
materialcomponentsmaterialcomponentsandroid
extendedfloatingactionbutton do not work with bridge theme
Bug
description extend fab do not work as expect when use a bridge theme on layout just need to add bridge in any theme and you will see the bug happen for test I have use theme materialcomponent light darkactionbar bridge android api version 21 material library version 1 1 0 alpha07 ...
materialcomponentsmaterialcomponentsandroid
textinputlayout error and helpertext clash
Bug
description if we set error follow by set helpertext of textinputlayout the helper text will replace error text this behavior be questionable but not the point of this pr kotlin textinputlayout error error textinputlayout helpertext helper at this moment the texti...
materialcomponentsmaterialcomponentsandroid
tablayout app crash when badge be create then notifydatasetchange be call
Bug
description when a badge be create then notifydatasetchange be call at run time the app crash stack trace java lang nullpointerexception attempt to invoke virtual method android graphic drawable drawable com google android material tabs tablayout tab geticon on a null object reference ...
materialcomponentsmaterialcomponentsandroid
tablayout widget materialcomponent tablayout crash in 1 1 0 alpha10
Bug
description for simple implementation I use style style widget materialcomponent tablayout but application will crash in version 1 1 0 alpha01 to 1 1 0 alpha10 expect behavior can use style style widget materialcomponent tablayout in version 1 1 0 alpha1 to 1 1 0 alpha10 source code ...
materialcomponentsmaterialcomponentsandroid
tablayout tablayout crash randomly
Bug
description for simple implementation I have code that remove all tab and add they in one cycle the line listview removealltab crash intermittently expect behavior tab be update with the new list reliable all the time source code code kotlin listview removealltab ...
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout darktheme wrong toolbar background color
Bug
description I have collapsingtoolbarlayout with a toolbar that be always pin to top and a collapsible view the toolbar s background color base on the toolbar elevation in dark mode be not apply before collapse and after collapse before collapse screenshot 1569108212 after collapse scr...
materialcomponentsmaterialcomponentsandroid
tablayout tablayoutmediator crash if page count decrease
Bug
description tablayoutmediator crash if viewpager2 adapter item count decrease when last tab be select expect behavior tab be update reflect adapter state new last tab be select stack trace java lang nullpointerexception attempt to invoke virtual method void com google android ...
materialcomponentsmaterialcomponentsandroid
swiperefreshlayout source not exist
Bug
description package could not be resolve after upgrade to 1 1 0 alpha10 expect behavior this package might be present android api version 29 androidx error1 gradle dependency material library version 1 1 0 alpha10 if above class be rename then please let I know as ...
materialcomponentsmaterialcomponentsandroid
bottomsheetbehavior shape corner behavior question and possible bug
Bug
if a bottom sheet have round courner it will animate its to sharp state if the sheet be fully expand but I believe it should keep rounded corner if it height be small than the screen height and fit content be true so we can see a nice rounded bottom sheet with a small menu for example
materialcomponentsmaterialcomponentsandroid
textinputedittext crash with textallcap true
Bug
description when set textallcap true textinputlayout doesn t move cursor after text change and crash after start edit pasted text expect behavior all letter change to upper case source code crash log after start edit paste 4 character word java lang indexoutofboundsexception chara...
materialcomponentsmaterialcomponentsandroid
textinputlayout setendicononclicklistener doesn t exit
Bug
description when try to implement a com google android material textfield textinputlayout with a endicon I coulnd t find import listener on the icon expect behavior should be able to listen to the event code comment input layout as textinputlayout setendicononclicklistener android...
materialcomponentsmaterialcomponentsandroid
datepicker null pointer exception in mobile date picker
Bug
description 1 launch material date picker in catalog picker demo launch material date picker 2 select any day in the view so that it s highlight 3 press the edit icon to switch to the textinput field 4 the textinput field should be populate with the select date 5 press the backspa...
materialcomponentsmaterialcomponentsandroid
textinputlayout error message animation stop
Bug
description when set an error twice after a very short time the error message stop at some point and be not position correctly in my case a textwatcher be add an error message to the textinputlayout screen shoot 2019 09 17 at 16 28 58 expect behavior this be the normal behavior when not type...
materialcomponentsmaterialcomponentsandroid
library noclassdeffounderror
Bug
description since the alpha 9 include the app crash with this error java lang noclassdeffounderror fail resolution of landroidx localbroadcastmanager content localbroadcastmanager expect behavior screenshot and or description of expect behavior source code in my case I be us...
materialcomponentsmaterialcomponentsandroid
textinputlayout issue with talkback interaction
Bug
description I have be run into issue surround talkback accessibility and the error message with the textinputlayout when talkback test the accessibility of textinputlayout which surround a textinputedittext the textinputlayout be interact unusually with talkback announcement it announce the validation e...
materialcomponentsmaterialcomponentsandroid
floatingactionbutton snackbar overlap fab when anchor to bottomnavigationview
Bug
description when fab be place above bottomnavigationview use layout insetedge on the bottomnavigationview show a snackbar anchor to bottomnavigationview be overlap the fab if this be the expect behaviour feel free to close it if anyone know how I can solve this issue I would appreciate ...
materialcomponentsmaterialcomponentsandroid
bottom appbar break fab animation when alignmentmode be end
Bug
description whenever fabalignmentmode be set to end and the animation be set to scale from 0 0 to 1 0 the translate animation from centre to the end also take place with the scale animation this be not an issue when the fabalignmentmode be set to center attach the gif below with both the mode ...
materialcomponentsmaterialcomponentsandroid
theme theme enforcement error be too vague when upgrade from version 1 0 0 to version 1 1 0 alpha10
Bug
description when I upgrade the material design project from version 1 0 0 stable to version 1 1 0 alpha10 the runtime of the application fail when I enter the the view take advantage of material design component expect behavior for the theme to not throw a validation error on a previously work p...
materialcomponentsmaterialcomponentsandroid
bottomnavigationview no layout pass after keyboard show with bottomnavigationview and constraintlayout 2 0 0 beta02
Bug
description when bottomnavigationview be use with constraintlayout 2 0 0 beta02 there be some weird behavior after show the keyboard with adjustresize input mode basically seem like layout pass don t happen when keyboard be hide and first layout only happen on some other layout trigger event this res...
materialcomponentsmaterialcomponentsandroid
textinputlayout hint text overlap outline when paddingtop be set
Bug
description textinputlayout with widget materialcomponent textinputlayout outlinedbox as style have overlap hint on the outline when paddingtop be use expect behavior expect actual behavior actual source code android api version android 10 29 ...
materialcomponentsmaterialcomponentsandroid
bottomappbar with floatingactionbutton programmatically non xml
Bug
hi I try to create a ui without use xml the fab isn t anchor correctly because it be show in the left side of the bottomappbar or be there something wrong with my code thank manif activity package com example myapplication import android annotation supp...
materialcomponentsmaterialcomponentsandroid
materialcardview set edgetreatment on shapeappearancemodel of materialcardview hide the card view content
Bug
description add edgetreatment use setleftedge setrightedge settopedge setbottomedge setalledge on shapeappearancemodel of the materialcardview hide the content of that card view expect behavior expect actual behavior actual source code android api version ...
materialcomponentsmaterialcomponentsandroid
textinputlayout boxstrokecolor doesn t work with colorstatelist for a variety of state
Bug
description accord to the documentation we can change the box color of a textinputlayout use the attribute boxstrokecolor in truth unless this be define as a color selector this only alter the focused color it look usually ok on white background but it s really bad in dark background ins...
materialcomponentsmaterialcomponentsandroid
materialdatepicker set a start calendarconstraint break date display
Bug
description if I wish to constrain the datepicker to any time from today to 10 year ago I use the follow code val builder materialdatepicker builder datepicker val now zoneddatetime now toinstant toepochmilli val tenyearsago zoneddatetime now minusyear 10 toinstant toep...
materialcomponentsmaterialcomponentsandroid
materialdatepicker npe after edittext become empty
Bug
description set the string to empty when use the materialdatepicker s manual input mode throw an npe java lang nullpointerexception attempt to invoke virtual method long java lang long longvalue on a null object reference at com google android material picker singledateselector 1 onval...
materialcomponentsmaterialcomponentsandroid
textinputlayout error icon show even if error be disable
Bug
description I think commit introduce a bug where the error icon be show by default as long a erroricondrawable be define in the style call seterrorenable false doesn t seem to have any effect either from what I can tell I m not sure but I think perhaps seterroricondrawable be miss an error sta...
materialcomponentsmaterialcomponentsandroid
textinputlayout hinttextappearance with textallcap doesn t work
Bug
description use with this style or use the textallcap doesn t work for the hint text it be not relate to the style of the textinputlayout also the filledbox style have the same behavior expect behavior ...
materialcomponentsmaterialcomponentsandroid
menu listpopupwindow doesn t respect the elevation overlay
Bug
description listpopupwindow doesn t use any dynamic elevation overlay instead of this it use a absolute 11 alpha overlay so if the parent view already have elevation it doesn t respect that elevation screenshot 20190911 081823 expect behaviour listpopupwindow should use materials...
materialcomponentsmaterialcomponentsandroid
inconsistent share preference value after 1 1 0 alpha10 update
Bug
description I have ui structure activity1 activity2 fragment activity3 with flow savepref in activity1 getpref in activity2 start activity3 from fragment inside activity2 getprev everything be work as expect when I use
materialcomponentsmaterialcomponentsandroid
textinputlayout typeface not apply for textinputlayout hint
Bug
when I try to set a font family in hinttextappearance it do not work be there any reason material library version material android library version 1 1 0 alpha10
materialcomponentsmaterialcomponentsandroid
tab make tab s view public
Bug
description material design study rally show the follow customize tablayout expect behavior customize the tab be only possible if the tab s view be public source code l1888 material library version 1 1 0 alpha10
materialcomponentsmaterialcomponentsandroid
bottomappbar eager padding set
Bug
description after update to new version throughout google s portfolio I m encounter issue which regard consume inset since the widget apply pad to itself to counteract the window s navigation and status area size take on the screen it do so in a very weird way if I m consume the inset the padding be...
materialcomponentsmaterialcomponentsandroid
extendedfloatingactionbutton should not doge snackbar
Bug
accord to the material design guide line the extendedfloatingactionbutton should not doge a snackbar instead the snackbar should be show above the extendedfab see behavior l807 l809
materialcomponentsmaterialcomponentsandroid
action bar menu have black text on grey background
Bug
description when use the material dark theme action bar menu have black text on grey background screenshot 1567911872 this be imo the same bug as 384 and definitely a bug in the library itself expect behavior this be the behaviour when use theme appcompat screenshot 15...
materialcomponentsmaterialcomponentsandroid
menus expose dropdown menu cut off in dialog
Bug
description when a a expose dropdown menu be display in a dialog part of it be cut off and be therefore unselectable expect behavior this be the high you can scroll screenshot 1567900652 source code java alertdialog builder builder new materialalertdialogbuilder context...
materialcomponentsmaterialcomponentsandroid
catalog app shape theme demo be crash
Bug
description the shape theme demo in the catalog app in the late release be crash both the main demo and additional demo be crash source code I ve try compile from source and the apk from the release asset as well both have the issue android api version android 9 0 material...
materialcomponentsmaterialcomponentsandroid
datepicker landscape doen t have ok cancel button
Bug
description I can t see any ok cancel button in datepicker dialog in landscape image expect behavior see ok cancel button source code compile catalog demo android api version android 29 material library version 1 1 0 alpha10 device pixel 2
materialcomponentsmaterialcomponentsandroid
materialbutton textbutton setripplecolor not work on below api 21
Bug
description I be try to set the ripple color programmatically by call the method setripplecolor with style widget materialcomponent button textbutton it be work fine with 1 1 0 alpha07 and currently it be also work for elevate button but not for the text button it just show th...
materialcomponentsmaterialcomponentsandroid
textinputlayout not respect define color
Bug
description the textinputlayout do not respect define color I be use a fill text input layout but the float label underline and cursor color when focus be always the colorprimary even after try to change it I have try set the color of choice use colorcontrolactivate but it doesn t work android ap...
materialcomponentsmaterialcomponentsandroid
textview floatingactionbutton app crash when coloraccent not specify
Bug
I switch one of my app to com google android material material 1 1 0 alpha09 and update the style however the app start to crash when I remove this from my style xml color coloraccent as per the logcat I realize that this code be make it crash and also this code I commen...
materialcomponentsmaterialcomponentsandroid
bottomappbar child view be go when keyboard be open
Bug
description bottomappbar s child view disappear if keyboard be open with activity s android windowsoftinputmode adjustresize option if you don t open keyboard then you can see green rect child view but if you open keyboard and activity be resize you can t see green rect child view and that view s...
materialcomponentsmaterialcomponentsandroid
textinputlayout textinputlayout with autocompletetextview make app crash on recreate
Bug
when open a popupwindow use an autocompletetextview inside a textinputlayout and rotate the device afterwards therefore recreate the activity the application crash this be because show popupwindow s be not possible before the activity be visible however in its onrestoreinstancestate impleme...
materialcomponentsmaterialcomponentsandroid
navigationview hang and stop respond after androidx
Bug
description when I open activity that have a navigationview in it everything go black and hang and stay like that until I close the app no crash happen the app be work fine until I migrate to androidx use android studio source code that my navigationview even when I open new ac...
materialcomponentsmaterialcomponentsandroid
textinputedittext textinputedittext make viewpager render blank page
Bug
description I have a viewpager with fragment render linearlayout I change the linearlayout content with addview and removeview after a textinputedittext get focus in any activity or fragment and the soft keyboard appear addview do not add view to the linearlayout android api version ...
materialcomponentsmaterialcomponentsandroid
materialcardview invisible cardview s body when long press on bottomnavigationview s item
Bug
description device 2019 08 30 195219 this be a simple app with material bottomnavigationview material cardview with an imageview in its body imageview after long press one of bottomnavigationview s item body of cardview become invisible I test it with 2 device andro...
materialcomponentsmaterialcomponentsandroid
checkbox ripple should be the opposite color when press
Bug
the default behavior of an android ripple component be when a check box be check the ripple be gray when a check box be clear the ripple be blue the expect behavior be when the user be activate an action the color must be the activator color blue and when the user be deactivate an action the colo...
materialcomponentsmaterialcomponentsandroid
materialcomponent theme wrong color for sub menu arrow
Bug
description I ve edit the catalog app to add a submenu to popup menu xml in night mode the sub menu arrow display with a correct color but in day mode it appear in white over the white background screenshot 20190830 120430 material component catalog screensho...
materialcomponentsmaterialcomponentsandroid
gradle warning on project configuration
Bug
description agp spam with warn the option set android enableunittestbinaryresource true be experimental and unsupported the current default be false expect behavior no warning spam during project configuration step source code android gradle plugin itself
materialcomponentsmaterialcomponentsandroid
bottomnavigationview crash when bundle bottomnavigationview
Bug
description crashlytic be report multiple instance follow error which point a bug at the bottom navigation view I haven t nail down the issue look through the source code it seem you be make the class loader correctly I m unsure of all the state that be be manage here or if there be a state where a parc...
materialcomponentsmaterialcomponentsandroid
datepicker wrong select date text show when select early date
Bug
description when you select date the date text would show in the select date area like aug 29 2019 but if you select an early date for example 1900 01 05 the date text will be jan 4 1900 which be a wrong text expect behavior select 1900 01 05 and show the text jan 5 1900 ...
materialcomponentsmaterialcomponentsandroid
materialcardview high memory usage on materialshapedrawable
Bug
description oom exception will happen when use materialcardview which use materialshapedrawable under the hood on low api level device have this issue be address in the late alpha09 version here be the correspond issue in the issuetracker expect behavior no oom android api version api 19...
materialcomponentsmaterialcomponentsandroid
materialdatepicker crash when not use viewinflaterclass in the theme
Bug
description in my theme I have viewinflaterclass set to the appcompatlayoutinflater so I m not get automatic conversion to materialbutton for button in my xml when try to use materialdatepicker it crash on show the dialog with the follow error java lang classcastexception and...
materialcomponentsmaterialcomponentsandroid
materialcardview cardview will not shrink after first measure
Bug
description we try to use a clickable card view in a gridlayout but on compat device the card view be not scale properly this be because the underlie framelayout take the foreground drawable into account when measure the current behavior be as follow 1 we have a gridlayout with clickab...
materialcomponentsmaterialcomponentsandroid
doc out of date reference in get start
Bug
description the getting start page refer to the android p preview which have not exist in a year expect behavior that compile your app with android p should be recast as compile your app with android 9 with the p reference remove or update thank for consider this
materialcomponentsmaterialcomponentsandroid
bottomappbar bug with floatingactionbutton
Bug
the bottomappbar with fab be in a fragment click fab then start another fragment with a edittext view inside I click it and the soft keyboard show when return to the fragment with bottomappbar inside I find that the fab have be translatey about 3 or 4 dp positive after second it suddenly go back to the o...
materialcomponentsmaterialcomponentsandroid
materialbutton icon animate selector doesn t play if set text
Bug
description if an animate state selector be use as the icon on the materialbutton then the animation will play between state but only if not also set the text on the button or anything that trigger updateiconposition expect behavior the animation of the icon should play whether or not the text be...
materialcomponentsmaterialcomponentsandroid
bottomnavigationview switch tab will blink on target 29
Bug
description bottomnavigationview set labelvisibilitymode be auto or label and set build target sdk to 29 switch tab will cause text blink expect behavior text show normal when switch tab source code the code snippet which be cause this issue seem android 29 cause setvisibility n...
materialcomponentsmaterialcomponentsandroid
textinputlayout hiding already hide error cause helper text to be hide
Bug
description call textinputlayout seterror null without check textinputlayout geterror for null will cause the helper text to show only for a brief amount of time 1s before disappear again expect behavior call textinputlayout seterror null consecutively be expect to only hid...
materialcomponentsmaterialcomponentsandroid
dark theme system define default font size not respect in dark theme
Bug
when switch to dark theme the font size all textview be not adjust accord to the system default font size step to reproduce step 1 go into system setting display and change the font size to be the large size step 2 go to app current in light mode font size be reflect in ui correctly respect the e...
materialcomponentsmaterialcomponentsandroid
elevation dark theme documentation should mention materialshapeutil setparentabsoluteelevation somewhere
Bug
in order to support elevation overlay in custom view you need to override onattachedtowindow and call materialshapeutil setparentabsoluteelevation this however none of the documentation currently mention that you need to do this all of the custom mdc view do this I e materialtoolbar l...
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout wrong height for wrap content while child have fitsystemwindow set to true
Bug
description at onmeasure in collapsingtoolbarlayout it add topinset to the measured height which can be unnecessary and cause a gap to appear at the bottom if child have fitsystemwindow set to true imageview with fitsystemwindow false screenshot 1565883605 image...