Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Preferences overlaps navigation drawer

 
Gil Carvalho
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I'm having problems regarding the use of preferences in fragment.
the image shows the problem



This is my main xml



Wich includes another layout



and this one the content



Everything is working fine but when i use this code to load preferences i have that issue



Any help??

Thanks
 
Stephen M Davies
Greenhorn
Posts: 11
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, if possible could you post a shot of your Component Tree? If you are using Android Studio , Just go to the design view and it should be on the right. At first glance, you appear to have the DrawerLayout as your root View. This should not be the case, it should be the child of another Root View. However, to help further, I need to see the component overview as I mentioned, and perhaps the file names for each xml. You can wrap everything in your Coordinator Layout, then have the toolbar, and then include your DrawerLayout. That's a guess from what I see.

E.g.



This is just a guess, I have often found myself with the same issue. If you can show the tree, I could help more
 
Gil Carvalho
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Thanks for your help
I'm not sure if it is what you want but here is the image



This is the main file

The code



But my preferences is inside the xml folder, not layout folder

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic