### Add MediumTextView Dependency to Gradle Source: https://github.com/angebagui/medium-textview/blob/master/README.md This snippet shows how to include the MediumTextView library as a compile dependency in your Android project's build.gradle file. This makes the library available for use in your application. ```Groovy dependencies { compile 'io.github.angebagui.mediumtextview:mediumtextview:1.0.1' } ``` -------------------------------- ### Set Content for MediumTextView in Java Source: https://github.com/angebagui/medium-textview/blob/master/README.md This Java code snippet shows how to programmatically find the MediumTextView by its ID and set its content using the setText() method. The content is expected to be an HTML string, which the MediumTextView will then parse and display. ```Java MediumTextView mediumTextView = (MediumTextView)findViewById(R.id.medium_text_view); mediumTextView.setText(getContentHtml()); ``` -------------------------------- ### Define MediumTextView in Android Layout XML Source: https://github.com/angebagui/medium-textview/blob/master/README.md This XML snippet demonstrates how to integrate the MediumTextView into your Android layout. It's typically placed within a ScrollView to allow for scrolling of potentially long content. The id attribute is used to reference the view in Java code. ```XML ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.