Use signed in, signed out to describe whether the DB is open or closed.

Hopefully this gives users a better understanding of whether their
messages and contacts are accessible than "Briar is running" and "Quit".
This commit is contained in:
akwizgran
2014-02-09 11:54:48 +00:00
parent 4178353c02
commit e92b6fce4c
3 changed files with 11 additions and 11 deletions

View File

@@ -135,19 +135,19 @@ public class DashboardActivity extends BriarActivity {
});
buttons.add(syncButton);
Button quitButton = new Button(this);
quitButton.setLayoutParams(matchMatch);
quitButton.setBackgroundResource(0);
quitButton.setCompoundDrawablesWithIntrinsicBounds(0,
Button signOutButton = new Button(this);
signOutButton.setLayoutParams(matchMatch);
signOutButton.setBackgroundResource(0);
signOutButton.setCompoundDrawablesWithIntrinsicBounds(0,
R.drawable.device_access_accounts, 0, 0);
quitButton.setText(R.string.quit_button);
quitButton.setOnClickListener(new OnClickListener() {
signOutButton.setText(R.string.sign_out_button);
signOutButton.setOnClickListener(new OnClickListener() {
public void onClick(View view) {
showSpinner();
quit();
signOut();
}
});
buttons.add(quitButton);
buttons.add(signOutButton);
int pad = LayoutUtils.getPadding(this);