{"action":"opened","issue":{"url":"https://api.github.com/repos/davidmigloz/number-keyboard/issues/10","repository_url":"https://api.github.com/repos/davidmigloz/number-keyboard","labels_url":"https://api.github.com/repos/davidmigloz/number-keyboard/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/davidmigloz/number-keyboard/issues/10/comments","events_url":"https://api.github.com/repos/davidmigloz/number-keyboard/issues/10/events","html_url":"https://github.com/davidmigloz/number-keyboard/issues/10","id":316671495,"number":10,"title":"Layout issues when using dynamic height ","user":{"login":"davidmigloz","id":6546265,"avatar_url":"https://avatars3.githubusercontent.com/u/6546265?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmigloz","html_url":"https://github.com/davidmigloz","followers_url":"https://api.github.com/users/davidmigloz/followers","following_url":"https://api.github.com/users/davidmigloz/following{/other_user}","gists_url":"https://api.github.com/users/davidmigloz/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmigloz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmigloz/subscriptions","organizations_url":"https://api.github.com/users/davidmigloz/orgs","repos_url":"https://api.github.com/users/davidmigloz/repos","events_url":"https://api.github.com/users/davidmigloz/events{/privacy}","received_events_url":"https://api.github.com/users/davidmigloz/received_events","type":"User","site_admin":false},"labels":[{"id":650524600,"url":"https://api.github.com/repos/davidmigloz/number-keyboard/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"davidmigloz","id":6546265,"avatar_url":"https://avatars3.githubusercontent.com/u/6546265?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmigloz","html_url":"https://github.com/davidmigloz","followers_url":"https://api.github.com/users/davidmigloz/followers","following_url":"https://api.github.com/users/davidmigloz/following{/other_user}","gists_url":"https://api.github.com/users/davidmigloz/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmigloz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmigloz/subscriptions","organizations_url":"https://api.github.com/users/davidmigloz/orgs","repos_url":"https://api.github.com/users/davidmigloz/repos","events_url":"https://api.github.com/users/davidmigloz/events{/privacy}","received_events_url":"https://api.github.com/users/davidmigloz/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidmigloz","id":6546265,"avatar_url":"https://avatars3.githubusercontent.com/u/6546265?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmigloz","html_url":"https://github.com/davidmigloz","followers_url":"https://api.github.com/users/davidmigloz/followers","following_url":"https://api.github.com/users/davidmigloz/following{/other_user}","gists_url":"https://api.github.com/users/davidmigloz/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmigloz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmigloz/subscriptions","organizations_url":"https://api.github.com/users/davidmigloz/orgs","repos_url":"https://api.github.com/users/davidmigloz/repos","events_url":"https://api.github.com/users/davidmigloz/events{/privacy}","received_events_url":"https://api.github.com/users/davidmigloz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-23T06:01:16Z","updated_at":"2018-04-23T06:01:16Z","closed_at":null,"author_association":"OWNER","body":"When using dynamic height the first row takes the full available height.\r\n\r\nExample:\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LinearLayout\r\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    xmlns:keyboard=\"http://schemas.android.com/apk/res-auto\"\r\n    xmlns:tools=\"http://schemas.android.com/tools\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"\r\n    android:orientation=\"vertical\"\r\n    android:padding=\"50dp\"\r\n    tools:context=\"com.davidmiguel.sample.MainActivity\">\r\n\r\n    <TextView\r\n        android:id=\"@+id/amount\"\r\n        style=\"@style/Base.TextAppearance.AppCompat.Title\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"50dp\"\r\n        android:layout_gravity=\"center\"\r\n        android:layout_margin=\"20dp\"\r\n        android:gravity=\"center\"\r\n        android:text=\"0\"\r\n        android:textSize=\"40sp\"/>\r\n\r\n    <com.davidmiguel.numberkeyboard.NumberKeyboard\r\n        android:id=\"@+id/numberKeyboard\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"0dp\"\r\n        android:layout_weight=\"1\"\r\n        keyboard:keyboardType=\"integer\"/>\r\n\r\n    <Button\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_gravity=\"center\"\r\n        android:text=\"Hello!!\"/>\r\n\r\n</LinearLayout>\r\n```"}}
{"actor":{"display_login":"davidmigloz"}}