package com.abdallaadelessa.rtl;

import java.io.File;

public class MainMethod {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		try {
			RTLConvertor.setMode(RTLConvertor.MODE_RTL);
			RTLConvertor.setGravitySupport(true);
			RTLConvertor.setReverseLinearLayout(true);
			RTLConvertor.addTextViewClass("com.linkdev.soutalkhaleej.views.customWidgets.TextViewWithMovingMarquee");
			RTLConvertor.addTextViewClass("com.rengwuxian.materialedittext.MaterialEditText");
			
			String srcDir = "D:\\Workspace\\Projects\\LinkDev\\fta_android\\app\\src\\main\\res\\layout";
			String destDir = "D:\\Workspace\\Projects\\LinkDev\\fta_android\\app\\src\\main\\res\\layout-ar";
			RTLConvertor.convertXmlFiles(new File(srcDir),new File(destDir));
			
		} catch (Exception e) {
			Helper.logError(e);
		}
		// String path = "C:\\Users\\Abdalla\\Desktop\\layout.xml";
		// RTLConvertor.convertXmlFile(new File(path));

		// System.out.println(RTLConvertor.convertXmlLine("android:layout_alignTop=\"@+id/tvAddress\""
		// + "  android:gravity=\"top|left|start\""));
	}
}

@@ -330,29 +330,28 @@
 com.
-linkdev.soutalkhaleej
+abdallaadelessa.demo
 .vie
@@ -531,36 +531,34 @@
 ojects%5C%5C
-LinkDev%5C%5Cfta_android
+AndroidDemoProject
 %5C%5Capp%5C%5Cs
@@ -631,28 +631,26 @@
 ts%5C%5C
-LinkDev%5C%5Cfta_android
+AndroidDemoProject
 %5C%5Cap

Update MainMethod.java