Thursday, July 4, 2013

[android help] Is there implicit ListFragment margin/padding? How to remove it?


Is there implicit ListFragment margin/padding? How to remove it?



I had this same problem. I'm using ActionBarSherlock and was able to fix this with Styles and Themes.


First, I added this to my themes.xml:






This tells SherlockListFragment to use my custom style for its ListView. Then I added this custom style to my styles.xml:






You could also try one of these settings:



0
0


Pointing the ListView to my custom style fixed the problem for me. Essentially, setting the styles on the ListView Widget should do the trick.



.

stackoverflow.comm



No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...