-2
我在android中有一個自動完成textfield。如果我選擇的文本比字段的寬度長,則光標在選擇時移動到選擇的末尾。autocompletetextview長文本
這裏是下拉
|sample text 1 |
|sample text 2 |
|sample selection 3 |
|more sample selection 4 |
|sample text 5 |
,如果我選擇了長期的選擇,它會顯示這樣的:
|ample selection 4|
我寧願選擇從左邊像這樣顯示:
|more sample selec|
我試過重力,但不起作用。 它可能是將光標移回到選擇的開始?
spot on - thanks – case1352 2014-10-30 20:32:30