[MOD][Tutorial] 4x5 Grid Workspace with Sense Widgets. II - Desire HD Themes and Apps

Sorry. Limit 30,000 characters of the First post.
First Tutorial [MOD][Tutorial] 4x5 Grid Workspace with Sense Widgets.
Change LOG(28th/Feb/2011) GMT+9
Most modified HTC Sense wigets. My friend(테제군 @csm3837) helped me a lot. His work is this posted.
[Tutorial] Widget Modified(4x5 Grid, ../system/app)
1. com.htc.FMRadioWidget.apk
Browse to ../res/layout-hdpi(-v4) and edit(open) next files and change
main42.xml
HTML:
<ImageView android:id="@id/Main_Background" android:background="@com.htc:drawable/common_panel" android:layout_width="450.0px" android:layout_height="232.0px" android:layout_marginLeft="15.0px" android:layout_marginTop="8.0px" />
<ImageView android:id="@id/State_Panel" android:layout_width="432.0px" android:layout_height="150.0px" android:layout_marginLeft="24.0px" android:layout_marginTop="20.0px" android:src="@drawable/panel_blue_s" android:scaleType="center" />
<ImageView android:id="@id/Btn_Prev" android:background="@drawable/fm_widget_seek_prev_button_background" android:layout_width="125.0px" android:layout_height="75.0px" android:layout_marginLeft="115.0px" android:layout_marginTop="190.0px" android:src="@drawable/fm_widget_seek_prev_button" android:scaleType="center" />
<ImageView android:id="@id/Btn_Next" android:background="@drawable/fm_widget_seek_next_button_background" android:layout_width="125.0px" android:layout_height="75.0px" android:layout_marginLeft="240.0px" android:layout_marginTop="190.0px" android:src="@drawable/fm_widget_seek_next_button" android:scaleType="center" />
main44.xml
HTML:
<ImageView android:id="@id/Main_Background" android:background="@com.htc:drawable/common_panel" android:layout_width="410.0px" android:layout_height="575.0px" android:layout_marginLeft="35.0px" android:layout_marginTop="70.0px" />
<ImageView android:id="@id/State_Panel" android:layout_width="372.0px" android:layout_height="240.0px" android:layout_marginLeft="54.0px" android:layout_marginTop="89.0px" android:src="@drawable/panel_blue" android:scaleType="center" />
<ImageView android:id="@id/Btn_Power" android:background="@drawable/fm_widget_power_button" android:layout_width="62.0px" android:layout_height="51.0px" android:layout_marginLeft="363.0px" android:layout_marginTop="90.0px" android:src="@drawable/fm_radio_widget_icon_power_off" />
<TextView android:textSize="26.0px" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="top|center" android:id="@id/Content_txt" android:layout_width="220.0px" android:layout_height="wrap_content" android:layout_marginLeft="130.0px" android:layout_marginTop="117.0px" android:text="@string/default_station" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" />
<ImageView android:id="@id/tunerpanel" android:layout_width="372.0px" android:layout_height="90.0px" android:layout_marginLeft="54.0px" android:layout_marginTop="363.0px" android:src="@drawable/tuner_panel_on" />
<ImageView android:id="@id/Num_View" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="285.0px" android:layout_marginTop="190.0px" android:src="@drawable/zero" />
<ImageView android:id="@id/Point_View" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="265.0px" android:layout_marginTop="190.0px" android:src="@drawable/point" />
<ImageView android:id="@id/Num_View2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="214.0px" android:layout_marginTop="190.0px" android:src="@drawable/zero" />
<ImageView android:id="@id/Num_View3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="163.0px" android:layout_marginTop="190.0px" android:src="@drawable/zero" />
<ImageView android:id="@id/Num_View4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="112.0px" android:layout_marginTop="190.0px" android:src="@drawable/zero" />
<ImageView android:id="@id/Image_mhz" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="336.0px" android:layout_marginTop="250.0px" android:src="@drawable/mhz" />
<ImageView android:id="@id/NumMirror_View" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="285.0px" android:layout_marginTop="259.0px" android:src="@drawable/zero_reverse" />
<ImageView android:id="@id/PointMirror_View" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="265.0px" android:layout_marginTop="259.0px" android:src="@drawable/point_reverse" />
<ImageView android:id="@id/NumMirror_View2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="214.0px" android:layout_marginTop="259.0px" android:src="@drawable/zero_reverse" />
<ImageView android:id="@id/NumMirror_View3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="163.0px" android:layout_marginTop="259.0px" android:src="@drawable/zero_reverse" />
<ImageView android:id="@id/NumMirror_View4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="112.0px" android:layout_marginTop="259.0px" android:src="@drawable/zero_reverse" />
<ImageView android:id="@id/Image_reverse_mhz" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="336.0px" android:layout_marginTop="263.0px" android:src="@drawable/mhz_reverse" />
<ImageView android:id="@id/divide_line" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="36.0px" android:layout_marginTop="488.0px" android:src="@drawable/divider" />
<ImageView android:id="@id/Btn_Prev" android:background="@drawable/fm_widget_seek_prev_button_background" android:layout_width="125.0px" android:layout_height="75.0px" android:layout_marginLeft="115.0px" android:layout_marginTop="529.0px" android:src="@drawable/fm_widget_seek_prev_button" android:scaleType="center" />
<ImageView android:id="@id/Btn_Next" android:background="@drawable/fm_widget_seek_next_button_background" android:layout_width="125.0px" android:layout_height="75.0px" android:layout_marginLeft="240.0px" android:layout_marginTop="529.0px" android:src="@drawable/fm_widget_seek_next_button" android:scaleType="center" />
2. com.htc.FriendStreamWidget.apk
Browse to ../res/values-port-hdpi(-v4) and edit(open) integers.xml and change
HTML:
<integer name="friendstream_widget_height">500</integer>
<integer name="friendstream_widget_small_height">240</integer>
<integer name="small_EditMaxHeight">148</integer>
3. com.htc.MusicWidget.apk
Browse to ../res/values-port-hdpi(-v4) and edit(open) dimens.xml and change
HTML:
<dimen name="buttons_for_mmc_diff">0.0px</dimen>
<dimen name="buttons_for_mmc_diff_4x4">0.0px</dimen>
<dimen name="mmc_button_layout_margin_left">0.0px</dimen>
<dimen name="mmc_button_4x4_layout_margin_left">0.0px</dimen>
<dimen name="panel_layout_height">252.0px</dimen>
<dimen name="panel_layout_margin_top">15.0px</dimen>
<dimen name="no_music_layout_height">136.0px</dimen>
<dimen name="rl_playback_margin_top">188.0px</dimen>
<dimen name="l_divider_layout_margin_left">142.0px</dimen>
<dimen name="panel_layout_height_4x4">473.0px</dimen>
<dimen name="panel_layout_margin_top_4x4">40.0px</dimen>
<dimen name="shuffle_icon_margin_top_4x4">23.0px</dimen>
<dimen name="album_switcher_margin_top_4x4">15.0px</dimen>
<dimen name="no_music_margin_top_4x4">50.0px</dimen>
<dimen name="song_title_margin_top_4x4">304.0px</dimen>
<dimen name="ll_seekbar_layout_margin_top_4x4">345.0px</dimen>
<dimen name="artist_name_layout_margin_top_4x4">370.0px</dimen>
4. com.htc.StockWidget.apk
Browse to ../res/layout-hdpi(-v4) and edit(open) extra.xml and change
HTML:
<ImageView android:id="@id/stock_panel" android:background="@com.htc:drawable/common_panel_gradient" android:layout_width="450.0px" android:layout_height="463.0px" android:layout_marginLeft="15.0px" android:layout_marginTop="58.0px" />
<RelativeLayout android:id="@id/rllv1" android:layout_width="450.0px" android:layout_height="428.0px" android:layout_marginLeft="16.0px" android:layout_marginTop="70.0px" android:layout_alignParentTop="true" />
<TextView android:textSize="@com.htc:dimen/darklist_primary_m" android:textColor="#ffffffff" android:gravity="center" android:id="@id/emptystock" android:visibility="gone" android:layout_width="330.0px" android:layout_height="537.0px" android:text="@string/small_emptystock" android:layout_centerHorizontal="true" />
<TextView android:textSize="@com.htc:dimen/darklist_primary_m" android:textColor="#ffffffff" android:gravity="center" android:id="@id/loadstock" android:visibility="gone" android:layout_width="330.0px" android:layout_height="537.0px" android:text="@string/load_stock" android:layout_centerHorizontal="true" />
<TextView android:textSize="@com.htc:dimen/darklist_primary_m" android:textColor="#ffffffff" android:gravity="center" android:id="@id/roamAlertExtra" android:visibility="gone" android:layout_width="330.0px" android:layout_height="537.0px" android:text="@string/alert_roaming_content" android:layout_centerHorizontal="true" />
<TextView android:textSize="@com.htc:dimen/darklist_primary_m" android:textColor="#ffffffff" android:gravity="center" android:id="@id/connectionAlertExtra" android:visibility="gone" android:layout_width="330.0px" android:layout_height="537.0px" android:text="@string/alert_connection_fail" android:layout_centerHorizontal="true" />
<ImageView android:id="@id/stock_footer" android:layout_width="450.0px" android:layout_height="wrap_content" android:layout_marginLeft="15.0px" android:layout_marginTop="496.0px" />
<ImageView android:id="@id/pressUpdate" android:layout_width="360.0px" android:layout_height="30.0px" android:layout_marginTop="496.0px" android:src="@drawable/update_selector" android:layout_centerHorizontal="true" />
<TextView android:textSize="18.0px" android:textColor="@color/white" android:id="@id/updTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="498.0px" android:layout_centerHorizontal="true" />
<TextView android:textSize="18.0px" android:textColor="@color/white" android:id="@id/updEffect" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="498.0px" android:layout_toRightOf="@id/updTime" />
<ImageView android:id="@id/refresh_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="500.0px" android:src="@drawable/stock_icon_refresh" android:layout_toLeftOf="@id/updTime" />
<RelativeLayout android:gravity="center" android:layout_gravity="center" android:id="@id/yahooQuoteDelay" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="52.0px" android:layout_marginTop="480.0px" android:layout_centerHorizontal="true">
<TextView android:textSize="16.5px" android:textStyle="bold" android:textColor="@color/black" android:gravity="center" android:layout_gravity="center" android:id="@id/tvQuoteDelay_shadow" android:layout_width="wrap_content" android:layout_height="52.0px" android:layout_marginLeft="1.0px" android:layout_marginTop="484.0px" android:text="@string/quote_delay_small" android:singleLine="true" android:layout_centerHorizontal="true" />
<TextView android:textSize="16.5px" android:textStyle="bold" android:textColor="@color/white" android:gravity="center" android:layout_gravity="center" android:id="@id/tvQuoteDelay" android:layout_width="wrap_content" android:layout_height="52.0px" android:layout_marginTop="485.0px" android:text="@string/quote_delay_small" android:singleLine="true" android:layout_centerHorizontal="true" />
5. com.htc.TwitterWidget.apk
Browse to ../res/values-port-hdpi(-v4) and edit(open) integers.xml and change
HTML:
<integer name="tweet_widget_height">490</integer>
<integer name="tweet_widget_small_height">238</integer>
<integer name="small_EditMaxHeight">108</integer>
<integer name="edit_max_line">6</integer>
<integer name="edit_max_line_small">5</integer>
6. com.htc.WeatherWidget.apk
Browse to ../res/values-hdpi(-v4) and edit(open) dimens.xml and change
HTML:
<dimen name="large_widget_footbar_text_size">18.0px</dimen> <!-- line 62, change all -->
<dimen name="med_widget_image_margin_top">-28.0px</dimen>
<dimen name="med_widget_today_view_margin_top">86.0px</dimen>
<dimen name="med_widget_today_view_high_low_temp_margin_top">0.0px</dimen>
<dimen name="med_widget_todayinfo_margin_top">161.0px</dimen>
<dimen name="med_widget_condition_info_margin_top">30.0px</dimen>
<dimen name="med_widget_todayinfo_divider_margin_top">26.0px</dimen>
<dimen name="no_weather_data_view_margin_top">-20.0px</dimen>
<dimen name="weather_icon_margin_top">-20.0px</dimen>
7. EReaderWidget.apk
Browse to ../res/layout edit(open) main.xml and change
HTML:
<RelativeLayout android:id="@id/widget_frame" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:id="@id/rl_all_pannel" android:background="@com.htc:drawable/common_panel_gradient" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="15.0px" android:layout_marginTop="36.0px" android:layout_marginRight="15.0px" android:layout_marginBottom="36.0px">
<ImageView android:id="@id/header" android:background="?com.htc:attr_common_header" android:layout_width="fill_parent" android:layout_height="80.0px" />
<ImageView android:id="@id/open_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="25.0px" android:layout_marginTop="10.0px" android:src="@drawable/icon_ereader" />
<TextView android:textSize="@dimen/title_primary_m" android:textColor="#ffffffff" android:id="@id/title" android:layout_width="wrap_content" android:layout_height="68.0px" android:layout_marginLeft="150.0px" android:layout_marginTop="50.0px" android:text="@string/add_widget" android:shadowColor="#ff111111" android:shadowRadius="1.0" />
8. HtcCalculatorWidget.apk only 4x5 mod
Browse to ../smali/com/htc/android/calculator/widget/ edit(open) CalculatorWidgetView.smali and change(Find 'SpanY') 0x5
HTML:
.method public getSpanY()I
.locals 1
.prologue
.line 57
const/4 v0, 0x5 <!-- original 0x4 -->
9. htccalendarwidgets.apk (month view 4x5, agenda 4x4)
Browse to ../res/layout-nomal-hdpi edit(open) calendar_agenda.xml and change
HTML:
<RelativeLayout android:id="@id/agenda_frame" android:layout_width="450.0px" android:layout_height="500.0px" android:layout_marginLeft="15.0px" android:layout_marginTop="36.0px">
<View android:id="@id/agenda_panel" android:background="@com.htc:drawable/common_panel_gradient" android:layout_width="450.0px" android:layout_height="490.0px" android:layout_marginTop="10.0px" />
<ImageView android:id="@id/footer" android:background="?com.htc:attr_common_footer" android:layout_width="450.0px" android:layout_height="16.0px" android:layout_marginLeft="0.0px" android:layout_marginTop="-10.0px" android:layout_below="@id/agenda_view" />
Browse to ../smali/com/htc/htccalendarwidgets/ edit(open) MonthViewWidgetView.smali and change(Find 'SpanY') 0x5
HTML:
.method public getSpanY()I
.locals 1
.prologue
.line 129
const/4 v0, 0x5
next post...

10. HtcClockWidget.apk
Browse to ../res/values-hdpi(-v4) and edit(open) dimens.xml and change
HTML:
<dimen name="sun_margin_bottom">-6.0px</dimen>
<dimen name="todayinfo_option_margin_top">175.0px</dimen>
<dimen name="todaytemp_text_size">16.0px</dimen>
<dimen name="temp_big_text_size">40.0px</dimen>
<dimen name="weekday_text_size">21.0px</dimen>
<dimen name="todayinfo_margin_top">175.0px</dimen>
<dimen name="todaytempview_margin_top">175.0px</dimen>
<dimen name="temparature_margin_top">-10.0px</dimen>
<dimen name="high_temp_margin_top">-1.0px</dimen>
<dimen name="low_temp_margin_top">-5.0px</dimen>
<dimen name="week_day_margin_top">-6.0px</dimen>
<dimen name="weatherclock_base_height">240.0px</dimen>
<dimen name="weatherclock_base_margin_top">35.0px</dimen>
<dimen name="weather_view_margin_bottom">25.0px</dimen>
<dimen name="weather_press_height">240.0px</dimen>
<dimen name="sun_height">150.0px</dimen>
<dimen name="sun_margin_top">164.0px</dimen>
<dimen name="digitalclock_margin_top">-34.0px</dimen>
<dimen name="dualclock_base_height">171.0px</dimen>
<dimen name="dualclock_base_margin_top">42.0px</dimen>
<dimen name="dualclock_clock_margin_top">23.0px</dimen>
<dimen name="analogclock_clock_margin_top">-10.0px</dimen>
<dimen name="analogclock_clock_ac_text_size">23.0px</dimen>
<dimen name="analogclock44_clocklayout_height">500.0px</dimen>
<dimen name="analogclock44_clocklayout_padding_top">5.0px</dimen>
<dimen name="analogclock44_clock_width">407.0px</dimen>
<dimen name="analogclock44_clock_height">406.0px</dimen>
<dimen name="analogclock44_clock_margin_top">-90.0px</dimen>
<dimen name="analogclock44_hit_margin_top">-20.0px</dimen>
Supplements 2.16.0.0(GingerBread Sense 2.1) FriendStream.
11. htccontactwidgets.apk
Browse to ../res/layout-normal-hdpi and edit(open) next files and change.
contact_widget_matrix.xml
HTML:
<RelativeLayout android:id="@id/frame" android:layout_width="450.0px" android:layout_height="504.0px" android:layout_marginLeft="7.0px">
<View android:id="@id/background" android:background="@com.htc:drawable/common_panel_gradient" android:layout_width="450.0px" android:layout_height="484.0px" android:layout_marginTop="18.0px" android:layout_marginBottom="5.0px" />
<RelativeLayout android:id="@id/list_panel" android:layout_width="fill_parent" android:layout_height="450.0px" android:layout_marginLeft="1.0px" android:layout_marginTop="36.0px" android:layout_marginBottom="15.0px" />
<TextView android:gravity="center" android:id="@id/empty_panel" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="476.0px" android:text="@string/add_prompt" android:layout_centerInParent="true" style="\@com.htc:style/darklist_primary_m" />
<com.htc.widget.ActionBar android:id="@id/task_bar" android:layout_width="204.0px" android:layout_height="77.0px" android:layout_marginLeft="130.0px" android:layout_marginTop="449.0px" />
contact_widget_matrix_xl.xml
HTML:
<RelativeLayout android:id="@id/frame" android:layout_width="210.0px" android:layout_height="504.0px" android:layout_marginLeft="7.0px">
<View android:id="@id/background" android:background="@com.htc:drawable/common_panel_gradient" android:layout_width="210.0px" android:layout_height="484.0px" android:layout_marginTop="18.0px" android:layout_marginBottom="5.0px" />
<RelativeLayout android:id="@id/list_panel" android:layout_width="fill_parent" android:layout_height="450.0px" android:layout_marginLeft="1.0px" android:layout_marginTop="36.0px" android:layout_marginBottom="15.0px" />
<TextView android:gravity="center" android:id="@id/empty_panel" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="476.0px" android:text="@string/add_prompt" android:layout_centerInParent="true" style="\@com.htc:style/darklist_primary_m" />
<com.htc.widget.ActionBar android:id="@id/task_bar" android:layout_width="204.0px" android:layout_height="77.0px" android:layout_marginLeft="10.0px" android:layout_marginTop="449.0px" />
contact_widget_rich_info.xml
HTML:
<RelativeLayout android:id="@id/frame" android:layout_width="450.0px" android:layout_height="504.0px" android:layout_marginLeft="7.0px">
<View android:id="@id/background" android:background="@com.htc:drawable/common_panel_gradient" android:layout_width="450.0px" android:layout_height="484.0px" android:layout_marginTop="25.0px" android:layout_marginBottom="0.0px" />
<RelativeLayout android:id="@id/list_panel" android:layout_width="fill_parent" android:layout_height="470.0px" android:layout_marginLeft="1.0px" android:layout_marginTop="25.0px" android:layout_marginBottom="1.0px" />
<TextView android:gravity="center" android:id="@id/empty_panel" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="476.0px" android:text="@string/add_prompt" android:layout_centerInParent="true" style="\@com.htc:style/darklist_primary_m" />
<com.htc.widget.ActionBar android:id="@id/task_bar" android:layout_width="204.0px" android:layout_height="77.0px" android:layout_marginLeft="130.0px" android:layout_marginTop="449.0px" />
12. HtcLaputaWidget.apk (only 4x5)
Browse to ../smali/com/htc/laputa/widget/view/ edit(open) LocationWidgetView.smali and change(Find 'SpanY') 0x5
HTML:
.method public getSpanY()I
.locals 1
.prologue
.line 159
const/4 v0, 0x5
13. htcmailwidgets.apk
Browse to ../res/layout-nomal-hdpi(-v4) edit(open) next files and change
mail_item.xml
HTML:
<RelativeLayout android:id="@id/mail_item" android:layout_width="480.0px" android:layout_height="508.0px"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/mail_background" android:layout_width="478.0px" android:layout_height="508.0px" android:layout_marginLeft="2.0px" android:layout_marginTop="4.0px" android:scaleType="center" />
<View android:id="@id/divider_upper" android:layout_width="366.0px" android:layout_height="2.0px" android:layout_marginLeft="58.0px" android:layout_marginTop="163.0px" />
<TextView android:textSize="21.0px" android:textColor="#ff333333" android:id="@id/body_text" android:layout_width="366.0px" android:layout_height="223.0px" android:layout_marginLeft="58.0px" android:layout_marginTop="169.0px" />
<View android:id="@id/mail_flag_separator" android:layout_width="2.0px" android:layout_height="42.0px" android:layout_marginLeft="111.0px" android:layout_marginTop="424.0px" />
<View android:id="@id/mail_delete_separator" android:layout_width="2.0px" android:layout_height="42.0px" android:layout_marginLeft="367.0px" android:layout_marginTop="424.0px" />
<View android:id="@id/divider_lower" android:layout_width="390.0px" android:layout_height="2.0px" android:layout_marginLeft="46.0px" android:layout_marginTop="415.0px" />
<ImageView android:id="@id/mail_delete" android:clickable="true" android:layout_width="30.0px" android:layout_height="41.0px" android:layout_marginLeft="390.0px" android:layout_marginTop="421.0px" android:scaleType="center" />
<ImageView android:id="@id/mail_flag" android:clickable="true" android:layout_width="50.0px" android:layout_height="50.0px" android:layout_marginLeft="56.0px" android:layout_marginTop="424.0px" android:scaleType="center" />
mail_widget_list2.xml
HTML:
<RelativeLayout android:id="@id/mail_frame" android:layout_width="450.0px" android:layout_height="480.0px" android:layout_marginLeft="15.0px" android:layout_marginTop="36.0px">
<View android:id="@id/list_background" android:background="@com.htc:drawable/common_panel_gradient" android:layout_width="450.0px" android:layout_height="468.0px" android:layout_marginTop="10.0px" />
<RelativeLayout android:id="@id/maillist_view" android:layout_width="450.0px" android:layout_height="396.0px" android:layout_marginLeft="0.0px" android:layout_marginTop="68.0px" android:layout_marginBottom="0.0px" />
<TextView android:gravity="center" android:id="@id/empty_msg" android:visibility="gone" android:layout_width="450.0px" android:layout_height="526.0px" android:layout_marginLeft="0.0px" android:layout_marginTop="68.0px" android:layout_marginBottom="0.0px" android:text="@string/loading_label" style="\@com.htc:style/darklist_primary_m" />
<com.htc.widget.ActionBar android:id="@id/task_bar_list" android:layout_width="204.0px" android:layout_height="77.0px" android:layout_marginLeft="138.0px" android:layout_marginTop="463.0px" />
<RelativeLayout android:id="@id/bubble" android:visibility="invisible" android:layout_width="50.0px" android:layout_height="50.0px" android:layout_marginLeft="185.0px" android:layout_marginTop="485.0px">
mail_widget_list.xml
HTML:
<RelativeLayout android:id="@id/mail_frame" android:layout_width="450.0px" android:layout_height="480.0px" android:layout_marginLeft="15.0px" android:layout_marginTop="36.0px">
<View android:id="@id/list_background" android:background="@com.htc:drawable/common_panel_gradient" android:layout_width="450.0px" android:layout_height="468.0px" android:layout_marginTop="10.0px" />
<TextView android:gravity="center" android:id="@id/empty_msg" android:visibility="gone" android:layout_width="450.0px" android:layout_height="396.0px" android:layout_marginLeft="0.0px" android:layout_marginTop="68.0px" android:layout_marginBottom="0.0px" android:text="@string/loading_label" style="\@com.htc:style/darklist_primary_m" />
<RelativeLayout android:id="@id/maillist_view" android:layout_width="450.0px" android:layout_height="396.0px" android:layout_marginLeft="0.0px" android:layout_marginTop="68.0px" android:layout_marginBottom="0.0px" />
<com.htc.widget.ActionBar android:id="@id/task_bar_list" android:layout_width="204.0px" android:layout_height="77.0px" android:layout_marginLeft="138.0px" android:layout_marginTop="463.0px" />
<RelativeLayout android:id="@id/bubble" android:visibility="invisible" android:layout_width="50.0px" android:layout_height="50.0px" android:layout_marginLeft="185.0px" android:layout_marginTop="485.0px">
mail_widget_xl.xml
HTML:
<ImageView android:id="@id/anim_background" android:visibility="invisible" android:layout_width="480.0px" android:layout_height="485.0px" android:layout_marginLeft="2.0px" android:layout_marginTop="-2.0px" android:src="@drawable/common_mail_paper_rot" android:scaleType="center" />
<com.htc.htcmailwidgets.SingleInMultiOutAnimator android:id="@id/item_switcher" android:layout_width="480.0px" android:layout_height="492.0px" android:layout_marginLeft="0.0px" android:layout_marginTop="0.0px" />
<TextView android:textSize="22.0px" android:textColor="#ff000000" android:gravity="center" android:id="@id/hint_area" android:background="@drawable/common_mail_paper" android:paddingLeft="11.0px" android:paddingTop="15.0px" android:paddingRight="11.0px" android:paddingBottom="29.0px" android:layout_width="478.0px" android:layout_height="488.0px" android:layout_marginLeft="2.0px" android:layout_marginTop="4.0px" />
<TextView android:textSize="22.0px" android:textColor="#ff000000" android:gravity="center" android:id="@id/no_mail_text" android:paddingLeft="11.0px" android:paddingRight="11.0px" android:visibility="gone" android:layout_width="380.0px" android:layout_height="56.0px" android:layout_marginLeft="54.0px" android:layout_marginTop="277.0px" android:text="@string/loading_label" />
<RelativeLayout android:id="@id/welcome_mail" android:visibility="gone" android:layout_width="480.0px" android:layout_height="478.0px" />
<View android:id="@id/mail_delete_delegate" android:clickable="true" android:layout_width="60.0px" android:layout_height="60.0px" android:layout_marginLeft="375.0px" android:layout_marginTop="421.0px" />
<View android:id="@id/mail_flag_delegate" android:clickable="true" android:layout_width="60.0px" android:layout_height="60.0px" android:layout_marginLeft="50.0px" android:layout_marginTop="424.0px" />
<TextView android:textSize="18.0px" android:textColor="#ff000000" android:gravity="center" android:id="@id/no_of_all" android:layout_width="100.0px" android:layout_height="wrap_content" android:layout_marginLeft="189.0px" android:layout_marginTop="431.0px" android:singleLine="true" />
<com.htc.widget.ActionBar android:id="@id/task_bar" android:layout_width="204.0px" android:layout_height="77.0px" android:layout_marginLeft="138.0px" android:layout_marginTop="461.0px" />
<View android:id="@id/task_bar_delegate" android:visibility="gone" android:clickable="true" android:layout_width="204.0px" android:layout_height="77.0px" android:layout_marginLeft="138.0px" android:layout_marginTop="461.0px" />
14. htcmsgwidgets.apk
Browse to ../res/values-nomal-hdpi(-v4) edit(open) dimens.xml and change
HTML:
<dimen name="empty_msg_wl_marginTop">70.0px</dimen>
<dimen name="msg_card_below_reflect_marginTop">319.0px</dimen>
<dimen name="msg_card_switcher_marginTop">15.0px</dimen>
<dimen name="msg_card_switcher_height">550.0px</dimen>
<dimen name="task_bar_marginTop">440.0px</dimen>
<dimen name="wl_msg_frame_marginTop">30.0px</dimen>
<dimen name="wl_msg_frame_height">490.0px</dimen>
<dimen name="wl_msg_undread_marginTop">30.0px</dimen>
<dimen name="wl_msg_sms_marginTop">42.0px</dimen>
<dimen name="wl_msg_mms_marginTop">42.0px</dimen>
<dimen name="msg_priority_marginTop">41.0px</dimen>
<dimen name="msg_divider_up_marginTop">158.0px</dimen>
<dimen name="msg_divider_low_marginTop">356.0px</dimen>
<dimen name="msg_reply_marginTop">367.0px</dimen>
<dimen name="msg_separator_l_marginTop">356.0px</dimen>
<dimen name="message_delete_marginTop">365.0px</dimen>
<dimen name="msg_separator_marginTop">356.0px</dimen>
<dimen name="wl_msg_count_marginTop">358.0px</dimen>
<dimen name="msg_below_delete_marginTop">80.0px</dimen>
<dimen name="msg_below_separator_marginTop">76.0px</dimen>
<dimen name="msg_below_separator_height">42.0px</dimen>
<dimen name="msg_below_reply_marginTop">82.0px</dimen>
<dimen name="msg_below_separator_l_marginTop">76.0px</dimen>
<dimen name="listview_frame_height">480.0px</dimen>
<dimen name="listview_background_height">475.0px</dimen>
<dimen name="listview_view_height">396.0px</dimen>
15. HtcRecommendsWidget.apk
Browse to ../res/values-hdpi(-v4) and edit(open) dimens.xml and change
HTML:
<dimen name="banner_app_icon_width">62.0px</dimen>
<dimen name="banner_app_icon_height">62.0px</dimen>
<dimen name="banner_app_preview_height_for_retrieval">102.0px</dimen>
<dimen name="banner_title_height">68.0px</dimen>
<dimen name="banner_app_info_height">122.0px</dimen>
<dimen name="banner_app_preview_height">102.0px</dimen>
other widget modifying.
Good work friends.
For my poor writing skills, this is also great to be followed.
First Tutorial [MOD][Tutorial] 4x5 Grid Workspace with Sense Widgets.
Was wondering if you refer [MOD][TUTORIAL] 5x5 Rosie workspace & launcher
Ask Twitter to my account. @bourgom
If you find a good value and this is Tell me more.
P.S. Why not XDA South Korea registered Service provider? In Korea, SKTelecom, KT(KoreaTelecom), LGTelecom.
Special Thaks
@perfumerain @sapphirelunar @csm3837

ScreenShots
RCMixHD 3.02 Based 1.84.61.2
CWM Theme Patch comming soon..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

downloads......

could you please make this a flashable zip? or can anyone else make this a flashable zip? im running leedroid 2.2.2 and have had to reflash my rom after 2 failed attempts
a flashable zip would be much appreciated

acidspider said:
could you please make this a flashable zip? or can anyone else make this a flashable zip? im running leedroid 2.2.2 and have had to reflash my rom after 2 failed attempts
a flashable zip would be much appreciated
Click to expand...
Click to collapse
Hi acidspider. Yes I can(make flashable zip)
http://forum.xda-developers.com/showthread.php?t=980956
A couple of days wait for the day. only 4x5 mod for the LeeDrOiD 2.2.2

Leedroid is making a mod for Rosie 4x5?
Sent from my Desire HD using XDA Premium App

bour said:
Hi acidspider. Yes I can(make flashable zip)
http://forum.xda-developers.com/showthread.php?t=980956
A couple of days wait for the day. only 4x5 mod for the LeeDrOiD 2.2.2
Click to expand...
Click to collapse
Hi bour
Which zip to flash please for just Rosie mod?
Sent from my Desire HD using XDA Premium App

The widgets are not working for me after copying back to system/app. They don't show up in the widgets area. I followed the same instructions as for the Rosie.apk. Are there any differences?

Related

[HOW TO][Gingerbread] Guides and Tips in Theming P970’s ROM

I might leave the scene and go back to CM7, I’ll just leave some important pointers in theming the ROM. As editing image is fairly easy, I will start with xml’s and editing font colors, background size etc.
Tools you need:
1. A program to decompile an APK
2. A program to edit xml’s (I prefer Notepad++)
3. Hex color sampler (Color-Hex)
4. Basic knowledge editing xml’s
5. Patience
Settings Description Colors
Location: framework-res/res/color/listitem_summary_text
Last HEX code is the one to edit
Credits:antonio1475
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:state_pressed="true" android:color="#ffbebebe" />
<item android:state_enabled="false" android:state_selected="true" android:color="#ffbebebe" />
<item android:state_pressed="true" android:color="#ff000000" />
<item android:state_selected="true" android:color="#ffffffff" />
<item android:state_enabled="false" android:color="#ffbebebe" />
<item android:color="[B]#ff33b5e5[/B]" />
</selector>
Description Colors (rest of the UI)
Location: framework-res/res/values/colors.xml
Credits: ZduneX25
Code:
<color name="dim_foreground_dark">[B]#ff33b5e5[/B]</color>
<color name="dim_foreground_dark_disabled">[B]#8033b5e5[/B]</color>
<color name="dim_foreground_light_inverse">[B]#ff33b5e5[/B]</color>
<color name="dim_foreground_light_inverse_disabled">[B]#8033b5e5[/B]</color>
Remaining colors, EXPERIMENT and see changes
Notification Menu (Pull Down)
Location: framework-res/res/layout/status_bar_latest_event_content.xml
You will find 3 hex colors for Title, Description and Time
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:paddingLeft="5.0dip" android:paddingTop="7.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:paddingTop="3.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/icon" android:layout_width="25.0dip" android:layout_height="25.0dip" android:src="@drawable/arrow_down_float" android:scaleType="fitCenter" />
<TextView android:textSize="18.0sp" android:textStyle="bold" android:textColor="[B]#ffffffff[/B]" android:ellipsize="marquee" android:id="@id/title" android:paddingLeft="4.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.0sp" android:textColor="[B]#ff33b5e5[/B]" android:ellipsize="marquee" android:id="@id/text" android:paddingLeft="4.0dip" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
<android.widget.DateTimeView android:textSize="14.0sp" android:textColor="[B]#ff33b5e5[/B]" android:id="@id/time" android:paddingRight="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" />
</LinearLayout>
</LinearLayout>
Centered clock/date
Proper transparency no overlaying of notification with the time. (except too much notification icons)
Location: SytemUI/res/layout/status_bar.xml
Use UOT to make status bar transparent (easy way). then create a black/gray or whatever .PNG/.9.PNG "statusbar_background2" same size as status bar (can be 480X40-42) and insert it SystemUI/res/drawable-hdpi
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/statusbar_background2">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textSize="13.0sp" android:textStyle="bold" android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ffffffff" android:gravity="center" android:id="@id/date" android:background="@drawable/statusbar_background2" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
Pull Down Menu Toggle Icons Background
Location: SytemUI/res/layout/status_bar_expanded.xml
Edit the ff numbers: android:layout_height="111.0px"
android:layout_marginTop="18.0px"
android:layout_marginBottom="15.0px"
Code:
<TableLayout android:id="@id/lge_table_layout_1" android:layout_width="fill_parent" android:layout_height="111.0px">
<TableRow>
<ImageView android:id="@id/sound_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="19.0px" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
<ImageView android:id="@id/wifi_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
<ImageView android:id="@id/bt_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
<ImageView android:id="@id/gps_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
<ImageView android:id="@id/network_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
</TableRow>
</TableLayout>
Seek Bar/Volume
Location: framework-res/res/values/layout.xml
Orig value: 10.0dip
Code:
<style name="Widget.SeekBar" parent="@style/Widget">
<item name="focusable">true</item>
<item name="maxHeight">5.0dip</item>
<item name="indeterminateOnly">false</item>
<item name="indeterminateDrawable">@drawable/progress_horizontal</item>
<item name="progressDrawable">@drawable/progress_horizontal</item>
<item name="minHeight">5.0dip</item>
<item name="thumb">@drawable/seek_thumb</item>
<item name="thumbOffset">8.0dip</item>
</style>
Try them first...
TO BE CONTINUED....
reserved reserved reserved
Thanks it will be good for me
Thank you so much!!
hi..
tried to change statusbar color...but it doesnt worked for me... no color change and my phone booted then suddenly rebooted
donjamal said:
hi..
tried to change statusbar color...but it doesnt worked for me... no color change and my phone booted then suddenly rebooted
Click to expand...
Click to collapse
What do you exactly mean. status bar image color, time font color, date font color, noifications font color?
Its better you'll not delete this tread.. i'll am going to need this
gabwerkz said:
What do you exactly mean. status bar image color, time font color, date font color, noifications font color?
Click to expand...
Click to collapse
notifi color...copied yours and paste it to mine, i also tried to edit it manually but yet, none of the methods work
donjamal said:
notifi color...copied yours and paste it to mine, i also tried to edit it manually but yet, none of the methods work
Click to expand...
Click to collapse
The ones posted here has nothing to do with status bar font colors yet. If you have my ICS Theme zip grab colors.xml and styles.xml in framework-res. Styles.xml in framework-res is also an important one to edit, study it. You can edit there the sliders (volume bar) thickness too like with the ICS theme, menu/options (pressing the soft key) font colors etc.
Notifications in status bar like receiveing txt, USB/USB Debug notif status_bar.xml. Sample is ICS Blue font color.
Code:
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textColor="#ff33b5e5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textColor="#ff33b5e5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
timvdhoorn said:
Its better you'll not delete this tread.. i'll am going to need this
Click to expand...
Click to collapse
Sure bro, I made this for anyone who wants to continue to theme the stock ROM.
gabwerkz said:
The ones posted here has nothing to do with status bar font colors yet. If you have my ICS Theme zip grab colors.xml and styles.xml in framework-res. Styles.xml in framework-res is also an important one to edit, study it. You can edit there the sliders (volume bar) thickness too like with the ICS theme, menu/options (pressing the soft key) font colors etc.
Notifications in status bar like receiveing txt, USB/USB Debug notif status_bar.xml. Sample is ICS Blue font color.
Code:
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textColor="#ff33b5e5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textColor="#ff33b5e5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
Sure bro, I made this for anyone who wants to continue to theme the stock ROM.
Click to expand...
Click to collapse
so lets things clear...
u mentioned
Notification Menu (Pull Down)
Location: framework-res/res/layout/status_bar_latest_event_content.xml
You will find 3 hex colors for Title, Description and Time
this changes nothing..? should i use that method u answered?
donjamal said:
so lets things clear...
u mentioned
Notification Menu (Pull Down)
Location: framework-res/res/layout/status_bar_latest_event_content.xml
You will find 3 hex colors for Title, Description and Time
this changes nothing..? should i use that method u answered?
Click to expand...
Click to collapse
Pull down bro. Drop down or whatever they call it ain't status bar. Those are for the USB CONNECTED, USB DEBUG, NEW MESSAGE notifications in "PULL DOWN MENU" and not with status bar. My post was clear with that.
Sent from my LG-P970 using xda premium
gabwerkz said:
Pull down bro. Drop down or whatever they call it ain't status bar. Those are for the USB CONNECTED, USB DEBUG, NEW MESSAGE notifications in "PULL DOWN MENU" and not with status bar. My post was clear with that.
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
ah i see... but i was wrong..not statusbar color is what i want to edit...i want what's in the picture..this status_bar_latest_event_content.xml as u mentioned. but edited with no succes
donjamal said:
ah i see... but i was wrong..not statusbar color is what i want to edit...i want what's in the picture..this status_bar_latest_event_content.xml as u mentioned. but edited with no succes
Click to expand...
Click to collapse
Be sure you are editing in framework-res. NOT in SystemUI. Paste your modified xml here, i want to see it. from framework-res/res/layout
Man, you take this as a guide to theme XPERIA X10? I saw your ICS theme, it has all whites in that portion. P970 has all black font colors in that portion. It might be different,might. So just take it as a reference. Cause CM7 for P970 and V20N for P970 has differences. but I think status_bar_latest_event_content.xml is universal. You may search for it, start with "Where to find the colors for making a theme". But I think it is universal.
gabwerkz said:
Be sure you are editing in framework-res. NOT in SystemUI. Paste your modified xml here, i want to see it. from framework-res/res/layout
Man, you take this as a guide to theme XPERIA X10? I saw your ICS theme, it has all whites in that portion. P970 has all black font colors in that portion. It might be different,might. So just take it as a reference. Cause CM7 for P970 and V20N for P970 has differences. but I think status_bar_latest_event_content.xml is universal. You may search for it, start with "Where to find the colors for making a theme". But I think it is universal.
Click to expand...
Click to collapse
no,no...x10 is my brother's phone..we just use this forum with the same account i make my own theme on p970 some apks are done but want a little more
ok, i will post my code tomorrow, cuz now im going to work..but i copied yours and paste it to mine and my phone got reboot all time...
and one question..when i compile the apk with apkmanager should i delete the editet xml too or just resources.asc from keep folder? cuz ive deleted just resources.asc and not the xml. could it be the problem?
thanks
donjamal said:
no,no...x10 is my brother's phone..we just use this forum with the same account i make my own theme on p970 some apks are done but want a little more
ok, i will post my code tomorrow, cuz now im going to work..but i copied yours and paste it to mine and my phone got reboot all time...
and one question..when i compile the apk with apkmanager should i delete the editet xml too or just resources.asc from keep folder? cuz ive deleted just resources.asc and not the xml. could it be the problem?
thanks
Click to expand...
Click to collapse
Now there's the problem. If you did not delete the xml, then it won't change. Try to decompile it again, you'd see it wasn't change right?
If it's P970, tell you what... just press "y" then "n". No deleting of xml's and you're done... That's what I do with mine, didn't have problems.
gabwerkz said:
Now there's the problem. If you did not delete the xml, then it won't change. Try to decompile it again, you'd see it wasn't change right?
If it's P970, tell you what... just press "y" then "n". No deleting of xml's and you're done... That's what I do with mine, didn't have problems.
Click to expand...
Click to collapse
cool..it works thanks
can u help me to fix this?
its not my screen, just got the same problem
donjamal said:
cool..it works thanks
can u help me to fix this?
its not my screen, just got the same problem
Click to expand...
Click to collapse
DownloadProvider.apk... Find every hexes with #ff000000 and make them #ffffffff. I'll decompile mine (included in Echelon) and see again where i edited.
res/layout/status_bar_ongoing_event_progress_bar.xml.
Modified colors were: #ff33b5e5
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:background="@android:drawable/status_bar_item_app_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:paddingTop="8.0dip" android:focusable="true" android:clickable="true" android:layout_width="40.0dip" android:layout_height="fill_parent">
<ImageView android:layout_gravity="center" android:id="@id/appIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@android:drawable/sym_def_app_icon" />
<TextView android:textColor="#ffffffff" android:layout_gravity="center_horizontal" android:id="@id/progress_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</LinearLayout>
<RelativeLayout android:orientation="vertical" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:paddingTop="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<TextView android:textColor="#ff33b5e5" android:id="@id/title" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent.Title" />
<TextView android:textColor="#ff33b5e5" android:id="@id/description" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</LinearLayout>
<ProgressBar android:id="@id/progress_bar" android:paddingRight="25.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" style="?android:attr/progressBarStyleHorizontal" />
<TextView android:id="@id/paused_text" android:paddingLeft="5.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentBottom="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</RelativeLayout>
</LinearLayout>
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@android:drawable/divider_horizontal_bright" />
</LinearLayout>
Next problem would be bluetooth notificatios. They will be in black as well.
just decompile, and find the xmls. If you see black/near black, change and try if it changes.
gabwerkz said:
DownloadProvider.apk... Find every hexes with #ff000000 and make them #ffffffff. I'll decompile mine (included in Echelon) and see again where i edited.
res/layout/status_bar_ongoing_event_progress_bar.xml.
Next problem would be bluetooth notificatios. They will be in black as well.
Click to expand...
Click to collapse
the funny thing is that i didnt modified the downloadprovider.apk just music.apk
i found a soulution to fix but cant find those lines so it doesnt work
For the Music.apk you simply need to decompile the file with apktool as per 1a. Now go to /Music/res/layout/ and open statusbar.xml with editpad. Look for "?android:textAppearanceMediumInverse" and "?android:textAppearanceSmallInverse", simply remove the "Inverse" part from each line and save the file. Recompile, resign
donjamal said:
the funny thing is that i didnt modified the downloadprovider.apk just music.apk
i found a soulution to fix but cant find those lines so it doesnt work
For the Music.apk you simply need to decompile the file with apktool as per 1a. Now go to /Music/res/layout/ and open statusbar.xml with editpad. Look for "?android:textAppearanceMediumInverse" and "?android:textAppearanceSmallInverse", simply remove the "Inverse" part from each line and save the file. Recompile, resign
Click to expand...
Click to collapse
I don't have problems regarding Music. So why ask? I can see already you made it white with your screenshots... ???
gabwerkz said:
I don't have problems regarding Music. So why ask? I can see already you made it white with your screenshots... ???
Click to expand...
Click to collapse
thats not my screenshot, jus got the same problem and i read that maybe it caused by the modified music apk, thats why im talkin bout music apk
anyway...i cant find color codes in my xml..
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:background="@android:drawable/status_bar_item_app_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:paddingTop="8.0dip" android:focusable="true" android:clickable="true" android:layout_width="40.0dip" android:layout_height="fill_parent">
<ImageView android:layout_gravity="center" android:id="@id/appIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@android:drawable/sym_def_app_icon" />
<TextView android:layout_gravity="center_horizontal" android:id="@id/progress_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</LinearLayout>
<RelativeLayout android:orientation="vertical" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:paddingTop="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<TextView android:id="@id/title" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent.Title" />
<TextView android:id="@id/description" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</LinearLayout>
<ProgressBar android:id="@id/progress_bar" android:paddingRight="25.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" style="?android:attr/progressBarStyleHorizontal" />
<TextView android:id="@id/paused_text" android:paddingLeft="5.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentBottom="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</RelativeLayout>
</LinearLayout>
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@android:drawable/divider_horizontal_bright" />
</LinearLayout>

[Q] Big photo in call screen

Can someone please help me with this big call screen?
I tryed to make it for stock like this ... is 320x280px
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
but i just can't succeed ...
I ask for apk from the one who make the screen but doesn't have ace anymore.
Tutorial from here -> http://forum.xda-developers.com/showthread.php?t=1856046 is poor, and xml.file is deleted ... please someone make it for me ! I tryed for 20 times without success.
Original apps attached !
Thanx, Cryss !
Actually. In the tutorial thread, i think the file to be downloaded is in txt format. Maybe you need to convert it to .xml
Edit: Didnt read that the xml file was deleted..
We could have had it all, Rolling in the Deep!
Unnamed.Ace.User said:
Actually. In the tutorial thread, i think the file to be downloaded is in txt format. Maybe you need to convert it to .xml
Edit: Didnt read that the xml file was deleted..
We could have had it all, Rolling in the Deep!
Click to expand...
Click to collapse
Yeah, i hoped someone really want to help, it's not big deal but i cannot do it, damn !
LOL!! so difficult it is?
Was SpaceCaker informed about this mod?? JAJAJA I'm sure he is able to do this job the dammed Space is a genius! HAHAH
I'd like to try but there isn't attached file in the original thread's, the link is broken
Viper The Ripper said:
LOL!! so difficult it is?
Was SpaceCaker informed about this mod?? JAJAJA I'm sure he is able to do this job the dammed Space is a genius! HAHAH
I'd like to try but there isn't attached file in the original thread's, the link is broken
Click to expand...
Click to collapse
Yup spacecaker can do it for sure...
-asdf-
Viper The Ripper said:
LOL!! so difficult it is?
Was SpaceCaker informed about this mod?? JAJAJA I'm sure he is able to do this job the dammed Space is a genius! HAHAH
I'd like to try but there isn't attached file in the original thread's, the link is broken
Click to expand...
Click to collapse
It is without that damn file ...
i swear, i can't understand people that upload small files like that xml file on cheap sites when we hape XDA upload host ...
Anyway, wait for someone who can really help !
if i know the name of the xml i can take ablook but am self bit bussy
Sent from my S500 using xda app-developers app
SpaceCaker said:
if i know the name of the xml i can take ablook but am self bit bussy
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Maybe its call_card_person_info.xml
-asdf-
SpaceCaker said:
if i know the name of the xml i can take ablook but am self bit bussy
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
OK space man, no hurry, when you have time ... Big thanx !
Unnamed.Ace.User said:
Maybe its call_card_person_info.xml
-asdf-
Click to expand...
Click to collapse
It is, i modd that but doesn't change anything, maybe wrong de-recompilation ... i tryed 20 times untill now, without success, that's why i asked 4 help. Thanx
So, no one can help ? Come on people ...
Cryss said:
So, no one can help ? Come on people ...
Click to expand...
Click to collapse
It's the file call_card_person_info.xml which we need to mod
I extracted this info from I9000 forum, I hope it help us to mod the file I have a trouble opening this file with notepad ++ and using AXMLPrinter2.jar too
Code:
<?xml version="1.0" encoding="UTF-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/callCardPersonInfo" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:layout_width="wrap_content" android:layout_height="216.0dip">
<ImageView android:id="@id/photo" android:layout_width="216.0dip" android:layout_height="216.0dip" android:layout_centerHorizontal="true" />
</RelativeLayout>
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="34.0dip" android:layout_marginTop="0.0dip">
<ImageView android:layout_gravity="center_vertical" android:id="@id/birthIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/call_birthday_icon" />
<TextView android:textSize="32.0sp" android:textColor="@color/twcolor001" android:gravity="center_vertical" android:id="@id/name" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="36.0dip" android:singleLine="true" />
</LinearLayout>
<TextView android:textSize="18.0sp" android:textColor="@color/twcolor003" android:gravity="center_vertical" android:id="@id/phoneNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="18.0sp" android:textColor="@color/twcolor003" android:gravity="center_vertical" android:id="@id/city" android:layout_width="wrap_content" android:layout_height="26.0dip" android:singleLine="true" />
</LinearLayout>
</FrameLayout>
I've found this info too but It isn't from Gingerbread sources, I guess it's form Eclair :S
http://forum.xda-developers.com/showthread.php?t=576310
Yeah...It's by default in Phone.apk
Code:
ORIGINAL FILE (call_card_person_info.xml) FROM GALAXY ACE
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/callCardPersonInfo" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="fill_parent" [COLOR="blue"]android:layout_height="181.0dip"[/COLOR]>
<ImageView android:id="@id/photo" android:background="@drawable/incall_photo_border_lg" [COLOR="blue"]android:layout_width="172.0dip"[/COLOR] [COLOR="blue"]android:layout_height="166.0dip"[/COLOR] android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:contentDescription="@string/contactPhoto" />
<Button android:textAppearance="?android:textAppearanceMedium" android:textColor="?android:textColorPrimary" android:id="@id/manageConferencePhotoButton" android:background="@drawable/manage_conference_photo_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:text="@string/onscreenManageConferenceText" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />
<TextView android:textAppearance="?android:textAppearanceMedium" android:textSize="15.0sp" android:textStyle="bold" android:id="@id/elapsedTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="3.0dip" android:singleLine="true" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" />
</RelativeLayout>
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="28.0sp" android:gravity="center_horizontal" android:id="@id/name" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-13.0dip" android:singleLine="true" />
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-1.0dip">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textColor="?android:textColorSecondary" android:id="@id/label" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textColor="?android:textColorSecondary" android:id="@id/phoneNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
</LinearLayout>
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/callTypeLabel" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/socialStatus" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="2" />
</LinearLayout>
Working with Contacts.apk
Code:
ORIGINAL FILE (dimens.xml) GALAXY ACE
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="linked_contact_icon_size">20.0dip</dimen>
<dimen name="quickcontact_shadow_horiz">30.0dip</dimen>
<dimen name="quickcontact_shadow_vert">37.0dip</dimen>
<dimen name="quickcontact_shadow_touch">20.0dip</dimen>
<dimen name="[COLOR="Blue"]edit_photo_size">92.0dip</dimen>[/COLOR]
<dimen name="tab_height">40.0dip</dimen>
<dimen name="account_name_height">25.0dip</dimen>
<dimen name="contact_shortcut_frame_width">50.0dip</dimen>
<dimen name="contact_shortcut_frame_height">56.0dip</dimen>
<dimen name="list_item_padding_top">4.0dip</dimen>
<dimen name="list_item_padding_right">11.0dip</dimen>
<dimen name="list_item_padding_bottom">4.0dip</dimen>
<dimen name="list_item_padding_left">4.0dip</dimen>
<dimen name="list_item_gap_between_image_and_text">8.0dip</dimen>
<dimen name="list_item_gap_between_label_and_data">5.0dip</dimen>
<dimen name="list_item_call_button_padding">14.0dip</dimen>
<dimen name="list_item_vertical_divider_margin">5.0dip</dimen>
<dimen name="list_item_presence_icon_margin">5.0dip</dimen>
<dimen name="list_item_header_text_width">56.0dip</dimen>
<dimen name="group_title_width_normal">280.0dip</dimen>
<dimen name="group_title_width_delete">250.0dip</dimen>
</resources>
These are the file POROVOZ! meant, if we change it and compile the .apks again, it should work
Viper The Ripper said:
It's the file call_card_person_info.xml which we need to mod
I extracted this info from I9000 forum, I hope it help us to mod the file I have a trouble opening this file with notepad ++ and using AXMLPrinter2.jar too
Code:
<?xml version="1.0" encoding="UTF-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/callCardPersonInfo" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:layout_width="wrap_content" android:layout_height="216.0dip">
<ImageView android:id="@id/photo" android:layout_width="216.0dip" android:layout_height="216.0dip" android:layout_centerHorizontal="true" />
</RelativeLayout>
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="34.0dip" android:layout_marginTop="0.0dip">
<ImageView android:layout_gravity="center_vertical" android:id="@id/birthIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/call_birthday_icon" />
<TextView android:textSize="32.0sp" android:textColor="@color/twcolor001" android:gravity="center_vertical" android:id="@id/name" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="36.0dip" android:singleLine="true" />
</LinearLayout>
<TextView android:textSize="18.0sp" android:textColor="@color/twcolor003" android:gravity="center_vertical" android:id="@id/phoneNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="18.0sp" android:textColor="@color/twcolor003" android:gravity="center_vertical" android:id="@id/city" android:layout_width="wrap_content" android:layout_height="26.0dip" android:singleLine="true" />
</LinearLayout>
</FrameLayout>
I've found this info too but It isn't from Gingerbread sources, I guess it's form Eclair :S
http://forum.xda-developers.com/showthread.php?t=576310
Yeah...It's by default in Phone.apk
Code:
ORIGINAL FILE (call_card_person_info.xml) FROM GALAXY ACE
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/callCardPersonInfo" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="fill_parent" [COLOR="blue"]android:layout_height="181.0dip"[/COLOR]>
<ImageView android:id="@id/photo" android:background="@drawable/incall_photo_border_lg" [COLOR="blue"]android:layout_width="172.0dip"[/COLOR] [COLOR="blue"]android:layout_height="166.0dip"[/COLOR] android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:contentDescription="@string/contactPhoto" />
<Button android:textAppearance="?android:textAppearanceMedium" android:textColor="?android:textColorPrimary" android:id="@id/manageConferencePhotoButton" android:background="@drawable/manage_conference_photo_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:text="@string/onscreenManageConferenceText" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />
<TextView android:textAppearance="?android:textAppearanceMedium" android:textSize="15.0sp" android:textStyle="bold" android:id="@id/elapsedTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="3.0dip" android:singleLine="true" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" />
</RelativeLayout>
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="28.0sp" android:gravity="center_horizontal" android:id="@id/name" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-13.0dip" android:singleLine="true" />
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-1.0dip">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textColor="?android:textColorSecondary" android:id="@id/label" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textColor="?android:textColorSecondary" android:id="@id/phoneNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
</LinearLayout>
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/callTypeLabel" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/socialStatus" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="2" />
</LinearLayout>
Working with Contacts.apk
Code:
ORIGINAL FILE (dimens.xml) GALAXY ACE
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="linked_contact_icon_size">20.0dip</dimen>
<dimen name="quickcontact_shadow_horiz">30.0dip</dimen>
<dimen name="quickcontact_shadow_vert">37.0dip</dimen>
<dimen name="quickcontact_shadow_touch">20.0dip</dimen>
<dimen name="[COLOR="Blue"]edit_photo_size">92.0dip</dimen>[/COLOR]
<dimen name="tab_height">40.0dip</dimen>
<dimen name="account_name_height">25.0dip</dimen>
<dimen name="contact_shortcut_frame_width">50.0dip</dimen>
<dimen name="contact_shortcut_frame_height">56.0dip</dimen>
<dimen name="list_item_padding_top">4.0dip</dimen>
<dimen name="list_item_padding_right">11.0dip</dimen>
<dimen name="list_item_padding_bottom">4.0dip</dimen>
<dimen name="list_item_padding_left">4.0dip</dimen>
<dimen name="list_item_gap_between_image_and_text">8.0dip</dimen>
<dimen name="list_item_gap_between_label_and_data">5.0dip</dimen>
<dimen name="list_item_call_button_padding">14.0dip</dimen>
<dimen name="list_item_vertical_divider_margin">5.0dip</dimen>
<dimen name="list_item_presence_icon_margin">5.0dip</dimen>
<dimen name="list_item_header_text_width">56.0dip</dimen>
<dimen name="group_title_width_normal">280.0dip</dimen>
<dimen name="group_title_width_delete">250.0dip</dimen>
</resources>
These are the file POROVOZ! meant, if we change it and compile the .apks again, it should work
Click to expand...
Click to collapse
Contacts file is done, but phone.apk is nasty without Paravoz damn file.
If the one u post is not from gingerbread, it will be a mess ... (i will pm paravoz, maybe he can help)
Cryss said:
Contacts file is done, but phone.apk is nasty without Paravoz damn file.
If the one u post is not from gingerbread, it will be a mess ... (i will pm paravoz, maybe he can help)
Click to expand...
Click to collapse
I'll provide you the phone.apk asap
Let me came back home mate!
Viper The Ripper said:
I'll provide you the phone.apk asap
Let me came back home mate!
Click to expand...
Click to collapse
ok man, i'll wait
untill then, i flash stock rom, i'm on cm7 now...
Cryss said:
ok man, i'll wait
untill then, i flash stock rom, i'm on cm7 now...
Click to expand...
Click to collapse
Here it is
I'm gonna create a thread to share both files avoiding f****** messy tutorials xDDDDDD
Viper The Ripper said:
Here it is
I'm gonna create a thread to share both files avoiding f****** messy tutorials xDDDDDD
Click to expand...
Click to collapse
I'LL test it in 5 minutes (ok, you do that)
Cryss said:
I'LL test it in 5 minutes (ok, you do that)
Click to expand...
Click to collapse
WIP xD
Edit: almost finished
Edit2: Finished :beer:

[MOD][DEV][GUIDE] Galaxy SIII Lockscreen [CM10]

Galaxy SIII Lockscreen for CM10
for HDPI device only
This guide is based on Adi Aisiteru Reborn's guide, you can see his guide here. Basically, what I do is fix layout in his XML file.
Screenshot from my device :
See attachment
Okay, let's start the guide !​
Click to expand...
Click to collapse
What will you need for the guide :
Code:
- Experience with using APK and JAR decompiling / recompiling
- Text editing program, Notepad++ (Windows) / Gedit (Ubuntu) will do
- APK and JAR reverse engineering program (APKTool recommended)
Warning, read before starting !
Always set background on lockscreen as default wallpaper ! Don't set wallpaper to custom or color fill, or you'll get bootloop !
Click to expand...
Click to collapse
------------------------
GUIDE STARTED !
------------------------
Step 1
Decompile framework-res.apk, make sure you do this right.
Open /res/layout
Open keyguard_screen_tab_unlock.xml, replace all lines in your file with this line :
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.internal.widget.WaveView android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="150.0dip" />
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin" android:layout_marginBottom="@dimen/keyguard_lockscreen_status_line_clockfont_bottom_margin">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:gravity="center_horizontal" android:id="@id/timeDisplayBackground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.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:gravity="center_horizontal" android:id="@id/timeDisplayForeground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip" android:singleLine="true" android:shadowColor="@color/black_50_trans" android:shadowDx="1.0" android:shadowDy="2.0" android:shadowRadius="5.0" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_date_font_size" android:textStyle="bold" android:textColor="@color/lockscreen_date" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="@color/black_25_trans" android:shadowDx="0.0" android:shadowDy="2.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/alarm_status" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:singleLine="true" android:shadowColor="@color/black_50_trans" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="0.5" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/status1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="@color/black_50_trans" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="0.5" android:drawablePadding="4.0dip" />
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_panel" android:paddingTop="4.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/weather_image" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_dialog_alert" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
<RelativeLayout android:orientation="horizontal" android:padding="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="14.0sp" android:textStyle="bold" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentRight="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_condition" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/weather_city" android:layout_alignParentRight="true" />
<TextView android:textSize="6.0sp" android:textColor="?textColorSecondary" android:gravity="right" android:id="@id/update_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_condition" android:layout_alignParentRight="true" />
</RelativeLayout>
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_temps_panel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="20.0sp" android:textColor="?textColorPrimary" android:id="@id/weather_temp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<View android:id="@id/weather_divider" android:background="@drawable/divider_horizontal_dark" android:layout_width="44.0dip" android:layout_height="1.0dip" android:layout_below="@id/weather_temp" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:id="@id/weather_low_high" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_divider" android:layout_centerHorizontal="true" />
</RelativeLayout>
</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="4.0dip" style="?android:attr/buttonBarButtonStyle" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="center_vertical" android:id="@id/calendar_panel" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="28.0dip">
<ImageView android:gravity="center" android:layout_gravity="center_vertical" android:layout_width="36.0dip" android:layout_height="wrap_content" android:src="@drawable/ic_lock_idle_calendar" />
<View android:background="@drawable/divider_horizontal_dark" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="1.0dip" android:layout_height="fill_parent" />
<RelativeLayout android:paddingLeft="4.0dip" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textSize="14.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:id="@id/calendar_event_title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:id="@id/calendar_event_details" android:focusable="true" android:focusableInTouchMode="true" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/calendar_event_title" android:layout_alignLeft="@id/calendar_event_title" android:marqueeRepeatLimit="marquee_forever" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_swipe_font_size" android:textColor="@color/lockscreen_carrier_swipe" android:ellipsize="marquee" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="295.0dip" android:text="@string/lockscreen_title" android:singleLine="true" android:shadowColor="@color/black_25_trans" android:shadowDx="2.0" android:shadowDy="2.0" android:shadowRadius="1.0" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_carrier_font_size" android:textColor="@color/lockscreen_carrier_swipe" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:singleLine="true" android:shadowColor="@color/black_25_trans" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="0.5" android:layout_alignParentBottom="true" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:weightSum="2.0" style="?android:attr/buttonBarStyle">
<Button android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:layout_gravity="center_horizontal" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="0.0dip" android:layout_weight="1.0" style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>
<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="8" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control" />
</GridLayout>
</RelativeLayout>
Save your file, navigate to /res/values
Open dimens.xml
Add / edit following lines :
Code:
<dimen name="keyguard_lockscreen_clock_font_size">[COLOR="Red"]91.0dip[/COLOR]</dimen>
<dimen name="keyguard_lockscreen_status_line_font_size">[COLOR="Red"]17.0dip[/COLOR]</dimen>
<dimen name="keyguard_lockscreen_status_line_font_right_margin">[COLOR="Red"]32.0dip[/COLOR]</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">[COLOR="Red"]27.0dip[/COLOR]</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">[COLOR="Red"]8.0dip[/COLOR]</dimen>
[COLOR="Blue"] <dimen name="keyguard_lockscreen_date_font_size">20.0dip</dimen>
<dimen name="keyguard_lockscreen_swipe_font_size">19.0dip</dimen>
<dimen name="keyguard_lockscreen_carrier_font_size">18.0dip</dimen>[/COLOR]
Red means edit the value to the provided value above.
Blue means add lines above.
If the line doesn't exist, add it !
Save your file
Next, open colors.xml
Add following lines :
Code:
[COLOR="Blue"] <color name="transparent_white">#66ffffff</color>
<color name="black_50_trans">#80000000</color>
<color name="black_25_trans">#bf000000</color>
<color name="lockscreen_date">#fff6f7c9</color>
<color name="lockscreen_carrier_swipe">#ffebebeb</color>[/COLOR]
Save your file.
Extract downloaded drawables.zip to drawable-hdpi folder
Compile your framework-res.
Step 2
Decompile your framework-res.apk again
Open /res/values/public.xml, but don't do anything. Leave the text editor.
Decompile framework.jar
Extract the smali in S3_WaveView.zip to /com/android/internal/widget, replace every existing file with the one on S3_WaveView.zip
Compile your framework.jar
Step 3
Decompile again framework.jar
Go to /com/android/internal/widget and edit WaveView.smali
Now, open back the public.xml you've opened.
Compare the IDs in WaveView with the one on public.xml
Make sure the IDs in WaveView is same like on public.xml
Code:
[B]new WaveView.smali[/B] [B] new public.xml[/B]
line 198. const v1, 0x10404f5 -> <public type="string" name="description_direction_left" id="0x[COLOR="Red"]0[/COLOR]10404f5" />
line. 306 const v1, 0x1080622 -> <public type="drawable" name="unlock_ring" id="0x[COLOR="Red"]0[/COLOR]1080622" />
line. 355 const v1, 0x1080620 -> <public type="drawable" name="unlock_default" id="0x[COLOR="Red"]0[/COLOR]1080620" />
line.404 const v1, 0x1080621 -> <public type="drawable" name="unlock_halo" id="0x[COLOR="Red"]0[/COLOR]1080621" />
line.453 const v1, 0x1080623 -> <public type="drawable" name="unlock_wave" id="0x[COLOR="Red"]0[/COLOR]1080623" />
If WaveView IDs are not same, change it but without the red parts (the red zero).
Done, compile framework.jar
Delete the framework-res folder.
Extras for S3 like clock-font :
Download the clock-fonts.zip, extract the content /system/fonts/
Done, enjoy modding !
Why is there no ripple in the lock screen like on the GS3?
Sent from my Amazon Tate using XDA Premium 4 mobile app
AwesomeSMS said:
Why is there no ripple in the lock screen like on the GS3?
Sent from my Amazon Tate using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well, that's hard to simulate.
#F4UZAN

[MOD][DEV][GUIDE] Galaxy SIII Lockscreen [CM10]

Galaxy SIII Lockscreen for CM10
for HDPI device only
This guide is based on Adi Aisiteru Reborn's guide, you can see his guide here. Basically, what I do is fix layout in his XML file.
Screenshot from my device :
See attachment
Okay, let's start the guide !​
Click to expand...
Click to collapse
What will you need for the guide :
Code:
- Experience with using APK and JAR decompiling / recompiling
- Text editing program, Notepad++ (Windows) / Gedit (Ubuntu) will do
- APK and JAR reverse engineering program (APKTool recommended)
Warning, read before starting !
Always set background on lockscreen as default wallpaper ! Don't set wallpaper to custom or color fill, or you'll get bootloop !
Click to expand...
Click to collapse
------------------------
GUIDE STARTED !
------------------------
Step 1
Decompile framework-res.apk, make sure you do this right.
Open /res/layout
Open keyguard_screen_tab_unlock.xml, replace all lines in your file with this line :
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.internal.widget.WaveView android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="150.0dip" />
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin" android:layout_marginBottom="@dimen/keyguard_lockscreen_status_line_clockfont_bottom_margin">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:gravity="center_horizontal" android:id="@id/timeDisplayBackground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.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:gravity="center_horizontal" android:id="@id/timeDisplayForeground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip" android:singleLine="true" android:shadowColor="@color/black_50_trans" android:shadowDx="1.0" android:shadowDy="2.0" android:shadowRadius="5.0" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_date_font_size" android:textStyle="bold" android:textColor="@color/lockscreen_date" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="@color/black_25_trans" android:shadowDx="0.0" android:shadowDy="2.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/alarm_status" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:singleLine="true" android:shadowColor="@color/black_50_trans" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="0.5" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/status1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="@color/black_50_trans" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="0.5" android:drawablePadding="4.0dip" />
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_panel" android:paddingTop="4.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/weather_image" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_dialog_alert" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
<RelativeLayout android:orientation="horizontal" android:padding="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="14.0sp" android:textStyle="bold" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentRight="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_condition" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/weather_city" android:layout_alignParentRight="true" />
<TextView android:textSize="6.0sp" android:textColor="?textColorSecondary" android:gravity="right" android:id="@id/update_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_condition" android:layout_alignParentRight="true" />
</RelativeLayout>
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_temps_panel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="20.0sp" android:textColor="?textColorPrimary" android:id="@id/weather_temp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<View android:id="@id/weather_divider" android:background="@drawable/divider_horizontal_dark" android:layout_width="44.0dip" android:layout_height="1.0dip" android:layout_below="@id/weather_temp" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:id="@id/weather_low_high" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_divider" android:layout_centerHorizontal="true" />
</RelativeLayout>
</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="4.0dip" style="?android:attr/buttonBarButtonStyle" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="center_vertical" android:id="@id/calendar_panel" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="28.0dip">
<ImageView android:gravity="center" android:layout_gravity="center_vertical" android:layout_width="36.0dip" android:layout_height="wrap_content" android:src="@drawable/ic_lock_idle_calendar" />
<View android:background="@drawable/divider_horizontal_dark" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="1.0dip" android:layout_height="fill_parent" />
<RelativeLayout android:paddingLeft="4.0dip" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textSize="14.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:id="@id/calendar_event_title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:id="@id/calendar_event_details" android:focusable="true" android:focusableInTouchMode="true" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/calendar_event_title" android:layout_alignLeft="@id/calendar_event_title" android:marqueeRepeatLimit="marquee_forever" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_swipe_font_size" android:textColor="@color/lockscreen_carrier_swipe" android:ellipsize="marquee" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="295.0dip" android:text="@string/lockscreen_title" android:singleLine="true" android:shadowColor="@color/black_25_trans" android:shadowDx="2.0" android:shadowDy="2.0" android:shadowRadius="1.0" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_carrier_font_size" android:textColor="@color/lockscreen_carrier_swipe" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:singleLine="true" android:shadowColor="@color/black_25_trans" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="0.5" android:layout_alignParentBottom="true" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:weightSum="2.0" style="?android:attr/buttonBarStyle">
<Button android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:layout_gravity="center_horizontal" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="0.0dip" android:layout_weight="1.0" style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>
<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="8" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control" />
</GridLayout>
</RelativeLayout>
Save your file, navigate to /res/values
Open dimens.xml
Add / edit following lines :
Code:
<dimen name="keyguard_lockscreen_clock_font_size">[COLOR="Red"]91.0dip[/COLOR]</dimen>
<dimen name="keyguard_lockscreen_status_line_font_size">[COLOR="Red"]17.0dip[/COLOR]</dimen>
<dimen name="keyguard_lockscreen_status_line_font_right_margin">[COLOR="Red"]32.0dip[/COLOR]</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">[COLOR="Red"]27.0dip[/COLOR]</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">[COLOR="Red"]8.0dip[/COLOR]</dimen>
[COLOR="Blue"] <dimen name="keyguard_lockscreen_date_font_size">20.0dip</dimen>
<dimen name="keyguard_lockscreen_swipe_font_size">19.0dip</dimen>
<dimen name="keyguard_lockscreen_carrier_font_size">18.0dip</dimen>[/COLOR]
Red means edit the value to the provided value above.
Blue means add lines above.
If the line doesn't exist, add it !
Save your file
Next, open colors.xml
Add following lines :
Code:
[COLOR="Blue"] <color name="transparent_white">#66ffffff</color>
<color name="black_50_trans">#80000000</color>
<color name="black_25_trans">#bf000000</color>
<color name="lockscreen_date">#fff6f7c9</color>
<color name="lockscreen_carrier_swipe">#ffebebeb</color>[/COLOR]
Save your file.
Extract downloaded drawables.zip to drawable-hdpi folder
Compile your framework-res.
Step 2
Decompile your framework-res.apk again
Open /res/values/public.xml, but don't do anything. Leave the text editor.
Decompile framework.jar
Extract the smali in S3_WaveView.zip to /com/android/internal/widget, replace every existing file with the one on S3_WaveView.zip
Compile your framework.jar
Step 3
Decompile again framework.jar
Go to /com/android/internal/widget and edit WaveView.smali
Now, open back the public.xml you've opened.
Compare the IDs in WaveView with the one on public.xml
Make sure the IDs in WaveView is same like on public.xml
Code:
[B]new WaveView.smali[/B] [B] new public.xml[/B]
line 198. const v1, 0x10404f5 -> <public type="string" name="description_direction_left" id="0x[COLOR="Red"]0[/COLOR]10404f5" />
line. 306 const v1, 0x1080622 -> <public type="drawable" name="unlock_ring" id="0x[COLOR="Red"]0[/COLOR]1080622" />
line. 355 const v1, 0x1080620 -> <public type="drawable" name="unlock_default" id="0x[COLOR="Red"]0[/COLOR]1080620" />
line.404 const v1, 0x1080621 -> <public type="drawable" name="unlock_halo" id="0x[COLOR="Red"]0[/COLOR]1080621" />
line.453 const v1, 0x1080623 -> <public type="drawable" name="unlock_wave" id="0x[COLOR="Red"]0[/COLOR]1080623" />
If WaveView IDs are not same, change it but without the red parts (the red zero).
Done, compile framework.jar
Delete the framework-res folder.
Extras for S3 like clock-font :
Download the clock-fonts.zip, extract the content /system/fonts/
Done, enjoy modding !
looks good, but the work is not tested, waiting for reviews
ezio68 said:
looks good, but the work is not tested, waiting for reviews
Click to expand...
Click to collapse
Tested on my device (CM10).
#F4UZAN

[GUIDE][4.0/ICS/CM9][HDPI] Re-Layout Recents Apps UI+Animation Text

Hey I'm Come Again​First, Thanks to Senior Member @Adi Aisiteru Reborn , Senior Member @evilisto and @wong_Anyar
Because i'm make this from modifying Guide three people on above :laugh:
And Never forget it to X-TREME TEAM INDONESIAN DEVELOPMENT :fingers-crossed: :highfive:​​
1.Decompile framework-res.apk
Go to res/values/dimens.xml
Code:
<dimen name="thumbnail_height">[COLOR="Red"]120.0dip[/COLOR]</dimen>
<dimen name="thumbnail_width">[COLOR="red"]120.0dip[/COLOR]</dimen>
Change it to
Code:
<dimen name="thumbnail_height">[COLOR="Blue"]267.0dip[/COLOR]</dimen>
<dimen name="thumbnail_width">[COLOR="blue"]168.0dip[/COLOR]</dimen>
SAVE.
2.Now Recompile your framework-res
3.Decompile SystemUI.apk
Go to res/layout/status_bar_no_recent_apps.xml Replace All with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
Go to res/layout-port/status_bar_recent_item.xml Replace All with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="@dimen/thumbnail_width_port" android:layout_height="@dimen/thumbnail_height_port" />
</FrameLayout>
<ImageView android:id="@id/app_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/top_margin_port" android:layout_marginLeft="66.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" />
<com.animation.textview android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_marginTop="@dimen/margin_top_text_port" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignParentTop="true" android:layout_alignLeft="@id/app_thumbnail" />
<com.animation.textview android:textSize="@dimen/status_bar_recents_app_description_text_size" android:layout_marginTop="@dimen/margin_top_text_port" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentTop="true" android:layout_alignLeft="@id/app_thumbnail" />
</RelativeLayout>
</FrameLayout>
Go to res/layout-port/status_bar_recent_panel.xml Replace All with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="#80000000" blurColor="#ff6b8cf0" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
Go to res/layout-land/status_bar_recent_item.xml Replace All with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:foreground="#00000000" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="@dimen/thumbnail_width_land" android:layout_height="@dimen/thumbnail_height_land" />
</FrameLayout>
<ImageView android:id="@id/app_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/top_margin_land" android:layout_marginLeft="53.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="30.0dip" android:maxHeight="27.0dip" />
<com.animation.textview android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_marginTop="@dimen/margin_top_text_land" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignParentTop="true" android:layout_alignLeft="@id/app_thumbnail" />
<com.animation.textview android:textSize="@dimen/status_bar_recents_app_description_text_size" android:layout_marginTop="@dimen/margin_top_text_land" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentTop="true" android:layout_alignLeft="@id/app_thumbnail" />
</RelativeLayout>
</FrameLayout>
Go to res/layout-land/status_bar_recent_panel.xml Replace All with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="#80000000" blurColor="#ff6b8cf0" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
Go to res/values/dimens.xml add this line above </resources>
Code:
<dimen name="thumbnail_width_port">168.0dip</dimen>
<dimen name="thumbnail_height_port">267.0dip</dimen>
<dimen name="thumbnail_width_land">137.0dip</dimen>
<dimen name="thumbnail_height_land">200.0dip</dimen>
<dimen name="top_margin_port">360.0dip</dimen>
<dimen name="top_margin_land">0.0dip</dimen>
<dimen name="margin_top_text_port">63.0dip</dimen>
<dimen name="margin_top_text_land">230.0dip</dimen>
So,Look like this
Code:
<dimen name="thumbnail_width_port">168.0dip</dimen>
<dimen name="thumbnail_height_port">267.0dip</dimen>
<dimen name="thumbnail_width_land">137.0dip</dimen>
<dimen name="thumbnail_height_land">200.0dip</dimen>
<dimen name="top_margin_port">360.0dip</dimen>
<dimen name="top_margin_land">0.0dip</dimen>
<dimen name="margin_top_text_port">63.0dip</dimen>
<dimen name="margin_top_text_land">230.0dip</dimen>
[COLOR="blue"]</resources>[/COLOR]
Go to res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Red"]false[/COLOR]</bool>
Change it to
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Blue"]true[/COLOR]</bool>
3.Download file on Attachment file and merge all
4.Recompile your SystemU
5.Now is Done !!
Horee horee horee
i get this errors when im going to recompile systemui
G.M.L said:
i get this errors when im going to recompile systemui
Click to expand...
Click to collapse
What's your base ROM ? or maybe smali text animation not compatible with your ROM..
shevchovski said:
What's your base ROM ? or maybe smali text animation not compatible with your ROM..
Click to expand...
Click to collapse
Cm9
G.M.L._V7
http://pasakalis.blogspot.gr
G.M.L said:
Cm9
G.M.L._V7
http://pasakalis.blogspot.gr
Click to expand...
Click to collapse
Yo bro
Go to res/layout-port/status_bar_recent_item.xml
Go to res/layout-land/status_bar_recent_item.xml
Change this
Code:
[COLOR="Red"]<com.animation.textview[/COLOR] With [COLOR="Blue"]<TextView[/COLOR]
don't merge attachment file..
It works on Paranoid 4.4.4 on my S3? Same values?
Nice mbah
thx for the nice tutor paman, great work :good::good:
would this work on cm11 ?
rekoilchafe said:
would this work on cm11 ?
Click to expand...
Click to collapse
No, a lot of the functions changed their syntax.
I tried half-ass porting it, but as I have no XML or android knowledge I would probably need to sit tons of hours to try and figure this out.
lordgavers said:
No, a lot of the functions changed their syntax.
I tried half-ass porting it, but as I have no XML or android knowledge I would probably need to sit tons of hours to try and figure this out.
Click to expand...
Click to collapse
same here even i tried it.
i'm trying to figure it out though!! if i get it working would let you know!
oh!i think it's possible to work in jb4.3,gotta sit later in my thinkchair
vampent0026 said:
oh!i think it's possible to work in jb4.3,gotta sit later in my thinkchair
Click to expand...
Click to collapse
can we use same method for miui v5
@DevendraMilmile121 : You can try Sir, i think this not work on MIUI because MIUI not showing Thumbnail on Recents
 @vampent0026 : Yes just try compare my Horizontal and Vertical dip and done :highfive:
Will this work on a MTK device?
kirito9 said:
Will this work on a MTK device?
Click to expand...
Click to collapse
this guide base from MTK sir so whatever device can try this guide. but from AOSP Base ROM Only

Categories

Resources