Transparent Text Icon - Android Themes

Hey all,
I was inspired by all the fabulous work on xda and created a python script to render transparent text icons.
PHP:
from PIL import Image, ImageDraw, ImageFont
import zipfile
import os
class iconpack:
def __init__(self, zipfsp, fontfsp, fontsize, height, width):
self.zip=zipfile.ZipFile(zipfsp, mode='w') # create the zip file
self.fontfsp=fontfsp
self.fontsize=fontsize
self.h=height
self.w=width
def addicon(self,lines):
iconfsp=self.render(lines)
self.zip.write(iconfsp) # add the icon tot he zip file
os.remove(iconfsp) # delete the remaining icon file
def render(self, lines):
im =Image.new("RGBA",(self.w,self.h),(0,0,0,0)) # adjust the 4th zero to adjust transparency
draw = ImageDraw.Draw(im)
font = ImageFont.truetype(self.fontfsp,self.fontsize) # the font file needs to be accessible
y=0
for line in lines:
rendered_hw=font.getsize(line) # figure out how wide the rendered text will be
x=im.size[0]/2-(rendered_hw[0]/2) # so we can centre it
draw.text((x,y), line, font=font)
y+=rendered_hw[1]-5 # adust the gap between the lines
# write image file
iconfsp=lines[0]+"_"+lines[1]+".png"
im.save(iconfsp, "png")
del im
return iconfsp
# I tried a few different sizes, I saw a simplay iconpack on xda which used 46x81, on the shoulders of giants, etc
# zipfile, font file, font size, width and height
ip=iconpack('DroidSans.zip','DroidSans.ttf',23,46,81)
ip.addicon(["Inter", "Webs"])
ip.addicon(["My", "Email"])
ip.addicon(["Work", "Email"])
ip.addicon(["Snap", "Shot"])
ip.addicon(["Pod", "Casts"])
ip.addicon(["Audio", "Books"])
ip.addicon(["The", "Mrs"])
ip.addicon(["Bar", "Code"])
ip.addicon(["Four", "Square"])
ip.addicon(["SMS", ""])
ip.addicon(["Maps", ""])
ip.addicon(["Reddit", "is fun"])
I cannot link out to a piccy of the results, but if you're curious and can be arse to type in a url, have a look at babbaging blogspot com.
If it's useful to anyone, you're welcome.
Questions?, ask away.
Matt

Related

Theme help!

Im in the process of making my own theme but there is one part i'm stuck on. In certain places the colours are not from a png but from a registry setting i.e the list selectors in call history, or apps like Resco Explorer.
I suspect it's the reg entry in tsk as below:
ThemeValues"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,FF,FF,FF,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
FF,FF,FF,00,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,FF,FF,FF,00,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,50,50,50,00,FF,FF,FF,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,FF,FF,FF,00,00,00,00,00,00,\
This gives a shade of grey but how do i edit this string to make those same selectors black? I think it is the 50,50,50 part so do i just lower those values or is there more to it?
Yep, that's the value to change. You can even achieve more complicated results like inverting the system colors (as seen in kane159 HollBlack Themes).
For the selection colors you mentioned you already found the right digits, you have to change them to 00,00,00 for black. You need to understand how the hexadecimal RGB-notation works for this .
Thank you for confirming that. At least it's not going to be trial and error now
Here's a trickier one. Hopefully somebody will know the solution:
When you tap and hold on an item to bring up a context menu there is the circle of dots animation. How does one modify the colour of that now? I understand that it used to be an entry in the same place as above called 40 with a Binary value. I assume as i don't have that value that the method has changed?
Look in HKLM\Software\Microsoft\Color\MultiColorTheme, there are four values (BaseColor1 through BaseColor4). The dots you mentioned get the color by somehow mixing these four values together... I have BaseColor1 and 3 set to black (simply 0) and the other two to white (FFFFFF hex), and the dots are grey. They also controll the gradient in some legacy message boxes (for example when deleting something from the file explorer).
I see what you mean! Mine are set to the same values as yours and so are obviously grey too. I want them black really so i will try it with all values set to 0.
Thanks again for your help!
EDIT: Well, i altered the values of all four to 0 in my tsk and re-installed my Theme. It's still grey I guess there must be more to it than this. It's not a big deal but if you have any other suggestions i'd really appreciate it.

[Tutorial][Themes][3-Jul-2010]Themes for SleepSense

Tutorial Skinning SleepSense
Application: SleepSense​
What do you need?
The only thing you need is an image-editor to edit the images
A xml editor to change the colors of the menu, borders, chart or other controls Step by step:
the original theme files
Step by step
Download the original default folder
Open the files in this folder in your image editor
Remake the images
Save the images (of course)
Edit theme.xml to change the colors of the menu, borders, chart or other controls
Create a new Theme folder: [Your theme name] Theme
Copy the edited images to your device in the folder [SleepSense installation dir]\Themes\ [Your theme name]Theme
Go to the alarm and select you own theme.
List of images in the \Themes\ folder
Bkg_Clock.jpg
Background of the sleep screen
Bkg_Default.jpg
Background of the menu
Bkg_Item1.png
The first item in the list
Bkg_Item2.png
The second/other item(s) of the list
Bkg_ItemS.png
The selected item of the list
Bkg_TxtClock.jpg
Background of the box with info in sleep screen
Bkg_TxtMain.jpg
Background of the info box
Img_Chart.png
The background of the sleep chart, the chart is projected over it.
Icon_xxxx.png
Several icons for in the menu or other
Bkg_Slide.jpg
Don’t touch it
Icon_Dummy.png
Don’t touch it
To make it compatible with the 200*480/320 screen resolution add _240x400 or _240x320 after the image name
Edit theme.xml
You can edit the xml to change the colors of the fonts, borders etc.
You can change a lot using the XML, but it’s pretty hard to understand (for a noob)
Forecolor is the color of font, Backcolor the achtergrond, other colors are gradients to the backcolor
<ImageFile1>XXXXXXXXX.png</ImageFile1>
contains the imagefile that is used that control
Code:
…="Icon_XXXXX"><ImageFile1>Icon_XXXX.png</ImageFile1>…
…="Bkg_Default"><ImageFile1>Bkg_Default.jpg</ImageFile1>…
<BackColor>XXXXXX</BackColor>
The background color of the control
Code:
… "Img_Chart"><BackColor>D3D3D3</BackColor>…
…="LeftBox_Chart"><BackColor>102C52</BackColor>…
<BorderColor>000000</BorderColor>
Color of the border
Code:
..lor><BorderColor>000000</BorderColor><Font>T…
…olor><BorderColor>000000</BorderColor><F…
<Font>[Font], [Size], [Formatting]</Font>
Font of the control
[Font] Font name
[Size] Size of the font
[Formatting] The formatting of the font (bold etc.)
Code:
…lor><Font>Tahoma, 5, Bold</Font>…
…r><Font>Tahoma, 8, Regular</Font><Fore…
<ForeColor>XXXXXX</ForeColor >
Code:
…nt><ForeColor>D3D3D3</ForeColor><Opac…
…nt><ForeColor>808080</ForeColor></Con…
These sections represent the topbuttons, main surrounding panel of the home menu, panel with for example the instructions, Clock colors, date colors, etc.
In the Beta these values can change. Best thing to do is to change is color to white FFFFFF, save the file and start SleepSense
<Opacity>XXX</Opacity>
Definite the opacity of the control, From 255 to 0, which is transparent
Code:
…r><Opacity>125</Opacity><Ba…
…Color><Opacity>80</Opacity><Ba…
Note: all colors must be in HTML color codes (like FFFFFF or 708090)
How to release your theme officially​
If you want to publish you personal theme send it to [email protected] in a zip file. We will check your theme and give, where necessary, advice and update this topic with your theme
Any way of advertising through a theme is forbidden.
When your theme is checked by the SleepSense team, we will add it to this topic.
While choosing a new theme in SleepSense the user will have the option to choose from these themes in this topic too. The selected theme is downloaded, unzipped into the Themes folder and ready for use.
Why?
We decided to check themes to improve the quality of the themes. It has also benefits for the developer:
*He will get useful advices
*His theme will be showed in the theme showcase of this thread
*His theme will be included with SleepSense
What must I send?
The theme folder with the images
At least 3 screenshot
(Optional) a cab installer
​
Showcase​
for now, there no SleepSense skins...
Read the tutorial and make your one
also reserved for future
Waiting to see what is coming...
suscribed to see some work

[Info Smartphone] Align Start-Menu and MRU Background with your Homescreen

This info is for smartphone (WM Standard) but some items may apply also for touch screen devices (WM professional).
Not many things can be personalized on a smartphone, but some can.
The home-screen:
each of these has XML code to define its layout, the utilized plugins, the color scheme and the home-screen background. Many have defined sophisticated home-screens or loaded them from the web.
Sadly when leaving the home-screen, only the color scheme stays, nothing else
The color-schemes may be selected independently from the home-screen and these may also contain a background picture. Selected color schemes are overwriting the relevant settings of the home-screen. Note that only the defined parts in the selected color scheme are used to overwrite previous definitions in the home-screen - so they are complementary in that regard. If a background picture is defined in the color scheme, it takes precedence over the one defined in the home-screen.
An own background picture can be forced and overwrites all above methods.
Selection of a background picture via the settings panel is only possible from the \Application Data\Home directory (where all home-screens are) while defined home-screens or color schemes can reference pictures from any location on the device (usually \windows).
Via the Pictures and Videos application or via File Explorer you can also set any picture as home-screen background. You do this via the context menu and then you are presented a work-flow consisting of selecting the area to use and the transparency level to apply for that picture. Vendor specific other procedures may apply here. Finally all these should create images like: stwater_<x-res>_<y-res>.jpg in the \windows directory and a compressed adapted home-screen in the \Application Data\Home directory.
Start Menu Background: Not often used but powerful, see here for all details: http://msdn.microsoft.com/en-us/library/bb416463.aspx. In essence you have to add to the current entries:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSStart]
"BKBitmapFile"="<your picture here>"
"BKFlags"=dword:1a
"BKBitmapTransparent"=dword:00ff00ff
"BKBitmapLogPixelsY"=dword:00000083 <- your DPI here '83 = 131 for QVGA
"BKBitmapLogPixelsX"=dword:00000083 <- your DPI here '83 = 131 for QVGA
Most Recent Used Applications Background: Introduced with Sliding Panels backgrounds from WM 6.1 as there is no MRU plugin with sliding panels. Here the same logic applies as for the Startmenu, just use :MSMRULauncher instead of :MSStart
And NO - the settings panels cannot handle a background picture
So why did I tell you this? You can simply align your start menu and MRU launcher with the picture on your home-screen. No need for any offline tools or editing, just do the following:
enter the keys to the registry as given above for start menu and MRU laucher, take care to set the correct DPI. You find the right ones at HKEY_LOCAL_MACHINE\System\GWE\Display in the values "LogicalPixelsX" and "LogicalPixelsY"
set both the background pictures to "\windows\stwater_<x>_<y>.jpg" so that "<x,y>" matches your resolution
With file explorer or "Pictures and Videos" seek for the BG picture of your current home-screen, usually it is either in \Application Data\Home or in \windows
Set this to be your home-screen picture, choose a value of ~30% transparency in the work-flow.
Check your home-screen and the MRU + Startmenu panels. If you have already a background active you need to restart the device to pick the new ones up.
Now you will see that the selected picture is too pale for the home-screen, so on the settings-home-screen go to the background picture selection and select "standard" again to get your original picture back there.
As long as you are not assigning a new dedicated background picture to the home-screen, the previously created stwater_x_y.jpg stays in the \windows directory and will please you as the MRU and Start menu backgrounds.
Any new background related activity will only require steps 3-7, the registry stays unchanged.
Some more
The background setting in the Shell registry hierarchy works just the same as for :MSStart also for: :MSScut (Short Dials), :MSSolitaire (Solitaire), :WCEload (when installing programs) and :SIMPinBKGround (when entering the SIM PIN).
You may not want to have backgrounds for all of the above, but to get rid of the light green background in Solitaire, set the value of BKUnselected there to something else than "00FF00" which is Green only. Sequence is RGB, so make your choice. Even simpler (and best choice here): Add BKDefaultGradient = dword:1 which gives you the standard (and altered by your color scheme) gradient color on the background.
The dialog for the SIM PIN is not transparent though, so not nice to look at.
Of course the Shell\RAI has other bitmap settings (brandings, dialog backgrounds), no need to mention that here.

Material Design Icon Pack(Can anyone move this thread to Development form?)

imagebam.com/image/29b2e6493876357
imagebam.com/image/7b8a08493876365
imagebam.com/image/98b9a3493876377
imagebam.com/image/3aa7b9493876385
I have some things to share, but I found the language barrier causes flow problems.
So I gave up .
I need more time to learn English, so that I can talk without translator
And no link or image stream is suck
bbs.wfun.com/thread-931577-1-1.html
Tutorials:
Download “Icon.zip” and unzip it
Direct to
Phone\Windows\Fonts
Make a new Folder
Copy “segmdl2.ttf” to it
Open Interop Tools
Navigate to
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Modify the following keys
Segoe MDL2 Assets (TrueType)
“Folder Name”\segmdl2.ttf
Icon.zip
mega.nz/#!nEQ1RSgB!fwFvaVMMMyIjThWzMC1vzcisLteOP0PR8VW7v9ACnx0
Source File & Tool
mega.nz/#!uN5jxSIQ!dEX3nh4D581lhyrEcUno-nwjvz8yrFp5fPqN35dKqgc
Not bad English please?
augustinionut said:
Not bad English please?
Click to expand...
Click to collapse
Aren't this English?
The app is in chinese
augustinionut said:
The app is in chinese
Click to expand...
Click to collapse
You mean Font Creator Program?
You can find the English crack version online
The latest version is 10
It is only for W10M? If yes you can publish it in this section http://forum.xda-developers.com/windows-10/windows-10-mobile
incidentally is very good, I like the battery icon in landscape mode or is larger, but this great ...
Yes but I don't know XDA has Windows 10 mobile form :-/
And I have a battery icon and more fixed version, but I won't upload it very soon
http://forum.xda-developers.com/win...-dht-font-change-windows-phone-t3192500/page6
fer_cabr said:
It is only for W10M? If yes you can publish it in this section http://forum.xda-developers.com/windows-10/windows-10-mobile
incidentally is very good, I like the battery icon in landscape mode or is larger, but this great ...
Click to expand...
Click to collapse
Yes but I don't know XDA has Windows 10 mobile form :-/
And I have a battery icon and more fixed version, but I won't upload it very soon
augustinionut said:
http://forum.xda-developers.com/win...-dht-font-change-windows-phone-t3192500/page6
Click to expand...
Click to collapse
What's this?
I feel very good
:DBut I also have to know how to get, though not where it wants to, but the thing is you post it out OF
Not understand .. I want to register in the forum chinesse but is impossible
I know this very sad
I do not know you can not register China Forum reasons, but I can put my issued to simplify the content, but forgive my translation, please forgive me landlord, some Chinese websites do not know whether you are logged in, but the content should also read okay
---------- Post added at 03:07 AM ---------- Previous post was at 02:49 AM ----------
According to forum posts @tingtongku greatly inspired by this success has been modified in vain, however, because the original post is more chaotic, and now I send one another again. First, by win10mobile jailbreak, jailbreak address address reproduced here
The first step, then jailbreak jailbreak note here, lumia choice vcREG_v1.2.0.1_W10edition.xap the like, non-lumia select Root_Tool.xap this, please go to the detailed tutorial jailbreak jailbreak Posts
lumia escape, deploy open vcREG_v1.2.0.1_W10edition.xap Press ellipsis to select the lower right corner of the "Templates", after selecting Twenty-two options, a fourth permanent interaction seems to be what (suggesting that the jailbreak developers need to open by mode to install the jailbreak software, remember to restart after the jailbreak, or connected to a computer can not create a folder)
After the jailbreak can download their own registry following font substitution, Registry Editor Share @ Yau Sang Egg Found Click to open the message, download registry editor
The second step, and change the font into the topic that took up in jail with a cell phone connected to the computer, (Note that this procedure must be done by computer), open the phone storage \ Windows \ Fonts, in the file New Folder folder Fonts (file folder names can be freely but it is best not Chinese), then you need to put into the font (the font name must note replaced msyh, suffix format ttf, for example: msyh.ttf certainly can not change, change the registry directly , but important to the trouble) after open the registry editor to locate [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Fonts], there should be a bunch of keys with (TrueType) of (I use the registry to open location is HKLM \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Fonts)
English Font:
Arial (TrueType)
Arial Black (TrueType)
Arial Bold (TrueType)
Arial Bold Italic (TrueType)
Arial Italic (TrueType)
Segoe UI (TrueType)
Segoe UI Black (TrueType)
Segoe UI Bold (TrueType)
Segoe UI Italic (TrueType)
Segoe UI Light (TrueType)
Chinese font:
Microsoft YaHei & Microsoft YaHei UI (TrueType)
Microsoft JhengHei & Microsoft JhengHei UI (TrueType)
The third step, then we have to apply the font change the font, directly to the registry 'Microsoft YaHei & Microsoft YaHei UI (TrueType)' to modify the value of the corresponding font (click on the value to edit), specific to Fonts \ msyh.ttf (Note Fonts \ this is the document that you create a folder name, and if it is ZITI to ZITI \)
Brief is the first front in the key you want to modify, plus 'folder name \' (folder name at random, but it is best not to use Chinese)
For chestnuts, I posted the annex of the folder name is 'Fonts', you need to key in the front plus Fonts \
For example Arial (TrueType) The key for arial.ttf, compared with the revised Fonts \ arial.ttf
Reproduced here about the big share in the font Fonts.zip Jane fonts for Microsoft elegant black Light, Traditional Chinese fonts for Microsoft is black Light, English fonts are Helvetica font and font San Francisco
And other wire line and fonts .zip
Tips, here you need to restart the font after writing the registry to take effect, but if you want to verify that there is no font problems, please open qq qq space inside the press or whatever view there is no distortion (note the page issue, edge did not open the page this issue may browse invoke different browsers), set inside a strange font has restarted several times should be no problem, if there is just need the registry 'Microsoft YaHei & Microsoft YaHei UI (TrueType)' this value is modified to msyh. ttc restart the like, can retry after replace other fonts, then note if the font in effect if you want to replace other fonts must be in accordance with this method of exchange for the original font, or to the value-oriented, such as your Font name: fonts \ arial.ttf (fonts \ the font name suffix)
Well, the last to share on-line forum apk conversion method appx Andrews
The downloaded file is stored on your phone or sd card to install new applications to your phone position (open storage installation location can be set up), and then click to download the file, wait twelve minutes (less the program) should be the installation is complete , note that if the core is the need to modify the program to crack and the like can not be installed, of course, the other can be installed directly
C.phone said:
I do not know you can not register China Forum reasons, but I can put my issued to simplify the content, but forgive my translation, please forgive me landlord, some Chinese websites do not know whether you are logged in, but the content should also read okay
---------- Post added at 03:07 AM ---------- Previous post was at 02:49 AM ----------
According to forum posts @tingtongku greatly inspired by this success has been modified in vain, however, because the original post is more chaotic, and now I send one another again. First, by win10mobile jailbreak, jailbreak address address reproduced here
The first step, then jailbreak jailbreak note here, lumia choice vcREG_v1.2.0.1_W10edition.xap the like, non-lumia select Root_Tool.xap this, please go to the detailed tutorial jailbreak jailbreak Posts
lumia escape, deploy open vcREG_v1.2.0.1_W10edition.xap Press ellipsis to select the lower right corner of the "Templates", after selecting Twenty-two options, a fourth permanent interaction seems to be what (suggesting that the jailbreak developers need to open by mode to install the jailbreak software, remember to restart after the jailbreak, or connected to a computer can not create a folder)
After the jailbreak can download their own registry following font substitution, Registry Editor Share @ Yau Sang Egg Found Click to open the message, download registry editor
The second step, and change the font into the topic that took up in jail with a cell phone connected to the computer, (Note that this procedure must be done by computer), open the phone storage \ Windows \ Fonts, in the file New Folder folder Fonts (file folder names can be freely but it is best not Chinese), then you need to put into the font (the font name must note replaced msyh, suffix format ttf, for example: msyh.ttf certainly can not change, change the registry directly , but important to the trouble) after open the registry editor to locate [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Fonts], there should be a bunch of keys with (TrueType) of (I use the registry to open location is HKLM \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Fonts)
English Font:
Arial (TrueType)
Arial Black (TrueType)
Arial Bold (TrueType)
Arial Bold Italic (TrueType)
Arial Italic (TrueType)
Segoe UI (TrueType)
Segoe UI Black (TrueType)
Segoe UI Bold (TrueType)
Segoe UI Italic (TrueType)
Segoe UI Light (TrueType)
Chinese font:
Microsoft YaHei & Microsoft YaHei UI (TrueType)
Microsoft JhengHei & Microsoft JhengHei UI (TrueType)
The third step, then we have to apply the font change the font, directly to the registry 'Microsoft YaHei & Microsoft YaHei UI (TrueType)' to modify the value of the corresponding font (click on the value to edit), specific to Fonts \ msyh.ttf (Note Fonts \ this is the document that you create a folder name, and if it is ZITI to ZITI \)
Brief is the first front in the key you want to modify, plus 'folder name \' (folder name at random, but it is best not to use Chinese)
For chestnuts, I posted the annex of the folder name is 'Fonts', you need to key in the front plus Fonts \
For example Arial (TrueType) The key for arial.ttf, compared with the revised Fonts \ arial.ttf
Reproduced here about the big share in the font Fonts.zip Jane fonts for Microsoft elegant black Light, Traditional Chinese fonts for Microsoft is black Light, English fonts are Helvetica font and font San Francisco
And other wire line and fonts .zip
Tips, here you need to restart the font after writing the registry to take effect, but if you want to verify that there is no font problems, please open qq qq space inside the press or whatever view there is no distortion (note the page issue, edge did not open the page this issue may browse invoke different browsers), set inside a strange font has restarted several times should be no problem, if there is just need the registry 'Microsoft YaHei & Microsoft YaHei UI (TrueType)' this value is modified to msyh. ttc restart the like, can retry after replace other fonts, then note if the font in effect if you want to replace other fonts must be in accordance with this method of exchange for the original font, or to the value-oriented, such as your Font name: fonts \ arial.ttf (fonts \ the font name suffix)
Well, the last to share on-line forum apk conversion method appx Andrews
The downloaded file is stored on your phone or sd card to install new applications to your phone position (open storage installation location can be set up), and then click to download the file, wait twelve minutes (less the program) should be the installation is complete , note that if the core is the need to modify the program to crack and the like can not be installed, of course, the other can be installed directly
Click to expand...
Click to collapse
@C.phone thank you so much!
Is there any way to make my own design?
Thanks
how to create icon pack for windows 10 mobile?
tingtongku said:
imagebam.com/image/29b2e6493876357
imagebam.com/image/7b8a08493876365
imagebam.com/image/98b9a3493876377
imagebam.com/image/3aa7b9493876385
I have some things to share, but I found the language barrier causes flow problems.
So I gave up .
I need more time to learn English, so that I can talk without translator
And no link or image stream is suck
bbs.wfun.com/thread-931577-1-1.html
Click to expand...
Click to collapse
how to create icon pack for windows 10 mobile

what is Columnweight ,rowweight and gravity in xml at android studio ?

android:layout_gravity
android:layout_columnweight
android:layout_rowweight
what does these xml lines refer in android studio in grid layout ?
Android: layout_gravity
- If value is 1, the object occupies the width or length of the page
-2 objects of gravity value 1; Share half of the page
android:layout_columnweight
android:layout_rowweight
- Used for table_layout, rows, and columns. The same employer is used as Layout_gravity.
- For example, there are 5 columns or rows. I want them to share the page equally.
All weight values 1
srinidhikowshik said:
android:layout_gravity
android:layout_columnweight
android:layout_rowweight
what does these xml lines refer in android studio in grid layout ?
Click to expand...
Click to collapse

Categories

Resources