android - How to make invisible images visible? -
i developing card game. divide 13 cards each client using server, when divide 13 cards 1st player, 9 cards invisible , remaining 4 visible. want when click 1 image, remaining 9 cards gets visible? how this? - code this: string str=" "c,a", "c,k", "c,q", "c,j", "c,10", "c,9", "c,8", "c,7", "c,6", "c,5", "c,4", "c,3", "c,2""; drawcards(str); private void drawcards(string drawstring) { string[] separated = msglog.split("\\,"); (int = 2; < separated.length - 1; += 2) { string symbol = separated[i]; string num = separated[i + 1]; string resourcename = symbol + num; //symbol , number used image xml file int resid = getresources().getidentifier(resourcename, "id", getpackagename()); im = (imageview) findviewbyid(resid); context context = im.getcontext(); ...