/HighlightedTextView

TextView with a random background color. Color can be highlighted for the what ever text.

Primary LanguageKotlinApache License 2.0Apache-2.0

HighlightedTextView

Easy to handle highlighted code. Please follow custom textview.

Use HighLightTextView as custom textview in your project

<datanapps.highlightedtextview.HighLightTextView
        android:id="@+id/tv2"
        android:layout_below="@+id/tv1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Android is an open source and Linux-based operating system for mobile devices such as smartphones and tablet computers."
        android:textColor="@color/white"
        app:fontFamily="serif"
        android:lineSpacingExtra="50sp"
        android:layout_marginTop="20dp"
        android:textSize="20sp"
        android:textAlignment="viewEnd"
        app:highLightColor="@color/blue"
        />

Hope it will help. Thanks