How to set background color of a View
I’m trying to set the background color of a View (in this case a Button). I use this code: // set the background … Read more
I’m trying to set the background color of a View (in this case a Button). I use this code: // set the background … Read more
Is it possible to set the absolute position of a view in Android? (I know that there is an AbsoluteLayout, but it’s deprecated…) … Read more
View’s have a minHeight but somehow are lacking a maxHeight: What I’m trying to achieve is having some items (views) filling up a … Read more
This one has me stumped. I need to call an activity method from within a custom layout class. The problem with this is … Read more
I’m beginning to try out SwiftUI and I’m surprised that it doesn’t seem to be straightforward to change the background color of a … Read more
I’m looking for a simple method to remove at once all subviews from a superview instead of removing them one by one. //I’m … Read more
Is there an easy way to see the code used to create a view using the PostgreSQL command-line client? Something like the SHOW … Read more
Is there a way to figure out what the current controller is from within the view? For an example of why I would … Read more
I have a button as in the following: <Button android:text=”Submit” android:id=”@+id/Button01″ android:layout_width=”fill_parent” android:layout_height=”wrap_content”> </Button> In my onCreate() event, I am calling Button01 like … Read more
I have a very long activity with a scrollview. It is a form with various fields that the user must fill in. I … Read more