
- #How to underline a word in word on my android pdf#
- #How to underline a word in word on my android code#
To insert the highlighted word, tap the space bar. As you type, words will be highlighted blue in the middle space of the predictive text bar. Auto replace Click to Expand Auto replace will complete or replace the word you are typing with the word it thinks is the most likely for the sentence. I have added additional options in this XML snippet to show that my example works with changing the text color, size, and style. Tap 'OK' to remove the word from your learned words. whenever you want to create an underlined textview in XML, you just do the following: SpannableString content = new SpannableString(getText()) ĬtSpan(new UnderlineSpan(), 0, content.length(), 0) You can also insert a graphic of an actual signature. You can use the underline key or a single cell table to add a signature line to your Word documents. we don't void afterTextChanged(Editable s) On a mobile device, there are a few workarounds you can try in order to add a signature line to your documents in Word. Highlight the hyperlinked text by clicking and dragging your cursor over the text, then right-click the text to display the context menu. Open the Word document that contains the underlined hyperlink. we don't void onTextChanged(CharSequence s, int start, int before, int count) You can remove the underline from a single hyperlink without reflecting that style across every hyperlink in the document. Public UnderlineTextView(Context context, AttributeSet attrs, int defStyle)ĪddTextChangedListener(new void beforeTextChanged(CharSequence s, int start, int count, int after) Public UnderlineTextView(Context context, AttributeSet attrs) Public UnderlineTextView(Context context)

Background Twenty years ago, when I was a Word expert for the now-defunct AllExperts question-and-answer service, I was.
#How to underline a word in word on my android pdf#
A PDF form will only allow a fixed room for data. Public class UnderlineTextView extends TextView Important Note: One advantage of a Word form compared to a PDF form is that it is possible to set it up with flexible room for the data to be filled in by the user (table cells with row height set to At least). Then you can just use the subclass in XML whenever you want to have an underlined TextView.

#How to underline a word in word on my android code#
I took the answer from Anthony Forloney for underlining text in code and created a subclass of TextView that handles that for you. I know this is a late answer, but I came up with a solution that works pretty well.
