• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Simple Notepad Application for Android OS


Commit MetaInfo

Révisione74937f05f90ddb71a97117b99765bb6f0dd030c (tree)
l'heure2019-02-26 11:39:16
AuteurMasahiko, SAWAI <say@user...>
CommiterMasahiko, SAWAI

Message de Log

Fixed a lock title dialog bug.

Change Summary

Modification

--- a/notepad-app-level-11/src/main/java/org/routine_work/notepad/fragment/EditNoteFragment.java
+++ b/notepad-app-level-11/src/main/java/org/routine_work/notepad/fragment/EditNoteFragment.java
@@ -502,13 +502,15 @@ public class EditNoteFragment extends Fragment
502502 {
503503 case R.id.note_title_lock_button:
504504 Log.d(LOG_TAG, "note_title_lock_button is clicked");
505- LockTitleDialogFragment lockTitleDialogFragment = new LockTitleDialogFragment();
506- lockTitleDialogFragment.show(getFragmentManager(), FT_TITLE_LOCK);
505+ //LockTitleDialogFragment lockTitleDialogFragment = new LockTitleDialogFragment();
506+ //lockTitleDialogFragment.show(getFragmentManager(), FT_TITLE_LOCK);
507+ setNoteTitleLocked(true);
507508 break;
508509 case R.id.note_title_unlock_button:
509510 Log.d(LOG_TAG, "note_title_unlock_button is clicked");
510- UnlockTitleDialogFragment unlockTitleDialogFragment = new UnlockTitleDialogFragment();
511- unlockTitleDialogFragment.show(getFragmentManager(), FT_TITLE_UNLOCK);
511+ //UnlockTitleDialogFragment unlockTitleDialogFragment = new UnlockTitleDialogFragment();
512+ //unlockTitleDialogFragment.show(getFragmentManager(), FT_TITLE_UNLOCK);
513+ setNoteTitleLocked(false);
512514 break;
513515 default:
514516 throw new AssertionError();
@@ -740,6 +742,9 @@ public class EditNoteFragment extends Fragment
740742 }
741743 }
742744
745+
746+ /*
747+
743748 class LockTitleDialogFragment extends DialogFragment
744749 implements DialogInterface.OnClickListener
745750 {
@@ -789,4 +794,5 @@ public class EditNoteFragment extends Fragment
789794 }
790795 }
791796 }
797+ */
792798 }