My requirement is to draw a straight line between three image view in android. Please some one give any solution or send me any source code. I am sending a image please have a look. enter image description here
Asked
Active
Viewed 112 times
-3
-
Are that three horizontal images fixed? If so then just put one view with green background color on top of it. – Piyush May 09 '17 at 12:11
-
No the match images not always comes horizontally. They may comes vertically or diagonally or reverse v shape. – jeet.comp May 09 '17 at 12:16
1 Answers
0
You could place transparent ImageViews
over your pictures, and if there is a winning pattern, draw the line on the ImageViews
. Maybe this help you as well:
https://stackoverflow.com/a/6179075/7325737
-
Without any code, it's difficult to help you... Edit your question and add your code, this would be much easier to help you – Hani May 09 '17 at 12:37
-
Yes now I can draw lines of the transparent image view but the problem is it not place in exact position. I think the fruits images are not generating exact coordinate. Please tell me how can I get exact image coordinate of the screen. – jeet.comp May 10 '17 at 04:55