libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/InstructionView.java
private void initLandscapeListListener() {
    instructionLayoutText.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View instructionLayoutText) {
        boolean instructionsVisible = instructionListLayout.getVisibility() == VISIBLE;
        if (!instructionsVisible) {
          showInstructionList();
        } else {
          hideInstructionList();
        }
      }
    });
  }
/**
   * For landscape orientation, the click listener is attached to
   * the instruction text layout and the constraints are adjusted before animating
   */
For landscape orientation, the click listener is attached to
the instruction text layout and the constraints are adjusted before animating
For landscape orientation the click listener is attached to the instruction text layout and the constraints are adjusted before animating
private void initLandscapeListListener() {
    instructionLayoutText.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View instructionLayoutText) {
        boolean instructionsVisible = instructionListLayout.getVisibility() == VISIBLE;
        if (!instructionsVisible) {
          showInstructionList();
        } else {
          hideInstructionList();
        }
      }
    });
  }
private void initLandscapeListListener ( ) { instructionLayoutText . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View instructionLayoutText ) { boolean instructionsVisible = instructionListLayout . getVisibility ( ) == VISIBLE ; if ( ! instructionsVisible ) { showInstructionList ( ) ; } else { hideInstructionList ( ) ; } } } ) ; }
For landscape orientation, the click listener is attached to
 the instruction text layout and the constraints are adjusted before animating
For landscape orientation the click listener is attached to the instruction text layout and the constraints are adjusted before animating