Category "android-linearlayout"

How to set android layout height to x% of its parent height?

I would like to create this simple layout: I wrote this: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.androi

set the canvas size - Android

I want to keep the same size of the bitmap for the canvas, because when I add the custom view to the LinearLayout shows the canvas with different size and I wan