{"id":7212,"date":"2014-05-28T02:20:09","date_gmt":"2014-05-28T02:20:09","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/28\/is-it-possible-to-make-bitmap-in-textview-and-showing-in-tablelayout-collection-of-common-programming-errors\/"},"modified":"2014-05-28T02:20:09","modified_gmt":"2014-05-28T02:20:09","slug":"is-it-possible-to-make-bitmap-in-textview-and-showing-in-tablelayout-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/28\/is-it-possible-to-make-bitmap-in-textview-and-showing-in-tablelayout-collection-of-common-programming-errors\/","title":{"rendered":"Is it possible to make bitmap in TextView and showing in TableLayout?-Collection of common programming errors"},"content":{"rendered":"<p>I have bitmap scaled for show in <code>TextView<\/code> but how to add in <code>TableLayout<\/code> with row and coloumn?<\/p>\n<pre><code>    tbl = (TableLayout)findViewById(R.id.TableLayout1);\ntblrow = new TableRow(this);\n\n\npublic void bukagambar(){\n    bit = Bitmap.createScaledBitmap(bi, lebar, lebar, true);\n    int lebar_tile = bit.getWidth()\/ukurangrid;\n    for(short baris=0 ;baris<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have bitmap scaled for show in TextView but how to add in TableLayout with row and coloumn? tbl = (TableLayout)findViewById(R.id.TableLayout1); tblrow = new TableRow(this); public void bukagambar(){ bit = Bitmap.createScaledBitmap(bi, lebar, lebar, true); int lebar_tile = bit.getWidth()\/ukurangrid; for(short baris=0 ;baris<\/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-7212","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7212","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=7212"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7212\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}