Stopping text from splitting to multiple lines on the periods in web addresses
I have an Android TextView displaying some text, and it's multi-line. However, in the text, I sometimes have domain names; how can I stop the TextView from splitting the lines up on the periods in them? Is there a unicode non-breaking-period, for example? To see the issue in action in wrapping an email address, run android create project --target 16 --path demo --package com.example.demo --activity MainActivity and change the text in res/layout/main.xml to " Hello World, MyActivity filler text + email foo@foo.com ". That produces this output on a Galaxy S3 (API level 16): (Adjust text as