「Update」
1、修复无法读取插件APK中的raw资源问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user