{"id":487,"date":"2016-12-10T15:02:32","date_gmt":"2016-12-10T16:02:32","guid":{"rendered":"http:\/\/crypt3r.ir\/wp\/?p=487"},"modified":"2016-12-10T15:42:49","modified_gmt":"2016-12-10T16:42:49","slug":"%d8%aa%d9%86%d8%b8%db%8c%d9%85-%d8%b1%d9%86%da%af-%d8%b4%db%8c%d8%a8-%d8%af%d8%a7%d8%b1-%d8%a8%d9%87-%d8%b5%d9%88%d8%b1%d8%aa-%d8%b9%d9%85%d9%88%d8%af%db%8c-%d8%a8%d8%b1%d8%a7%db%8c-%d9%85%d8%aa%d9%86","status":"publish","type":"post","link":"https:\/\/crypt3r.ir\/wp\/%d8%aa%d9%86%d8%b8%db%8c%d9%85-%d8%b1%d9%86%da%af-%d8%b4%db%8c%d8%a8-%d8%af%d8%a7%d8%b1-%d8%a8%d9%87-%d8%b5%d9%88%d8%b1%d8%aa-%d8%b9%d9%85%d9%88%d8%af%db%8c-%d8%a8%d8%b1%d8%a7%db%8c-%d9%85%d8%aa%d9%86\/","title":{"rendered":"\u062a\u0646\u0638\u06cc\u0645 \u0631\u0646\u06af \u0634\u06cc\u0628 \u062f\u0627\u0631 \u0628\u0647 \u0635\u0648\u0631\u062a \u0639\u0645\u0648\u062f\u06cc \u0628\u0631\u0627\u06cc \u0645\u062a\u0646 Label"},"content":{"rendered":"<p>\u0628\u0627 \u0627\u06cc\u0646 \u06a9\u062f \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0631\u0646\u06af \u0645\u062a\u0646 Label,Buton,EditText \u0631\u0627 \u0634\u06cc\u0628 \u062f\u0627\u0631 \u06a9\u0646\u06cc\u062f<\/p>\n<p>\u0627\u0648\u0644 \u0627\u0632 \u0647\u0645\u0647 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 JavaObject \u0631\u0627 \u062a\u06cc\u06a9 \u0628\u0632\u0646\u06cc\u062f. \u0628\u0639\u062f \u06a9\u062f Inline \u0648 \u062a\u0627\u0628\u0639 \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0627\u06a9\u062a\u06cc\u0648\u06cc\u062a\u06cc \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:java decode:true \">Sub SetLabelTVGC(Label As Label,StartColor As Int,EndColor As Int)\r\nDim j As JavaObject\r\nJ.InitializeContext.RunMethod(\"setLabelTextGradientColor\",Array(Label,StartColor,EndColor))\r\nEnd Sub\r\n\r\n#If Java\r\nimport android.graphics.*;\r\npublic void setLabelTextGradientColor(android.widget.TextView tv,int startColor,int endColor){\r\ntv.getPaint().setShader(new LinearGradient(0,0,0,tv.getLineHeight(), startColor, endColor, Shader.TileMode.REPEAT));\r\n}\r\n#End If<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062d\u0627\u0644 \u0628\u0631\u0627\u06cc \u0634\u06cc\u0628 \u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0645\u062a\u0646 Label \u06cc\u0627\u2026 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f<\/p>\n<div id=\"crayon-584c23857b4b0564148299\" class=\"crayon-syntax crayon-theme-coy crayon-font-monaco crayon-os-pc print-yes notranslate\" data-settings=\" minimize scroll-mouseover\">\n<pre class=\"lang:java decode:true \">\u00a0SetLabelTVGC(Label,StartColor,EndColor)\r\n<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<div class=\"crayon-syntax crayon-theme-coy crayon-font-monaco crayon-os-pc print-yes notranslate\" data-settings=\" minimize scroll-mouseover\">\n<p>\u0628\u0647 \u062c\u0627\u06cc Label \u0645\u062a\u063a\u06cc\u0631 Label \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0648 \u0628\u0647 \u062c\u0627\u06cc StartColor , EndColor \u0631\u0646\u06af \u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p>\u0646\u06a9\u062a\u0647:\u0647\u0631\u062c\u0627 TextSize \u0631\u0648 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u06cc\u062f \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0628\u0627\u0631 \u062f\u06cc\u06af\u0631 \u0627\u06cc\u0646 \u06a9\u062f \u0631\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0627 \u0627\u06cc\u0646 \u06a9\u062f \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0631\u0646\u06af \u0645\u062a\u0646 Label,Buton,EditText \u0631\u0627 \u0634\u06cc\u0628 \u062f\u0627\u0631 \u06a9\u0646\u06cc\u062f \u0627\u0648\u0644 \u0627\u0632 \u0647\u0645\u0647 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 JavaObject \u0631\u0627 \u062a\u06cc\u06a9 \u0628\u0632\u0646\u06cc\u062f. \u0628\u0639\u062f \u06a9\u062f Inline \u0648 \u062a\u0627\u0628\u0639 \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0627\u06a9\u062a\u06cc\u0648\u06cc\u062a\u06cc \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. &nbsp; Sub SetLabelTVGC(Label As Label,StartColor As Int,EndColor As Int) Dim j As JavaObject J.InitializeContext.RunMethod(&#8220;setLabelTextGradientColor&#8221;,Array(Label,StartColor,EndColor)) End Sub #If Java import android.graphics.*; public void setLabelTextGradientColor(android.widget.TextView tv,int [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":468,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[113],"tags":[112],"class_list":["post-487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-113","tag-112"],"_links":{"self":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts\/487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/comments?post=487"}],"version-history":[{"count":0,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts\/487\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/media\/468"}],"wp:attachment":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/media?parent=487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/categories?post=487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/tags?post=487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}