repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
materialcomponentsmaterialcomponentsandroid
toolbar primarysurface toolbar style match primary toolbar style
Bug
description xml expect behavior xml re color material on primary surface emphasis medium xml doesn t exist yet themeoverlay materialcomponent toolbar primarysurface doesn t exist yet android api version n a material library version 1 2 0 a...
materialcomponentsmaterialcomponentsandroid
popup menu icon be squashed in api 21
Bug
I try either 1 2 0 alpha03 or 1 1 0 rc01 both have the same issue img
materialcomponentsmaterialcomponentsandroid
materialradiobutton be not work not be inflate as expect
Bug
description materialradiobutton be not show radio button with theme materialcomponent light noactionbar it only show the label without the radio button expect behavior radiobutton component should be show source code materialradiobutton radiobu...
materialcomponentsmaterialcomponentsandroid
chip layout preview window do not render chip element
Bug
description after upgrade to version 1 2 0 alpha03 the layout preview window do not render chip element they be draw completely blank without any background stroke text or icon this be solely a visual issue with the preview window as chip be properly render when run on a device the preview windo...
materialcomponentsmaterialcomponentsandroid
bottomsheetdialogfragment apptheme still do not get apply
Bug
description I see this other issue close fix 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 val contextthemewrapper contextthemewrapp...
materialcomponentsmaterialcomponentsandroid
materialdatepicker materialdatepicker builder customdatepicker be package private
Bug
description the function materialdatepicker builder customdatepicker be package private this prevent the usage of custom dateselector beyond the provide singledateselector and rangedateselector example of a custom dateselector a rangedateselector that prevent select a date range...
materialcomponentsmaterialcomponentsandroid
shapeableimageview issue loading gif with glide no issue with image
Bug
issue with glide with itemview asgif load item gifpath into thumbnailimageview no issue with glide with itemview load item thumbnailpath into thumbnailimageview test on 3 android device simulator love this new component will be perfect with gif work thank...
materialcomponentsmaterialcomponentsandroid
button android background not work
Bug
description after I change my app they to theme materialcomponent noactionbar in my xml file button label s android background drawable login btn bg not work and I can t set other color shape or selector they be not work expect behavior button label s android background can ...
materialcomponentsmaterialcomponentsandroid
collapsingtoolbarlayout show pad bottom in imageview
Bug
description when use android fitssystemwindow true and android adjustviewbound true together for imageview in collapsingtoolbarlayout its give padding to imageview at bottom expect behavior screenshot 1578649721 current behavior screenshot 1578483416 ...
materialcomponentsmaterialcomponentsandroid
datepicker incorrect timezone
Bug
description there seem to be some strange behavior with time zone with the new date picker I be in new zealand so our time zone be currently utc 13 and be test around 9 am as show below it be display yesterday as today I increase the valid date range to include yesterday as it be hide if not in the ...
materialcomponentsmaterialcomponentsandroid
textinputlayout textinputlayout not get focus
Bug
description seem like textinputlayout be not get focus when type text the textinputedittext do get focus just textinputlayout doesn t this problem be prevent from colorstatelist for icon tint for example to be ignore color under state focus be not get call because textinputlayout never gain focus ...
materialcomponentsmaterialcomponentsandroid
maven release 1 1 0 rc1 miss from maven repository
Bug
description release 1 1 0 rc1 be miss from the official jcenter maven repository it would be great if it can be add previous release candidate e g from 1 0 0 be add as well expect behavior be able to use the release via jcenter maven material library version 1 1 0 rc1 thank ...
materialcomponentsmaterialcomponentsandroid
shrine apache library not find
Bug
description when the shrine demo app launch it immediately crash with a stacktrace of such java 2020 01 06 09 09 19 109 10436 10487 io material demo shrine e androidruntime fatal exception thread 10 process io material demo shrine pid 10436 java lang noclassdeffounderror fail reso...
materialcomponentsmaterialcomponentsandroid
bottomsheetdialog view overlap when setcontentview call multiple time
Bug
description when setcontentview view view method be call a second time or every subsequent time on the same instance of bottomsheetdialog in order to set a new view small height the new view to set overlaps the previous view set on the bottomsheetdialog instead of the previous view be remove first ...
materialcomponentsmaterialcomponentsandroid
materialdatepicker label be not internationalize
Bug
description each label occur only in english e g start date end date cancel ok etc what s more the only way to change these text be to override private string value e g mtrl picker range header unselecte expect behavior either some customization or auto internationalization...
materialcomponentsmaterialcomponentsandroid
materialcardview cardview will not shrink after first measure
Bug
description this be the same issue that be report in issue 537 but it have still not be add to rc01 the issue and bug fix can be find in the original issue at
materialcomponentsmaterialcomponentsandroid
tab override preferencetheme affect tab appearance
Bug
description I m use a custom preferencetheme in my apptheme in order to inflate a different layout in a preferencefragment style prefstheme however after open that fragment my tabitem s have also inflate that layout and I need to set android layout null in the ...
materialcomponentsmaterialcomponentsandroid
extendedfloatingactionbutton extendedfab size do not adjust when change text
Bug
description extendedfab size do not adjust when shrink extend extendedfab text be change happen in extendedfab once shrink extend happen when with or without collapsingtoolbar expect behavior source code please look change text issue branch android api vers...
materialcomponentsmaterialcomponentsandroid
extendedfloatingactionbutton make unexpected movement in cooperation with collapsingtoolbar
Bug
description when scroll upward by link collapsingtoolbar and extendedfab extendedfab move down for a moment happen when device be in landscape orientation happen when the content view be recyclerview do not happen when use nestedscrollview happen only for extendedfab do not happe...
materialcomponentsmaterialcomponentsandroid
slider when select a value not drag the slider the onchange method doesn t notify
Bug
description when I update the libray from com google android material material 1 2 0 alpha02 to com google android material material 1 2 0 alpha03 but when I select a new value the tooltip didn t show and the method of onchange didn t work the same problem occur in the catalog expect behavior it sh...
materialcomponentsmaterialcomponentsandroid
textinputlayout error view display wrong in dialog
Bug
description when use textinputlayout with suffix style in a alertdialog and have a placeholdertext if you invoke seterror the textinputlayout height be change and errorimage be in middle but suffix and placeholder be alight textinputlayout s top when you don t use placeholdertext the...
materialcomponentsmaterialcomponentsandroid
snackbar fab shortly jump up before the snackbar slide in from the bottom
Bug
description as it can be see in the 2 second of this video which show 3x slow down snackbar s slide in animation right before the fab button get push up it shortly jump up which be wrong and only then get push as expect it look there be just few draw frame where the fab be misplace but the effec...
materialcomponentsmaterialcomponentsandroid
materialbutton outlinedbutton not show
Bug
description materialbutton in widget materialcomponent button outlinedbutton style doesn t show anything image expect behavior image source code xml android api version api code 25 material library version 1 2 0 alpha03 device ...
materialcomponentsmaterialcomponentsandroid
bottomsheetbehavior bottomsheetbehavior scroll down after expand
Bug
description I have a recyclerview inside bottomsheet firstly it have a few item but after user action the app show additional item when item height be more than the height of the screen it scroll down to the end of the list and a few upper element be not visible until I half close this bottom sheet ...
materialcomponentsmaterialcomponentsandroid
bug sample app doesn t show bottom item text
Bug
description full description of issue here scroll to the bottom expect behavior screenshot and or description of expect behavior bottom item be cut not show text image source code the code snippet which be cause this issue please consider attach a minimal sample app that repr...
materialcomponentsmaterialcomponentsandroid
slider bugging layout editor
Bug
after update to 1 2 0 alpha03 layout editor can not instantiate slider class java lang nosuchfielderror slider trackcolorinactive at com google android material slider slider processattribute slider java 348 in result if reopen layout xml file editor always wait for build finish how it s can be fix
materialcomponentsmaterialcomponentsandroid
margin gutter recommendation lead to column size not be on grid
Bug
description on breakpoint the table state image or in word for a width of 360dp use margin gutter of 16dp and 4 column 4 column mean 3 gutter the remain width for the 4 column be therefore give as 360 2 x margin 3 x gutter 360 2 x 16 3 x 16 360 5 x 16 280 so ...
materialcomponentsmaterialcomponentsandroid
materialbutton long button text get cut off when use maxline 2 and ellipsize end
Bug
description when use a materialbutton with fix width and fix number of text line I try to find a way to deal with dynamic button text that could be too long for the button size when the text be too long for the button the word that don t fit will simply not be display by default thus not indicate that ther...
materialcomponentsmaterialcomponentsandroid
widget materialcomponent button textbutton ripplecolor be not work when set from style for materialalertdialog
Bug
ripplecolor be not work for materialalertdialog I have setup a theme as for the materialalertdialog style material dialog alert and a textbutton style as parent theme theme materialcomponent light noactionbar bridge android api version 21 25 ...
materialcomponentsmaterialcomponentsandroid
materialcalendar color surface not be apply properly
Bug
description full description of the issue here when a custom theme for the datepicker be use colorsurface be ignore despite the fact of colorprimary coloronprimary and coloronsurface work properly expect behaviour screenshot and or description of expect behaviour a...
materialcomponentsmaterialcomponentsandroid
dialog dialog aren t dark when use materialalertdialogbuilder
Bug
description alertdialog create use materialalertdialogbuilder don t seem to inherit the dark theme from their parent context dialog stay light even if the application have inherit a dark theme both dark and daynight variant affect expect behavior dialog should be dark if the application be use a ...
materialcomponentsmaterialcomponentsandroid
bottomsheetbehavior crash when diman be provide
Bug
description at bottomsheetbehavior if you set a diman as a value for the behavior expandedoffset attribute it will crash at runtime as it s try to parse it as an int expect behavior we should be able to set diman value in this attribute source code xml app layout be...
materialcomponentsmaterialcomponentsandroid
slider touch event be handle incorrectly when use inside a scrolling container
Bug
description unlike seekbar slider doesn t check if it s inside a scroll container before start the drag process inside ontouchevent this cause scroll event to be wrongly intercept by slider current behavior expect behavior scroll bug scroll fi...
materialcomponentsmaterialcomponentsandroid
appbarlayout statusbarforeground not work glitch
Bug
description when use the statusbarforeground feature of the appbarlayout and scroll down you can stil see the toolbar content behind the statusbar this look really weird and do not look like how it be intend at all you can see this in the catalog example app I have include a video in my own app the ...
materialcomponentsmaterialcomponentsandroid
textinputlayout set gravity to center horizontal show outline box cutout at wrong position
Bug
description set gravity on the inner edittext of a textinputlayout to center horizontally do not correctly cut out the outline it only account for the case where gravity be set to center but not to center horizontal setting to center horizontal still show the follow issue image a...
materialcomponentsmaterialcomponentsandroid
com google android material bottomnavigation bottomnavigationview ischecked not work
Bug
bottomnavigation ischecke be not work second time step to reproduce 1 set ischecked false from any fragment 2 set ischecke true again will not work
materialcomponentsmaterialcomponentsandroid
materialcomponentviewinflater should not be mark keep
Bug
l45 l46 this keep annotation will cause materialcomponentviewinflater and thus appcompatviewinflater to be keep even if they be not use this in turn cause every custom subtype of the platform view inside appcompat and their resource to be keep even if unused the annotation should be remo...
materialcomponentsmaterialcomponentsandroid
navigationview click effect enhancement
Bug
description I have implement navigationview as below screenshot when the item be click effect like below take place but I can t set that effect when an item be be press I try to use colorstatelist state press but get no luck when click on menu item it s occupy full ripple on menu i...
materialcomponentsmaterialcomponentsandroid
textinputedittext do not detect click event
Bug
description the com google android material textfield textinputedittext do not detect the click event when it be use to write a debug message in logcat or any other use of setonclicklistener expect behavior when click in a textinputedittext show debug message in logcat source code ...
materialcomponentsmaterialcomponentsandroid
statusbar status bar not respect primary color in light theme
Bug
description I be override theme materialcomponent daynight and I set colorprimary like this xml color colorprimary every material component respect this include the top action bar but the status bar be still in the default purple accent color like this I try to man...
materialcomponentsmaterialcomponentsandroid
popupmenu radiobutton overflow menu radio button be offset due to radiobutton minwidth in materialcomponent theme
Bug
description due to materialcomponent theme set a minwidth for radiobutton there s an offset with menu radio button material library version happen on 1 1 0 beta02 and 1 2 0 alpha02 screenshot menu radio button menu radio button with 0px minwidth set myself
materialcomponentsmaterialcomponentsandroid
textview text color isn t adapt
Bug
description android 6 1 always show white text while android10 show always black I m switch between xml
materialcomponentsmaterialcomponentsandroid
floatingactionbutton not hide after collapse
Bug
description float action button do not hide when call directly after a collapse expect behavior float action button menu collapse and the button be hide source code floatingactionbutton isexpande false floatingactionbutton hide android api version min 27 co...
materialcomponentsmaterialcomponentsandroid
tablayout tablayoutmediator detach method cause npe
Bug
description npe be cause due to a call to this adapter unregisteradapterdataobserver with a null this pageradapterobserver this likely mean that I m call it twice or call it before call attach but there s no indication that call this method can result in a npe expect behavior it should c...
materialcomponentsmaterialcomponentsandroid
appbarlayout the app elevation doesn t set the elevation
Bug
description when the app elevation be use with the appbarlayout the elevation be not set the following be not work the elevation appear though when the android namespace be use expect behavior I would expect the app elevation to work the s...
materialcomponentsmaterialcomponentsandroid
chip text alignement be wrong when the text be only one letter and there be no icon
Bug
description when the text of a chip be a single letter and there be no icon or close icon the text alignment be wrong image expect behavior the text on the chip be center source code the bug can be reproduce by modify the catalog app set one of the element of cat chip group ...
materialcomponentsmaterialcomponentsandroid
theme materialcomponent dialog alert width be not work on dialogfragment
Bug
description dialogfragment do not become the minimum dialog width when use it with theme materialcomponent light dialog alert screenshot 1574923492 when use a dialogfragment with themeoverlay materialcomponent dialog alert or any of appcompat version e g theme appcompat light dia...
materialcomponentsmaterialcomponentsandroid
materialcardview check icon be be squeeze in cardview
Bug
I be use version 1 2 0 alpha02 of the material component I have a list of object each card show information of an object inside a recyclerview each object have status attribute which be a boolean I set ischecked status of each card by the status of the object as you see in the screenshot below the ch...
materialcomponentsmaterialcomponentsandroid
slider crash when initialize the view
Bug
description crash when re initialize the view java lang runtimeexception at android app activitythread performlaunchactivity activitythread java 2713 at android app activitythread handlelaunchactivity activitythread java 2774 at android app activitythread wrap12 activit...
materialcomponentsmaterialcomponentsandroid
bottomnavigationview strictmode policy violation nonsdkapiusedviolation
Bug
description when enable strict mode with detectnonsdkapiusage the follow issue be report d strictmode strictmode policy violation android os strictmode nonsdkapiusedviolation landroid view view maccessibilitydelegate landroid view view accessibilitydelegate at android os s...
materialcomponentsmaterialcomponentsandroid
textinputlayout allow set different value boxstrokecolor and hint text color in disabled state
Bug
I d like to set a box stroke color in disabled state to one color and at the same time set label text color to another color currently it s not possible as both color value be take from disabledcolor stroke color code from textinputlayout v1 2 0 alpha02 if isenable boxstro...
materialcomponentsmaterialcomponentsandroid
textinputlayout seterror do not respect drawable set by setcompounddrawableswithintrinsicbound
Bug
description set start drawable for edittext input edittext setcompounddrawableswithintrinsicbound r drawable ic user stroker gray 30dp then set non null error to textinputlayout input error if value isnullorempty null else getstre errorid inside textl...
materialcomponentsmaterialcomponentsandroid
switchmaterial showtext true bug
Bug
description I m only try set texton textoff stringresource with showtext true for switchmaterial nothing special result be below switch check true image switch check false image source code also programmatically privateswitch apply texton ...
materialcomponentsmaterialcomponentsandroid
coordinatorlayout ignore cardbackgroundcolor at materialcardview with bottomsheetbehavior shapeappearance
Bug
description if materialcardview have cardbackgroundcolor and behavior bottomsheetbehavior then when specify shapeappearance cardbackgroundcolor will be ignore expect behavior image actual behavior image source code xml andr...
materialcomponentsmaterialcomponentsandroid
tablayout icon not tint on old android version when vectordrawable usesupportlibrary isn t set
Bug
description icon tint fail on old android version when vectordrawable usesupportlibrary isn t set in gradle source code sample tabt zip android api version android 4 4 android 4 1 2 material library version happen on both 1 2 0 alpha02 and 1 1 0 beta02 l2506 in the source...
materialcomponentsmaterialcomponentsandroid
textview emoji large than the textview
Bug
description when I set a textview to be full screen with the text fit as much as possible in it and set one and only one emoji glyph as text the side of the emoji glyph get render outside of the textview this happen only in portrait mode device 2019 11 20 215843 small expect behavior ...
materialcomponentsmaterialcomponentsandroid
snackbar long action text hide message text with maxactioninlinewidth
Bug
description when show an snackbar with a long action text and with a message text that do not initially have more than 2 line layout be not set with vertical orientation so action text end up hide almost the message this also happen with maxactioninlinewidth set this do not happen when message tex...
materialcomponentsmaterialcomponentsandroid
theme action bar text size be too small in landscape mode and with night theme
Bug
description the action bar text size be too small when use landscape mode and night theme at the same time how to reproduce create a new project in android studio with an empty activity add material component version 1 1 0 beta02 to the project in style xml change the parent of the appthe...
materialcomponentsmaterialcomponentsandroid
materialdatepicker todayinutcmillisecond strip day information
Bug
description the static method materialdatepicker todayinutcmillisecond return today in millisecond whereby the day be always set to the first of the month expect behaviour the return timestamp correctly reflect the current day as infer by the method name source code inside the c...
materialcomponentsmaterialcomponentsandroid
bottomsheet shapeappearance darken backgroundtint
Bug
description when I set shapeappearance attribute to the style the backgroundtint color be darken should be white this should be white expect behavior the sheet keep the define backgroundtint color source code xml android api version 29 m...
materialcomponentsmaterialcomponentsandroid
textinputlayout outlinedbox not show
Bug
expect behavior need outlinedbox as in materialcomponent 1 0 0 android api version android api version here material library version com google android material material 1 1 0 beta02 device emulator to help we triage fast please check to make sure you be use the lat...
materialcomponentsmaterialcomponentsandroid
dialog materialalertdialogtheme be not public
Bug
description materialalertdialogtheme be not explicitly mark as public though similar theme attribute be in this file l48 l50 and the attribute be mean for public use this mean that lint will flag its usage in code image expect behavior I d expect the attribute to be m...
materialcomponentsmaterialcomponentsandroid
textinputedittext programatically set hint remove float behaviour for hint
Bug
description call sethint on textinputedittext cause it to lose the float hint behaviour when the hint be set via xml it have the float behavriour expect behavior the hint should have the float behaviour irrespective of whether you set it via xml or programatically source code textinp...
materialcomponentsmaterialcomponentsandroid
chip chip icon drawable be not tint correctly
Bug
description there be something wrong with the way the chip component handle drawable as illustrate by my example below expect behavior grafik here you can see the same drawable include with a regular imageview on the left and as the chipicon of a chip component on the right clearly...
materialcomponentsmaterialcomponentsandroid
materialcheckbox crash with bridge theme and checkboxstyle
Bug
description app crash when these 3 condition be meet layout feature a materialcheckbox bridge theme be use checkboxstyle be set and inherit from widget materialcomponent compoundbutton checkbox expect behavior app doesn t crash android api version 29 material libr...
materialcomponentsmaterialcomponentsandroid
bottomnavigationview two long click on first button in bottomnavigationview cause mobile restart api24 and api25
Bug
the library com google android material material 1 1 0 beta02 and com google android material material 1 2 0 alpha01 contain error which cause mobile restart or freeze on api 24 and api 25 it be very easy to simulate it just create the activity with bottomnavigationview and create the menu with two item the first...
materialcomponentsmaterialcomponentsandroid
materialdatepicker fullscreen set paddedpickerwidth when doc describe 12dp
Bug
description when use the materialdatepicker within my application with fullscreen mode enable I be get an annoying padding behavior which along the side of the calendar which I can only assume should not be there expect behavior as detail in the material design picker doc the margin on the right ...
materialcomponentsmaterialcomponentsandroid
materialdatepicker partial localization
Bug
description there be no method for modify hint input error and header selection text by default if any language other than english be select on the device the text on the dialog be only partially translate in my case part of the text in english and part in russian I be help by redefinition of resour...
materialcomponentsmaterialcomponentsandroid
chipgroup copy last value instead indexoutofboundsexception
Bug
description when iterate over collection with index in case collection size be big than 1 if we add 1 index there ll be copy chip of last value instead indexoutofboundsexception source code kotlin for I in tag indice 1 val chip chip tagschipgroup context apply ...
materialcomponentsmaterialcomponentsandroid
materialcardview card corner leave a blank space
Bug
description materialcardview stroke color do not follow exactly the card corner leave a blank space source code android api version 29 material library version 1 0 0 alpha1 this be the output when card elivation be set as 0 this problem be get fix ...
materialcomponentsmaterialcomponentsandroid
textinputlayout prefix text animate to from wrong position
Bug
description prerequisite textinputlayout with hint and prefixtext when focus the hint animate from the end of the prefix when un focus the hint animate from the left edge of the view expect behavior the hint should animate to from its position at the start of the view compare...
materialcomponentsmaterialcomponentsandroid
materialdatepicker select year cause display month to jump around
Bug
description with november 2019 show when I click the down arrow next to the year then select a different year like 2020 the display month go to august 2020 august 2021 december 2021 february 2021 august 2020 then april 2020 expect behavior it show a month in 2020 source code ...
materialcomponentsmaterialcomponentsandroid
ui bug in scrolling demo
Bug
good day your ui setup in android demo doesn t adhere to the device measurement guideline please see attach video the scroll demo get jumble up with the system bar screenshot see video recording device 2019 11 09 180344 mp4 zip
materialcomponentsmaterialcomponentsandroid
popup menu option
Bug
description I get an issue in the alpha version especially when we use the dark theme in an android application please let I know and see the bug in the screenshot everywhere be black but only the popup menu show some extra width around the menu material library version material android library v...
materialcomponentsmaterialcomponentsandroid
typography be document textappearanceheadline6 font regular correct
Bug
description in document usage image in xml l21 image expect behavior probably we should use regular source code usage l21 android api version all version material library version 1 1 0 beta01
materialcomponentsmaterialcomponentsandroid
textinputlayout errorenable param in xml be currently useless and cause trouble
Bug
the current param errorenable can t be use for something useful in its current state 1 there be no errortext property to set in the xml so only have errorenable true define have no mean at all if we can only set the error from code with seterror which automatically enable the error if nee...
materialcomponentsmaterialcomponentsandroid
bug release build failure start from material library 1 1 0 alpha07
Bug
description when use version 1 1 0 alpha07 or more recent version of material design library release build fail due to proguard warning warn com google android material snackbar basetransientbottombar 6 can t find reference method android graphic inset getmandatorysystemgestureinset in library cla...
materialcomponentsmaterialcomponentsandroid
materialalertdialog extra space below button if they fill the whole width
Bug
description whenever negative and positive button of a dialog be close to be stack vertically the materialalertdialog add some extra space below they this happen with the follow patch apply to the codebase diff index material theme builder src main java io material materialthemebuilder...
materialcomponentsmaterialcomponentsandroid
snackbar appear position change when show after dismiss
Bug
description after dismiss and show again same instance of snackbar it change appear height position expect behavior snackbar should always appear at bottom actual behavior screenshot source code sample project android api version api 29 material library versio...
materialcomponentsmaterialcomponentsandroid
theme 1 2 0 alpha01 break design widget style in bridge theme
Bug
description b1a6256 move some component style from full theme to bridge theme however it move not only the material only component but also component that have a design style which break they in bridge theme expect behavior design widget should retain design style in bridge theme 1 1 0 ...
materialcomponentsmaterialcomponentsandroid
component name short description of request
Invalid
be your feature request relate to a problem please describe a clear and concise description of what the problem be describe the solution you d like a clear and concise description of what you want to happen describe alternative you ve consider a clear and concise description of any alter...
materialcomponentsmaterialcomponentsandroid
materialshapedrawable shapepath issue
Bug
it seem that quadtopoint doesn t work properly but addarc and lineto work maybe I do something in wrong way provide please an example of usage quadtopoint screenshot problem view view1 shapeappearancemodel shapeappearancemodel builder setalledge quadedgetreatment 4...
materialcomponentsmaterialcomponentsandroid
textinputlayout wrong value for focusedstrokecolor
Bug
I m use a normal textinputlayout like this take from the sample with this style and this colorstatelist I would expect that the boxstrokecolor should be equal to ffc107 pick the default colorstatelist value but currently it pick the stat...
materialcomponentsmaterialcomponentsandroid
materialalertdialog dismiss programmatically
Bug
how can I dismiss materialalertdialog programmatically the follow code do not work like alertdialog builder java materialalertdialogbuilder materialalertdialogbuilder new materialalertdialogbuilder this settitle example setpositivebutton ok null ...
materialcomponentsmaterialcomponentsandroid
textinputlayout error never go after user press some word in keyboard
Bug
description when I set error and write something the error still show untitled expect behavior when the text change the error must be hide android api version api 29 material library version 1 2 0 alpha01 device nexus 5
materialcomponentsmaterialcomponentsandroid
floatingactionbutton setvisibility be restrict
Bug
description call setvisibility raise an inspection error due to it be overridden inside a restrictto annotate class visibilityawareimagebutton expect behavior setvisibility should not raise an inspection error as it s a publicly use method on android view view source code ...
materialcomponentsmaterialcomponentsandroid
textinputlayout hint text margin incorrect when initially focus
Bug
description within the late 1 2 0 alpha when initially focusse the hint text for a textinputlayout be not in the correct position and encroache on the textinputedittext android 1 2 alpha01 example expect behavior this behavior be work on the late 1 1 0 beta android 1 1 be...
materialcomponentsmaterialcomponentsandroid
textinputlayout error icon be always show when boxbackgroundmode none
Bug
description when the boxbackground mode be set to none the textinputlayout always show the error icon at the end a workaround that I find be to set the erroricondrawable to null expect behavior source code android api version 28 material library version ...
materialcomponentsmaterialcomponentsandroid
textinputlayout hiding end icon clear text
Bug
description when I very very very quickly input two symbol end icon become hidden but still clickable issue expect behavior end icon don t hide android api version 29 material android library version you be use 1 2 0 alpha01 device on which the bug be ...
materialcomponentsmaterialcomponentsandroid
slider slider doesn t invalidate on set value
Bug
description slider doesn t invalidate on set value ondraw to be call when the state change expect behavior slider to invalidate whenever the state change source code kotlin fontsizeslider value 0 5f android api version 28 material library version 1 2 0 ...
materialcomponentsmaterialcomponentsandroid
appbarlayout appbarlayout return wrong elevation value
Bug
appbarlayout return zero elevation value but the actual elevation value of appbarlayout be r dimen design appbar elevation but it never return that value I think the reason behind this problem be the elevation of appbarlayout be set by evationoverlayanimator
materialcomponentsmaterialcomponentsandroid
textinputlayout sethint at run time doesn t set isprovidinghint true
Bug
description set android hint on textinputlayout in an xml layout correctly cause it to provide the hint I e isprovidinghint true see l1099 but call textinputlayout sethint at run time do not see l1194 this cause inconsistent behavior when call textinputedittext gethint depend on...
materialcomponentsmaterialcomponentsandroid
slider loop on setvalue
Bug
when setvalue slider value 2 be call the listener be invoke even if the new value be equal to the current value of the slider expect behavior listener be not call when the new value be equal to the current value this be expect for two reason consistency with similar apis such as progressbar...
materialcomponentsmaterialcomponentsandroid
color xml color be not consistently name
Bug
description when watch the develop theme with style android dev summit 19 chris bane and nick butcher mention more than once that we should name our resource consistently it even use color as an example instead of name they primary color it s prefer to use a meaningful name like...
materialcomponentsmaterialcomponentsandroid
materialdatepicker setselection
Bug
description the select date on the picker be always 1 day less than the give select date expect behavior the select date on the picker must be exactly the same as the give select date source code materialdatepicker builder datepicker setselection selecteddate timeinmillis ...
materialcomponentsmaterialcomponentsandroid
materialbutton can t set background color for it
Bug
description normally we initialize a button background by android background color dark orange however in my case it can not change the color into orange it always be white color expect behavior the button color should be orange but it always be white also I print it value of co...
materialcomponentsmaterialcomponentsandroid
textinputlayout textinputlayout setendicononclicklistener not fire
Bug
description textinputlayout setendicononclicklistener not fire android api version android 9 compilesdkversion 28 buildtoolsversion 28 0 3 material library version implementation com google android material material 1 2 0 alpha01 device oppo a52020 textinputlayout...
materialcomponentsmaterialcomponentsandroid
materialalertdialog text lineheight isn t apply
Bug
description when try to set the text line height to a materialalertdialog it appear to be ignore this appear to be because it be just extend the alertdialog and not use the the new materialtextview that correctly apply the lineheight expect behavior the specify line height from the text appe...
materialcomponentsmaterialcomponentsandroid
materialdatepicker strange behaviour of choose year on weak device
Bug
description I have implement materialdatepicker in my application but when I m try to change the year on my redmi 4x it start lag and sometimes it stop on the wrong year on the gif below I have select 2015 material date picker expect behavior it select proper year without lag s...
materialcomponentsmaterialcomponentsandroid
snackbar snackbar have wrong background if coloronsurface be a attribute reference
Bug
description snackbar have wrong background if coloronsurface be a attribute reference expect behavior snackbar resolve reference correctly source code xml ffffff android textcolorprimary android api version 29 material library version 1 1 0 beta...