I found a custom SWT-Column-Ratio Layout on the internet which puts the children of a composite/control into a user-defined ratio. Unfortunately I cannot find the source of the implementation of the Column-Ratio Layout, but here’s how the code looks like: I want to test this layout. I am writing a JUnit test to test if the ratio is true when
Tag: layout
Scaling an ImageView when the soft keyboard opens
I’m creating a tabbed activity. As long as the first tab is selected, the soft keyboard should be visible. I achieved that by adding this line to my manifest file in the activity tag: android:…