package com.abdallaadelessa.rtl;

import java.io.File;

public class MainMethod {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String dir = "D:\\Workspace\\Projects\\LinkDev\\SoutAlKhaleeg\\app\\src\\main\\res\\layout";
		RTLConvertor.convertXmlFiles(new File(dir).listFiles());
		
//		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\""));
	}

}

@@ -144,16 +144,18 @@
 args) %7B%0A
+//
 %09%09String
@@ -241,16 +241,18 @@
 ayout%22;%0A
+//
 %09%09RTLCon
@@ -416,21 +416,21 @@
 ath));%0A%0A
-%09%09
 // 
+%09%09
 System.o
@@ -517,13 +517,13 @@
 %5C%22%22%0A
-%09%09
 // 
+%09%09
 + %22 

clean code