{"action":"opened","issue":{"url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/85","repository_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView","labels_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/85/comments","events_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/85/events","html_url":"https://github.com/yarolegovich/DiscreteScrollView/issues/85","id":296145312,"number":85,"title":"Not Resizing with Soft Keyboard","user":{"login":"bhylak","id":19956321,"avatar_url":"https://avatars2.githubusercontent.com/u/19956321?v=4","gravatar_id":"","url":"https://api.github.com/users/bhylak","html_url":"https://github.com/bhylak","followers_url":"https://api.github.com/users/bhylak/followers","following_url":"https://api.github.com/users/bhylak/following{/other_user}","gists_url":"https://api.github.com/users/bhylak/gists{/gist_id}","starred_url":"https://api.github.com/users/bhylak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhylak/subscriptions","organizations_url":"https://api.github.com/users/bhylak/orgs","repos_url":"https://api.github.com/users/bhylak/repos","events_url":"https://api.github.com/users/bhylak/events{/privacy}","received_events_url":"https://api.github.com/users/bhylak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-10T23:56:05Z","updated_at":"2018-02-10T23:56:05Z","closed_at":null,"author_association":"NONE","body":"The DiscreteScrollView is not resizing with soft keyboard.\r\n\r\nConfirmed as a bug because I swapped the DSV with a RecyclerView (leaving all the same attributes) and it adjusts as expected. \r\n\r\nHere's one of the items being displayed: \r\n\r\n`<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LinearLayout\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\"\r\n        android:fitsSystemWindows=\"true\"\r\n        android:orientation=\"vertical\"\r\n        xmlns:tools=\"http://schemas.android.com/tools\"\r\n        xmlns:android=\"http://schemas.android.com/apk/res/android\">\r\n    <View\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"0dp\"\r\n            android:layout_weight=\"1\"\r\n    />\r\n    <ScrollView android:layout_width=\"match_parent\"\r\n                android:layout_height=\"wrap_content\"\r\n                android:fillViewport=\"true\">\r\n\r\n    <LinearLayout\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:orientation=\"horizontal\"\r\n            android:id=\"@+id/item_picturequestion\">\r\n\r\n        <ImageButton android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"\r\n                     android:background=\"@drawable/surveyquestions_arrow\"\r\n                     android:rotation=\"-180\"\r\n                     android:layout_marginStart=\"24dp\"\r\n                     android:layout_marginEnd=\"24dp\"\r\n                     android:layout_gravity=\"center\"/>\r\n\r\n        <LinearLayout android:layout_width=\"0dp\"\r\n                      android:layout_height=\"wrap_content\"\r\n                      android:layout_weight=\"2\"\r\n                      android:orientation=\"vertical\">\r\n\r\n            <TextView\r\n                    android:layout_width=\"match_parent\"\r\n                    android:layout_height=\"wrap_content\"\r\n                    android:id=\"@+id/tv_questionall_title\"\r\n                    android:textAppearance=\"@style/Heading.Large\"\r\n                    android:gravity=\"center_vertical\"\r\n                    tools:text=\"What country are you from?\"\r\n                    android:textSize=\"48sp\"/>\r\n            <RelativeLayout\r\n                    android:layout_width=\"wrap_content\"\r\n                    android:layout_marginTop=\"24dp\"\r\n                    android:layout_height=\"wrap_content\">\r\n\r\n                <ImageView android:layout_width=\"wrap_content\"\r\n                           android:layout_centerVertical=\"true\"\r\n                           android:layout_toEndOf=\"@id/spinner_questiondropdown\"\r\n                           android:layout_marginStart=\"-28dp\"\r\n                           android:background=\"@drawable/ic_all_downchevron\"\r\n                           android:layout_height=\"wrap_content\"/>\r\n\r\n                <Spinner\r\n                        android:layout_width=\"wrap_content\"\r\n                        android:layout_alignParentStart=\"true\"\r\n                        android:minWidth=\"140dp\"\r\n                        android:layout_height=\"40dp\"\r\n                        android:paddingEnd=\"20dp\"\r\n                        android:paddingStart=\"0dp\"\r\n                        android:background=\"@drawable/spinner_background\"\r\n                        android:id=\"@+id/spinner_questiondropdown\"/>\r\n            </RelativeLayout>\r\n\r\n        </LinearLayout>\r\n\r\n        <ImageButton android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"\r\n                     android:background=\"@drawable/surveyquestions_arrow\"\r\n                     android:layout_marginEnd=\"24dp\"\r\n                     android:id=\"@+id/btn_questionall_next\"\r\n                     android:layout_marginStart=\"24dp\"\r\n                     android:layout_gravity=\"center|end\"/>\r\n\r\n    </LinearLayout>\r\n    </ScrollView>\r\n    <View\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"0dp\"\r\n            android:layout_weight=\"1\"\r\n    />\r\n</LinearLayout>\r\n`\r\n\r\nand the declaration of the scrollview\r\n\r\n'\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LinearLayout android:layout_width=\"match_parent\"\r\n              android:layout_height=\"match_parent\"\r\n              android:fitsSystemWindows=\"true\"\r\n              xmlns:android=\"http://schemas.android.com/apk/res/android\">\r\n<android.support.v7.widget.RecyclerView\r\n        xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\"\r\n        android:background=\"@color/indicator_card_yellow\"\r\n        xmlns:tools=\"http://schemas.android.com/tools\"\r\n        android:layout_gravity=\"center_vertical\"\r\n        android:orientation=\"horizontal\"\r\n        android:id=\"@+id/rv_survey_questions\"\r\n        tools:listitem=\"@layout/item_questiondropdown\"/>\r\n</LinearLayout>\r\n'\r\n"}}
{"actor":{"display_login":"bhylak"}}