We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The parser seems to close a parent tag for EditText.
FrameLayout { EditText() View() }
Will result in:
FrameLayout { EditText() } View()
Same occurs with LinearLayout.
The text was updated successfully, but these errors were encountered:
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <EditText android:layout_width="match_parent" android:layout_height="match_parent" android:inputType="text"/> <View android:layout_width="match_parent" android:layout_height="wrap_content"/> </FrameLayout>
@Test fun `FrameLayout with EditText and View`() { assertAST( fileName = "framelayout-edittext-view.xml", expected = Layout( listOf( FrameLayoutNode( ViewGroupAttributes( listOf( EditTextNode( ViewAttributes( width = LayoutSize.MatchParent, height = LayoutSize.MatchParent ), text = "", inputType = InputType.Text ), ViewNode( ViewAttributes( width = LayoutSize.MatchParent, height = LayoutSize.MatchParent ), ) ) ), ViewAttributes( width = LayoutSize.MatchParent, height = LayoutSize.WrapContent, ), ) ) ) ) }
Sorry, something went wrong.
Fix bug: pocmo#104 (closing of the parent tag)
24413b9
Fix bug: pocmo#104 (closing of the parent tag) - for EditText, and al…
cac9081
…l other tags
No branches or pull requests
The parser seems to close a parent tag for EditText.
Will result in:
Same occurs with LinearLayout.
The text was updated successfully, but these errors were encountered: