working on txt import
This commit is contained in:
parent
d1a7c6346f
commit
8b79e3dd06
|
@ -438,7 +438,7 @@ public class PageFactory {
|
||||||
c.drawText(CommonUtil.subString(bookName,12), marginWidth ,statusMarginBottom + mBatterryFontSize, mBatterryPaint);
|
c.drawText(CommonUtil.subString(bookName,12), marginWidth ,statusMarginBottom + mBatterryFontSize, mBatterryPaint);
|
||||||
//画章
|
//画章
|
||||||
if (getDirectoryList().size() > 0) {
|
if (getDirectoryList().size() > 0) {
|
||||||
String charterName = CommonUtil.subString(getDirectoryList().get(currentChapter-1).getChapterName(),12);
|
String charterName = CommonUtil.subString(getDirectoryList().get(currentChapter-1).getChapterName(),16);
|
||||||
int nChaterWidth = (int) mBatterryPaint.measureText(charterName) + 1;
|
int nChaterWidth = (int) mBatterryPaint.measureText(charterName) + 1;
|
||||||
c.drawText(charterName, mWidth - marginWidth - nChaterWidth, statusMarginBottom + mBatterryFontSize, mBatterryPaint);
|
c.drawText(charterName, mWidth - marginWidth - nChaterWidth, statusMarginBottom + mBatterryFontSize, mBatterryPaint);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue