private void refreshFirstAccountAddedNoticeDisplay() {
    int[] viewIdArrayForFirstAccountAddedNotice = {
      R.id.first_account_message_header,
      R.id.first_account_message_detail,
      R.id.first_account_message_button_done
    };

    int userListPaddingTop;
    int userListPaddingBottom;
    LayoutParams layoutParams = userList.getLayoutParams();

    if (firstAccountAddedNoticeDisplayRequired) {
      // Update view visibility
      for (int viewId : viewIdArrayForFirstAccountAddedNotice) {
        findViewById(viewId).setVisibility(View.VISIBLE);
      }
      findViewById(R.id.add_account_fab).setVisibility(View.GONE);

      // Figure out layout parameters
      userListPaddingTop = getResources().getDimensionPixelSize(R.dimen.pincode_list_no_paddingTop);
      userListPaddingBottom =
          getResources().getDimensionPixelSize(R.dimen.pincode_list_no_paddingBottom);
      layoutParams.height = LayoutParams.WRAP_CONTENT;
    } else {
      // Update view visibility
      for (int viewId : viewIdArrayForFirstAccountAddedNotice) {
        findViewById(viewId).setVisibility(View.GONE);
      }
      findViewById(R.id.add_account_fab).setVisibility(View.VISIBLE);

      // Figure out layout parameters
      userListPaddingTop = getResources().getDimensionPixelSize(R.dimen.pincode_list_paddingTop);
      userListPaddingBottom =
          getResources().getDimensionPixelSize(R.dimen.pincode_list_paddingBottom);
      layoutParams.height = LayoutParams.MATCH_PARENT;
    }

    userList.setPadding(0, userListPaddingTop, 0, userListPaddingBottom);
    userList.setLayoutParams(layoutParams);
  }
This function shows the "You're All Set" flow to the user when the very first account is added.
If it is not the first account, this function shows the default pin code list. As two kind of
views use the same pin code list, we need to change visibility of some components as well as
modifying the pin code list parameters.
java/com/google/android/apps/authenticator/AuthenticatorActivity.java