「Update」

1、修复无法读取插件APK中的raw资源问题
This commit is contained in:
donghongyu
2024-10-15 18:22:16 +08:00
parent 4bc66d0387
commit 54bd1227be
3 changed files with 70 additions and 15 deletions

View File

@@ -131,7 +131,7 @@ public class SkinAttribute {
* @param typeface 字体
*/
public void applySkin(Typeface typeface) {
Log.d(TAG, "applySkin() called with: typeface = [" + typeface + "] view = [" + view + "] Parent = " + view.getParent());
//Log.d(TAG, "applySkin() called with: typeface = [" + typeface + "] view = [" + view + "] Parent = " + view.getParent());
//applySkinTypeface(typeface);
applySkinViewSupport();
try {
@@ -226,7 +226,7 @@ public class SkinAttribute {
private void applySkinTypeface(final Typeface typeface) {
if (view instanceof TextView) {
Log.d(TAG, "applySkinTypeface() called with: view = [" + ((TextView) view).getText() + "] Parent = " + view.getParent());
//Log.d(TAG, "applySkinTypeface() called with: view = [" + ((TextView) view).getText() + "] Parent = " + view.getParent());
//post 防止某些控件的属性设置是在构造函数调用完成之后进行的。
mHandler.post(new Runnable() {
@Override
@@ -239,7 +239,7 @@ public class SkinAttribute {
private void applyText(final String textStr) {
if (view instanceof TextView) {
Log.d(TAG, "applyText() called with: view = [" + ((TextView) view).getText() + "] Parent = " + view.getParent());
//Log.d(TAG, "applyText() called with: view = [" + ((TextView) view).getText() + "] Parent = " + view.getParent());
//post 防止某些控件的属性设置是在构造函数调用完成之后进行的。
mHandler.post(new Runnable() {
@Override
@@ -252,7 +252,7 @@ public class SkinAttribute {
private void applyHintText(final String textStr) {
if (view instanceof EditText) {
Log.d(TAG, "applyHintText() called with: view = [" + ((TextView) view).getText() + "] Parent = " + view.getParent());
//Log.d(TAG, "applyHintText() called with: view = [" + ((TextView) view).getText() + "] Parent = " + view.getParent());
//post 防止某些控件的属性设置是在构造函数调用完成之后进行的。
mHandler.post(new Runnable() {
@Override