import android.app.Activity; import android.widget.*; import android.graphics.*; static void androidShowFullScreenImage(final S imageID) { thread "showimg" { ImageView iv = new ImageView(androidContext()); iv.setImageBitmap(BitmapFactory.decodeFile(loadLibrary(imageID).getPath())); androidShow(iv); } } static void androidShowFullScreenImage(final S imageID, final int borderColor) { thread "showimg" { ImageView iv = new ImageView(androidContext()); iv.setBackgroundColor(borderColor); iv.setImageBitmap(BitmapFactory.decodeFile(loadLibrary(imageID).getPath())); androidShow(iv); } }
Began life as a copy of #1000419
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001281 |
Snippet name: | androidShowFullScreenImage |
Eternal ID of this version: | #1001281/1 |
Text MD5: | e407af16b56624fc7074ffa1ccfc1533 |
Author: | stefan |
Category: | javax android |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-16 16:38:37 |
Source code size: | 676 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 666 / 927 |
Referenced in: | [show references] |