Prevent comment bar from auto focusing

pull/437/head
Alex Baker 10 years ago
parent cdb237afe8
commit 3086d9ae5b

@ -105,7 +105,7 @@ public class DatabaseDao<TYPE extends AbstractModel> {
query.from(table);
String queryString = query.toString();
if (BuildConfig.DEBUG) {
Timber.d(queryString);
Timber.v(queryString);
}
Cursor cursor = database.rawQuery(queryString);
return new TodorooCursor<>(cursor, query.getFields());

@ -18,6 +18,8 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_vertical"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_weight="1"
tools:ignore="ContentDescription" />
@ -32,6 +34,8 @@
android:hint="@string/TVA_add_comment"
android:imeOptions="flagNoExtractUi|actionDone"
android:inputType="textCapSentences"
android:nextFocusUp="@id/commentField"
android:nextFocusLeft="@id/commentField"
android:textAlignment="viewStart"
android:paddingLeft="@dimen/keyline_second"
android:paddingStart="@dimen/keyline_second"

Loading…
Cancel
Save