What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Theming Guide for changing system text settings.

I think he got it. Since he posted in the other thread about doing notification text color change that he got it work. lol, now lets get to business.
 
Yes, I figured out the java issues over there. Just not on the right computer as I am at work now. I'll mess with it when I get home. Set those variables and carry on from there. Just can't figure out the theme.zip error over there on the other. Different issue for a different thread though.

I will figure this out if it kills me.
 
I think he got it. Since he posted in the other thread about doing notification text color change that he got it work. lol, now lets get to business.

oh i just got home and this was the first thread i went too,lol sorry..

in the color.xml it doesnt really tell you much on what each string/code color represents. also in the keyguard_unlock_tab.xml(might be spelled wrong or whatever) i only see one thing that calls for color,i changed it but nothing changed on lockscreen.
 
Last edited:
I think he got it. Since he posted in the other thread about doing notification text color change that he got it work. lol, now lets get to business.

oh i just got home and this was the first thread i went too,lol sorry..

in the color.xml it doesnt really tell you much on what each string/code color represents. also in the keyguard_unlock_tab.xml(might be spelled wrong or whatever) i only see one thing that calls for color,i changed it but nothing changed on lockscreen.

Sneaky for the Key guard tab xml I just added call out to some color codes here what it looks like after I added my own entries. I have underlined what I changed also thats the same code to center the time and date and move the Verizon text to the right.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout android:gravity="center" android:id="@id/root" android:background="#70000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock">
    <TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="8.0dip" android:singleLine="true" android:layout_alignParentTop="true" android:layout_alignParentRight="false" />
    <TextView android:textAppearance="?textAppearanceSmall" android:textColor="#ff000000" android:id="@id/emergencyCallText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:layout_marginRight="8.0dip" android:text="@string/emergency_calls_only" android:layout_below="@id/carrier" android:layout_alignParentRight="true" />
    <com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingBottom="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="55.0dip" android:layout_marginTop="70.0dip" android:layout_below="@id/carrier">
        <TextView android:textAppearance="?textAppearanceMedium" [B][U]android:textColor="#ff428fab" [/U][/B]android:textSize="90.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
        <TextView android:textAppearance="?textAppearanceMedium" [B][U]android:textColor="#ff428fab"[/U][/B] android:textSize="30.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
    </com.android.internal.widget.DigitalClock>
    <TextView android:textAppearance="?textAppearanceMedium" [B][U]android:textColor="#ff428fab"[/U][/B] android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="93.0dip" android:layout_below="@id/time" />
    <TextView android:textAppearance="?textAppearanceMedium" [B][U]android:textColor="#ff428fab"[/U][/B] android:id="@id/status1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="93.0dip" android:layout_marginTop="4.0dip" android:drawablePadding="4.0dip" android:layout_below="@id/date" />
    <TextView android:textAppearance="?textAppearanceMedium" [B][U]android:textColor="#ff428fab"[/U][/B]  android:id="@id/status2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="93.0dip" android:layout_marginTop="4.0dip" android:drawablePadding="4.0dip" android:layout_below="@id/status1" />
    <TextView android:textAppearance="?textAppearanceMedium" android:id="@id/screenLocked" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="93.0dip" android:layout_marginTop="12.0dip" android:drawablePadding="4.0dip" android:layout_below="@id/status2" />
    <com.android.internal.widget.SlidingTab android:orientation="horizontal" android:id="@id/tab_selector" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="20.0dip" android:layout_alignParentBottom="true" />
    <Button android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="20.0dip" android:drawableLeft="@drawable/ic_emergency" android:drawablePadding="8.0dip" android:layout_alignParentBottom="true" android:layout_centerInParent="true" style="@style/Widget.Button.Transparent" />
</RelativeLayout>


So after making all those changes your LS should look like this

snap20100803132352.png






Dont forget landscaper as well
 
FYI I also move the lock tabs pretty much all the way down to the bottom in that code, you cant see mine cause they are transparent, but be forewarned! lol
 
Yes to get things the way you want them you are going to need to add code to the xml. That's why I added the codes as a static code so people can do a easy hex editor with 80 00 00 1c. That way there is no need to decompile, edit and recompile ever time. Just something to keep in mnd when adding code.
 
ok im using clockwork recovery and i tried the update.zip that the OP posted, all i did was placed my framework-res.apk in the compressed template_update.zip file in /system/framework...renamed it and applied it but it said while it applied the update, a message" this is a templat please change it" lol not sure if i need to change the update script and binary or not.....side note,i just remembered i dont need to rename it. im going to try to find the clock color for the lookscreen, thats mainly all i want.

ok here is a update zip already for you just drop what you need to in it folder, I set it up for fonts and Boot animations as well!


I've been using just any update.zip and deleting everything out of it. IS this ok to do or do you have a template for sprecovery also?
 
I think he got it. Since he posted in the other thread about doing notification text color change that he got it work. lol, now lets get to business.

oh i just got home and this was the first thread i went too,lol sorry..

in the color.xml it doesnt really tell you much on what each string/code color represents. also in the keyguard_unlock_tab.xml(might be spelled wrong or whatever) i only see one thing that calls for color,i changed it but nothing changed on lockscreen.

thank you for pointing all this out

Yes to get things the way you want them you are going to need to add code to the xml. That's why I added the codes as a static code so people can do a easy hex editor with 80 00 00 1c. That way there is no need to decompile, edit and recompile ever time. Just something to keep in mnd when adding code.

yeah, i just needed a sample of how to add color codes, now i can go by what he provided and learn how to add codes.
 
ok im using clockwork recovery and i tried the update.zip that the OP posted, all i did was placed my framework-res.apk in the compressed template_update.zip file in /system/framework...renamed it and applied it but it said while it applied the update, a message" this is a templat please change it" lol not sure if i need to change the update script and binary or not.....side note,i just remembered i dont need to rename it. im going to try to find the clock color for the lookscreen, thats mainly all i want.

ok here is a update zip already for you just drop what you need to in it folder, I set it up for fonts and Boot animations as well!


I've been using just any update.zip and deleting everything out of it. IS this ok to do or do you have a template for sprecovery also?

theres an update.zip template on page 2 or 3 and i think it is for sprecovery
 
ok here is a update zip already for you just drop what you need to in it folder, I set it up for fonts and Boot animations as well!


I've been using just any update.zip and deleting everything out of it. IS this ok to do or do you have a template for sprecovery also?

theres an update.zip template on page 2 or 3 and i think it is for sprecovery


Yeah I was just goign to delete my post because I was going through and reading everything again and found it. Must have missed it the first time reading sorry. Thank you !
 
Say I want to drop somethign on the sdcard like wallpapers when a theme installs do I have to change the updater-script. I knwo I would have to have a folder called sdcard with the app front and other folders but I don't know how to make the update.zip drop things on the sdcard?

Sorry I saw bowers had mentioned changing the ui in the updater script which I have do for my personal use with stuff i made for me so I wasn't sure if i could ask this question in this thread.
 
the reason i didnt think i could use the OP attachment xml files for the lockscreen is because the rom im using at the bottom shows some music control codes

Code:
<?xml version="1.0" encoding="UTF-8"?> 
<RelativeLayout android:gravity="center_horizontal" android:id="@id/root" android:background="#70000000" android:layout_width="fill_parent" android:layout_height="fill_parent" 
  xmlns:android="http://schemas.android.com/apk/res/android" 
  xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock"> 
    <TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="8.0dip" android:singleLine="true" android:layout_alignParentTop="true" android:layout_alignParentRight="true" /> 
    <TextView android:textAppearance="?textAppearanceSmall" android:textColor="#ffff6600" android:id="@id/emergencyCallText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:layout_marginRight="8.0dip" android:text="@string/emergency_calls_only" android:layout_below="@id/carrier" android:layout_alignParentRight="true" /> 
    <com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingBottom="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="52.0dip" android:layout_below="@id/carrier"> 
        <TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" /> 
        <TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" /> 
    </com.android.internal.widget.DigitalClock> 
    <TextView android:textAppearance="?textAppearanceMedium" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_below="@id/time" /> 
    <TextView android:textAppearance="?textAppearanceMedium" android:id="@id/status1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="4.0dip" android:drawablePadding="4.0dip" android:layout_below="@id/date" /> 
    <TextView android:textAppearance="?textAppearanceMedium" android:id="@id/status2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="4.0dip" android:drawablePadding="4.0dip" android:layout_below="@id/status1" /> 
    <TextView android:textAppearance="?textAppearanceSmall" android:id="@id/customMsg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="24.0dip" android:layout_below="@id/status2" /> 
    <TextView android:textAppearance="?textAppearanceMedium" android:id="@id/screenLocked" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="12.0dip" android:drawablePadding="4.0dip" android:layout_below="@id/customMsg" /> 
    <com.android.internal.widget.SlidingTab android:orientation="horizontal" android:id="@id/tab_selector" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="80.0dip" android:layout_alignParentBottom="true" /> 
    <Button android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="80.0dip" android:drawableLeft="@drawable/ic_emergency" android:drawablePadding="8.0dip" android:layout_alignParentBottom="true" android:layout_centerInParent="true" style="@style/Widget.Button.Transparent" /> 
    <ImageButton android:id="@id/musicControlPlay" android:background="@color/transparent" android:padding="10.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="20.0dip" android:src="@drawable/ic_media_play" android:layout_alignParentBottom="true" android:layout_centerInParent="true" /> 
    <ImageButton android:id="@id/musicControlPause" android:background="@color/transparent" android:padding="10.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="20.0dip" android:src="@drawable/ic_media_pause" android:layout_alignParentBottom="true" android:layout_centerInParent="true" /> 
    <ImageButton android:id="@id/musicControlPrevious" android:background="@color/transparent" android:padding="10.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="20.0dip" android:src="@drawable/ic_media_previous" android:layout_toLeftOf="@id/musicControlPause" android:layout_alignParentBottom="true" /> 
    <ImageButton android:id="@id/musicControlNext" android:background="@color/transparent" android:padding="10.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="20.0dip" android:src="@drawable/ic_media_next" android:layout_toRightOf="@id/musicControlPause" android:layout_alignParentBottom="true" /> 
</RelativeLayout>

side not,where it says custom message how can i make it bigger,plus ill have to add some color code in order to change its tex color, im catching on,lol although according to this i havent made any edits but i have,just isnt finished yet
 
I have the java thing figured out. I setup the environment variables to show c:program files\java\jre6\bin

I have adb and apk manager both on c: I am putting framework-res.apk into the ...for modding folder. I run script, clear workspace, can't find adb. hit option 9.

It tells me it can't find it.
 
Back
Top