调整启动界面与默认头像
This commit is contained in:
1 parent
b61699a9e2
commit
afece72b58
18 files changed
+182
-48
No files matched your search
@@ -18,7 +18,6 @@ package com.hippo.ehviewer.widget;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.view.ContextThemeWrapper;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
@@ -31,7 +30,7 @@ public class MaterialToast extends Toast {
|
||||
private static Context sContext;
|
||||
|
||||
public static void setContext(Context context) {
|
||||
sContext = new ContextThemeWrapper(context, R.style.AppTheme);
|
||||
sContext = context;
|
||||
}
|
||||
|
||||
@SuppressLint("InflateParams")
|
||||
|
||||
Reference in new issue
Block a user