{"action":"closed","issue":{"url":"https://api.github.com/repos/ZieIony/Carbon/issues/223","repository_url":"https://api.github.com/repos/ZieIony/Carbon","labels_url":"https://api.github.com/repos/ZieIony/Carbon/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/ZieIony/Carbon/issues/223/comments","events_url":"https://api.github.com/repos/ZieIony/Carbon/issues/223/events","html_url":"https://github.com/ZieIony/Carbon/issues/223","id":144599338,"number":223,"title":"ProgressBar witdh from GONE to VISIBLE","user":{"login":"HectorFGarcia","id":12731574,"avatar_url":"https://avatars.githubusercontent.com/u/12731574?v=3","gravatar_id":"","url":"https://api.github.com/users/HectorFGarcia","html_url":"https://github.com/HectorFGarcia","followers_url":"https://api.github.com/users/HectorFGarcia/followers","following_url":"https://api.github.com/users/HectorFGarcia/following{/other_user}","gists_url":"https://api.github.com/users/HectorFGarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/HectorFGarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HectorFGarcia/subscriptions","organizations_url":"https://api.github.com/users/HectorFGarcia/orgs","repos_url":"https://api.github.com/users/HectorFGarcia/repos","events_url":"https://api.github.com/users/HectorFGarcia/events{/privacy}","received_events_url":"https://api.github.com/users/HectorFGarcia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-30T13:49:15Z","updated_at":"2016-04-21T09:26:42Z","closed_at":"2016-04-21T09:26:42Z","body":"When I change ProgressBar's visibility, the width changes too.\r\n\r\nExample\r\n\r\n    <carbon.widget.ProgressBar\r\n        android:layout_gravity=\"center\"\r\n        android:layout_margin=\"@dimen/carbon_padding\"\r\n        android:id=\"@+id/wait_bar\"\r\n        app:carbon_progressStyle=\"circular_indeterminate\"\r\n        app:carbon_tint=\"@color/white\"\r\n        app:carbon_barWidth=\"5dp\"\r\n        android:layout_width=\"40dp\"\r\n        android:layout_height=\"40dp\"/>\r\n\r\nThis works fine.\r\n\r\n![pb2](https://cloud.githubusercontent.com/assets/12731574/14144057/856fff1c-f68e-11e5-8ac2-76ad7d04752d.png)\r\n\r\nBut if I add this to the XML...\r\n\r\n     android:visibility=\"gone\"\r\n\r\nAnd then I do this...\r\n\r\n    waitBar.setVisibility(View.VISIBLE);\r\n\r\nThis is what happens.\r\n\r\n![pb1](https://cloud.githubusercontent.com/assets/12731574/14144107/bbb67e20-f68e-11e5-82f8-c6edc089a272.png)\r\n\r\n"}}