{"action":"created","issue":{"url":"https://api.github.com/repos/Cleveroad/CycleMenu/issues/4","repository_url":"https://api.github.com/repos/Cleveroad/CycleMenu","labels_url":"https://api.github.com/repos/Cleveroad/CycleMenu/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Cleveroad/CycleMenu/issues/4/comments","events_url":"https://api.github.com/repos/Cleveroad/CycleMenu/issues/4/events","html_url":"https://github.com/Cleveroad/CycleMenu/issues/4","id":288400904,"node_id":"MDU6SXNzdWUyODg0MDA5MDQ=","number":4,"title":"Menu items do not fit into the view","user":{"login":"reversecoder","id":6149036,"node_id":"MDQ6VXNlcjYxNDkwMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/6149036?v=4","gravatar_id":"","url":"https://api.github.com/users/reversecoder","html_url":"https://github.com/reversecoder","followers_url":"https://api.github.com/users/reversecoder/followers","following_url":"https://api.github.com/users/reversecoder/following{/other_user}","gists_url":"https://api.github.com/users/reversecoder/gists{/gist_id}","starred_url":"https://api.github.com/users/reversecoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reversecoder/subscriptions","organizations_url":"https://api.github.com/users/reversecoder/orgs","repos_url":"https://api.github.com/users/reversecoder/repos","events_url":"https://api.github.com/users/reversecoder/events{/privacy}","received_events_url":"https://api.github.com/users/reversecoder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-14T11:25:03Z","updated_at":"2018-11-13T15:33:36Z","closed_at":"2018-11-13T15:33:36Z","author_association":"NONE","body":"Hello,\r\n\r\nThanks for the beautiful library.\r\n\r\nI have used CycleMenu into the activity view. I wanted to add 3 items into view. The parent view is a relative layout-\r\n\r\n`<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    xmlns:app=\"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:background=\"#FFFFFF\"\r\n    tools:context=\"com.cleveroad.cyclemenusample.MainActivity\">\r\n\r\n    <com.cleveroad.cyclemenuwidget.CycleMenuWidget\r\n        android:id=\"@+id/cycleMenuView\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\"\r\n        android:layout_alignParentBottom=\"true\"\r\n        app:cm_autoMaxRadius=\"180dp\"\r\n        app:cm_autoMinRadius=\"10dp\"\r\n        app:cm_corner=\"right_bottom\"\r\n        app:cm_fixedRadius=\"200dp\"\r\n        app:cm_item_background_tint=\"#6a81fe\"\r\n        app:cm_radius_scale_type=\"auto\"\r\n        app:cm_scroll_type=\"endless\" />\r\n\r\n</RelativeLayout>`\r\nAnd Called from activity like thus-\r\n\r\n`CycleMenuWidget cycleMenuWidget = (CycleMenuWidget) findViewById(R.id.cycleMenuView);\r\n        cycleMenuWidget.setMenuRes(R.menu.cycle_menu_3);`\r\n\r\nFinally getting this result-\r\n\r\n![screenshot_20180114-170703](https://user-images.githubusercontent.com/6149036/34915353-5702f16e-f94f-11e7-9557-9609ce7d64a4.png)\r\n\r\nI have also tried to add this programmatically, but always goes one item under layout from 3 three items. But in recycler view 3 items fit properly.\r\n\r\n![screenshot_20180114-175513](https://user-images.githubusercontent.com/6149036/34915673-7d2b0fde-f954-11e7-8836-025c1020b1d5.png)\r\n\r\nThanks in advance for any workaround without recyclerview."},"comment":{"url":"https://api.github.com/repos/Cleveroad/CycleMenu/issues/comments/438308924","html_url":"https://github.com/Cleveroad/CycleMenu/issues/4#issuecomment-438308924","issue_url":"https://api.github.com/repos/Cleveroad/CycleMenu/issues/4","id":438308924,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODMwODkyNA==","user":{"login":"VadimHalimendikCr","id":39762210,"node_id":"MDQ6VXNlcjM5NzYyMjEw","avatar_url":"https://avatars3.githubusercontent.com/u/39762210?v=4","gravatar_id":"","url":"https://api.github.com/users/VadimHalimendikCr","html_url":"https://github.com/VadimHalimendikCr","followers_url":"https://api.github.com/users/VadimHalimendikCr/followers","following_url":"https://api.github.com/users/VadimHalimendikCr/following{/other_user}","gists_url":"https://api.github.com/users/VadimHalimendikCr/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimHalimendikCr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimHalimendikCr/subscriptions","organizations_url":"https://api.github.com/users/VadimHalimendikCr/orgs","repos_url":"https://api.github.com/users/VadimHalimendikCr/repos","events_url":"https://api.github.com/users/VadimHalimendikCr/events{/privacy}","received_events_url":"https://api.github.com/users/VadimHalimendikCr/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T15:33:36Z","updated_at":"2018-11-13T15:33:36Z","author_association":"COLLABORATOR","body":"In version 1.0.2 of the library this was fixed."}}
{"actor":{"display_login":"VadimHalimendikCr"}}