示例#1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    getSupportActionBar().hide();
    TheColorUtil.onActivityCreateSetTheme(this);
    setContentView(R.layout.activity_edit_group);
    ButterKnife.bind(this);

    myProgressBar.setVisibility(View.INVISIBLE);

    mySaveButton.setBackgroundColor(TheColorUtil.getProperColor());
    myEditMembersButton.setBackgroundColor(TheColorUtil.getProperColor());
    myName.setText(TheGroupUtil.getCurrentGroup().getString(TheGroupUtil.GROUP_NAME));
    myOneWord.setText(TheGroupUtil.getCurrentGroup().getString(TheGroupUtil.GROUP_ONE_WORD));
    myDescription.setText(
        TheGroupUtil.getCurrentGroup().getString(TheGroupUtil.GROUP_LENGTHY_DESCRIPTION));
    setCheckBoxes();

    setPhoto();
  }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    TheColorUtil.onActivityCreateSetTheme(this);
    setContentView(R.layout.activity_select_user);

    ButterKnife.bind(this);

    getSupportActionBar().setHomeButtonEnabled(true);

    myBar.setVisibility(View.INVISIBLE);

    getAllUsers();
  }