-
### Description
I am creating a custom component in HarmonyOS using Java SDK. Where I have to work on Animation for animate component. I have to animates component between int values. For that I need…
-
### Describe the query
I am building a HarmonyOS application and want to load color values that I have placed in the resources folder in `resources/base/element/color.json`. How can I load this color…
-
### Describe the query
I am writing a helper class to zoom an image in HarmonyOS using Java SDK. I want to get the touch coordinates of the dispatched touch, in Android we can use the following code …
-
# Query Description
In Android we will use getImageMatrix( ) method on imageView which returns view's optional matrix. This is applied to the view's drawable when it is drawn. If there is no matrix, …
-
### Description
I am creating a custom component in HarmonyOS using Java SDK, where I created some attributes for my custom component. Now the problem is "whenever I am trying to set any value in att…
-
I am using invalidate() in my onDraw to get a loading view but it is not starting the onDraw call.
```
public void onDraw(Component component, Canvas canvas) {
invalidate()
}
```
##Link to sta…
-
### Describe the query
I am implementing a custom component and trying to take input from XML for an attribute. In Android, it looks something like this
```xml
```
How can I do this in HarmonyOS…
-
### Describe the query
I have defined some strings which I can access using Resource Table. How can I define and use Plurals similarly?
### Create the query with harmonyos tag in stackoverflow and…
-
### Describe the query
I can't find the onDraw() method in Component. Can someone explain to me how to override the onDraw method for Component in Harmony OS?
### Create the query with harmonyos t…
-
### Describe the query
I have defined a string name and value in the string.json under the element folder. How to access those values in the java code?
### Create the query with harmonyos tag in …