M
M
mitaichik2019-06-28 18:27:21
android studio
mitaichik, 2019-06-28 18:27:21

Should I remove android:text used for layout?

When I make layouts, I insert some fake values ​​​​into android: text in order to see what happens in the "Design" mode. Usually I don't delete them, I just push them. Accordingly, the studio swears that they are not in R.string (I see no reason to transfer them there).
Should they be removed in the release build? Can Google come up with some separate property like android: debug_text for this? Does it affect performance?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2019-06-28
@mitaichik

Change android:text to tools:text

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question