Android: Tablayout Not Working
I was trying the TabLayout Tutorial from official developers site. I didnt copy paste it as such and some minor changes and corrections to typos in the tut. package com.org.example
Solution 1:
I used a .jpeg of high resolution and size(3.5mb) which was cause of trouble. I changed it into a lower resolution, size pic and it worked without troubles. I found out via trial and error that images beyond 1600*900 will make apps crash. Not an exact statistic, but it may help.
Solution 2:
OP Solved his own problem:
I used a .jpeg of high resolution and size(3.5mb) which was cause of trouble. I changed it into a lower resolution, size pic and it worked without troubles. I found out via trial and error that images beyond 1600*900 will make apps crash. Not an exact statistic, but it may help.
Doing this to get more questions answered. The OP can feel free to answer this himself and then mark that as answered.
Post a Comment for "Android: Tablayout Not Working"