I made a video of my results on Android 2.3 and 4.0. See <a href="http://www.youtube.com/watch?v=fzBkuCD-6Ng">http://www.youtube.com/watch?v=fzBkuCD-6Ng</a><div><br></div><div>Problems with 2.3:</div><div><ul><li>Text is too small</li>

<li>Text overlaps radio buttons and check boxes</li></ul><div>Problems with 4.0:</div><div><ul><li>Button doesn't look right</li><li>ExtractStyleInfo doesn't generate all the files that are mentioned in style.qrc on Android 4.0. To fix this, I just used the files that were in there already for the missing files (but used generated files when I could.) See below for a list of files.</li>

</ul><div>Problems with both:</div></div><div><ul><li>Keyboard issues. See <a href="https://sourceforge.net/p/necessitas/tickets/187/">https://sourceforge.net/p/necessitas/tickets/187/</a>.</li></ul><div>Missing files from ExtractStyleInfo on Android 4.0:</div>

</div><div><br></div><div><div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__empty.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__enabled.png'</font></div><div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__focused.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__focused__enabled.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__pressed.png'</font></div><div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__window_not_focused__disabled.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__window_not_focused__enabled.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908311__checked.png'</font></div><div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908311__unchecked.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/editTextStyle_View_background__pressed.png'</font></div><div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/radioButtonStyle_CompoundButton_button__checked__pressed.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/radioButtonStyle_CompoundButton_button__unchecked__pressed.png'</font></div>
<div>
<font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__enabled.png'</font></div><div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__focused.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__focused__enabled.png'</font></div><div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__window_not_focused__disabled.png'</font></div>

<div><font face="'courier new', monospace">RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__window_not_focused__enabled.png'</font></div></div>

<br><div class="gmail_quote">On Mon, Mar 19, 2012 at 1:38 PM, BogDan Vatra <span dir="ltr"><<a href="mailto:taipanromania@gmail.com">taipanromania@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello everybody,<br>
<br>
 These are the sources that I used to make the Android QStyle movie<br>
from this [1] thread.<br>
The package contains two applications:<br>
- ExtractStyleInfo, is a Android Java/JNI application used to extract<br>
look&style informations from Android O.S.<br>
- AndroidStylePlugin is a qt application, in this application you'll<br>
find the implementation for style plugin.<br>
<br>
How to hack:<br>
 - create style folder on your sdcard ( $ adb shell mkdir /sdcard/style )<br>
 - compile & run ExtractStyleInfo.<br>
 - pull the extracted data into AndroidStylePlugin/style/ics folder,<br>
then touch "style.qrc" file.<br>
 - compile and run AndroidStylePlugin !<br>
<br>
<br>
Cheers,<br>
BogDan.<br>
<br>
[1] <a href="http://groups.google.com/group/android-qt/browse_thread/thread/f12407af5947aefb" target="_blank">http://groups.google.com/group/android-qt/browse_thread/thread/f12407af5947aefb</a><br>
<br>_______________________________________________<br>
Necessitas-devel mailing list<br>
<a href="mailto:Necessitas-devel@kde.org">Necessitas-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/necessitas-devel" target="_blank">https://mail.kde.org/mailman/listinfo/necessitas-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Tyler Mandry<br>
</div>