[Android Themes] akash akya:
found a nice guide here http://xdaforums.com/showthread.php?p=23456320 by evilisto.... but my device manufacturer doesn't release source code... :(

after reading AOSP source and smali files of framework.jar found that all lock screen files are there... android didnt removed its previous versions lock screen styles.... :) but they added new one leaving old one as it is.... and referred to that style in layout files.... so, we can still use that lock screen styles without editing smail... means just refer that style in layout file.... ;) and copy images from other folder... means most likely they are in other drawable-xxxx...

so for example if you want honeycomb lock screen :

Step 1 :

decompile framework-res.apk

goto res > layout > keyguard_screen_tab_unlock.xml

Step 2 :

search for "com.android.internal.widget.multiwaveview.GlowPadView" if you are runnig JB... search for "com.android.internal.widget.multiwaveview.MultiWaveView" if are runnig ICS.... so just change the above code with "com.android.internal.widget.WaveView" so that it refer honeycomb lock screen style.....

you may also have to change its location.....

compare your code with this one.... :

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center_horizontal" android:background="#90000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.internal.widget.DigitalClock android:layout_gravity="center" android:id="@id/time" android:layout_marginTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin" android:layout_marginBottom="0.0dip">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:layout_gravity="center" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:layout_gravity="center" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
<LinearLayout android:layout_gravity="center" android:orientation="horizontal">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0dip" android:textStyle="bold" android:textColor="#ffe2e2e2" android:ellipsize="marquee" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:fontFamily="sans-serif-light" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="18.0dip" android:textStyle="italic" android:textColor="#ffffffff" android:ellipsize="marquee" android:id="@id/alarm_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<include android:id="@id/NewEventController" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin" android:layout_alignParentRight="true" layout="@layout/keyguard_newevent_controller" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:layout_gravity="left" android:id="@id/calibrationData" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="2.0dip" android:layout_marginRight="12.0dip" android:singleLine="true" android:layout_below="@id/NewEventController" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:layout_gravity="center" android:id="@id/status1" android:singleLine="true" android:drawablePadding="2.0dip" android:fontFamily="sans-serif-light" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="380.0dip">
<com.android.internal.widget.WaveView android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="300dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="12.0dip" android:layout_alignParentBottom="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="right" android:id="@id/carrier" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:drawablePadding="4.0dip" android:layout_weight="1.0" />
<TextView android:gravity="center" android:id="@id/carrierDivider" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip" android:drawablePadding="2.0dip" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="left" android:id="@id/carrierGemini" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:drawablePadding="4.0dip" android:layout_weight="1.0" />
</LinearLayout>
</RelativeLayout>
<Button android:layout_gravity="right" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="0.0dip" style="?android:attr/buttonBarButtonStyle" />
<include android:layout_gravity="fill" android:id="@id/transport" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_column="0" android:layout_row="0" android:layout_rowSpan="4" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control" />
</GridLayout>
</RelativeLayout>

add pngs(images) from here...

SS:

Sliding Tab

anybody want classic android slidingtab :silly:

how ? compare code with mine... , just edit red line...

:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center_horizontal" android:background="#90000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.internal.widget.DigitalClock android:layout_gravity="center" android:id="@id/time" android:layout_marginTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin" android:layout_marginBottom="0.0dip">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:layout_gravity="center" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:layout_gravity="center" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
<LinearLayout android:layout_gravity="center" android:orientation="horizontal">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0dip" android:textStyle="bold" android:textColor="#ffe2e2e2" android:ellipsize="marquee" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:fontFamily="sans-serif-light" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="18.0dip" android:textStyle="italic" android:textColor="#ffffffff" android:ellipsize="marquee" android:id="@id/alarm_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<include android:id="@id/NewEventController" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin" android:layout_alignParentRight="true" layout="@layout/keyguard_newevent_controller" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:layout_gravity="left" android:id="@id/calibrationData" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="2.0dip" android:layout_marginRight="12.0dip" android:singleLine="true" android:layout_below="@id/NewEventController" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:layout_gravity="center" android:id="@id/status1" android:singleLine="true" android:drawablePadding="2.0dip" android:fontFamily="sans-serif-light" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="380.0dip">
[COLOR="Red"]<com.android.internal.widget.SlidingTab android:id="[COLOR="Blue"]@id/unlock_widget[/COLOR]" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_marginBottom="80dip" /> [/COLOR]
<LinearLayout android:gravity="center" android:orientation="horizontal" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="12.0dip" android:layout_alignParentBottom="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="right" android:id="@id/carrier" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:drawablePadding="4.0dip" android:layout_weight="1.0" />
<TextView android:gravity="center" android:id="@id/carrierDivider" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip" android:drawablePadding="2.0dip" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="left" android:id="@id/carrierGemini" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:drawablePadding="4.0dip" android:layout_weight="1.0" />
</LinearLayout>
</RelativeLayout>
<Button android:layout_gravity="right" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="0.0dip" style="?android:attr/buttonBarButtonStyle" />
<include android:layout_gravity="fill" android:id="@id/transport" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_column="0" android:layout_row="0" android:layout_rowSpan="4" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control" />
</GridLayout>
</RelativeLayout>

as simple as that... :laugh: don't ever change that blue id in any lock screen mod unless you edit android.policy.jar and change id...

UPDATE : for these effect :

[YOUTUBE]dr-WZ9S6liI[/YOUTUBE]

video by [MENTION=3233976]evilisto[/MENTION] not by me...

HOW :

* download chrome resource... put it in framework-res/res/drawable-xxx

got animation exactly as here for all logos :victory::victory:

search :

.field private static final DURATION:J = [COLOR="Red"]0x12cL[/COLOR]

it controls duration of transitional animations

change all occurrence of 0x12c to 0x400

search :

.field private static final WAVE_DELAY:J = 0x64L

it controls duration between waves,

to change it to 0x250L

then search for (they are more than once replace all) :

Lcom/android/internal/widget/WaveView;->mWaveTimerDelay:J

one line above you will see 0x64 change it too 0x250

search :

.field private static final SHORT_DELAY:J = 0x64L

it controls time for starting one animation after another

change all occurrence of 0x64 to 0x300

search:

field private static final WAVE_COUNT:I = 0x14

it controls... well, its self explanatory :p

change 0x14 to 0x5

search for

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 4

const/16 v3, 0x14

const/4 v2, 0x0

change 0x14 to 0x5

search

.field private static final WAVE_DURATION:J = 0x7d0L

its single wave duration

replace all 0x7d0 to 0xBB8

its also there in WaveView$2.smali...

ps : you may ask where is those resource ?? (png) its there always, look in res/drawable-swxxx

using same method you can try older version lockscreen WITHOUT modifying smali...