Comments (4)
There is similar issue with padding for android 4 (if Im not mistaken).
I don't think that treeView can disable setDisplayHomeAsUpEnabled functionality. Does it work if you remove treeView from fragment?
from androidtreeview.
Just tried setDisplayHomeAsUpEnabled without the treeView and still not work, probably not related.
About the padding issue, Is there a workaround for it?
from androidtreeview.
UPDATE:
if setDisplayHomeAsUpEnabled doesn't work in the fragment treeview do this on onOptionsItemSelected:
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.expandAll:
tView.expandAll();
break;
case R.id.collapseAll:
tView.collapseAll();
break;
case android.R.id.home:
NavUtils.navigateUpFromSameTask(getActivity()); /* IMPORTANT PART HERE*/
return true;
}
return true;
}
from androidtreeview.
Padding issue should be fixed with latest changes
from androidtreeview.
Related Issues (20)
- how to style different treenode HOT 1
- Referencing node view on setDefaultNodeLongClickListener HOT 1
- is it possible to form tree structure like jstree
- wrong selected count HOT 2
- Is not compiled HOT 1
- AndroidTreeView with not showing padding for first level of hierarchy. Works for second level HOT 2
- Adding a new tree node in Folder Structure root
- New activity
- ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.bmelnychuk:atv:1.2.+. HOT 1
- How to hide the root parent
- How to get name of parent in custom view? HOT 1
- Refresh views option HOT 2
- HI
- Hi
- 不通知一声就这么删库了?
- Find the View in the parent item through the child item通过子项找父项
- Deactivate collapsing
- how to compile this project with Android Studio Arctic Fox | 2020.3.1 Patch 3 HOT 1
- Problem In RTL HOT 1
- Hwo to use it as file tree for my code editor or IDE apps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidtreeview.