Is there a way to have text displayed in the preview pane in Android studio but not in the actual app while running on the phone?
I currently use the android:hint
attribute, which is quite useful to see how much space a TextView
requires or what size the text will be.
The problem, however, is that in case no text is assigned to the TextView
, the hint shows in the app.
Is there a way to have the text display only in android studio but not at runtime?