In this guide I will explain how to use layout file, for insert a text guide or image in SecSettings like the image in attachment
The limitation of this mod are that you can insert one text or image with one layout file like this:
1 text(TextView)=1 layout file
2 text(TextView)=2 layout file
1 image(ImageView)=1 layout file
2 image(ImageView)=2 layout file
1 text and 1 image=1 layout for text and 1 layout for image.
In this guide I use displaysettings.xml, DisplaySettings.smali and layout file (that you must insert in layout folder) for one image and one text.
In displaysettings.xml or other file of xml folder, insert this line (the position of the text is determined by the position in which you insert the line in the xml file):
<Preference android:key="statusbar_help" />
Like this, in this way the text appears on the top:
The developers of Android, that is Google, gave users several great debugging tools that can be used in … more
17 Sep 2014
By Tomek Kondrat
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?