I'm trying to setup two linear layouts - one set horizontally the other set vertically - however for some reason nothing in my 2nd child linear layout will appear when I load it. It just disappears for some strange reason.
XML
I'm not sure exactly why but I'm attempting to set the size of my thumbnails to fill parent however it does not appear they are doing so and I'm unsure why.
I've set the parameters as (I believe) they should be but the thumbnail still will not…
I've just started Java programming in school, and my first assignment is to recreate an app I was working on using an xml layout instead of programmatically creating the elements. I have two separate linear layouts I want to appear, one is…
I am really struggling with my xml layout, even though I have over a year of experience working on android :). Anyway I need to create an xml layout as following:
I tried with this:
I am trying to add a custom surfaceView class to a surfaceView that has been declared in a xml layout. The problem is that I cannot get the custom class add the the xml defined surfaceView. Some how it just does not start.
This is my…
So I have a layout thats fairly complex and has some layout nesting . The layout holds 8 items, but if my api response returns say 32 items id like to loop the same xml layout over and over and make it scrollable. Would this be possible? I…
I have a list which displays information taken form my SQLite Database, everything works fine. I want to place an advert banner at the top of the List and have it in the XML layout as I do with my other activity's but the adverts are treated like…
I have a music player app that should open and show a list of tracks on your phone/sdcard but when I launch the application it shows me nothing..
I followed a tutorial so im not completely clear on what everything is supposed to do. Especially with…
android ImageView is not bringing to front in RelativeLayout
Tried to call bringtofront() didn't work
tried setting visibility to true didn't work
XML CODE