Need to convert this XML to generate View as Java code

I want to convert this XML code to Java for generate view object in java

If anyone can do this then please convert this xml to java code.

<LinearLayout

    android:layout_width="match_parent"

    android:layout_height="90dp"

    android:orientation="horizontal">

            <ImageView

                android:id="@+id/imgThumbnail"

                android:layout_width="90dp"

                android:layout_height="90dp"

                android:layout_marginStart="1dp"

                android:layout_marginLeft="1dp"

                android:layout_marginTop="1dp"

                android:scaleType="centerCrop" />

            <LinearLayout

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:layout_margin="10dp"

                android:gravity="center"

                android:minHeight="90dp"

                android:orientation="vertical">

                <TextView

                    android:id="@+id/txtTitle"

                    android:layout_width="match_parent"

                    android:layout_height="wrap_content"

                    android:layout_marginStart="10dp"

                    android:layout_marginEnd="10dp"

                    android:ellipsize="end"

                    android:gravity="start|center_vertical"

                    android:textSize="14dp"

                    android:maxLines="2"

                   android:textColor="@android:color/black" />

                <TextView

                    android:id="@+id/txtDescription"

                    android:layout_width="match_parent"

                    android:layout_height="wrap_content"

                    android:layout_marginStart="10dp"

                    android:layout_marginTop="5dp"

                    android:layout_marginEnd="10dp"

                    android:ellipsize="end"

                    android:gravity="start|center_vertical"

                    android:maxLines="1"

                    android:textSize="14sp" />

                <LinearLayout

                    android:layout_width="match_parent"

                    android:layout_height="wrap_content"

                    android:layout_marginStart="10dp"

                    android:layout_marginTop="5dp"

                    android:layout_marginEnd="10dp"

                    android:orientation="horizontal">

                    <ImageView

                        android:id="@+id/imgFavorIcon"

                        android:layout_width="15dp"

                        android:layout_height="15dp"

                        android:scaleType="fitXY" />

                    <TextView

                        android:id="@+id/txtURL"

                        android:layout_width="wrap_content"

                        android:layout_height="wrap_content"

                        android:layout_marginStart="5dp"

                        android:layout_marginLeft="5dp"

                        android:ellipsize="end"

                        android:gravity="start|center_vertical"

                        android:maxLines="1"

                        android:textSize="12dp" />

                </LinearLayout>

            </LinearLayout>

</LinearLayout>

This converted view object should be like this image

(Advance thanks)

public class Codebeautify {
 Android.support.constraint.ConstraintLayout Android.support.constraint.ConstraintLayoutObject;


 // Getter Methods 

 public Android.support.constraint.ConstraintLayout getAndroid.support.constraint.ConstraintLayout() {
  return Android.support.constraint.ConstraintLayoutObject;
 }

 // Setter Methods 

 public void setAndroid.support.constraint.ConstraintLayout(Android.support.constraint.ConstraintLayout android.support.constraint.ConstraintLayoutObject) {
  this.Android.support.constraint.ConstraintLayoutObject = android.support.constraint.ConstraintLayoutObject;
 }
}
public class Android.support.constraint.ConstraintLayout {
 ProgressBar ProgressBarObject;
 Android.support.constraint.ConstraintLayout Android.support.constraint.ConstraintLayoutObject;
 private String _xmlns: android;
 private String _xmlns: app;
 private String _xmlns: tools;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: background;


 // Getter Methods 

 public ProgressBar getProgressBar() {
  return ProgressBarObject;
 }

 public Android.support.constraint.ConstraintLayout getAndroid.support.constraint.ConstraintLayout() {
  return Android.support.constraint.ConstraintLayoutObject;
 }

 public String get_xmlns: android() {
  return _xmlns: android;
 }

 public String get_xmlns: app() {
  return _xmlns: app;
 }

 public String get_xmlns: tools() {
  return _xmlns: tools;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: background() {
  return _android: background;
 }

 // Setter Methods 

 public void setProgressBar(ProgressBar ProgressBarObject) {
  this.ProgressBarObject = ProgressBarObject;
 }

 public void setAndroid.support.constraint.ConstraintLayout(Android.support.constraint.ConstraintLayout android.support.constraint.ConstraintLayoutObject) {
  this.Android.support.constraint.ConstraintLayoutObject = android.support.constraint.ConstraintLayoutObject;
 }

 public void set_xmlns: android(String _xmlns: android) {
  this._xmlns: android = _xmlns: android;
 }

 public void set_xmlns: app(String _xmlns: app) {
  this._xmlns: app = _xmlns: app;
 }

 public void set_xmlns: tools(String _xmlns: tools) {
  this._xmlns: tools = _xmlns: tools;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: background(String _android: background) {
  this._android: background = _android: background;
 }
}
public class Android.support.constraint.ConstraintLayout {
 Android.support.constraint.ConstraintLayout Android.support.constraint.ConstraintLayoutObject;
 private String _android: id;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: visibility;
 private String _app: layout_constraintLeft_toLeftOf;
 private String _app: layout_constraintRight_toRightOf;


 // Getter Methods 

 public Android.support.constraint.ConstraintLayout getAndroid.support.constraint.ConstraintLayout() {
  return Android.support.constraint.ConstraintLayoutObject;
 }

 public String get_android: id() {
  return _android: id;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: visibility() {
  return _android: visibility;
 }

 public String get_app: layout_constraintLeft_toLeftOf() {
  return _app: layout_constraintLeft_toLeftOf;
 }

 public String get_app: layout_constraintRight_toRightOf() {
  return _app: layout_constraintRight_toRightOf;
 }

 // Setter Methods 

 public void setAndroid.support.constraint.ConstraintLayout(Android.support.constraint.ConstraintLayout android.support.constraint.ConstraintLayoutObject) {
  this.Android.support.constraint.ConstraintLayoutObject = android.support.constraint.ConstraintLayoutObject;
 }

 public void set_android: id(String _android: id) {
  this._android: id = _android: id;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: visibility(String _android: visibility) {
  this._android: visibility = _android: visibility;
 }

 public void set_app: layout_constraintLeft_toLeftOf(String _app: layout_constraintLeft_toLeftOf) {
  this._app: layout_constraintLeft_toLeftOf = _app: layout_constraintLeft_toLeftOf;
 }

 public void set_app: layout_constraintRight_toRightOf(String _app: layout_constraintRight_toRightOf) {
  this._app: layout_constraintRight_toRightOf = _app: layout_constraintRight_toRightOf;
 }
}
public class Android.support.constraint.ConstraintLayout {
 ImageView ImageViewObject;
 LinearLayout LinearLayoutObject;
 private String _android: id;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: layout_marginTop;
 private String _android: layout_marginBottom;
 private String _android: visibility;


 // Getter Methods 

 public ImageView getImageView() {
  return ImageViewObject;
 }

 public LinearLayout getLinearLayout() {
  return LinearLayoutObject;
 }

 public String get_android: id() {
  return _android: id;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: layout_marginTop() {
  return _android: layout_marginTop;
 }

 public String get_android: layout_marginBottom() {
  return _android: layout_marginBottom;
 }

 public String get_android: visibility() {
  return _android: visibility;
 }

 // Setter Methods 

 public void setImageView(ImageView ImageViewObject) {
  this.ImageViewObject = ImageViewObject;
 }

 public void setLinearLayout(LinearLayout LinearLayoutObject) {
  this.LinearLayoutObject = LinearLayoutObject;
 }

 public void set_android: id(String _android: id) {
  this._android: id = _android: id;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: layout_marginTop(String _android: layout_marginTop) {
  this._android: layout_marginTop = _android: layout_marginTop;
 }

 public void set_android: layout_marginBottom(String _android: layout_marginBottom) {
  this._android: layout_marginBottom = _android: layout_marginBottom;
 }

 public void set_android: visibility(String _android: visibility) {
  this._android: visibility = _android: visibility;
 }
}
public class LinearLayout {
 ArrayList < Object > TextView = new ArrayList < Object > ();
 Android.support.constraint.ConstraintLayout Android.support.constraint.ConstraintLayoutObject;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: layout_margin;
 private String _android: gravity;
 private String _android: minHeight;
 private String _android: orientation;
 private String _app: layout_constraintBottom_toBottomOf;
 private String _app: layout_constraintLeft_toRightOf;
 private String _app: layout_constraintRight_toRightOf;
 private String _app: layout_constraintTop_toTopOf;


 // Getter Methods 

 public Android.support.constraint.ConstraintLayout getAndroid.support.constraint.ConstraintLayout() {
  return Android.support.constraint.ConstraintLayoutObject;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: layout_margin() {
  return _android: layout_margin;
 }

 public String get_android: gravity() {
  return _android: gravity;
 }

 public String get_android: minHeight() {
  return _android: minHeight;
 }

 public String get_android: orientation() {
  return _android: orientation;
 }

 public String get_app: layout_constraintBottom_toBottomOf() {
  return _app: layout_constraintBottom_toBottomOf;
 }

 public String get_app: layout_constraintLeft_toRightOf() {
  return _app: layout_constraintLeft_toRightOf;
 }

 public String get_app: layout_constraintRight_toRightOf() {
  return _app: layout_constraintRight_toRightOf;
 }

 public String get_app: layout_constraintTop_toTopOf() {
  return _app: layout_constraintTop_toTopOf;
 }

 // Setter Methods 

 public void setAndroid.support.constraint.ConstraintLayout(Android.support.constraint.ConstraintLayout android.support.constraint.ConstraintLayoutObject) {
  this.Android.support.constraint.ConstraintLayoutObject = android.support.constraint.ConstraintLayoutObject;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: layout_margin(String _android: layout_margin) {
  this._android: layout_margin = _android: layout_margin;
 }

 public void set_android: gravity(String _android: gravity) {
  this._android: gravity = _android: gravity;
 }

 public void set_android: minHeight(String _android: minHeight) {
  this._android: minHeight = _android: minHeight;
 }

 public void set_android: orientation(String _android: orientation) {
  this._android: orientation = _android: orientation;
 }

 public void set_app: layout_constraintBottom_toBottomOf(String _app: layout_constraintBottom_toBottomOf) {
  this._app: layout_constraintBottom_toBottomOf = _app: layout_constraintBottom_toBottomOf;
 }

 public void set_app: layout_constraintLeft_toRightOf(String _app: layout_constraintLeft_toRightOf) {
  this._app: layout_constraintLeft_toRightOf = _app: layout_constraintLeft_toRightOf;
 }

 public void set_app: layout_constraintRight_toRightOf(String _app: layout_constraintRight_toRightOf) {
  this._app: layout_constraintRight_toRightOf = _app: layout_constraintRight_toRightOf;
 }

 public void set_app: layout_constraintTop_toTopOf(String _app: layout_constraintTop_toTopOf) {
  this._app: layout_constraintTop_toTopOf = _app: layout_constraintTop_toTopOf;
 }
}
public class Android.support.constraint.ConstraintLayout {
 ImageView ImageViewObject;
 TextView TextViewObject;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: layout_marginStart;
 private String _android: layout_marginTop;
 private String _android: layout_marginEnd;
 private String _android: orientation;


 // Getter Methods 

 public ImageView getImageView() {
  return ImageViewObject;
 }

 public TextView getTextView() {
  return TextViewObject;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: layout_marginStart() {
  return _android: layout_marginStart;
 }

 public String get_android: layout_marginTop() {
  return _android: layout_marginTop;
 }

 public String get_android: layout_marginEnd() {
  return _android: layout_marginEnd;
 }

 public String get_android: orientation() {
  return _android: orientation;
 }

 // Setter Methods 

 public void setImageView(ImageView ImageViewObject) {
  this.ImageViewObject = ImageViewObject;
 }

 public void setTextView(TextView TextViewObject) {
  this.TextViewObject = TextViewObject;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: layout_marginStart(String _android: layout_marginStart) {
  this._android: layout_marginStart = _android: layout_marginStart;
 }

 public void set_android: layout_marginTop(String _android: layout_marginTop) {
  this._android: layout_marginTop = _android: layout_marginTop;
 }

 public void set_android: layout_marginEnd(String _android: layout_marginEnd) {
  this._android: layout_marginEnd = _android: layout_marginEnd;
 }

 public void set_android: orientation(String _android: orientation) {
  this._android: orientation = _android: orientation;
 }
}
public class TextView {
 private String _android: id;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: layout_marginStart;
 private String _android: layout_marginLeft;
 private String _android: ellipsize;
 private String _android: gravity;
 private String _android: maxLines;
 private String _android: text;
 private String _android: textSize;
 private String _app: layout_constraintLeft_toRightOf;
 private String _app: layout_constraintRight_toRightOf;


 // Getter Methods 

 public String get_android: id() {
  return _android: id;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: layout_marginStart() {
  return _android: layout_marginStart;
 }

 public String get_android: layout_marginLeft() {
  return _android: layout_marginLeft;
 }

 public String get_android: ellipsize() {
  return _android: ellipsize;
 }

 public String get_android: gravity() {
  return _android: gravity;
 }

 public String get_android: maxLines() {
  return _android: maxLines;
 }

 public String get_android: text() {
  return _android: text;
 }

 public String get_android: textSize() {
  return _android: textSize;
 }

 public String get_app: layout_constraintLeft_toRightOf() {
  return _app: layout_constraintLeft_toRightOf;
 }

 public String get_app: layout_constraintRight_toRightOf() {
  return _app: layout_constraintRight_toRightOf;
 }

 // Setter Methods 

 public void set_android: id(String _android: id) {
  this._android: id = _android: id;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: layout_marginStart(String _android: layout_marginStart) {
  this._android: layout_marginStart = _android: layout_marginStart;
 }

 public void set_android: layout_marginLeft(String _android: layout_marginLeft) {
  this._android: layout_marginLeft = _android: layout_marginLeft;
 }

 public void set_android: ellipsize(String _android: ellipsize) {
  this._android: ellipsize = _android: ellipsize;
 }

 public void set_android: gravity(String _android: gravity) {
  this._android: gravity = _android: gravity;
 }

 public void set_android: maxLines(String _android: maxLines) {
  this._android: maxLines = _android: maxLines;
 }

 public void set_android: text(String _android: text) {
  this._android: text = _android: text;
 }

 public void set_android: textSize(String _android: textSize) {
  this._android: textSize = _android: textSize;
 }

 public void set_app: layout_constraintLeft_toRightOf(String _app: layout_constraintLeft_toRightOf) {
  this._app: layout_constraintLeft_toRightOf = _app: layout_constraintLeft_toRightOf;
 }

 public void set_app: layout_constraintRight_toRightOf(String _app: layout_constraintRight_toRightOf) {
  this._app: layout_constraintRight_toRightOf = _app: layout_constraintRight_toRightOf;
 }
}
public class ImageView {
 private String _android: id;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: scaleType;
 private String _android: visibility;
 private String _app: layout_constraintBottom_toBottomOf;
 private String _app: layout_constraintLeft_toLeftOf;
 private String _app: layout_constraintTop_toTopOf;
 private String _tools: ignore;


 // Getter Methods 

 public String get_android: id() {
  return _android: id;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: scaleType() {
  return _android: scaleType;
 }

 public String get_android: visibility() {
  return _android: visibility;
 }

 public String get_app: layout_constraintBottom_toBottomOf() {
  return _app: layout_constraintBottom_toBottomOf;
 }

 public String get_app: layout_constraintLeft_toLeftOf() {
  return _app: layout_constraintLeft_toLeftOf;
 }

 public String get_app: layout_constraintTop_toTopOf() {
  return _app: layout_constraintTop_toTopOf;
 }

 public String get_tools: ignore() {
  return _tools: ignore;
 }

 // Setter Methods 

 public void set_android: id(String _android: id) {
  this._android: id = _android: id;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: scaleType(String _android: scaleType) {
  this._android: scaleType = _android: scaleType;
 }

 public void set_android: visibility(String _android: visibility) {
  this._android: visibility = _android: visibility;
 }

 public void set_app: layout_constraintBottom_toBottomOf(String _app: layout_constraintBottom_toBottomOf) {
  this._app: layout_constraintBottom_toBottomOf = _app: layout_constraintBottom_toBottomOf;
 }

 public void set_app: layout_constraintLeft_toLeftOf(String _app: layout_constraintLeft_toLeftOf) {
  this._app: layout_constraintLeft_toLeftOf = _app: layout_constraintLeft_toLeftOf;
 }

 public void set_app: layout_constraintTop_toTopOf(String _app: layout_constraintTop_toTopOf) {
  this._app: layout_constraintTop_toTopOf = _app: layout_constraintTop_toTopOf;
 }

 public void set_tools: ignore(String _tools: ignore) {
  this._tools: ignore = _tools: ignore;
 }
}
public class ImageView {
 private String _android: id;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: layout_marginStart;
 private String _android: layout_marginLeft;
 private String _android: layout_marginTop;
 private String _android: scaleType;
 private String _android: src;
 private String _app: layout_constraintBottom_toBottomOf;
 private String _app: layout_constraintLeft_toLeftOf;
 private String _app: layout_constraintTop_toTopOf;
 private String _tools: ignore;


 // Getter Methods 

 public String get_android: id() {
  return _android: id;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: layout_marginStart() {
  return _android: layout_marginStart;
 }

 public String get_android: layout_marginLeft() {
  return _android: layout_marginLeft;
 }

 public String get_android: layout_marginTop() {
  return _android: layout_marginTop;
 }

 public String get_android: scaleType() {
  return _android: scaleType;
 }

 public String get_android: src() {
  return _android: src;
 }

 public String get_app: layout_constraintBottom_toBottomOf() {
  return _app: layout_constraintBottom_toBottomOf;
 }

 public String get_app: layout_constraintLeft_toLeftOf() {
  return _app: layout_constraintLeft_toLeftOf;
 }

 public String get_app: layout_constraintTop_toTopOf() {
  return _app: layout_constraintTop_toTopOf;
 }

 public String get_tools: ignore() {
  return _tools: ignore;
 }

 // Setter Methods 

 public void set_android: id(String _android: id) {
  this._android: id = _android: id;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: layout_marginStart(String _android: layout_marginStart) {
  this._android: layout_marginStart = _android: layout_marginStart;
 }

 public void set_android: layout_marginLeft(String _android: layout_marginLeft) {
  this._android: layout_marginLeft = _android: layout_marginLeft;
 }

 public void set_android: layout_marginTop(String _android: layout_marginTop) {
  this._android: layout_marginTop = _android: layout_marginTop;
 }

 public void set_android: scaleType(String _android: scaleType) {
  this._android: scaleType = _android: scaleType;
 }

 public void set_android: src(String _android: src) {
  this._android: src = _android: src;
 }

 public void set_app: layout_constraintBottom_toBottomOf(String _app: layout_constraintBottom_toBottomOf) {
  this._app: layout_constraintBottom_toBottomOf = _app: layout_constraintBottom_toBottomOf;
 }

 public void set_app: layout_constraintLeft_toLeftOf(String _app: layout_constraintLeft_toLeftOf) {
  this._app: layout_constraintLeft_toLeftOf = _app: layout_constraintLeft_toLeftOf;
 }

 public void set_app: layout_constraintTop_toTopOf(String _app: layout_constraintTop_toTopOf) {
  this._app: layout_constraintTop_toTopOf = _app: layout_constraintTop_toTopOf;
 }

 public void set_tools: ignore(String _tools: ignore) {
  this._tools: ignore = _tools: ignore;
 }
}
public class ProgressBar {
 private String _android: id;
 private String _android: layout_width;
 private String _android: layout_height;
 private String _android: visibility;
 private String _app: layout_constraintBottom_toBottomOf;
 private String _app: layout_constraintLeft_toLeftOf;
 private String _app: layout_constraintRight_toRightOf;
 private String _app: layout_constraintTop_toTopOf;


 // Getter Methods 

 public String get_android: id() {
  return _android: id;
 }

 public String get_android: layout_width() {
  return _android: layout_width;
 }

 public String get_android: layout_height() {
  return _android: layout_height;
 }

 public String get_android: visibility() {
  return _android: visibility;
 }

 public String get_app: layout_constraintBottom_toBottomOf() {
  return _app: layout_constraintBottom_toBottomOf;
 }

 public String get_app: layout_constraintLeft_toLeftOf() {
  return _app: layout_constraintLeft_toLeftOf;
 }

 public String get_app: layout_constraintRight_toRightOf() {
  return _app: layout_constraintRight_toRightOf;
 }

 public String get_app: layout_constraintTop_toTopOf() {
  return _app: layout_constraintTop_toTopOf;
 }

 // Setter Methods 

 public void set_android: id(String _android: id) {
  this._android: id = _android: id;
 }

 public void set_android: layout_width(String _android: layout_width) {
  this._android: layout_width = _android: layout_width;
 }

 public void set_android: layout_height(String _android: layout_height) {
  this._android: layout_height = _android: layout_height;
 }

 public void set_android: visibility(String _android: visibility) {
  this._android: visibility = _android: visibility;
 }

 public void set_app: layout_constraintBottom_toBottomOf(String _app: layout_constraintBottom_toBottomOf) {
  this._app: layout_constraintBottom_toBottomOf = _app: layout_constraintBottom_toBottomOf;
 }

 public void set_app: layout_constraintLeft_toLeftOf(String _app: layout_constraintLeft_toLeftOf) {
  this._app: layout_constraintLeft_toLeftOf = _app: layout_constraintLeft_toLeftOf;
 }

 public void set_app: layout_constraintRight_toRightOf(String _app: layout_constraintRight_toRightOf) {
  this._app: layout_constraintRight_toRightOf = _app: layout_constraintRight_toRightOf;
 }

 public void set_app: layout_constraintTop_toTopOf(String _app: layout_constraintTop_toTopOf) {
  this._app: layout_constraintTop_toTopOf = _app: layout_constraintTop_toTopOf;
 }
}

XML to Java code converter i used an online converter.

1 Like

I’ve changed the xml, please now convert this

There is an error on line 9, attribute value after “=”.

This XML file is of android UI design.

Do you want to convert the this UI XML into Java code to generate View???

I cannot understand by " XML to java code".

There are some online converter available which converts the XML into Java code, But those java codes cannot use for generating view from it.

1 Like

Yes, and with also responsive sizes

As an #kreatorcamp:extensiondeveloper, @JEWEL, I would expect you to know that @Powertech_Development’s reply is not proper code.

You’ll get various syntax errors if you use an IDE (recommended).

3 Likes

I agree with you.

1 Like

Now this xml has no error, can anyone convert this xml to java view object?

LinearLayout
  - ImageView
  - LinearLayout
     - TextView
     - TextView
     - Linear Layout
       - ImageView
       - TextView

This is the tree, just create them and add children.

2 Likes

I’ve created by this tree but just 1st textview and imageview is showing. I think this problem is for layout params. I want to make the view size as Admob banner size

1 Like

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