P parijs Active Member Licensed User Longtime User Jan 12, 2012 #1 One: I have have pica 150x150 Use BitmapDrawable to project them at scrollview 65x65 But would pica reduce from 150x150 to 75x75 Because picas had rounded corners and I don't want to see them. Two: I use some scrollview "Yes Klaus again" But I don't understand the View_Click for me The loaded items are not always the same The mapc(nPos) must be the itemclick The favot(nPos) is what I need to go for the next layout PS I want to use the hole Panel for click Attachments code.txt code.txt 3.5 KB · Views: 365 Last edited: Jan 12, 2012
One: I have have pica 150x150 Use BitmapDrawable to project them at scrollview 65x65 But would pica reduce from 150x150 to 75x75 Because picas had rounded corners and I don't want to see them. Two: I use some scrollview "Yes Klaus again" But I don't understand the View_Click for me The loaded items are not always the same The mapc(nPos) must be the itemclick The favot(nPos) is what I need to go for the next layout PS I want to use the hole Panel for click
klaus Expert Licensed User Longtime User Jan 12, 2012 #2 Use BitmapDrawable to project them at scrollview 65x65 But would pica reduce from 150x150 to 75x75 Click to expand... Not directly. You could either create a new picture without the rounded corners or you could copy a part of the original bitmap with a canvas. The loaded items are not always the same Click to expand... What do you mean with this? The mapc(nPos) must be the itemclick The favot(nPos) is what I need to go for the next layout Click to expand... Don't really understand ? PS I want to use the hole Panel for click Click to expand... What Panel are you speaking of ? Unfortunately, just the code snippet in the txt file is not enough information to be able to give you a concrete answer. What exactly do you want to do? If you want to have in the View_Click event only a reference to the Panel1s then Panel1.Initialize("View") is OK. But all others must be xxx.Initialize("") to avoid these views to also raise the View_Click event. With the whole project as a zip file would be much easier to help you. Best regards. Upvote 0
Use BitmapDrawable to project them at scrollview 65x65 But would pica reduce from 150x150 to 75x75 Click to expand... Not directly. You could either create a new picture without the rounded corners or you could copy a part of the original bitmap with a canvas. The loaded items are not always the same Click to expand... What do you mean with this? The mapc(nPos) must be the itemclick The favot(nPos) is what I need to go for the next layout Click to expand... Don't really understand ? PS I want to use the hole Panel for click Click to expand... What Panel are you speaking of ? Unfortunately, just the code snippet in the txt file is not enough information to be able to give you a concrete answer. What exactly do you want to do? If you want to have in the View_Click event only a reference to the Panel1s then Panel1.Initialize("View") is OK. But all others must be xxx.Initialize("") to avoid these views to also raise the View_Click event. With the whole project as a zip file would be much easier to help you. Best regards.
P parijs Active Member Licensed User Longtime User Jan 12, 2012 #3 Have a look first Klaus. Best regards, Zeger File was to big http://83.84.193.100/android/alacarte.zip Last edited: Jan 12, 2012 Upvote 0
Have a look first Klaus. Best regards, Zeger File was to big http://83.84.193.100/android/alacarte.zip