Question: Assuming I've a scrollview with direction 1 (vertical). While populating the scrollView, the items do appear and are aligned from top to bottom.

I would like to know if there is a way to reverse this ordering i.e. to make the scrollView be populated from the bottom to the top. A good example of usage is a message list. You want the last message to always appear on the bottom of the list. By default, the message would be aligned on top, which is not convenient.

![enter image description here](https://i.stack.imgur.com/DglG6.jpg)

[EDIT]
I just found we can easily set our own transform according to an offset overriding the outputFrom function callback. For example the following will invert the scroll content:

```
scrollview.outputFrom(function(offset)
{
       return  Transform.translate(0, -offset)
});

```

Answer: 
There are two ways to fix it:

1. Try to change `android:ellipsize="end"` attribute to `android:ellipsize="marquee"`.
2. Try to remove `android:maxLines="1" android:ellipsize="end"` attributes and add `android:singleLine="true"` attribute.
This code works for me:

In the xml add:

* Attribute `ellipsize`: `marquee`
* Attribute `lines`: `1`

In java:

```
<yourTextView>.setHorizontallyScrolling(true);
<yourTextView>.setSelected(true);

```

If there is another item that request the "focus" you lose the marquee effect. The `textView` need the state selected to prevent this.