mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
Fixed compiling issues
This commit is contained in:
@@ -1 +1 @@
|
||||
<manifest package="com.itsaky.androidide.ui.inflater"/>
|
||||
<manifest package="com.itsaky.layoutinflater"/>
|
||||
|
||||
@@ -205,7 +205,7 @@ class XMLLayoutInflater extends BaseLayoutInflater {
|
||||
.asSubclass(IAttributeAdapter.class);
|
||||
return adapterClass.newInstance();
|
||||
} catch (Throwable th) {
|
||||
LOG.error (BaseApplication.getBaseInstance().getString(com.itsaky.androidide.common.R.string.err_no_attr_adapter, view.getClass().getName()), th);
|
||||
LOG.error (BaseApplication.getBaseInstance().getString(com.itsaky.layoutinflater.R.string.err_no_attr_adapter, view.getClass().getName()), th);
|
||||
}
|
||||
|
||||
// If we cannot find a suitable adapter, fall back to using common adapters
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* This file is part of AndroidIDE
|
||||
* This file is part of AndroidIDE.
|
||||
*
|
||||
* AndroidIDE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -238,7 +238,7 @@ public class ViewAttrAdapter implements IAttributeAdapter {
|
||||
}
|
||||
|
||||
if (!handled && params instanceof RelativeLayout.LayoutParams) {
|
||||
handled = handleRelativeLayoutParams ((RelativeLayout.LayoutParams) params, view, name, value);
|
||||
handled = handleRelativeLayoutParams ((RelativeLayout.LayoutParams) params, view, name, value, resFinder);
|
||||
}
|
||||
|
||||
if (!handled && params instanceof ViewGroup.MarginLayoutParams) {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
package com.itsaky.androidide.ui.util;
|
||||
package com.itsaky.layoutinflater.util;
|
||||
|
||||
import com.blankj.utilcode.util.FileIOUtils;
|
||||
import com.blankj.utilcode.util.FileUtils;
|
||||
@@ -69,7 +69,7 @@ public class ValuesTable {
|
||||
|
||||
read.whenComplete((__, th) -> {
|
||||
if (th != null) {
|
||||
LOG.error(BaseApplication.getBaseInstance().getString(com.itsaky.androidide.common.R.string.err_cannot_read_values), th);
|
||||
LOG.error(BaseApplication.getBaseInstance().getString(com.itsaky.layoutinflater.R.string.err_cannot_read_values), th);
|
||||
} else {
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# SDK Data
|
||||
These files are taken directly from the Android SDK
|
||||
Reference in New Issue
Block a user