app/src/main/java/org/sil/hearthis/LinesView.java
// Update all the children to the current (possibly from preferences) scale
Update all the children to the current (possibly from preferences) scale
Update all the children to the current ( possibly from preferences ) scale
public void updateScale() {
        if (originalTextSize == 0) {
            captureOriginalFontSize(); 
        }
        ViewGroup textViewHolder = getTextViewHolder();
        float textSize = originalTextSize * scale;
        for (int i = 0; i < textViewHolder.getChildCount(); i++) {
            TextView line = (TextView)textViewHolder.getChildAt(i);
            line.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
        }
    }
public void updateScale ( ) { if ( originalTextSize == 0 ) { captureOriginalFontSize ( ) ; } ViewGroup textViewHolder = getTextViewHolder ( ) ; float textSize = originalTextSize * scale ; for ( int i = 0 ; i < textViewHolder . getChildCount ( ) ; i ++ ) { TextView line = ( TextView ) textViewHolder . getChildAt ( i ) ; line . setTextSize ( TypedValue . COMPLEX_UNIT_PX , textSize ) ; } }
Update all the children to the current (possibly from preferences) scale
Update all the children to the current ( possibly from preferences ) scale
// have to get this before any updating takes place.