{"action":"created","comment":{"url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/comments/222230853","pull_request_review_id":161064734,"id":222230853,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjIzMDg1Mw==","diff_hunk":"@@ -1,29 +1,83 @@\n <?xml version=\"1.0\" encoding=\"utf-8\"?>\n-<ScrollView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n+<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n     xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n     xmlns:tools=\"http://schemas.android.com/tools\"\n     android:layout_width=\"match_parent\"\n-    android:layout_height=\"wrap_content\"\n-    android:focusableInTouchMode=\"true\"\n-    android:orientation=\"vertical\"\n+    android:layout_height=\"match_parent\"\n     tools:context=\".MainActivity\">\n \n-    <LinearLayout\n-        android:id=\"@+id/main_linear_layout\"\n+    <androidx.coordinatorlayout.widget.CoordinatorLayout\n         android:layout_width=\"match_parent\"\n-        android:layout_height=\"wrap_content\"\n-        android:orientation=\"vertical\"\n-        android:paddingBottom=\"@dimen/main_block_bottom_padding\">\n+        android:layout_height=\"match_parent\">\n+\n \n-        <ImageView\n+        <com.google.android.material.appbar.AppBarLayout\n+            android:id=\"@+id/appbar\"\n             android:layout_width=\"match_parent\"\n             android:layout_height=\"wrap_content\"\n-            android:adjustViewBounds=\"true\"\n-            android:contentDescription=\"@string/photo_content_description\"\n-            android:scaleType=\"fitStart\"\n-            app:srcCompat=\"@drawable/photo\" />\n+            android:theme=\"@style/ThemeOverlay.AppCompat.Dark.ActionBar\">\n+\n+            <com.google.android.material.appbar.CollapsingToolbarLayout\n+                android:id=\"@+id/toolbar_layout\"\n+                android:layout_width=\"match_parent\"\n+                android:layout_height=\"match_parent\"\n+                app:contentScrim=\"@color/colorPrimary\"\n+                app:layout_scrollFlags=\"scroll|exitUntilCollapsed|snap\"\n+                app:titleEnabled=\"false\">\n+\n+                <ImageView\n+                    android:layout_width=\"match_parent\"\n+                    android:layout_height=\"wrap_content\"\n+                    android:adjustViewBounds=\"true\"\n+                    android:contentDescription=\"@string/photo_content_description\"\n+                    android:scaleType=\"centerCrop\"\n+                    app:layout_collapseMode=\"parallax\"\n+                    app:srcCompat=\"@drawable/photo\" />\n \n-        <include layout=\"@layout/main_block\" />\n-    </LinearLayout>\n+                <androidx.appcompat.widget.Toolbar\n+                    android:id=\"@+id/toolbar\"\n+                    android:layout_width=\"match_parent\"\n+                    android:layout_height=\"?android:attr/actionBarSize\"\n+                    app:layout_collapseMode=\"pin\" />\n+            </com.google.android.material.appbar.CollapsingToolbarLayout>\n+\n+        </com.google.android.material.appbar.AppBarLayout>\n+\n+        <androidx.core.widget.NestedScrollView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n+            xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n+            xmlns:tools=\"http://schemas.android.com/tools\"\n+            android:layout_width=\"match_parent\"\n+            android:layout_height=\"wrap_content\"\n+            app:layout_behavior=\"@string/appbar_scrolling_view_behavior\"\n+            tools:context=\".objectDetailsFragment\">\n \n-</ScrollView>\n\\ No newline at end of file\n+            <LinearLayout\n+                android:id=\"@+id/main_linear_layout\"\n+                android:layout_width=\"match_parent\"\n+                android:layout_height=\"wrap_content\"\n+\n+                android:orientation=\"vertical\"\n+                android:paddingBottom=\"@dimen/main_block_bottom_padding\">\n+\n+\n+                <include layout=\"@layout/main_block\" />\n+            </LinearLayout>\n+\n+        </androidx.core.widget.NestedScrollView>\n+\n+        <include layout=\"@layout/bottom_sheet\" />\n+    </androidx.coordinatorlayout.widget.CoordinatorLayout>\n+\n+    <com.google.android.material.floatingactionbutton.FloatingActionButton\n+        android:id=\"@+id/fab\"\n+        android:layout_width=\"wrap_content\"\n+        android:layout_height=\"wrap_content\"\n+        android:layout_alignParentBottom=\"true\"\n+        android:layout_alignParentEnd=\"true\"\n+        android:layout_marginBottom=\"20dp\"\n+        android:layout_marginEnd=\"20dp\"","path":"app/src/main/res/layout/activity_main.xml","position":88,"original_position":96,"commit_id":"209e72b2afd97366816edcf8e4729325e5f7f3ad","original_commit_id":"209e72b2afd97366816edcf8e4729325e5f7f3ad","user":{"login":"konstzv","id":5062363,"node_id":"MDQ6VXNlcjUwNjIzNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5062363?v=4","gravatar_id":"","url":"https://api.github.com/users/konstzv","html_url":"https://github.com/konstzv","followers_url":"https://api.github.com/users/konstzv/followers","following_url":"https://api.github.com/users/konstzv/following{/other_user}","gists_url":"https://api.github.com/users/konstzv/gists{/gist_id}","starred_url":"https://api.github.com/users/konstzv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstzv/subscriptions","organizations_url":"https://api.github.com/users/konstzv/orgs","repos_url":"https://api.github.com/users/konstzv/repos","events_url":"https://api.github.com/users/konstzv/events{/privacy}","received_events_url":"https://api.github.com/users/konstzv/received_events","type":"User","site_admin":false},"body":"Ну апи у меня выше 17-го\r\nА для ниже типа два атрибута добавлять для каждой стороны?","created_at":"2018-10-03T08:50:23Z","updated_at":"2018-10-03T08:50:23Z","html_url":"https://github.com/konstzv/AndroidAcademyEx2/pull/1#discussion_r222230853","pull_request_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/comments/222230853"},"html":{"href":"https://github.com/konstzv/AndroidAcademyEx2/pull/1#discussion_r222230853"},"pull_request":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/1"}},"in_reply_to_id":221151624},"pull_request":{"url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/1","id":218064944,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDY0OTQ0","html_url":"https://github.com/konstzv/AndroidAcademyEx2/pull/1","diff_url":"https://github.com/konstzv/AndroidAcademyEx2/pull/1.diff","patch_url":"https://github.com/konstzv/AndroidAcademyEx2/pull/1.patch","issue_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues/1","number":1,"state":"open","locked":false,"title":"For review","user":{"login":"konstzv","id":5062363,"node_id":"MDQ6VXNlcjUwNjIzNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5062363?v=4","gravatar_id":"","url":"https://api.github.com/users/konstzv","html_url":"https://github.com/konstzv","followers_url":"https://api.github.com/users/konstzv/followers","following_url":"https://api.github.com/users/konstzv/following{/other_user}","gists_url":"https://api.github.com/users/konstzv/gists{/gist_id}","starred_url":"https://api.github.com/users/konstzv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstzv/subscriptions","organizations_url":"https://api.github.com/users/konstzv/orgs","repos_url":"https://api.github.com/users/konstzv/repos","events_url":"https://api.github.com/users/konstzv/events{/privacy}","received_events_url":"https://api.github.com/users/konstzv/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-25T17:46:34Z","updated_at":"2018-10-03T08:50:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8af3375f19dd5282a3c660712f127666fca6eaf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues/1/comments","statuses_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/statuses/209e72b2afd97366816edcf8e4729325e5f7f3ad","head":{"label":"konstzv:dev","ref":"dev","sha":"209e72b2afd97366816edcf8e4729325e5f7f3ad","user":{"login":"konstzv","id":5062363,"node_id":"MDQ6VXNlcjUwNjIzNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5062363?v=4","gravatar_id":"","url":"https://api.github.com/users/konstzv","html_url":"https://github.com/konstzv","followers_url":"https://api.github.com/users/konstzv/followers","following_url":"https://api.github.com/users/konstzv/following{/other_user}","gists_url":"https://api.github.com/users/konstzv/gists{/gist_id}","starred_url":"https://api.github.com/users/konstzv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstzv/subscriptions","organizations_url":"https://api.github.com/users/konstzv/orgs","repos_url":"https://api.github.com/users/konstzv/repos","events_url":"https://api.github.com/users/konstzv/events{/privacy}","received_events_url":"https://api.github.com/users/konstzv/received_events","type":"User","site_admin":false},"repo":{"id":150302922,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAzMDI5MjI=","name":"AndroidAcademyEx2","full_name":"konstzv/AndroidAcademyEx2","private":false,"owner":{"login":"konstzv","id":5062363,"node_id":"MDQ6VXNlcjUwNjIzNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5062363?v=4","gravatar_id":"","url":"https://api.github.com/users/konstzv","html_url":"https://github.com/konstzv","followers_url":"https://api.github.com/users/konstzv/followers","following_url":"https://api.github.com/users/konstzv/following{/other_user}","gists_url":"https://api.github.com/users/konstzv/gists{/gist_id}","starred_url":"https://api.github.com/users/konstzv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstzv/subscriptions","organizations_url":"https://api.github.com/users/konstzv/orgs","repos_url":"https://api.github.com/users/konstzv/repos","events_url":"https://api.github.com/users/konstzv/events{/privacy}","received_events_url":"https://api.github.com/users/konstzv/received_events","type":"User","site_admin":false},"html_url":"https://github.com/konstzv/AndroidAcademyEx2","description":null,"fork":false,"url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2","forks_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/forks","keys_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/teams","hooks_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/hooks","issue_events_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues/events{/number}","events_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/events","assignees_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/assignees{/user}","branches_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/branches{/branch}","tags_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/tags","blobs_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/refs{/sha}","trees_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/statuses/{sha}","languages_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/languages","stargazers_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/stargazers","contributors_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/contributors","subscribers_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/subscribers","subscription_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/subscription","commits_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/commits{/sha}","git_commits_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/commits{/sha}","comments_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/comments{/number}","issue_comment_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues/comments{/number}","contents_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/contents/{+path}","compare_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/merges","archive_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/downloads","issues_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues{/number}","pulls_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls{/number}","milestones_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/milestones{/number}","notifications_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/labels{/name}","releases_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/releases{/id}","deployments_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/deployments","created_at":"2018-09-25T17:21:06Z","updated_at":"2018-09-25T17:38:13Z","pushed_at":"2018-09-27T12:09:04Z","git_url":"git://github.com/konstzv/AndroidAcademyEx2.git","ssh_url":"git@github.com:konstzv/AndroidAcademyEx2.git","clone_url":"https://github.com/konstzv/AndroidAcademyEx2.git","svn_url":"https://github.com/konstzv/AndroidAcademyEx2","homepage":null,"size":364,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"konstzv:master","ref":"master","sha":"1b58656dcf7ed22ab83a653448b0125b09ab5fa6","user":{"login":"konstzv","id":5062363,"node_id":"MDQ6VXNlcjUwNjIzNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5062363?v=4","gravatar_id":"","url":"https://api.github.com/users/konstzv","html_url":"https://github.com/konstzv","followers_url":"https://api.github.com/users/konstzv/followers","following_url":"https://api.github.com/users/konstzv/following{/other_user}","gists_url":"https://api.github.com/users/konstzv/gists{/gist_id}","starred_url":"https://api.github.com/users/konstzv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstzv/subscriptions","organizations_url":"https://api.github.com/users/konstzv/orgs","repos_url":"https://api.github.com/users/konstzv/repos","events_url":"https://api.github.com/users/konstzv/events{/privacy}","received_events_url":"https://api.github.com/users/konstzv/received_events","type":"User","site_admin":false},"repo":{"id":150302922,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAzMDI5MjI=","name":"AndroidAcademyEx2","full_name":"konstzv/AndroidAcademyEx2","private":false,"owner":{"login":"konstzv","id":5062363,"node_id":"MDQ6VXNlcjUwNjIzNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5062363?v=4","gravatar_id":"","url":"https://api.github.com/users/konstzv","html_url":"https://github.com/konstzv","followers_url":"https://api.github.com/users/konstzv/followers","following_url":"https://api.github.com/users/konstzv/following{/other_user}","gists_url":"https://api.github.com/users/konstzv/gists{/gist_id}","starred_url":"https://api.github.com/users/konstzv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstzv/subscriptions","organizations_url":"https://api.github.com/users/konstzv/orgs","repos_url":"https://api.github.com/users/konstzv/repos","events_url":"https://api.github.com/users/konstzv/events{/privacy}","received_events_url":"https://api.github.com/users/konstzv/received_events","type":"User","site_admin":false},"html_url":"https://github.com/konstzv/AndroidAcademyEx2","description":null,"fork":false,"url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2","forks_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/forks","keys_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/teams","hooks_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/hooks","issue_events_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues/events{/number}","events_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/events","assignees_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/assignees{/user}","branches_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/branches{/branch}","tags_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/tags","blobs_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/refs{/sha}","trees_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/statuses/{sha}","languages_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/languages","stargazers_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/stargazers","contributors_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/contributors","subscribers_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/subscribers","subscription_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/subscription","commits_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/commits{/sha}","git_commits_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/git/commits{/sha}","comments_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/comments{/number}","issue_comment_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues/comments{/number}","contents_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/contents/{+path}","compare_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/merges","archive_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/downloads","issues_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues{/number}","pulls_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls{/number}","milestones_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/milestones{/number}","notifications_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/labels{/name}","releases_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/releases{/id}","deployments_url":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/deployments","created_at":"2018-09-25T17:21:06Z","updated_at":"2018-09-25T17:38:13Z","pushed_at":"2018-09-27T12:09:04Z","git_url":"git://github.com/konstzv/AndroidAcademyEx2.git","ssh_url":"git@github.com:konstzv/AndroidAcademyEx2.git","clone_url":"https://github.com/konstzv/AndroidAcademyEx2.git","svn_url":"https://github.com/konstzv/AndroidAcademyEx2","homepage":null,"size":364,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/1"},"html":{"href":"https://github.com/konstzv/AndroidAcademyEx2/pull/1"},"issue":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues/1"},"comments":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/konstzv/AndroidAcademyEx2/statuses/209e72b2afd97366816edcf8e4729325e5f7f3ad"}},"author_association":"OWNER"}}
{"actor":{"display_login":"konstzv"}}