[Solved] Make simple text editor in android With Bold Italic and Underline [closed]

This is not especially easy. I have a work-in-progress component in my CWAC-RichEdit project for this. In the end, you need to be able to apply CharacterStyle subclasses to the content of the EditText, typically when the user highlights some text. This involves getting the Spannable out of the EditText via getText(), getting selection information … Read more

[Solved] Creating Android UI dynamically in java code

I think you are missing the basic point here 🙁 When you want to update an already-existing layout, you shouldn’t inflate a new one. Instead, you fetch the views you want to update and put the data in them. Like this: TextView t = myLayout.findViewById(R.id.someTextViewId); t.setText(newlyObtainedData); As for the Context, every activity inherits after it, … Read more