Related
Hello everyone,
I just made my first theme, but I can't get the toggle buttons in expanded state bar working... can anyone help me?
It's flashable via CWM
here's Screenshots and Download Link, hope someone can help me!
Screen 1
Screen 2
Screen 3
Screen 4
Screen 5
Screen 6
Download link
Tiwiz
Good job
Can you help me getting the toggle buttons on the notification bar? I can't get them work
Looks good, will try it out! Can only say good luck and keep up the good work.
Only transparent menu is a bit difficult to watch. Boot logo is amazing
Sent from my Optimus 2X using XDA App
Hey Guys,
I got my 2x now and i want to know how to enable/put this theme on my phone can someone give me a tut / link tut ?
regards
tiwiz said:
Can you help me getting the toggle buttons on the notification bar? I can't get them work
Click to expand...
Click to collapse
Very nice theme, I think I might install.
I can help with the toggle buttons...
I suspect you started with a framework-res.apk with hidden toggles? PM me if you don't want the conversation in this thread.
looks nice, but would be good to tell which ROMs it works with.
edit: works great with my own Custom ROM thanks
djmcnz said:
Very nice theme, I think I might install.
I can help with the toggle buttons...
I suspect you started with a framework-res.apk with hidden toggles? PM me if you don't want the conversation in this thread.
Click to expand...
Click to collapse
Yes, I started with the apk I'll put in the attachment :9 I'd say speaking in the thread could help more people
Thanks for your help!
Framework-res.apk
tiwiz said:
Yes, I started with the apk I'll put in the attachment :9 I'd say speaking in the thread could help more people
Thanks for your help!
Framework-res.apk
Click to expand...
Click to collapse
Cool, you'll need to make two version though because the frameworks are slightly different.
In /res/layout/status_bar_expanded.xml you will find:
Code:
RelativeLayout android:gravity="center_horizontal" android:layout_gravity="center" android:id="@id/quick_setting_layout" android:layout_width="fill_parent" android:layout_height="0.0px">
And you need to change android:layout_height="0.0px" to android:layout_height="x.xdip"
I can't remember what the stock height is (close to 78dip I think) but you can simply take that entire file (/res/layout/status_bar_expanded.xml) and copy it between frameworks - i.e. grab a framework that has the toggles visible and use the file from that version.
Again, you'll need two version though... and then somebody will ask for with/without music controls... lol. Same principle applies here, same file too.
There's something wrong in this file, then, try and open this XML I'm posting, I can't read anything, like it was cripted :-S
tiwiz said:
There's something wrong in this file, then, try and open this XML I'm posting, I can't read anything, like it was cripted :-S
Click to expand...
Click to collapse
Correct.
You need to decode the apk using apktool to read/edit the file.
You do not however need to do this if you just want to copy the file between two apks...
perfect, it's working Now I can only see the old icons on the old blue background, but I bet I just need to change some settings in there I'll post a complete version soon
EDIT: suppose the
Code:
<TableRow>
<ImageView android:layout_gravity="top" android:id="@id/sound_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginLeft="21.0px" android:layout_marginTop="10.0px" android:layout_marginRight="17.0px" android:layout_marginBottom="0.0px" />
<ImageView android:layout_gravity="top" android:id="@id/wifi_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginTop="10.0px" android:layout_marginRight="17.0px" android:layout_marginBottom="0.0px" />
<ImageView android:layout_gravity="top" android:id="@id/bt_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginTop="10.0px" android:layout_marginRight="17.0px" android:layout_marginBottom="0.0px" />
<ImageView android:layout_gravity="top" android:id="@id/gps_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginTop="10.0px" android:layout_marginRight="17.0px" android:layout_marginBottom="0.0px" />
<ImageView android:layout_gravity="top" android:id="@id/switch_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginTop="10.0px" android:layout_marginRight="21.0px" android:layout_marginBottom="0.0px" />
</TableRow>
refers to the fact if they are switched on or off at the start?
tiwiz said:
perfect, it's working Now I can only see the old icons on the old blue background, but I bet I just need to change some settings in there I'll post a complete version soon
EDIT: suppose the
Code:
<TableRow>
<ImageView android:layout_gravity="top" android:id="@id/sound_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginLeft="21.0px" android:layout_marginTop="10.0px" android:layout_marginRight="17.0px" android:layout_marginBottom="0.0px" />
<ImageView android:layout_gravity="top" android:id="@id/wifi_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginTop="10.0px" android:layout_marginRight="17.0px" android:layout_marginBottom="0.0px" />
<ImageView android:layout_gravity="top" android:id="@id/bt_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginTop="10.0px" android:layout_marginRight="17.0px" android:layout_marginBottom="0.0px" />
<ImageView android:layout_gravity="top" android:id="@id/gps_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginTop="10.0px" android:layout_marginRight="17.0px" android:layout_marginBottom="0.0px" />
<ImageView android:layout_gravity="top" android:id="@id/switch_button_toggle" android:layout_width="wrap_content" android:layout_height="74.0px" android:layout_marginTop="10.0px" android:layout_marginRight="21.0px" android:layout_marginBottom="0.0px" />
</TableRow>
refers to the fact if they are switched on or off at the start?
Click to expand...
Click to collapse
No, that just describes what should be drawn on the pull down. The actual logic for their toggle state is stored in code elsewhere.
Ok, I found out the text in the notification bar while there a calling ongoing is black and I'm looking for the voice that will let me change it to green like the other text... would be nice to find where the other colors are, so that I can compare, but I'll work on it
tiwiz said:
Ok, I found out the text in the notification bar while there a calling ongoing is black and I'm looking for the voice that will let me change it to green like the other text... would be nice to find where the other colors are, so that I can compare, but I'll work on it
Click to expand...
Click to collapse
IIRC most of that colour info is in services.jar (classes.dex - baksmali)
djmcnz said:
IIRC most of that colour info is in services.jar (classes.dex - baksmali)
Click to expand...
Click to collapse
It's strange, I only have framework.apk and bootanimation.zip in my theme, atm... there must be something in there without changeing everything in the ROM
tiwiz said:
It's strange, I only have framework.apk and bootanimation.zip in my theme, atm... there must be something in there without changeing everything in the ROM
Click to expand...
Click to collapse
Oh, perhaps I misunderstood your point then?
Could you describe again?
Maybe I didn't explain my self, actually, my apologies Well, I'll try and descrive. I'm calling and while the call is ongoing, I press my home button and I pull down the notification window, so that I can see, between all the notifications, the fact that there is a calling and there is even the button to hang down the calling... the text appears to be black, while all the other text in the notification is green Found out that maybe the PNGs for the buttons are in the lge-res.apk, going to check and I'll update you
can you do a version without the bootanimation, I try to replace it with mine but still yours is there, I try to replace the one in system/media folder, does yours have another directory?
[email protected] said:
can you do a version without the bootanimation, I try to replace it with mine but still yours is there, I try to replace the one in system/media folder, does yours have another directory?
Click to expand...
Click to collapse
Data/local
Sent from my LG-P990 using XDA Premium App
Like many other devs, I like to work hard and create new themes to separate myself from the others, especially to make back the $25 that I spent on getting the developer account. However, I myself have only started “developing” a few months ago, so I realize how tough it is to get help when no one likes to share their information. This is why I’ve decided to add on to my original guide and give you all some xml’s to go with it. Here it goes…
For the absolute beginners
1. Setting up your workplace
The easiest way to do so is to simply download the whole adt bundle. Extract it, set up your workplace, download whatever you need from sdk manager, and you are good to go! If you are having issues with java, download the newest version, and go into the eclipse folder. Fine "eclipse.ini", open it, and add "-vm (new line) C:\Program Files\Java\jre7\bin\" above "-vmargs". More detailed tutorial here.
2: Creating a Project
Download the source code from Klinker's github (pick any of the themes) and go to your eclipse. Go to file, new, project, and pick "import existing code". DO NOT PICK A SIMPLE FILE as that messes everything up. After that is done, you may want to add support libraries (right click on project folder on left side, tools, add support libraries) and rename the package name (also in tools). The package name can be anything you want, but you might want to make it unique for yourself (add your dev name or whatever)
3: Editing androidmanifest.xml
What I love about this is that the instructions are very clear. Open android manifest, and follow the comments. You may also want to edit color.xml. You should also see that the package name has changed as you have renamed it in step 2.
4. Start theming!
This is the part where you make the theme your own! I would suggest you look into all the layout and value xml's and be sure to change the app name!
Help with the drawables/colors (the theming part)
1. Colors
As with all other projects, the color.xml contains a bunch of hex colors. The instructions are quite clear as to what each one does. I believe Klinker's evolve themes contain a 6 digit hex, which only stands for the color. You may use this to help you out. Additionally, you may add two digits before that (8 digits total) to represent transparency. 00 being transparent, and ff being fully opaque. A great visualizer for this is VTS. Though it is for editing decompiled apps and not source code, you can still copy paste an xml and get a build in color picker within. I recommend it if you are confused with this part.
2.1 Drawables
Drawables are basically all the image components of the theme that you are able to edit. For those that end with .png and not 9.png, you may edit it like any normal file. Use photoshop if you have it or gimp, a great free alternative (I use that :good
2.2 9.png
First off what are 9.png's? They are regular images that have 1px black lines around the border that allows the app (Evolve) to resize them accordingly. As you all know, android is very diverse with their screen sizes, and it will definitely be impossible to make an icon matching each one. Furthermore, text messages vary in sizes as well. The black line is your way of telling the app where to stretch, where not to stretch, and where the text should be (though you can edit this in layout by adding padding).
How do you edit 9.png?
1. Use eclipse's built in draw9patch by copying this file to eclipse/sdk/tools and then clicking on it. You can also copy it and paste a shortcut afterwards for easier access. (Do note that closing the command window closes the draw9patch.
2. draw9patch.com .............enough said (Recommended for noobs)
3. Use a photo editing software. What I suggest with gimp is that you make your icons as you usually would, go to canvas size (I believe it is under image) and increase both the height and the width by two. Then put the image in the center and press okay. This ensures that the border is transparent. Next, get the rectangle selector tool (probably top left) and set the height/width (depending on which side you are doing) to 1. Select where you want the black line to be, make sure your primary color is solid black, and press ctrl + ",". Do that for all sides. To erase, select what is appropriate and press delete Please don't use the brush tool or the eraser... they just doesn't work as well
***Sidenote. You may notice that the text message bar (whatever you call it) has red parts on the corner. Just leave those as is. You may colorize the bar if you wish though***
Help with message.xml (the layout part)
This is the part where you get creative in putting what where. This is also the part where beginners (like me) have the most trouble in, as this is as close to "developing" as you get with EvolveSMS themes. Due to requests, I have added some "templates" that you can simply copy and paste to your message.xml. They may not be the best, but they work for me, so they should work for you.
NOTE: In general (or as of now) I always keep "show contact heads" in androidmanifest.xml as true. If I don't want them, I set the width in the layout as 0dp. I just find it easier this way. Additionally, if I have android:background="@drawable/contact" or anything similar, it means that you must have a drawable titled contact.9.png in your folder. This adds backgrounds to your contact heads. If you don't want it, delete it.
1. The original xml - standard with both contact heads visible, contact is aligned to the top and mypicture to the bottom. Date is out of the textbox and centered to the parent (screenshot/example)
HTML:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:id="@+id/myPicture"
android:scaleType="centerCrop"
android:maxHeight="48dp"
android:maxWidth="48dp"
android:minHeight="48dp"
android:minWidth="48dp"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_marginBottom="3dp"
android:layout_marginLeft="-10dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toLeftOf="@+id/myPicture"
android:id="@+id/holder">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:id="@+id/contactPicture"
android:scaleType="centerCrop"
android:maxHeight="48dp"
android:maxWidth="48dp"
android:minHeight="48dp"
android:minWidth="48dp"
android:layout_marginRight="-11dp"/>
<LinearLayout
android:id="@+id/background"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:paddingRight="5dp"
android:textSize="12sp"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:fontFamily="sans-serif-light"
android:textColor="@color/dateColorReceived"
android:layout_marginTop="-3dp"
android:paddingBottom="3dp"/>
<ImageView
android:layout_width="200dp"
android:layout_height="200dp"
android:gravity="center"
android:layout_gravity="center"
android:id="@+id/media"
android:padding="10dp"
android:visibility="gone"
android:scaleType="centerInside"/>
<View android:id="@+id/gifView"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:padding="10dp"
android:visibility="gone"/>
<TextView
android:id="@+id/body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:textSize="14sp"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:textColor="@color/textColorReceived"
android:layout_marginTop="-3dp"/>
<TextView
android:id="@+id/date"
android:gravity="left"
android:textSize="12sp"
android:visibility="visible"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:textColor="@color/dateColorReceived"
android:layout_marginBottom="-3dp"/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
2. Same as above but with the date in the message box (screenshot/example)
HTML:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView
android:id="@+id/contactPicture"
android:background="@drawable/contact"
android:layout_width="48.0dip"
android:layout_height="48.0dip"
android:layout_marginLeft="5.0dip"
android:scaleType="centerCrop"
android:maxWidth="48.0dip"
android:maxHeight="48.0dip"
android:minWidth="48.0dip"
android:minHeight="48.0dip"
android:layout_alignTop="@+id/background" />
<ImageView
android:id="@+id/myPicture"
android:background="@drawable/contact"
android:layout_width="48.0dip"
android:layout_height="48.0dip"
android:layout_marginLeft="-10.0dip"
android:layout_marginRight="5.0dip"
android:scaleType="centerCrop"
android:maxWidth="48.0dip"
android:maxHeight="48.0dip"
android:minWidth="48.0dip"
android:minHeight="48.0dip"
android:layout_alignTop="@+id/background"
android:layout_alignParentRight="true" />
<LinearLayout
android:orientation="horizontal"
android:id="@+id/holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/myPicture"
android:layout_alignTop="@+id/contactPicture"
android:layout_alignParentTop="true"
android:layout_alignStart="@+id/contactPicture" />
<LinearLayout
android:id="@+id/background"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8.0dip"
android:layout_marginRight="8.0dip"
android:layout_toLeftOf="@+id/myPicture"
android:layout_toRightOf="@+id/contactPicture"
android:layout_alignParentBottom="true">
<TextView
android:textSize="12.0sp"
android:ellipsize="marquee"
android:id="@+id/name"
android:fadingEdge="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<ImageView
android:gravity="center"
android:layout_gravity="center"
android:id="@+id/media"
android:padding="10.0dip"
android:visibility="gone"
android:layout_width="200.0dip"
android:layout_height="200.0dip"
android:scaleType="centerInside" />
<View
android:id="@+id/gifView"
android:padding="10.0dip"
android:visibility="gone"
android:layout_width="200.0dip"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/body"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:fontFamily="sans-serif-light"
android:paddingLeft="5.0dip"
android:paddingRight="5.0dip"
android:textColor="@color/textColorReceived"
android:textSize="14.0sp" />
<TextView
android:textSize="12.0sp"
android:fontFamily="sans-serif-light"
android:textColor="@color/dateColorReceived"
android:id="@+id/date"
android:visibility="visible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="5.0dip"
android:paddingRight="5.0dip"
android:layout_marginBottom="4dip" />
</LinearLayout>
</RelativeLayout>
3. Contact pictures aligned to the bottom (screenshot/example)
HTML:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:paddingBottom="4dp"
android:paddingRight="8dp"
android:paddingLeft="8dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/date"
android:gravity="center"
android:textSize="12sp"
android:visibility="visible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:textColor="@color/dateColorReceived"
android:layout_centerHorizontal="true"
android:layout_marginBottom="4dp"/>
<ImageView
android:id="@+id/myPicture"
android:layout_width="0dp"
android:layout_height="48dp"
android:scaleType="centerCrop"
android:maxWidth="48dp"
android:maxHeight="48dp"
android:minWidth="48dp"
android:minHeight="48dp"
android:layout_alignParentRight="true"
android:layout_alignBottom="@+id/holder"/>
<LinearLayout
android:id="@+id/holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/date"
android:orientation="horizontal" >
<ImageView
android:id="@+id/contactPicture"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="bottom"
android:layout_marginRight="1dp"
android:maxHeight="48dp"
android:maxWidth="48dp"
android:minHeight="48dp"
android:minWidth="48dp"
android:scaleType="centerCrop" />
<LinearLayout
android:orientation="vertical"
android:id="@+id/background"
android:layout_marginBottom="25dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:textSize="12sp"
android:textColor="@color/dateColorReceived"
android:ellipsize="marquee"
android:gravity="left"
android:layout_gravity="left"
android:id="@+id/name"
android:paddingLeft="5dp"
android:paddingBottom="3dp"
android:fadingEdge="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-3dp"
android:fontFamily="sans-serif-light" />
<TextView
android:textSize="14sp"
android:textColor="@color/textColorReceived"
android:ellipsize="marquee"
android:id="@+id/body"
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:layout_marginLeft="2dp"
android:paddingRight="5dp"
android:paddingLeft="5dp"/>
<ImageView
android:gravity="center"
android:layout_gravity="center"
android:id="@+id/media"
android:padding="10dp"
android:visibility="gone"
android:layout_width="200dp"
android:layout_height="200dp"
android:scaleType="centerInside" />
<View
android:id="@+id/gifView"
android:padding="10dp"
android:visibility="gone"
android:layout_width="200dp"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
I was also the first to make a theme with the heads aligned in the center but that will be my secret for now . Download it and try it for free here
And that is all for my guide! If you are a beginner and feel overwhelmed, don't be. It took me less than two months to get to this level. And if you are dealing with errors or want to try new things, know that failing is a process of learning. I am clearly not a developer, and some of my themes take 30+ builds to perfect. In the end, learn, test, have fun, and don't be too money hungry . I'm also sure that there are much more experienced dev's out there. If anyone has and suggestions, please let me know!. We are all here to learn, and knowledge is not bad.
Self advertising time! If you like my work, please feel free to look at the links in my signature. It links to my play store as well as links to get me more dropbox space . If you'd like to donate as I do put out a lot of free apps, you can do so here . Am I a hypocrite? Partially...
Awesome!!!!
Sent from my Nexus 7 using Tapatalk
This may also help some who want another perspective: http://klinkerapps.com/dev-upload/repository/klinker41/EvolveSMS%20Themes/Theme%20Tutorial.pdf
Nice guide
@asdfasdfvful, Nice little tutorial. This is an old thread but it was the only thread I really found that had to do with theming EvolveSMS. I'm surprised there's not more comments. I just started getting into this. I've never made a theme or developed anything before. I do graphics though (as you can tell by my screen name) so I thought I'd take a crack at this. Most of the stuff is self explanatory. But some of the advanced things I can't really figure out. The one thing I am trying to do right now is set the contact photo (the banner in the message view) to be a specific image and not a blurry cropped contact image. Do you know how to do this? I'm guessing it has something to do in one of the xml files.
jsgraphicart said:
@asdfasdfvful, Nice little tutorial. This is an old thread but it was the only thread I really found that had to do with theming EvolveSMS. I'm surprised there's not more comments. I just started getting into this. I've never made a theme or developed anything before. I do graphics though (as you can tell by my screen name) so I thought I'd take a crack at this. Most of the stuff is self explanatory. But some of the advanced things I can't really figure out. The one thing I am trying to do right now is set the contact photo (the banner in the message view) to be a specific image and not a blurry cropped contact image. Do you know how to do this? I'm guessing it has something to do in one of the xml files.
Click to expand...
Click to collapse
Sorry for the extremely delayed reply. If you want to try adding the image to the drawable and setting the contact photo widths to 0.
asdfasdfvful said:
Sorry for the extremely delayed reply. If you want to try adding the image to the drawable and setting the contact photo widths to 0.
Click to expand...
Click to collapse
Thanks for the reply. I will play with that and see what I can do.
Hey there! To begin with - English is not my native language, so I apologize in advance for any errors
The second - a big thank you asdfasdfvful for what you are helping, especially in such a nubs like me )
And now the questions:
1 - how to make a file actionbar.9.png transparent? I was able to just fill it with black, the rest of the manipulation led to errors.
2 - when I edit the file message.hml "Contact pictures aligned to the Bottom," as to make the photo display and contact and mine?
Thanks in advance!
SairK said:
Hey there! To begin with - English is not my native language, so I apologize in advance for any errors
The second - a big thank you asdfasdfvful for what you are helping, especially in such a nubs like me )
And now the questions:
1 - how to make a file actionbar.9.png transparent? I was able to just fill it with black, the rest of the manipulation led to errors.
2 - when I edit the file message.hml "Contact pictures aligned to the Bottom," as to make the photo display and contact and mine?
Thanks in advance!
Click to expand...
Click to collapse
Hi there!
1. Are you aware of the basics of 9.png? In short, the 1 pixel border around the image must be either completely transparent or completely black. The black bars are intended to tell the app how the image should be resized. If you want transparency, make sure the 1 pixel border is all black and the corners transparent and leave everything within the border transparent. There is further tutorial on this in my site (link in my signature) for this.
2. I'm more really sure what you are asking, but if the contact picture is aligned to the bottom, it will be near the bottom of the message bubble.
It's been a while since I made evolve themes, but I'll be happy to elaborate on anything I can help with
Lastly, if by pure chance you are better at speaking in french, I can help you in that language
Sent from my Nexus 5 using Tapatalk
asdfasdfvful said:
Hi there!
1. Are you aware of the basics of 9.png? In short, the 1 pixel border around the image must be either completely transparent or completely black. The black bars are intended to tell the app how the image should be resized. If you want transparency, make sure the 1 pixel border is all black and the corners transparent and leave everything within the border transparent. There is further tutorial on this in my site (link in my signature) for this.
2. I'm more really sure what you are asking, but if the contact picture is aligned to the bottom, it will be near the bottom of the message bubble.
It's been a while since I made evolve themes, but I'll be happy to elaborate on anything I can help with
Lastly, if by pure chance you are better at speaking in french, I can help you in that language
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
thanks a lot for a prompt reply!
1 - on 9.png it is clear, I will understand
2 - on Contact pictures aligned to the bottom - now if to apply that message.xml which you gave in an example, the photo only contact is displayed, my photo isn't displayed. How to make so that both photos were displayed?
I from Russia therefore also French won't be suitable for me: )
SairK said:
thanks a lot for a prompt reply!
1 - on 9.png it is clear, I will understand
2 - on Contact pictures aligned to the bottom - now if to apply that message.xml which you gave in an example, the photo only contact is displayed, my photo isn't displayed. How to make so that both photos were displayed?
I from Russia therefore also French won't be suitable for me: )
Click to expand...
Click to collapse
Look at the width of the contact pictures. Chances are I made one of them 0dp. If so, change the width, min width, and max width to 48
Edit: looking at the sample it's just one number. Change the 0 to 48
Sent from my Nexus 5 using Tapatalk
asdfasdfvful said:
Look at the width of the contact pictures. Chances are I made one of them 0dp. If so, change the width, min width, and max width to 48
Edit: looking at the sample it's just one number. Change the 0 to 48
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I changed width with 0 to 48. the photo becomes visible, but the field of the text fits a photo
SairK said:
I changed width with 0 to 48. the photo becomes visible, but the field of the text fits a photo
Click to expand...
Click to collapse
Try playing with the margins for holder or background. Maybe add 48 to the current margin right for background? It's just a matter of tweaking now. It can be a pain though -_-
Sent from my Nexus 5 using Tapatalk
asdfasdfvful said:
Try playing with the margins for holder or background. Maybe add 48 to the current margin right for background? It's just a matter of tweaking now. It can be a pain though -_-
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK, thanks a lot! I will try
Is it possible to Hide Modules From launcher and launch them only in the Xposed Installer UI?
This can be done easily by the module authors themselves. If your favorite modules don't do it, maybe you can ask the authors to change it.
Otherwise, this could only be done by a module if the launcher doesn't support it. Maybe there already is a module for this, but generally, different launchers will require different approaches to hide the icon, so it might not work for you. In any case, this wouldn't be part of Xposed itself, but a third-party module.
Actually I believe there is a module that does this, or it might only do app locking, I haven't used it but it's worth checking out.
It can be usefull!!
Sent from my Nexus 4 using XDA Premium 4 mobile app
A lot of launchers hide the icons of apps which is good enough I'd of thought. They would only be visible in xposed
From my paid for buggy ass XDA app...
pjohn23 said:
Is it possible to Hide Modules From launcher and launch them only in the Xposed Installer UI?
Click to expand...
Click to collapse
just remove this line from your activity:
Code:
<category android:name="android.intent.category.LAUNCHER" />
And please make sure your activity has this line in the intent-filter:
Code:
<action android:name="android.intent.action.MAIN" />
For more information, you can visit the xposed installer source:
https://github.com/rovo89/XposedIns...id/xposed/installer/ModulesFragment.java#L241
I tried that sir. but xposed framework says module doesnt have UI
liudongmiao said:
just remove this line from your activity:
Code:
<category android:name="android.intent.category.LAUNCHER" />
And please make sure your activity has this line in the intent-filter:
Code:
<action android:name="android.intent.action.MAIN" />
For more information, you can visit the xposed installer source:
https://github.com/rovo89/XposedIns...id/xposed/installer/ModulesFragment.java#L241
Click to expand...
Click to collapse
Actually, instead of removing the category, use this:
Code:
<category android:name="de.robv.android.xposed.category.MODULE_SETTINGS" />
Hi, i have an app and i want to create a function where it allows users to change the icon of the app.
Is there a way to create a button to allow users to select a variety of app icons they can change to?
It's not possible and from a users perspective I'm totally fine with the limitation. Just imagine having totally different app icons every time you open your app-drawer.
There was a way to change shortcut icons by removing them and adding them back to the homescreen with another icon but it was also very unreliable.
ts-apps said:
It's not possible and from a users perspective I'm totally fine with the limitation. Just imagine having totally different app icons every time you open your app-drawer.
There was a way to change shortcut icons by removing them and adding them back to the homescreen with another icon but it was also very unreliable.
Click to expand...
Click to collapse
It is possible, i have tried it on a app like gallery lock in playstore. Mine is more or less a security app that want to allow users to change the icon as a form of 'misdirection'. But i can't find any info anywhere
Xposed framework can do that. Some apps of this category can be found in playstore and requires rooted devices with Xposed framework. Without that, there is no system wide icon application unless you use a ROM with icon theme support(like CM). I don't think there is any no root method.
You may search play store for an Xposed module named Flipster, it can replace not only icons but all image resources and color xml in any app. An app called Icondy allows user to create custom icon packs that can be applied using theme engines or launchers.
Some developers implement icon changing features in the app settings like in SuperSU or themed apps that allow user to change interface color schemes. There are a number of such apps.
SpaceMan013 said:
Xposed framework can do that. Some apps of this category can be found in playstore and requires rooted devices with Xposed framework. Without that, there is no system wide icon application unless you use a ROM with icon theme support(like CM). I don't think there is any no root method.
You may search play store for an Xposed module named Flipster, it can replace not only icons but all image resources and color xml in any app. An app called Icondy allows user to create custom icon packs that can be applied using theme engines or launchers.
Some developers implement icon changing features in the app settings like in SuperSU or themed apps that allow user to change interface color schemes. There are a number of such apps.
Click to expand...
Click to collapse
I just want to implement a function(button) inside my app to let user change the app's icon. So there's no way to do that for unrooted version of android?
Zetomono said:
I just want to implement a function(button) inside my app to let user change the app's icon. So there's no way to do that for unrooted version of android?
Click to expand...
Click to collapse
You can do that. As I mentioned before, if you want to have users select from multiple icon options for ONLY YOUR APP, that's pretty common and many apps now implement it. Try kernel adiutor (mind the spelling, it's correct). It's open sourced on github and allows users to choose between two icons if you want help or an example.
I'm not too sure about the coding part but I'm sure about a number of apps implementing this.
You may also see textra a messaging app on playstore that offers over 100 different icons for itself (yes truly that number) and many music players offer 4-5 different icons for the users to select according to their theme
It's unrealistic and from a clients point of view I'm absolutely fine with the impediment. Simply envision having very surprising application symbols each time you open your application drawer.
There was an approach to change easy route symbols by evacuating them and adding them back to the homescreen with another symbol however it was additionally exceptionally inconsistent.
It's an old question, but still active as there is no explicit Android feature. And the guys from facebook found a work around - somehow. Today, I found a way that works for me. Not perfect (see remarks at the end of this answer) but it works!
Main idea is, that I update the icon of my app's shortcut, created by the launcher on my home screen. When I want to change something on the shortcut-icon, I remove it first and recreate it with a new bitmap.
Here is the code. It has a button increment. When pressed, the shortcut is replaced with one that has a new counting number.
First you need these two permissions in your manifest:
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
damponting44 said:
It's an old question, but still active as there is no explicit Android feature. And the guys from facebook found a work around - somehow. Today, I found a way that works for me. Not perfect (see remarks at the end of this answer) but it works!
Main idea is, that I update the icon of my app's shortcut, created by the launcher on my home screen. When I want to change something on the shortcut-icon, I remove it first and recreate it with a new bitmap.
Here is the code. It has a button increment. When pressed, the shortcut is replaced with one that has a new counting number.
First you need these two permissions in your manifest:
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
Click to expand...
Click to collapse
May i ask how do you update the icon of the app's shortcut as well as recreating it?
: How to let users change App icon?
76
down vote
Try this, it works fine for me =)
1 . Modify your MainActivity section in AndroidManifest.xml, delete from it, line with MAIN category in intent-filter section
<activity android:name="ru.quickmessage.pa.MainActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait"
android:label="@string/app_name"
android:theme="@style/CustomTheme"
android:launchMode="singleTask">
<intent-filter>
==> <action android:name="android.intent.action.MAIN" /> <== Delete this line
<category android:name="android.intent.category.LAUNCHER" />//DELETE THIS LINE
</intent-filter>
</activity>
2 . Create <activity-alias>, for each of your icons. Like this
<activity-alias android:label="@string/app_name"
android:icon="@drawable/icon"
android:name=".MainActivity-Red"
android:enabled="false"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
3 . Set programmatically: set ENABLE attribute for the appropriate activity-alias
getPackageManager().setComponentEnabledSetting(
new ComponentName("ru.quickmessage.pa", "ru.quickmessage.pa.MainActivity-Red"),
PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);
: How to let users change App icon?
Alternatively, you can provide an iTunes redeem code to user, to let them download the "standard" version of your App in App Store. Still, the user has to remove the "lite" version himself. (this is not a user-friendly way, though)
Hello friends,
Me and my friend actually doing a joint android application project in which we have facing a problem. But my friend is the one who got the problem. It is we are unable to bring/get the edit text widget, and how to change from one layout to another, switching from default layout?
Please note that I just started my learning in android studio.
kindly help me.
Android studio can be screwy at times. I suggest learning how to manually code your layout files to prevent this.
nickjpease said:
Android studio can be screwy at times. I suggest learning how to manually code your layout files to prevent this.
Click to expand...
Click to collapse
Hi.. Thanks. This link redirects me to play store and there are 4 apps in that link.
Huh, oh that was not part of the post... your xml file should resemble this
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Label1" />
</LinearLayout>
When I have trouble with graphical view I usually turn the SDK version down for what ever reason that works. I have never really had a problem with drag and dropping textviews except in placement in like a relative layout.
Viewing your layout as text removes the lagginess of the graphical view however you can't use the super easy drag and drop stuff.