Skip to content
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

Add font style support #127

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

akexorcist
Copy link

Java

horizontalCalendar = new HorizontalCalendar.Builder(this, R.id.calendarView)
                ...
                .configure()
                    .typeface(ResourcesCompat.getFont(this, R.font.your_custom_font)
                    ...
                .end()
                ...

XML

<devs.mulham.horizontalcalendar.HorizontalCalendarView
            android:id="@+id/calendarView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:textFontFamily="@font/your_custom_font"/>

@akexorcist akexorcist closed this Jul 15, 2020
@akexorcist akexorcist deleted the feature/add-font-style-support branch July 15, 2020 19:48
@akexorcist akexorcist restored the feature/add-font-style-support branch July 15, 2020 19:50
@akexorcist akexorcist reopened this Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant