From 97fbfe069a9eeb18728fe9604add248606419e1e Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 3 May 2020 12:24:49 +0300 Subject: [PATCH] show comment field after screen rotation if it was previously focused --- .../ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java index b63ce8e9..221e60f8 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java @@ -312,6 +312,7 @@ class NewTransactionItemHolder extends RecyclerView.ViewHolder tvAmount.requestFocus(); break; case Comment: + tvComment.setVisibility(View.VISIBLE); tvComment.requestFocus(); break; case Account: -- 2.39.5