Tweaking a bit defaults for thematic break & quote sign
This commit is contained in:
parent
a7e1f178f4
commit
1ea0450025
@ -11,7 +11,6 @@ import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import com.caverock.androidsvg.SVG;
|
||||
import com.caverock.androidsvg.SVGParseException;
|
||||
@ -74,7 +73,6 @@ public class AsyncDrawableLoader implements AsyncDrawable.Loader {
|
||||
|
||||
@Override
|
||||
public void load(@NonNull String destination, @NonNull AsyncDrawable drawable) {
|
||||
Log.e("ASYNC", destination);
|
||||
// if drawable is not a link -> show loading placeholder...
|
||||
requests.put(destination, execute(destination, drawable));
|
||||
}
|
||||
|
@ -44,9 +44,10 @@ public class SpannableTheme {
|
||||
.linkColor(resolve(context, android.R.attr.textColorLink))
|
||||
.codeMultilineMargin(dip.toPx(8))
|
||||
.blockMargin(dip.toPx(24))
|
||||
.blockQuoteWidth(dip.toPx(4))
|
||||
.bulletListItemStrokeWidth(dip.toPx(1))
|
||||
.headingBreakHeight(dip.toPx(1))
|
||||
.thematicBreakHeight(dip.toPx(2))
|
||||
.thematicBreakHeight(dip.toPx(4))
|
||||
.tableCellPadding(dip.toPx(4))
|
||||
.tableBorderWidth(dip.toPx(1));
|
||||
}
|
||||
@ -62,7 +63,7 @@ public class SpannableTheme {
|
||||
}
|
||||
}
|
||||
|
||||
protected static final int BLOCK_QUOTE_DEF_COLOR_ALPHA = 50;
|
||||
protected static final int BLOCK_QUOTE_DEF_COLOR_ALPHA = 25;
|
||||
|
||||
protected static final int CODE_DEF_BACKGROUND_COLOR_ALPHA = 25;
|
||||
protected static final float CODE_DEF_TEXT_SIZE_RATIO = .87F;
|
||||
@ -77,7 +78,7 @@ public class SpannableTheme {
|
||||
|
||||
protected static final float SCRIPT_DEF_TEXT_SIZE_RATIO = .75F;
|
||||
|
||||
protected static final int THEMATIC_BREAK_DEF_ALPHA = 75;
|
||||
protected static final int THEMATIC_BREAK_DEF_ALPHA = 25;
|
||||
|
||||
protected static final int TABLE_BORDER_DEF_ALPHA = 75;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user