relativeLayout.addView(textView, textParams); Maybe this? Will addView add the same view twice?
so you can return the this code and update onclick with the following: if(!textViewAlreadyAdded){ relativeLayout.addView(textView, textParams); textViewAlreadyAdded = true; }
Why are you creating all the ui stuff in java code lol you have an xml for it
Обсуждают сегодня