code: private void obtainHeightHint(@NonNull final TypedArray typedArray) {
          CharSequence obtainedHint = typedArray.getText(R.styleable.ResolutionPreference_heightHint);
  
          if (obtainedHint == null) {
              obtainedHint = getContext().getText(R.string.resolution_preference_height_hint);
          }
  
          setHeightHint(obtainedHint);
      }
docs: Obtains the hint of the edit text widget, which allows to enter the height of the resolution,
  from a specific typed array.
  
  @param typedArray
  The typed array, the hint should be obtained from, as an instance of the class {@link
  TypedArray}. The typed array may not be null