Previously, my app did not use AppCompat at all, but now I need it due to a few libraries which require it. The problem is, that after I started using AppCompat, some Views
(ImageView
and SeekBar
) are not showing:
What has changed is I am now using AppCompatActivity
from v7 support library (instead of Activity
) and Theme.AppCompat.Light.DarkActionBar
(instead of android:Theme.Holo.Light.DarkActionBar
).
The hieararchy of the layout is as follows:
I know it is quite complex but this was the only way I was able to achieve what I wanted. (The foreground FrameLayout is used so I can dim the rest of the app when a specific popup dialog opens up. Grid is achieved by using multiple LinearLayouts. To get vertical SeekBars I needed to use a FrameLayout with SeekBar inside and then rotate it. The red and blue "tiles" are actually FButtons)
How do I fix this? Is the reason I am not seeing the ImageButtons and SeekBar because of too many nested views?