Android calandar view not showing month and year starting from lollipop 5.0 : Android calandarview not showing month and year from lollipop  


**I have used this code for below lollipop versions and it worked but from lollipop it is not working**

    try
        {

            Class<?> cvClass = calender.getClass();
            Field field = cvClass.getDeclaredField("mMonthName");
            field.setAccessible(true);

            try
            {
                TextView tv = (TextView) field.get(calender);
                tv.setTextColor(Color.BLACK);
            }
            catch (IllegalArgumentException e)
            {
                e.printStackTrace();
            }
            catch (IllegalAccessException e)
            {
                e.printStackTrace();
            }
        }
        catch (NoSuchFieldException e)
        {
            e.printStackTrace();
        }