I'd like to build my own titlebar. and I'd like to have my own backbutton there.
This way I start in Java with my_title:
Using java Syntax Highlighting
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
- setContentView(R.layout.my_main);
- getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.my_title);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
But right now we've got a problem, huston.
The titlebar can only be 25px height.
It seems that android-sdk-windows-1.0_r2\tools\lib\res\default\drawable\title_bar.9.png is the background, and its 25px height (with 2px border for the .9.png lines).
Inside android-sdk-windows-1.0_r2\tools\lib\res\default\drawable\styles.xml it's referenced:
Using xml Syntax Highlighting
- <style name="WindowTitleBackground">
- <item name="android:background">@android:drawable/title_bar</item>
- </style>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4
Using themeing I was able to put my own background gfx there, but the height is clipped after 25px.
Is there a way to change the 25px ?
Using G1 a backbutton in the titlebar is too small...
Greetings,
DaRolla


