【发布时间】:2013-09-26 06:24:39
【问题描述】:
我想要做的是在我的文本视图中阅读段落时以及出于任何原因
我退出应用程序或点击后退按钮如何让我的段落保存我正在阅读的位置。
我希望你能理解我,我试过这个但它不起作用(冻结)
<TextView
android:id="@+id/id_dailyprayers_txt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#00000000"
android:ems="10"
android:focusable="false"
android:focusableInTouchMode="false"
android:gravity="center"
android:shadowColor="@color/black"
android:shadowDx="2"
android:shadowDy="2"
android:shadowRadius="1.5"
android:text=""
android:freezesText="true"
android:textColor="@color/Vanilla"
android:textSize="35sp" />
有什么帮助吗??
【问题讨论】:
-
请参阅Eric Simonton's answer 了解有关保存文本视图滚动位置的想法。