Android QStyle plugin sources
Tyler Mandry
tmandry at gmail.com
Sat Mar 31 23:54:13 UTC 2012
I made a video of my results on Android 2.3 and 4.0. See
http://www.youtube.com/watch?v=fzBkuCD-6Ng
Problems with 2.3:
- Text is too small
- Text overlaps radio buttons and check boxes
Problems with 4.0:
- Button doesn't look right
- 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.
Problems with both:
- Keyboard issues. See https://sourceforge.net/p/necessitas/tickets/187/.
Missing files from ExtractStyleInfo on Android 4.0:
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908288__empty.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908288__enabled.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908288__focused.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908288__focused__enabled.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908288__pressed.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908288__window_not_focused__disabled.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908288__window_not_focused__enabled.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908311__checked.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/buttonStyleToggle_View_background__16908311__unchecked.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/editTextStyle_View_background__pressed.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/radioButtonStyle_CompoundButton_button__checked__pressed.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/radioButtonStyle_CompoundButton_button__unchecked__pressed.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/spinnerStyle_View_background__enabled.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/spinnerStyle_View_background__focused.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/spinnerStyle_View_background__focused__enabled.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/spinnerStyle_View_background__window_not_focused__disabled.png'
RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file
'style/ics/spinnerStyle_View_background__window_not_focused__enabled.png'
On Mon, Mar 19, 2012 at 1:38 PM, BogDan Vatra <taipanromania at gmail.com>wrote:
> Hello everybody,
>
> These are the sources that I used to make the Android QStyle movie
> from this [1] thread.
> The package contains two applications:
> - ExtractStyleInfo, is a Android Java/JNI application used to extract
> look&style informations from Android O.S.
> - AndroidStylePlugin is a qt application, in this application you'll
> find the implementation for style plugin.
>
> How to hack:
> - create style folder on your sdcard ( $ adb shell mkdir /sdcard/style )
> - compile & run ExtractStyleInfo.
> - pull the extracted data into AndroidStylePlugin/style/ics folder,
> then touch "style.qrc" file.
> - compile and run AndroidStylePlugin !
>
>
> Cheers,
> BogDan.
>
> [1]
> http://groups.google.com/group/android-qt/browse_thread/thread/f12407af5947aefb
>
> _______________________________________________
> Necessitas-devel mailing list
> Necessitas-devel at kde.org
> https://mail.kde.org/mailman/listinfo/necessitas-devel
>
>
--
Tyler Mandry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/necessitas-devel/attachments/20120331/64a55a5d/attachment.html>
More information about the Necessitas-devel
mailing list