New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Month title missing #266
Comments
I never seen this issue before. Can you try Caldroid Sample on your phone? If the sample works, probably it's your code issue |
I have same problem too. I had tried on Galaxy S3 with API level 19. It also has gone away in emulator, too. I used AppCompatActivity instead of FragmentActivity. |
@thomasdao I believe it's because I use ActionBarActivity instead of FragmentActivity. But my actionbar needs to extends from actionbaractivity. Is there any way that I can get the best of both worlds? Thank you |
I have the same problem. I was changing the style of calendar and all of the sudden no more month title and the arrows were gone. I did a revert but that did not solve the problem. Edit: Works fine on my Nexus 10 tablet. Maybe it's some issue with new version of appcompat? |
I solved the problem: I copied style from CaldroidDefault to AppTheme and change parent to Base.Theme.AppCompat.Light.DarkActionBar. It seems that AppCompatActivity can't handle accurately when inner view or fragment has different theme from owner activity. I don't know why :( |
Could you give me an example? My AppTheme parent is currently Theme.AppCompat.NoActionBar. |
Ok, the problem actually is the new version of app compat library, which was upgraded from 22.0.0 to 22.1.1. |
I have added some items to AppTheme style to make similar to CaldroidDefault in caldroid project. <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"> @style/CaldroidDefaultCalendarViewLayout @style/CaldroidDefaultLeftButton @style/CaldroidDefaultRightButton @style/CaldroidDefaultMonthName @style/CaldroidDefaultGridView @style/CaldroidDefaultNormalCell @style/CaldroidDefaultSquareCell @style/CaldroidDefaultWeekday </style> |
@gwangyi saved my day !! 👍 now works fine !!! |
I had the same problem!!! thanks @gwangyi !!! |
Same issue here. |
the solution provided by @gwangyi is working ! thank you very much. |
Please use latest version |
Same problem with v2.1.0. |
@gwangyi i love you |
Thanks for sharing this wonderful work.
I'm just starting to use caldroid and my month title is missing.
I can't figure out why.
The grey rectangle in the upper-left hand corner seems to be "next month" arrow because it change to next month when I click it.
Any idea on how this is happening?
The text was updated successfully, but these errors were encountered: