Hi,

I have been trying to modify the height of the status bar with limited
success in gingerbread. I modified the file in frameworks/base/core/
res/res/values/dimens.xml, however it does not change with the value
set to 32dip (my desired height), but it will change if I change it to
45dip. Is there a limited set of values that the status bar height can
be set to? Any ideas as to what I might be overlooking? Could it be a
problem with the density modifications (I have tried setting the value
to 32px with no luck)?

These are the relevant lines in dimens.xml:
<dimen name="status_bar_height">25dip</dimen>
<dimen name="status_bar_icon_size">25dip</dimen>


On a related, but less important note, I am also having trouble
adjusting the size of the clock in the status bar. In frameworks/base/
packages/SystemUI/res/values/styles.xml I changed

<style name="TextAppearance.StatusBar.Title" parent="@android:style/
TextAppearance.StatusBar">
    <item name="android:textAppearance">?android:attr/
textAppearanceSmall</item>
    <item name="android:textStyle">bold</item>
    <item name="android:textColor">@drawable/
notification_header_text_color</item>
</style>

to

<style name="TextAppearance.StatusBar.Title" parent="@android:style/
TextAppearance.StatusBar">
    <item name="android:textAppearance">?android:attr/
textAppearanceLarge</item>
    <item name="android:textStyle">bold</item>
    <item name="android:textColor">@drawable/
notification_header_text_color</item>
</style>

Yet this clock size remains the same. Advice?

Best Regards,
Bryan Stern

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to