If you are familiar with Xiaomi, you might have heard that they are not the most compliant when it comes to the General Public License that makes the core of Android open to us. The terms of the GPLv2 state that since the Android kernel is based on the Linux kernel, which is licensed under GPL,v2 Android has to be open-source for everyone to study or modify, and those that modify the Android kernel have to make their sources immediately available for...
XmlGui 0.0.5 – Tool for Editing HTC XML Layout File
Programatix updated his application, which you can use to modify the XML layout files used in more recent HTC applications.
The main reason I wrote this small app is to modify the XML layout files used in more recent HTC applications. HTC however defined different format of XML layout files.
Currently, this is what it can do:
- Change objects’ location (attributes involved “x”, “y”, “loc”)
- Change objects’ size (attributes involved “w”, “h”, “width”, “height”)
- Perform object transformation using a multiplicand value
- Handle sub objects declared in parent object’s attribute when parent object is tranformed (“IconImgPos”, TextPos”)
- Handle “BgImgBlock” attribute by animating the object
- Handle “BgImgGrid” attribute by drawing the object correctly
- Draw object with “IconImgMask” and “IconImage” attributes correctly
- When changing the position of a parent object, the children object (can be seen in the TreeView) will also be moved. It does not however resize the object control when the parent object is resized. This is by design.
Continue on to the application thread.
Want something on the XDA Portal? Send us a tip!
Xiaomi was founded on April 6th, 2010 and its fifth anniversary is just around the corner. In the past five years, the company has grown by leaps and bounds, rising to the positions of largest smartphone OEM in China and third-largest globally and coupled with its expansion plans and 100 million sales benchmark, this anniversary warranted a fervent celebration. After teasing products on its forums for a few days, Xiaomi held the anniversary event earlier today and staying true to the...
A few months ago, we came up with the idea of presenting the history of flagship devices released by some of the major Android OEMs. In this, we've had the pleasure of bringing you the stories of Sony (Ericsson) and Samsung. Now, it's time for our third and final installment. This is a very special episode, as the OEM I will talk about was heavily connected to Android and the beginnings of XDA as a whole. Yes, I'm talking about HTC, the...