Extension making help needed

Hey, everyone specially extension developers. I learned some java and android studio for getting some information to make extensions.
I am beginniner please help.

I am confused that in android studio we get any view by id and cast it into it’s type and use it. But how we can get views(like buttons, arrangements) in extension making process of java and use it.

Have you searched in community and Google?

1 Like

Ya, I searched and checked some open source projects but they made me more confused.

Hey dm me i have a video but it is in hindi language

In AppInventor mostly we get view using AndroidViewComponent.All visible components come in this category.
However you have more options like HVArrangement or simply the visible component name like Button , VerticalArrangement , HorizontalArrangement, etc.
Something similar to this:

public void GetView(AndroidViewComponent component){
 View view = component.getView();
}
2 Likes

Ok, I understand

You might want to check out this article in which I’ve explained how you can create an extension which adds gradient background to views. Take a look:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.