code: public justifyTypes getJustification() {
          justifyTypes justify = null;
          if ( mTextView.getGravity()== Gravity.LEFT) justify = justifyTypes.BEGIN;
          else if ( mTextView.getGravity()== GRAVITY_LEFT) justify = justifyTypes.BEGIN;
          else if ( mTextView.getGravity()== Gravity.CENTER) justify = justifyTypes.MIDDLE;
              else if ( mTextView.getGravity()== Gravity.RIGHT) justify = justifyTypes.END;
                  else if ( mTextView.getGravity()== GRAVITY_RIGHT) justify = justifyTypes.END;
                      else if ( mTextView.getGravity()== Gravity.START) justify = justifyTypes.FIRST;
          return justify;
      }
docs: Returns the justification type defined the enumerated type.
  If none is set, it returns null.
  Note that the value saved is not the value returned for
  setGravity(LEFT) and setGravity(RIGHT).  0x30 is added to those values by
  Android's TextView.setGravity()
  @return