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

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

Loading…
Cancel
Save