0

I wrote a class extending TextView as described here : How to make a custom TextView?

Everything works fine, but I get a very small issue in the blueprint view of the editor :

When you use a regular TextView, its value is shown in the blueprint. Its not the case whith my custom TextView.Here is the screen shot.

enter image description here

Is there an attribute I have to set in my class to reflect the text value in the blueprint ? Or another solution that I don't know.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Philippe
  • 1,134
  • 12
  • 22

1 Answers1

1

No, actually the problem is that when you make any custom class for layout. It's only being rendered at the time of execution. So it is not able to show text or any properties in preview or blueprint.

Sorry there is no attributes which helps you in rendering this.

halfer
  • 19,824
  • 17
  • 99
  • 186
Ankit Patidar
  • 2,731
  • 1
  • 14
  • 22
  • Hi @ankit patidar and thanks for your fast reply ! :) Okay, it was a very small issue, no matter ^^ Have a nice day. – Philippe Nov 29 '17 at 12:10