Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] Fix Layout so the test app actually runs #2720

Merged
merged 2 commits into from
Feb 11, 2019

Conversation

dellis1972
Copy link
Contributor

Currently when running the Mono.Android-Test app
we get the following error

Java.Lang.RuntimeException: Binary XML file line #1: You must supply a layout_width attribute.

This is because the ScrollView now needs to have
the layout properties for width and height.
Filling those in we then get

Scrollview can host only one direct child

So we then need to add a LinearLayout to the ScrollView
so that it removes that error as well.

Currently when running the Mono.Android-Test app
we get the following error

	Java.Lang.RuntimeException: Binary XML file line #1: You must supply a layout_width attribute.

This is because the `ScrollView` now needs to have
the `layout` properties for `width` and `height`.
Filling those in we then get

	Scrollview can host only one direct child

So we then need to add a `LinearLayout` to the `ScrollView`
so that it removes that error as well.
@dellis1972 dellis1972 requested a review from jonpryor as a code owner February 11, 2019 13:55
@jonpryor jonpryor merged commit 650b409 into dotnet:master Feb 11, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants