hears Active Member Licensed User Longtime User Jul 29, 2018 #1 i have try many view ,if display on label ,i cannot select word, if display on edittext, user can change and look ungly. webview display text ,but it is not easy to display .text . "CustomListView"cannot copy 1 word,if copy must copy all. the under i have try,not fit my idea too: https://www.b4x.com/android/forum/threads/best-view-control-for-showing-a-large-text-file.7164/ CustomListView.AddTextItem i need a view same too edittext,but without edit .what i can use ?
i have try many view ,if display on label ,i cannot select word, if display on edittext, user can change and look ungly. webview display text ,but it is not easy to display .text . "CustomListView"cannot copy 1 word,if copy must copy all. the under i have try,not fit my idea too: https://www.b4x.com/android/forum/threads/best-view-control-for-showing-a-large-text-file.7164/ CustomListView.AddTextItem i need a view same too edittext,but without edit .what i can use ?
Star-Dust Expert Licensed User Longtime User Jul 29, 2018 #2 You can set EditText to not receive input (EditText.Input_Type=INPUT_TYPE_NONE). You'd like a non-editable label that allows you to select. Upvote 0
You can set EditText to not receive input (EditText.Input_Type=INPUT_TYPE_NONE). You'd like a non-editable label that allows you to select.
hears Active Member Licensed User Longtime User Jul 29, 2018 #3 thanks for your answer ,EditText22.InputType=EditText22.INPUT_TYPE_NONE ,i have try this code in my app. when i put this. the EditText22 became cannot copy and select too and the text became 1 line. cannot auto wrap in this edittext. Last edited: Jul 29, 2018 Upvote 0
thanks for your answer ,EditText22.InputType=EditText22.INPUT_TYPE_NONE ,i have try this code in my app. when i put this. the EditText22 became cannot copy and select too and the text became 1 line. cannot auto wrap in this edittext.
Erel B4X founder Staff member Licensed User Longtime User Jul 30, 2018 #4 Another option is to use an EditText and handle its TextChanged event. Reset the text whenever it changes (and set back the selection). Upvote 0
Another option is to use an EditText and handle its TextChanged event. Reset the text whenever it changes (and set back the selection).