Fixed cursor moving on rotate in task title and notes

pull/14/head
Sam Bosley 13 years ago
parent 043beb2b39
commit fbdd8652db

@ -67,7 +67,8 @@
android:hint="@string/TEA_title_hint" android:hint="@string/TEA_title_hint"
android:autoText="true" android:autoText="true"
android:text="" android:text=""
android:capitalize="sentences" /> android:capitalize="sentences"
android:freezesText="true"/>
<!-- importance --> <!-- importance -->
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -157,7 +158,8 @@
android:hint="@string/TEA_notes_hint" android:hint="@string/TEA_notes_hint"
android:autoText="true" android:autoText="true"
android:capitalize="sentences" android:capitalize="sentences"
android:singleLine="false" /> android:singleLine="false"
android:freezesText="true" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>

@ -23,7 +23,7 @@ public class EditTextControlSet implements TaskEditControlSet {
@Override @Override
public void readFromTask(Task task) { public void readFromTask(Task task) {
editText.setText(task.getValue(property)); editText.setTextKeepState(task.getValue(property));
} }
@Override @Override

Loading…
Cancel
Save