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):
In DisplaySettings or other smali file, you have insert this modification:
Now you have create a layout file xml and insert this file in layout folder for text and a layout file for image.
For text create a xml file and insert this:
For image create another xml file and insert this:
I hope I have been helpful with this mod :D
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):
In DisplaySettings or other smali file, you have insert this modification:
Now you have create a layout file xml and insert this file in layout folder for text and a layout file for image.
For text create a xml file and insert this:
For image create another xml file and insert this:
I hope I have been helpful with this mod :D
Aucun commentaire:
Enregistrer un commentaire