Android Question How to resize the text area in PreferencesDialog ?

yzhy-mail

Member
I want to use preferencesdialog for user inputing.
And at the same time , user can see what have been input.
If the text area is big enough,I donn't neet to use scrollbar to view the message.

Please give me some help !
Thank you !
 

yzhy-mail

Member
Maybe I don't discript it clearly.
I just want the text area of dialog to be resized.
 

Attachments

  • 2021-12-12 202254.png
    2021-12-12 202254.png
    7.5 KB · Views: 186
Upvote 0

yzhy-mail

Member
Tested it !
It donesn't work.
I want to resize the text area when user input someting.
I search a lot ,and think it is not easy, maybe!
I have changed idea to use text for input.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Tested it !
It donesn't work.
I want to resize the text area when user input someting.
I search a lot ,and think it is not easy, maybe!
I have changed idea to use text for input.
The textarea is fix height when you set the lines of text. You may need to programmatically change the height during runtime by text changed.
 
Upvote 0
Top