What's new? Journal of Social Activity Groups Photo Albums Forum FAQ Calendar Forum Actions Mark all forums as "no new content" Quick Links View Site Leaders List Who is Online Dev advertising on school web site SMS service
If this is your first visit, be sure to check out the FAQ by clicking the link. Also, you can type messages one must register digital scale at the site. To sign up register on the site options to choose from. To start viewing messages, select the forum that you want from the list below. If you forgot your password click here. Practical courses eShop with ASP.NET 5.0 and ASP.NET 5.0 and C # Linq and Bootstrap 3 Course Foundation digital scale Course Foundation Course ASP.NET MVC 5.0 Android 4 Programming with C # Training Course Android digital scale 4 Programming with Java Third international tournament expression programming course PHP and MySQL - in the form of practical project CMS (Basic) Course Web Design + jQuery (basic - advanced)
reza_azizi2010 View Profile View Forum Posts Private Message View Articles Member Join Date permanent residence BOJNURD Persian date Tir 1384 Posts 279 Thanks to the 163 105 Times in 75 Posts
So if the number of elements is not known in advance, the problem is that we eat. What is an element that was clicked on in the code that is necessary to add, however, and you got one Myzaryd clickListener Hrkdvm and OnClick method in your review which was clicked (I got this clickListener Myzarm and implement onClickListener after that. Although there is no difference)
I think the principal does not act like this is what you mean by dynamic? If the widget can not be changed inside the XML file type, such as run-time call them static. But if your widget's JavaScript code will add a unique look into the field can change the dynamic because each time a reasonable measure. With this definition, it's 100% dynamic account! The principle of the problem is not because of anything we use for its original use. See this thread. Almost like something you want: http://barnamenevis.org/showthread.p...D9%82%DB%8C%29
reza_azizi2010 View Profile View Forum Posts Private Message View Articles Member Join Date permanent residence BOJNURD Persian date Tir 1384 Posts 279 Thanks to the 163 105 Times in 75 Posts
What you mean by dynamic? If the widget can not be changed inside the XML file type, such as run-time call them static. But if your widget's JavaScript code will add a unique look into the field can change the dynamic because each time a reasonable measure. Like I'm just sitting digital scale down to a horizontal list! That's the explanation? digital scale That is how it should be run like a imageview to specify the number of times I was right? I mean, you got the names of the xml and how to do it? I'm quite grateful guide
Like I'm just sitting down to a horizontal list! That's the explanation? That is how it should digital scale be run like a imageview to specify the number of times I was right? I mean, you got the names of the xml and how to do it? I'm grateful I was not entirely the same way as their tips make up the ListView digital scale enable AdapterView derived from the additional recycle scrolling down the Vaio Vaio and I had a story. But this method is more effortlessly. Create a class that derives from the HorizontalScrollView. Now, in the name of the custom digital scale view Klastvn added XML editor. XML and put it to add the child as a linear layout you define. <Com.abwidget.yourClass android: id = "@ + id / show_image_gallery" android: layout_width = "match_parent" android: layout_height = "wrap_content" android: layout_alignParentBottom = "true" android: layout_alignParentLeft = "true" android: background = " # 7777 "> <LinearLayout android: layout_width =" match_parent "android: digital scale layout_height =" match_parent "android: orientation =" horizontal "android: background digital scale =" # 0000 "> </ LinearLayout> </com.abwidget.yourClass> Java Code it's something like this. I AsyncTask to download the image and the inside of the rim and scroll, and the thing was that I cut up to make the code easier. I adjusted the code a list of images and load them into Asrvl microwave broke. Click the picture for the Listener, digital scale if you define a number pulled up. public class yourclass extends HorizontalScrollView implements OnClickListener {private final int image_size digital scale = 70; private int image_min_margin = 7; private Context context; private onItemSelected event; public interface digital scale onItemSelected {abstract void ItemSelected (int item); } Public yourclass (Context context) {super (context); this.context = context; } Public yourclass (Context context, AttributeSet attrs) {super (context, attrs); digital scale this.context = context; } Public yourclass (Context context, AttributeSet attrs, int defStyle) {super (context, attrs, defStyle); this.context = context; } Public void setList (ArrayList <String> lst) {LinearLayout ll = new LinearLayout (context); try {ll = (LinearLayout) this.getChildAt (0); } Catch (Exception e) {throw new ClassCastException ("The child of gallery must be only a linear layout & q
No comments:
Post a Comment