{"id":5762,"date":"2014-04-06T17:04:43","date_gmt":"2014-04-06T17:04:43","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/06\/problem-about-radial-gradients-collection-of-common-programming-errors\/"},"modified":"2014-04-06T17:04:43","modified_gmt":"2014-04-06T17:04:43","slug":"problem-about-radial-gradients-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/06\/problem-about-radial-gradients-collection-of-common-programming-errors\/","title":{"rendered":"problem about radial-gradients-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/633641379\/picture?type=large\" \/><br \/>\nshaylh<br \/>\nandroid android-xml radial-gradients shapedrawable<br \/>\nI&#8217;m trying to create a shape drawable with radial gradient background, with radius that will adjust to the screen size (take a look at the relevant documentation).This is my code:&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt; &lt;shape xmlns:android=&#8221;http:\/\/schemas.android.com\/apk\/res\/android&#8221;android:shape=&#8221;rectangle&#8221; &gt;&lt;gradientandroid:endColor=&#8221;#000&#8243;android:gradientRadius=&#8221;50%p&#8221;android:startColor=&#8221;#5d2456&#8243;android:type=&#8221;radial&#8221; \/&gt; &lt;\/shape&gt;But it doens&#8217;t seem to work. if I remove the<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>shaylh android android-xml radial-gradients shapedrawable I&#8217;m trying to create a shape drawable with radial gradient background, with radius that will adjust to the screen size (take a look at the relevant documentation).This is my code:&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt; &lt;shape xmlns:android=&#8221;http:\/\/schemas.android.com\/apk\/res\/android&#8221;android:shape=&#8221;rectangle&#8221; &gt;&lt;gradientandroid:endColor=&#8221;#000&#8243;android:gradientRadius=&#8221;50%p&#8221;android:startColor=&#8221;#5d2456&#8243;android:type=&#8221;radial&#8221; \/&gt; &lt;\/shape&gt;But it doens&#8217;t seem to work. if I remove the Web site is in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5762","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5762"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5762\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}