I’m using a framelayout and inside it I want a listview and a floating action button, but the listview doesn’t extend

Why is this not working? It’s a problem with the listview. I’ve tried in many ways and ending up with the button not showing

Change background image but keep drawable to a view android xml

I have a Framelayout which has some rounded corners through a drawable xml file

How I can use java code for creating design on android

I am trying to put TextView into FrameLayout into Linear layout. When I do it using XML it’s OK, but using Java code there are problems. So I can’t move text view using layout_gravity in Java code. …