- Joined
- Apr 16, 2021
- Messages
- 1,802
- Awards
- 4
Offline
I have seen this asked and answered a few times on the forums so thought I should clear it up how you split the top icons in XCIPTV
Notice I have three buttons on the left and four on the right ? this is how you do it.
RES/LAYOUT/ACTIVITY_CATEGORIES_THEME_1.XML (or any of the other themes)
The file only contains icons set to the right hand side which is controlled by the <LinearLayout command
so we have to create a second <LinearLayout command for icons we want to place on the left hand side of the screen,
I copied and pasted the lines from 110 to 115 and pasted them from line 63 to 68 , so now have two commands , the newly pasted one is still set to right side (centerlright) so change this to (centerlleft).
from line 70 in my images below are the placement for each of the top buttons , change the first from right to left , they are quite easy to work out what does what when you have changed the three to be placed on left hand side you need to put a </LinearLayout> command in to close off the left hand side placements. (line 109).
Then from line 110 in my image are the icons to be placed on the right side of the screen .
Basically we have created an extra <linearLayout and put three icons inside of it then closed it with </LinearLayout>
then the normal right hand side icons are below what we have added.
Its a lot easier to do than to explain lol , if its not clear please let me know and i will try to assist you
please give me a like if you find this useful