[Sony Cross-Device Development Themes and Apps] venkat kamesh:
settings.apk final part

After finishing the SystemUI.apk mod

move to here with settings

1. First Decompile the Settings.apk

2. Download this attachment View attachment 3768510

3. now place/merge the files in your settings

4. add this code any of your settings like in display_settings.xml

( i had added in my own xml of my rom xml )

<PreferenceCategory android:title="@string/clock_category" android:key="clock">
<PreferenceScreen android:title="@string/clock_custom" android:key="clock" android:fragment="com.android.settings.rr.ClockSettings" />
</PreferenceCategory>

5. open settings.apk\res\values​​\ arrays.xml and add below strings

<string-array name="status_bar_clock_style_entries">
<item>@string/status_bar_clock_style_right</item>
<item>@string/status_bar_clock_style_center</item>
<item>@string/status_bar_clock_style_left</item>
<item>@string/status_bar_clock_style_hidden</item>
</string-array>
<string-array name="status_bar_am_pm_entries">
<item>@string/status_bar_am_pm_normal</item>
<item>@string/status_bar_am_pm_small</item>
<item>@string/status_bar_am_pm_hidden</item>
</string-array>
<string-array name="status_bar_date_entries">
<item>@string/status_bar_date_none</item>
<item>@string/status_bar_date_small</item>
<item>@string/status_bar_date_normal</item>
</string-array>
<string-array name="status_bar_date_style_entries">
<item>@string/status_bar_date_style_normal</item>
<item>@string/status_bar_date_style_lowercase</item>
<item>@string/status_bar_date_style_uppercase</item>
</string-array>
<string-array name="clock_date_position_entries">
<item>@string/clock_date_left</item>
<item>@string/clock_date_right</item>
</string-array>
<string-array name="status_bar_date_format_entries_values">
<item>dd/MM/yy</item>
<item>MM/dd/yy</item>
<item>yyyy-MM-dd</item>
<item>yyyy-dd-MM</item>
<item>dd-MM-yyyy</item>
<item>MM-dd-yyyy</item>
<item>MMM dd</item>
<item>MMM dd, yyyy</item>
<item>MMMM dd, yyyy</item>
<item>EEE</item>
<item>EEE dd</item>
<item>EEE dd/MM</item>
<item>EEE MM/dd</item>
<item>EEE dd MMM</item>
<item>EEE MMM dd</item>
<item>EEE MMMM dd</item>
<item>EEEE dd/MM</item>
<item>EEEE MM/dd</item>
<item>@string/status_bar_date_format_custom</item>
</string-array>
<string-array name="clock_font_style_entries">
<item>@string/clock_font_normal</item>
<item>@string/clock_font_italic</item>
<item>@string/clock_font_bold</item>
<item>@string/clock_font_bold_italic</item>
<item>@string/clock_font_light</item>
<item>@string/clock_font_light_italic</item>
<item>@string/clock_font_thin</item>
<item>@string/clock_font_thin_italic</item>
<item>@string/clock_font_condensed</item>
<item>@string/clock_font_condensed_italic</item>
<item>@string/clock_font_condensed_light</item>
<item>@string/clock_font_condensed_light_italic</item>
<item>@string/clock_font_condensed_bold</item>
<item>@string/clock_font_condensed_bold_italic</item>
<item>@string/clock_font_medium</item>
<item>@string/clock_font_medium_italic</item>
<item>@string/clock_font_black</item>
<item>@string/clock_font_black_italic</item>
<item>@string/clock_font_dancingscript</item>
<item>@string/clock_font_dancingscript_bold</item>
<item>@string/clock_font_comingsoon</item>
<item>@string/clock_font_notoserif</item>
<item>@string/clock_font_notoserif_italic</item>
<item>@string/clock_font_notoserif_bold</item>
<item>@string/clock_font_notoserif_bold_italic</item>
</string-array>
<string-array name="clock_font_size_entries">
<item>@string/clock_font_size_4</item>
<item>@string/clock_font_size_5</item>
<item>@string/clock_font_size_6</item>
<item>@string/clock_font_size_7</item>
<item>@string/clock_font_size_8</item>
<item>@string/clock_font_size_9</item>
<item>@string/clock_font_size_10</item>
<item>@string/clock_font_size_11</item>
<item>@string/clock_font_size_12</item>
<item>@string/clock_font_size_13</item>
<item>@string/clock_font_size_14</item>
<item>@string/clock_font_size_15</item>
<item>@string/clock_font_size_16</item>
<item>@string/clock_font_size_17</item>
<item>@string/clock_font_size_18</item>
<item>@string/clock_font_size_19</item>
<item>@string/clock_font_size_20</item>
<item>@string/clock_font_size_21</item>
<item>@string/clock_font_size_22</item>
<item>@string/clock_font_size_23</item>
</string-array>
<string-array name="status_bar_clock_style_values">
<item>1</item>
<item>2</item>
<item>3</item>
<item>0</item>
</string-array>
<string-array name="status_bar_am_pm_values">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
<string-array name="status_bar_date_values">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
<string-array name="status_bar_date_style_values">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
<string-array name="clock_date_position_values">
<item>0</item>
<item>1</item>
</string-array>
<string-array name="status_bar_date_format_entries_values">
<item>dd/MM/yy</item>
<item>MM/dd/yy</item>
<item>yyyy-MM-dd</item>
<item>yyyy-dd-MM</item>
<item>dd-MM-yyyy</item>
<item>MM-dd-yyyy</item>
<item>MMM dd</item>
<item>MMM dd, yyyy</item>
<item>MMMM dd, yyyy</item>
<item>EEE</item>
<item>EEE dd</item>
<item>EEE dd/MM</item>
<item>EEE MM/dd</item>
<item>EEE dd MMM</item>
<item>EEE MMM dd</item>
<item>EEE MMMM dd</item>
<item>EEEE dd/MM</item>
<item>EEEE MM/dd</item>
<item>@string/status_bar_date_format_custom</item>
</string-array>
<string-array name="clock_font_style_values">
<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>
<item>18</item>
<item>19</item>
<item>20</item>
<item>21</item>
<item>22</item>
<item>23</item>
<item>24</item>
</string-array>
<string-array name="clock_font_size_values">
<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>
<item>18</item>
<item>19</item>
<item>20</item>
<item>21</item>
<item>22</item>
<item>23</item>
</string-array>

6. open settings.apk\res\values​​\ strings.xml and add below strings ( if you get repeated strings delete them )

<string name="status_bar_clock_style_title">Clock style</string>
<string name="status_bar_clock_style_right">Right</string>
<string name="status_bar_clock_style_left">Left</string>
<string name="status_bar_clock_style_center">Center</string>
<string name="status_bar_clock_style_hidden">Hidden</string>
<string name="status_bar_am_pm_title">AM/PM style</string>
<string name="status_bar_am_pm_info">24-hour clock is enabled</string>
<string name="status_bar_am_pm_normal">Normal</string>
<string name="status_bar_am_pm_small">Small</string>
<string name="status_bar_am_pm_hidden">Hidden</string>
<string name="status_bar_clock_category">Clock</string>
<string name="clock_custom">Clock Custom</string>
<string name="status_bar_date_title">Date</string>
<string name="status_bar_date_none">Hidden (default)</string>
<string name="status_bar_date_small">Small</string>
<string name="status_bar_date_normal">Normal</string>
<string name="status_bar_date_format_title">Date format</string>
<string name="status_bar_date_style">Date style</string>
<string name="status_bar_date_style_normal">Normal</string>
<string name="status_bar_date_style_lowercase">Lowercase</string>
<string name="status_bar_date_style_uppercase">Uppercase</string>
<string name="status_bar_date_format_custom">Custom java format</string>
<string name="status_bar_date_string_edittext_title">Must be in DateFormat eg. MM/dd/yy</string>
<string name="status_bar_date_string_edittext_summary">Enter string</string>
<string name="clock_date_position">Date position</string>
<string name="clock_date_right">Right of time</string>
<string name="clock_date_left">Left of time</string>
<string name="clock_color_switch">Enable / Disable Custom Clock Color</string>
<string name="clock_color_title">Color</string>
<string name="status_bar_clock_style_reset">Reset color</string>
<string name="status_bar_clock_style_reset_message">Reset clock color?</string>
<string name="clock_font_style_title">Font</string>
<string name="clock_font_normal">Normal</string>
<string name="clock_font_italic">Italic</string>
<string name="clock_font_bold">Bold</string>
<string name="clock_font_bold_italic">Bold Italic</string>
<string name="clock_font_light">Light</string>
<string name="clock_font_light_italic">Light Italic</string>
<string name="clock_font_thin">Thin</string>
<string name="clock_font_thin_italic">Thin Italic</string>
<string name="clock_font_condensed">Condensed</string>
<string name="clock_font_condensed_italic">Condensed Italic</string>
<string name="clock_font_condensed_light">Condensed Light</string>
<string name="clock_font_condensed_light_italic">Condensed Light Italic</string>
<string name="clock_font_condensed_bold">Condensed Bold</string>
<string name="clock_font_condensed_bold_italic">Condensed Bold Italic</string>
<string name="clock_font_medium">Medium</string>
<string name="clock_font_medium_italic">Medium Italic</string>
<string name="clock_font_black">Black</string>
<string name="clock_font_black_italic">Black Italic</string>
<string name="clock_font_dancingscript">DancingScript</string>
<string name="clock_font_dancingscript_bold">DancingScript Bold</string>
<string name="clock_font_comingsoon">ComingSoon</string>
<string name="clock_font_notoserif">NotoSerif Normal</string>
<string name="clock_font_notoserif_italic">NotoSerif Italic</string>
<string name="clock_font_notoserif_bold">NotoSerif Bold</string>
<string name="clock_font_notoserif_bold_italic">NotoSerif Bold Italic</string>
<string name="clock_font_size_title">Font size</string>
<string name="status_bar_show_clock_second_title">Clock seconds</string>
<string name="clock_settings_title">Clock Settings</string>
<string name="clock_font_size_4">4</string>
<string name="clock_font_size_5">5</string>
<string name="clock_font_size_6">6</string>
<string name="clock_font_size_7">7</string>
<string name="clock_font_size_8">8</string>
<string name="clock_font_size_9">9</string>
<string name="clock_font_size_10">10</string>
<string name="clock_font_size_11">11</string>
<string name="clock_font_size_12">12</string>
<string name="clock_font_size_13">13</string>
<string name="clock_font_size_14">14</string>
<string name="clock_font_size_15">15</string>
<string name="clock_font_size_16">16</string>
<string name="clock_font_size_17">17</string>
<string name="clock_font_size_18">18</string>
<string name="clock_font_size_19">19</string>
<string name="clock_font_size_20">20</string>
<string name="clock_font_size_21">21</string>
<string name="clock_font_size_22">22</string>
<string name="clock_font_size_23">23</string>

7. now compile the settings and decompile to replace your Public ID's

8. Replace the Id's (compare my public.xml in the archive)

9. After that recompile/sign the app and replace the app and reboot

You need Have Color Picker preferences Click here ( if you already had this then dont add this )

Credits :-

RR and Krypton Rom (me)

Don't Forget to mention me if you like my work