Screenshot:
Feature:
- Change Clock Style (Normal, MIUI, DIY)
- Change Clock color with enable/disable coloring
- Change Clock size
- Change Clock font
- Enable/Disable digital clock
- Advanced text customization
Requirement:
- Mengerti compile/decompile APK
- APKTool
- Notepad++ (PC)
- Bahan: SplitClockView.zip
How:
Part AsusSystemUI:
1. Decompile AsusSystemUI.apk
2. Letakkan smali yg ada di guide ke tempat masing".. Overwrite aja smali yg dh ada..
3. Salin/compare asus_status_bar_expanded_header.xml yg ada di res/layout dlm guide ke folder res/layout yg di AsusSystemUI
4. Salin/compare split_clock_view.xml yg ada di folder res/layout dlm guide ke folder res/layout yg di AsusSystemUI
5. Recompile UI nya, jgn lupa di Sign dan zipalign biar enteng
6. Selesai.. siap di push UI nya
Part ZenControl:
1. Decompile ZenControl
2. Buka dan tambahkan script dibawah ini di /res/xml/dropdown_prefs.xml
Dibawah "<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">"
<PreferenceScreen android:title="@string/split_clock_preference">
<PreferenceCategory android:title="@string/split_clock_preference" />
<com.wubydax.romcontrol.prefs.MyListPreference
android:entries="@array/split_clock_style_entries"
android:title="@string/split_clock_style_title"
android:key="split_clock_style"
android:defaultValue="0"
android:entryValues="@array/split_clock_style_values" />
<CheckBoxPreference
android:defaultValue="false"
android:title="@string/split_clock_digital_title"
android:key="split_clock_digital"
android:summaryOn="@string/enable"
android:summaryOff="@string/disable" />
<CheckBoxPreference
android:defaultValue="false"
android:title="@string/split_clock_force_coloring_title"
android:key="split_clock_force_coloring"
android:summaryOn="@string/enable"
android:summaryOff="@string/disable" />
<com.wubydax.romcontrol.prefs.ColorPickerPreference
android:title="@string/split_clock_color_title"
android:key="split_clock_color"
android:defaultValue="\#ff737373"
alphaSlider="true"
android:dependency="split_clock_force_coloring" />
<com.wubydax.romcontrol.prefs.MyListPreference
android:entries="@array/split_clock_font_style_entries"
android:title="@string/split_clock_font_title"
android:key="split_clock_font"
android:defaultValue="0"
android:entryValues="@array/split_clock_font_style_values" />
<com.wubydax.romcontrol.prefs.SeekBarPreference
android:max="88"
android:title="@string/split_clock_size_title"
android:key="split_clock_size"
android:defaultValue="55" />
<PreferenceScreen android:title="@string/split_clock_adv_custom_title">
<PreferenceCategory android:title="@string/split_clock_adv_custom_title" />
<com.wubydax.romcontrol.prefs.SeekBarPreference
android:icon="@null"
android:max="10"
android:title="@string/split_clock_shadow_r_title"
android:key="split_clock_shadow_r"
android:defaultValue="1"
min="0"
unitsRight="" />
<com.wubydax.romcontrol.prefs.SeekBarPreference
android:icon="@null"
android:max="5"
android:title="@string/split_clock_shadow_x_title"
android:key="split_clock_shadow_x"
android:defaultValue="0"
min="-5"
unitsRight="" />
<com.wubydax.romcontrol.prefs.SeekBarPreference
android:icon="@null"
android:max="5"
android:title="@string/split_clock_shadow_y_title"
android:key="split_clock_shadow_y"
android:defaultValue="0"
min="-5"
unitsRight="" />
<com.wubydax.romcontrol.prefs.ColorPickerPreference
android:title="@string/split_clock_shadow_c_title"
android:key="split_clock_shadow_c"
android:defaultValue="\#89000000"
alphaSlider="true" />
</PreferenceScreen>
</PreferenceScreen>
3. Buka dan tambahkan script dibawah ini di res/values/strings.xml
<string name="split_clock_preference">SplitClock Preference</string>
<string name="split_clock_style_title">Clock style</string>
<string name="split_clock_force_coloring_title">Enable Clock coloring</string>
<string name="split_clock_color_title">Clock color</string>
<string name="split_clock_size_title">Clock size</string>
<string name="split_clock_font_title">Clock font</string>
<string name="split_clock_digital_title">Transform to digital clock</string>
<string name="split_clock_font_normal">Normal</string>
<string name="split_clock_font_italic">Italic</string>
<string name="split_clock_font_bold">Bold</string>
<string name="split_clock_font_bold_italic">Bold Italic</string>
<string name="split_clock_font_light">Light</string>
<string name="split_clock_font_light_italic">Light Italic</string>
<string name="split_clock_font_thin">Thin</string>
<string name="split_clock_font_thin_italic">Thin Italic</string>
<string name="split_clock_font_condensed">Condensed</string>
<string name="split_clock_font_condensed_italic">Condensed Italic</string>
<string name="split_clock_font_condensed_light">Condensed Light</string>
<string name="split_clock_font_condensed_light_italic">Condensed Light Italic</string>
<string name="split_clock_font_condensed_bold">Condensed Bold</string>
<string name="split_clock_font_condensed_bold_italic">Condensed Bold Italic</string>
<string name="split_clock_font_medium">Medium</string>
<string name="split_clock_font_medium_italic">Medium Italic</string>
<string name="split_clock_font_black">Black</string>
<string name="split_clock_font_black_italic">Black Italic</string>
<string name="split_clock_adv_custom_title">Adv Text Customization</string>
<string name="split_clock_shadow_r_title">Shadow radius</string>
<string name="split_clock_shadow_x_title">Shadow Dx</string>
<string name="split_clock_shadow_y_title">Shadow Dy</string>
<string name="split_clock_shadow_c_title">Shadow color</string>
4. Buka dan tambahkan script dibawah ini di res/values/arrays.xml
<string-array name="split_clock_style_entries">
<item>Default</item>
<item>Up like MIUI</item>
<item>Down ˹DIY˼</item>
</string-array>
<string-array name="split_clock_style_values">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
<string-array name="split_clock_font_style_entries">
<item>@string/split_clock_font_normal</item>
<item>@string/split_clock_font_italic</item>
<item>@string/split_clock_font_bold</item>
<item>@string/split_clock_font_bold_italic</item>
<item>@string/split_clock_font_light</item>
<item>@string/split_clock_font_light_italic</item>
<item>@string/split_clock_font_thin</item>
<item>@string/split_clock_font_thin_italic</item>
<item>@string/split_clock_font_condensed</item>
<item>@string/split_clock_font_condensed_italic</item>
<item>@string/split_clock_font_condensed_light</item>
<item>@string/split_clock_font_condensed_light_italic</item>
<item>@string/split_clock_font_condensed_bold</item>
<item>@string/split_clock_font_condensed_bold_italic</item>
<item>@string/split_clock_font_medium</item>
<item>@string/split_clock_font_medium_italic</item>
<item>@string/split_clock_font_black</item>
<item>@string/split_clock_font_black_italic</item>
</string-array>
<string-array name="split_clock_font_style_values" translatable="false">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
<item>12</item>
<item>13</item>
<item>14</item>
<item>15</item>
<item>16</item>
<item>17</item>
</string-array>
5. Recompile ZenControl..
6. Install ZenControl seperti apk normal, push/copy AsusSystemUI.apk ke /system/priv-app/AsusSystemUI/
7. Selesai
Bugs: Clock color masih tertinggal walaupun clock coloring udh di disable,
harus restart ui untuk balik ke default color.
Kurang dan lebihnya ane minta maaf.. semoga sukses.. Keep oprek.. Salam Bootloop ^_^
My Thread: XDA
========================================================================
Created by bamzzz@xda
fb.me/bamz4ever
ZenControl by Wuby986@xda & daxgirl@xda
========================================================================
Silahkan tinggalkan komentar EmoticonEmoticon