I am creating a drawing app in which I am using a custom interactable view, I am drawing an open path, I want its corners to be rounded. In android I ...
I am creating a drawing app in which I am using a custom interactable view, I am drawing an open path, I want its corners to be rounded. In android I ...
I want to create a custom PreferenceScreen class in java having custom layout set to it. I have create the custom class for ListPreference, CheckboxPr ...
I have created a custom view class extending Android's WebView, but when I add it to an xml layout, it appears as a gray block. I would like to show a ...
How can I use StateListDrawable for my Custom View on Android before Q version (API<29)? I have an XML StateListDrawable to enabled/disabled state ...
I'm observing an issue where the onMeasure method of my custom view is receiving a MeasureSpec that corresponds to the full parent view's size, instea ...
I would like to know if it possible to use and draw a view such as a TextView or Chronometer inside my custom View which uses the canvas to perform dr ...
I'm creating a custom view, and I write code like this: public class TestView extends BaseCustomView<ViewTestBinding> { ... @NonNull pr ...
After drawing a circle on imageview (Extending imageview) custom view, I want to paint the bottom side (30%) and place an image on the other top side ...
. Answers to this question are eligible for a +250 reputation bounty. D ...
According to this topic: How to override method in library? I would like to override some methods and variables from InkView. Is it possible? :) I h ...
A simple CustomViewGroup is like this: // kotlin class MyLayout : ConstraintLayout { init{ inflate(... R.layout.my_layout ...) } } ...
I have 2 alerts in sequence, where the last one does not close with dismiss, could you help me please? Below my code snippet. I have a custom view ...
Hello my goal is to make my custom view (ViewCircleOfInterest.java) receiving onClick. Now every time I click onClickListener on ViewCircleOfInterest. ...
I need to make lucky wheel like view, and there texts are drawn regarding the radius, as you can see image below. ( there you can see red line, I want ...
I have a custom View in a Relative layout: which draws a calendar. GardenCalendarView.java : and then Plant.java: and Bar.java: Now I am ...
In my application I create one custom view for show TextView and FontAwesome! I write below codes, but not set values and just show default values! Te ...
I wonder if it would be possible to use this EPG customview in a fragment? it works perfectly in Activity, but onDraw isn't be called in a fragment, o ...
I want to create the below-jagged look for the background for my invoice view. How do I achieve this? I am unable to recreate the same with the custom ...
I'm setting some attributes with declare-styleable to make a custom view. One of this attributes is a string. What I want to do, is that if I dont set ...
I'm trying to make a custom view of an EditText with a TextView under it which says the error of the validation. My idea is to make a validation of m ...