Skip to content

Add font style support - #127

Open
akexorcist wants to merge 2 commits into
muraee:masterfrom
akexorcist:feature/add-font-style-support
Open

Add font style support#127
akexorcist wants to merge 2 commits into
muraee:masterfrom
akexorcist:feature/add-font-style-support

Conversation

@akexorcist

Copy link
Copy Markdown

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.

1 participant