@ -62,6 +62,7 @@ public class FragmentSetup extends FragmentBase {
private Button btnHelp ;
private Button btnHelp ;
private Button btnQuick ;
private Button btnQuick ;
private TextView tvQuickRemark ;
private TextView tvAccountDone ;
private TextView tvAccountDone ;
private Button btnAccount ;
private Button btnAccount ;
@ -106,6 +107,7 @@ public class FragmentSetup extends FragmentBase {
btnHelp = view . findViewById ( R . id . btnHelp ) ;
btnHelp = view . findViewById ( R . id . btnHelp ) ;
btnQuick = view . findViewById ( R . id . btnQuick ) ;
btnQuick = view . findViewById ( R . id . btnQuick ) ;
tvQuickRemark = view . findViewById ( R . id . tvQuickRemark ) ;
tvAccountDone = view . findViewById ( R . id . tvAccountDone ) ;
tvAccountDone = view . findViewById ( R . id . tvAccountDone ) ;
btnAccount = view . findViewById ( R . id . btnAccount ) ;
btnAccount = view . findViewById ( R . id . btnAccount ) ;
@ -249,6 +251,8 @@ public class FragmentSetup extends FragmentBase {
} ) ;
} ) ;
// Initialize
// Initialize
tvQuickRemark . setVisibility ( View . GONE ) ;
tvAccountDone . setText ( null ) ;
tvAccountDone . setText ( null ) ;
tvAccountDone . setCompoundDrawables ( null , null , null , null ) ;
tvAccountDone . setCompoundDrawables ( null , null , null , null ) ;
tvNoPrimaryDrafts . setVisibility ( View . GONE ) ;
tvNoPrimaryDrafts . setVisibility ( View . GONE ) ;
@ -325,6 +329,8 @@ public class FragmentSetup extends FragmentBase {
getActivity ( ) . invalidateOptionsMenu ( ) ;
getActivity ( ) . invalidateOptionsMenu ( ) ;
tvQuickRemark . setVisibility ( done ? View . VISIBLE : View . GONE ) ;
tvAccountDone . setText ( done ? R . string . title_setup_done : R . string . title_setup_to_do ) ;
tvAccountDone . setText ( done ? R . string . title_setup_done : R . string . title_setup_to_do ) ;
tvAccountDone . setTextColor ( done ? textColorPrimary : colorWarning ) ;
tvAccountDone . setTextColor ( done ? textColorPrimary : colorWarning ) ;
tvAccountDone . setCompoundDrawablesWithIntrinsicBounds ( done ? check : null , null , null , null ) ;
tvAccountDone . setCompoundDrawablesWithIntrinsicBounds ( done ? check : null , null , null , null ) ;