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\""));
	}

}

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\""));
	}

}

clean code