Can we use xml file to make extension

Hello,

I want to ask that can we use xml with java to make extensions if yes how. Please help me.

Simple answer is NO

you can not use XML in extension because extensions are written in JAVA.

What if we want to get a component such as Admob component and change its size and background and many things like this?

You could do EVERYTHING using the .java code.

1 Like

Do all things programmatically

1 Like

Nice idea, :thinking:
Maybe still posible,What extension do you want make :thinking:

regards,
kangris

I want to make tiktok like camera extension with some effects..

which xml reference to make tiktok kamera :thinking:

No you can't use XML. check the following tutorial.
https://docs.google.com/document/u/0/d/1xk9dMfczvjbbwD-wMsr-ffqkTlE3ga0ocCE1KOb2wvw/pub

xml is used for designing purpose

In android studio not in extensions.

1 Like

I had figured it out... By myself by using AndroidViewComponent..

AndroidView component refers to components of app inventor, explain more so others can undertand.

4 Likes

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