1 | import android.app.Activity; |
2 | import android.widget.*; |
3 | import android.graphics.*; |
4 | |
5 | static void androidShowFullScreenImage(final S imageID) { |
6 | thread "showimg" { |
7 | ImageView iv = new ImageView(androidContext()); |
8 | iv.setImageBitmap(BitmapFactory.decodeFile(loadLibrary(imageID).getPath())); |
9 | androidShow(iv); |
10 | } |
11 | } |
12 | |
13 | static void androidShowFullScreenImage(final S imageID, final int borderColor) { |
14 | thread "showimg" { |
15 | ImageView iv = new ImageView(androidContext()); |
16 | iv.setBackgroundColor(borderColor); |
17 | iv.setImageBitmap(BitmapFactory.decodeFile(loadLibrary(imageID).getPath())); |
18 | androidShow(iv); |
19 | } |
20 | } |
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: | 667 / 929 |
Referenced in: | [show references] |