Commit 03f7c622 authored by fallenstardust's avatar fallenstardust

set cover2

parent aa2fc2d3
...@@ -192,8 +192,8 @@ public class SettingFragment extends PreferenceFragmentPlus { ...@@ -192,8 +192,8 @@ public class SettingFragment extends PreferenceFragmentPlus {
View viewDialog = dialog.getContentView(); View viewDialog = dialog.getContentView();
ImageView cover1 = viewDialog.findViewById(R.id.cover1); ImageView cover1 = viewDialog.findViewById(R.id.cover1);
ImageView cover2 = viewDialog.findViewById(R.id.cover2); ImageView cover2 = viewDialog.findViewById(R.id.cover2);
setImage(getAbsolutePath(mSettings.getCoreSkinPath(), Constants.CORE_SKIN_COVER),cover1); setImage(getDatapath(mSettings.getCoreSkinPath()+Constants.CORE_SKIN_COVER),cover1);
setImage(getDatapath(mSettings.getCoreSkinPath()+Constants.CORE_SKIN_COVER2),cover2);
cover1.setOnClickListener((v) -> { cover1.setOnClickListener((v) -> {
//显示图片对话框? //显示图片对话框?
String outFile = new File(mSettings.getCoreSkinPath(), Constants.CORE_SKIN_COVER).getAbsolutePath(); String outFile = new File(mSettings.getCoreSkinPath(), Constants.CORE_SKIN_COVER).getAbsolutePath();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment