diff --git a/app/src/main/java/com/monke/monkeybook/view/popupwindow/MoreSettingPop.java b/app/src/main/java/com/monke/monkeybook/view/popupwindow/MoreSettingPop.java index 281cbb4d61..409cfda2fc 100644 --- a/app/src/main/java/com/monke/monkeybook/view/popupwindow/MoreSettingPop.java +++ b/app/src/main/java/com/monke/monkeybook/view/popupwindow/MoreSettingPop.java @@ -75,7 +75,7 @@ public MoreSettingPop(ReadBookActivity readBookActivity, @NonNull OnChangeProLis this.activity = readBookActivity; this.changeProListener = changeProListener; - View view = LayoutInflater.from(activity).inflate(R.layout.view_pop_more_setting, null); + View view = LayoutInflater.from(activity).inflate(R.layout.pop_more_setting, null); ImmersionBar.navigationBarPadding(activity, view); this.setContentView(view); ButterKnife.bind(this, view); diff --git a/app/src/main/java/com/monke/monkeybook/view/popupwindow/ReadAdjustPop.java b/app/src/main/java/com/monke/monkeybook/view/popupwindow/ReadAdjustPop.java index 0c5a0222ed..6788b86071 100644 --- a/app/src/main/java/com/monke/monkeybook/view/popupwindow/ReadAdjustPop.java +++ b/app/src/main/java/com/monke/monkeybook/view/popupwindow/ReadAdjustPop.java @@ -1,7 +1,6 @@ //Copyright (c) 2017. 章钦豪. All rights reserved. package com.monke.monkeybook.view.popupwindow; -import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.SharedPreferences; @@ -15,7 +14,6 @@ import com.monke.monkeybook.R; import com.monke.monkeybook.help.ReadBookControl; -import com.monke.monkeybook.service.ReadAloudService; import com.monke.monkeybook.utils.barUtil.ImmersionBar; import com.monke.monkeybook.view.activity.ReadBookActivity; import com.monke.monkeybook.widget.checkbox.SmoothCheckBox; @@ -60,7 +58,7 @@ public ReadAdjustPop(ReadBookActivity readBookActivity, OnAdjustListener adjustL this.activity = readBookActivity; this.adjustListener = adjustListener; - View view = LayoutInflater.from(activity).inflate(R.layout.view_pop_read_adjust, null); + View view = LayoutInflater.from(activity).inflate(R.layout.pop_read_adjust, null); ImmersionBar.navigationBarPadding(activity, view); this.setContentView(view); ButterKnife.bind(this, view); diff --git a/app/src/main/java/com/monke/monkeybook/view/popupwindow/ReadInterfacePop.java b/app/src/main/java/com/monke/monkeybook/view/popupwindow/ReadInterfacePop.java index 94cdcca077..d2a84346d1 100644 --- a/app/src/main/java/com/monke/monkeybook/view/popupwindow/ReadInterfacePop.java +++ b/app/src/main/java/com/monke/monkeybook/view/popupwindow/ReadInterfacePop.java @@ -102,7 +102,7 @@ public ReadInterfacePop(ReadBookActivity readBookActivity, @NonNull OnChangeProL this.activity = readBookActivity; this.changeProListener = changeProListener; - View view = LayoutInflater.from(readBookActivity).inflate(R.layout.view_pop_read_interface, null); + View view = LayoutInflater.from(readBookActivity).inflate(R.layout.pop_read_interface, null); ImmersionBar.navigationBarPadding(activity, view); this.setContentView(view); ButterKnife.bind(this, view); diff --git a/app/src/main/res/layout/view_pop_more_setting.xml b/app/src/main/res/layout/pop_more_setting.xml similarity index 100% rename from app/src/main/res/layout/view_pop_more_setting.xml rename to app/src/main/res/layout/pop_more_setting.xml diff --git a/app/src/main/res/layout/view_pop_read_adjust.xml b/app/src/main/res/layout/pop_read_adjust.xml similarity index 100% rename from app/src/main/res/layout/view_pop_read_adjust.xml rename to app/src/main/res/layout/pop_read_adjust.xml diff --git a/app/src/main/res/layout/view_pop_read_interface.xml b/app/src/main/res/layout/pop_read_interface.xml similarity index 97% rename from app/src/main/res/layout/view_pop_read_interface.xml rename to app/src/main/res/layout/pop_read_interface.xml index e6ab9019cb..768da3000e 100644 --- a/app/src/main/res/layout/view_pop_read_interface.xml +++ b/app/src/main/res/layout/pop_read_interface.xml @@ -156,18 +156,28 @@ android:textSize="14sp" tools:ignore="HardcodedText" /> + + + +