[android-developers] screen turns blank when scrolled. Linearlayout with canvas

2016-11-04 Thread Abhinandan Narendra
Hi, i have build a big bitmap and so i need scrollview to look at entire bitmap content. I am adding this canvas to linearlayout through addview option. When i scroll the screen goes blank. Below is the snippet of the code java code: Point size = new Point();

[android-developers] suggestion ideas for making texts on canvas clickable

2016-11-02 Thread Abhinandan Narendra
Hi, i have added some texts on the canvas. The canvas is created withing the scroll view and also texts are dynamic. so how can make this texts clickable. may be creating some shapes of these texts and then putting actions to this shapes will help. Looking for suggestion. - Abhinandan

[android-developers] unable to get OnClick working for spannable text of staticLayout in canvas

2016-11-02 Thread Abhinandan Narendra
Hi, i am drawing texts on canvas using StaticLayout. I am passing spannablestrings to the staticLayout and also i have defined clickablespan for the string. But clicks on the text are not triggering OnClick action. - Abhinandan -- You received this message because you are subscribed to

[android-developers] Need suggestion on storing huge data

2016-09-05 Thread Abhinandan Narendra
i have a requirement where i have to store around 430 different values. most of the 430 values of different data types, some are double, some are integer, some strings etc. i have 3 options - storing in variables and arrays - storing in files - storing in database. Storing in database looks