[Q] Need help with inverting colours on htcdialer buttons - Solved it myself...
Guys - this is driving me nuts. After exploring stock Android inside out with the Milestone, there is a new and great learning curve with Sense, which is fine. In any case after investigating it is pretty clear what to do, if I want to change htcdialer to a black background and in this case certainly white (or another bright) font colour for the dialer buttons. After decompiling and checking the layout folders everything directly aims to style.xml - so I edited the corresponding values:
<style name="text_style_dialer_button_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">
#ffffffff</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">@color/color_255_255_255</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
</style>
<style name="text_style_dialer_button_alphabet">
<item name="android:textSize">14.0sp</item>
<item name="android:textColor">
#ff777777</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_marginTop">42.0px</item>
</style>
<style name="text_style_dialer_button_zero_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">
#ffffffff</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">@color/color_255_255_255</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
Unforunately no success - I also tried several layout xml despite knowing it will not work, just to double check. I also looked into EVO threads (since there was nothing here) and found out, that this style.xml and my values are right (certainly knowing that HTC changed something for DHD).
I also checked htcframework - besides a few pngs which I certainly found and edited no corresponding xml. So the answer seems to be in the smali code.
Anyone else tried this and succeeded? Any help would be greatly appreciated - Thx
