CustomAlertViewDialogue icon indicating copy to clipboard operation
CustomAlertViewDialogue copied to clipboard

Longer text

Open frankyxcs opened this issue 7 years ago • 3 comments
trafficstars

Hi searchy !!! Very nice work from you.

I have one problem. I want to use a larger text with 3 -4 sentences. But if the dialog opens i cannot see the whole text and i have to scroll the text in a small window. This looks not very good.

I have tried to remove the android:maxlines="4" but this does not help or change anything. Is there a way to make a larger text without scrollling ?

Frank

frankyxcs avatar Mar 28 '18 12:03 frankyxcs

Thanks for the kind words. I can't debug the issue right now but my best guess is that you need to remove minLines along with maxLines. Also make sure to edit the layout in layout-land too ;)

rayliverified avatar Mar 28 '18 15:03 rayliverified

i have edited alert.xml but removing min and max lines does not help. Also i have tried to remove the scrolling but nothing happens here too.

for example the text " have one problem. I want to use a larger text with 3 -4 sentences. But if the dialog opens i cannot see the whole text and i have to scroll the text in a small window. This looks not very good.I have tried to remove the android:maxlines="4" but this does not help or change anything."

will be shown like

" have one problem. I want to use a larger text with 3 -4 sentences. But if the dialog opens i cannot see the whole text and i have to scroll the text in a small"

in the alert window and the rest i have to scroll.

frankyxcs avatar Mar 28 '18 15:03 frankyxcs

I understand the problem but can't think of the solution off the top of my head. I'll have to come back to this at some time in the future.

For now, try setting minLines to 5 if that works?

rayliverified avatar Mar 28 '18 20:03 rayliverified