From 0cb137efc06a00161b797650c6704ea63aa9dc86 Mon Sep 17 00:00:00 2001 From: wangbinbin Date: Fri, 29 Nov 2019 16:25:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E5=AD=97=E9=97=B4?= =?UTF-8?q?=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/novel/read/widget/page/PageLoader.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/novel/read/widget/page/PageLoader.java b/app/src/main/java/com/novel/read/widget/page/PageLoader.java index 1785a49..2f3952f 100644 --- a/app/src/main/java/com/novel/read/widget/page/PageLoader.java +++ b/app/src/main/java/com/novel/read/widget/page/PageLoader.java @@ -60,7 +60,7 @@ public abstract class PageLoader { public static final int STATUS_PARSE_ERROR = 6; // 本地文件解析错误(暂未被使用) public static final int STATUS_CATEGORY_EMPTY = 7; // 获取到的目录为空 // 默认的显示参数配置 - private static final int DEFAULT_MARGIN_HEIGHT = 28; + private static final int DEFAULT_MARGIN_HEIGHT = 50; private static final int DEFAULT_MARGIN_WIDTH = 15; private static final int DEFAULT_TIP_SIZE = 12; private static final int EXTRA_TITLE_SIZE = 4; @@ -902,9 +902,9 @@ public abstract class PageLoader { //对内容进行绘制 for (int i = mCurPage.titleLines; i < mCurPage.lines.size(); ++i) { str = mCurPage.getLines().get(i); - if (i == 0) { - top = top + 15; - } +// if (i == 0) { +// top = top + 15; +// } canvas.drawText(str, mMarginWidth, top, mTextPaint);