From: Damyan Ivanov Date: Sun, 9 Dec 2018 17:13:00 +0000 (+0000) Subject: toggle_all_editting(): include the date and the description X-Git-Tag: v0.3~260 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=a62fd00f3bc04e39a97817e8eca0421dc962e4fd;p=mobile-ledger.git toggle_all_editting(): include the date and the description --- diff --git a/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java index 76b0224a..53cbc905 100644 --- a/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java @@ -145,6 +145,8 @@ public class NewTransactionActivity extends AppCompatActivity implements TaskCal } private void toggle_all_editing(boolean enabled) { + text_date.setEnabled(enabled); + text_descr.setEnabled(enabled); TableLayout table = findViewById(R.id.new_transaction_accounts_table); for (int i = 0; i < table.getChildCount(); i++) { TableRow row = (TableRow) table.getChildAt(i);