custom-view
how to use custom views in layout xml
I\'ve created a custom layout to show gif animated image. Here is the code: public class GIFView extends View{[详细]
2023-04-13 08:47 分类:问答Android: Update custom surfaceview canvas between two states
I have a custom SurfaceView defined in my layout xml. I can draw to the canvas no problem with an associated external class which extended SurfaceView. However, my aim is to draw an initial state (let[详细]
2023-04-12 07:22 分类:问答Camera with Custom View
My Application uses 开发者_StackOverflowcamera, I would like to add overlay over the camera preview. For example, I want to use a picture frame when I use Camera, also I would like to add a custom bar[详细]
2023-04-10 23:47 分类:问答Custom Viewgroup works inside LinearLayout not RelativeLayout
I wanted to create a custom LinearLayout (and later a custom ImageButton) that could take percentage values for both dimensions of size based on its parent\'s size regardless of the parent type (Relat[详细]
2023-04-10 16:36 分类:问答issue with CustomView drawing in my application
What is wrong in my code here.why it is not drawing my customview on screen. class CustActivty extends Activty{[详细]
2023-04-09 23:09 分类:问答Android - how to position this custom balloon view with RelativeLayout
Im stuck in getting this to work. Look at the picture below, i want the bubble to be placed under the image.[详细]
2023-04-09 01:21 分类:问答how to Custom Button (has two TextFields) on Android
I need to develop a button that has two label in. I find some good articles about custom views, but I can\'t imagine that how can I create a myButton Class(with custom layout in it) extends button..[详细]
2023-04-05 21:40 分类:问答Access components within my custom view (inflated layout)?
I\'m probably making some silly mistake. I have a custom view and use LayoutInflater to get the layout from an XML.[详细]
2023-04-04 06:15 分类:问答Diamond shape view
I try to create diamond sha开发者_如何学运维pe View. I want use it in popup. Does anyone have any idea how to do it ?[详细]
2023-04-04 05:52 分类:问答How to Handle TouchEvents for Child View(CustomView) in Parent View (ScrollView)?
In my app i am using ScrollView for scrolling the ImageView, and i will add one customview dynamically to that ScrollView overlay of ImageView, i have onTouch events for customview. after adding to th[详细]
2023-04-04 05:32 分类:问答