code: private void inflate() {
          inflate(getContext(), R.layout.toolbar_large, this);
          this.backgroundView = findViewById(R.id.toolbar_background_view);
          this.toolbar = findViewById(R.id.navigation_toolbar);
          RelativeLayout.LayoutParams layoutParams =
                  (RelativeLayout.LayoutParams) toolbar.getLayoutParams();
          this.navigationWidth = layoutParams.width;
      }
docs: Inflates the view's layout.