custom-view
Android user interface with bitmaps problem
I have a class Ball which extents View.Inside there i give some characteristics and implements onTouchEvent() so i can handle the movement.Also i use onDraw so i can draw the bitmap of the ball. in my[详细]
2023-02-11 12:45 分类:问答Custom EditText vertical alignment
I created a custom EditText (actually, I just set a background drawable). The problem is that its text is always top-aligned, and I want it to be vertical-center-aligned. I\'ve already tried to set it[详细]
2023-02-11 01:16 分类:问答How to implement a custom view engine in ASP.Net MVC that (sorta) isn't file-based?
I\'ve created a fairly generic view engine that I created initially without aiming toward ASP.Net MVC. Now though, I think it would be a good idea to have it to where it can at least be easily used by[详细]
2023-02-10 08:47 分类:问答Can't override onMeasure method
I need to override onMeasure method but when trying to override I get error: The method OnMeasure(int, int) of type DrawLnClass.DrawLn must override a superclass method[详细]
2023-02-08 03:02 分类:问答Most efficient way to draw Buttons on top of a View?
The app I am working on consists of one large custom view that fills the screen. I placed one button in the center of each side of the custom view that can be used to move the drawn object in that dir[详细]
2023-02-07 05:05 分类:问答How add a floating view in Activity
I build a SideBar menu that contains some icons, when clicking on one of them, I need to popover a view next to the bar with a View inside of it.[详细]
2023-02-06 18:00 分类:问答Django admin: What is the best way to add a custom list view?
I want to provide a custom view in the admin very similar to changelist_view(), but without the links to the edit form view. Users will be able to select the items in the list and apply actions just l[详细]
2023-02-01 10:22 分类:问答How can I add a Button to a custom scrolling and zooming SurfaceView?
I wanted to add a custom ImageButton on top of my SurfaceView so it e开发者_开发技巧ssentially scrolls with the View. The canvas scrolls and zooms with a matrix. How could I go about doing this? Thank[详细]
2023-01-31 13:29 分类:问答UIBarButton doesn't restore itself when I set customView to nil
I\'ve got a UIBarButtonItem that refreshes my data, and while the update is in process, I set refreshButton.customView to an instance of UIActivityIndicator, which is displayed fine. However, when dat[详细]
2023-01-29 11:48 分类:问答Android ProgressDialog with setContentView
I\'ve read a hell of a lot about this, and can\'t see anyone who\'s done or tried it before. So I\'ve got an object that extends ImageView, the开发者_Go百科n within this I call a progress dialog and[详细]
2023-01-28 23:59 分类:问答