A small question I would like to know how it is possible that a HorizontalScrollView that I fill with text is always kept to the right thing that you see the last text entered, I'm doing a calculator type windows 10. The application I'm developing in android studio and so far I have this
<HorizontalScrollView
android:id="@+id/ScrollCalculadoraHistorial"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:orientation="vertical">
<TextView
android:id="@+id/txtCalculadoraHistorial"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text=""
android:textSize="30sp" />
</LinearLayout>
</HorizontalScrollView>
and in the activity I use this but I do not function 100% ScrollCalculadoraHistorial.fullScroll(View.FOCUS_RIGHT);
since it moves to the right but not at the end of this