mirror of
https://github.com/TonyJiangWJ/Auto.js.git
synced 2026-06-21 21:01:43 +08:00
This commit is contained in:
parent
1f7be092d8
commit
d830e13031
@ -162,9 +162,7 @@ public class LayoutHierarchyView extends MultiLevelListView {
|
||||
Stack<NodeInfo> parents = new Stack<>();
|
||||
searchNodeParents(selectedNode, mRootNode, parents);
|
||||
mClickedNodeInfo = parents.peek();
|
||||
for (NodeInfo nodeInfo : parents) {
|
||||
mInitiallyExpandedNodes.add(nodeInfo);
|
||||
}
|
||||
mInitiallyExpandedNodes.addAll(parents);
|
||||
mAdapter.reloadData();
|
||||
}
|
||||
|
||||
@ -225,7 +223,7 @@ public class LayoutHierarchyView extends MultiLevelListView {
|
||||
NodeInfo nodeInfo = (NodeInfo) object;
|
||||
ViewHolder viewHolder;
|
||||
if (convertView == null) {
|
||||
convertView = LayoutInflater.from(getContext()).inflate(R.layout.layout_hierarchy_view_item, LayoutHierarchyView.this, false);
|
||||
convertView = LayoutInflater.from(getContext()).inflate(R.layout.layout_hierarchy_view_item, null);
|
||||
viewHolder = new ViewHolder(convertView);
|
||||
convertView.setTag(viewHolder);
|
||||
} else {
|
||||
|
||||
@ -27,6 +27,7 @@ repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -41,8 +42,8 @@ dependencies {
|
||||
compile('com.afollestad.material-dialogs:core:0.9.2.3', {
|
||||
exclude group: 'com.android.support'
|
||||
})
|
||||
compile 'com.android.support:design:25.3.1'
|
||||
compile 'com.android.support:appcompat-v7:25.3.1'
|
||||
compile 'com.android.support:design:25.4.0'
|
||||
compile 'com.android.support:appcompat-v7:25.4.0'
|
||||
compile 'com.github.hyb1996:EnhancedFloaty:0.17'
|
||||
// Terminal emulator
|
||||
compile(name: 'libtermexec-release', ext: 'aar')
|
||||
|
||||
@ -44,9 +44,7 @@ public class LoopedBasedJavaScriptExecution extends RunnableScriptExecution {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
javaScriptEngine.execute(
|
||||
|
||||
getSource());
|
||||
javaScriptEngine.execute(getSource());
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@ -25,6 +25,7 @@ repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -32,6 +33,6 @@ dependencies {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
testCompile 'junit:junit:4.12'
|
||||
compile 'com.android.support:appcompat-v7:25.3.1'
|
||||
compile 'com.android.support:appcompat-v7:25.4.0'
|
||||
compile project(path: ':common')
|
||||
}
|
||||
|
||||
@ -36,6 +36,7 @@ repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -43,7 +44,7 @@ dependencies {
|
||||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
compile 'com.android.support:appcompat-v7:25.3.1'
|
||||
compile 'com.android.support:appcompat-v7:25.4.0'
|
||||
testCompile 'junit:junit:4.12'
|
||||
compile project(':automator')
|
||||
compile project(':common')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user