Page 1 of 2

Missing Button ICONS on APK build - one theme

Posted: Wed Jul 30, 2014 8:25 am
by Adrian Patrascu

Hi,

Please help with this !

I need an estimation for next problem to be solved?

Still my app can not display default Icons / buttons and I do need the new APK as soon as possible.

All details are here:
https://getsatisfaction.com/apperyio/...

Predefined ICONS
Theme: iOs 7

  • Swatch C

  • Library verison v1.2

  • Device Android 4.1
    APK build

  • When it is built for test it works like a week ago in release mode

  • When it is build as release the icons are no longer in place (even for back button),
    the APK file is smaller than before
    I noticed this yesterday. Did not tested yet for others differences.

    Switching to library v2.0 - the theme looks different and component "SELECT" does not work as it should, it's background is transparent and the content come over other controls in page. The Swatch C is not applied if library v2.0 is used but the ICONS are there.

    Switching to library v1.1 does have the same result as v1.2

    While buttons in the bellow images can be used without icons, the application have small buttons used in page bottom that use only ICONS to identify the action.

    This behavior apply to all buttons in the application.

    Test application build (RELEASE).

    Image Image


Missing Button ICONS on APK build - one theme

Posted: Wed Jul 30, 2014 8:40 am
by Evgene Karachevtsev

Hello Adrian,

Sorry for inconvenience, we are working on it at the moment and will get to you with update.


Missing Button ICONS on APK build - one theme

Posted: Wed Jul 30, 2014 12:10 pm
by Evgene Karachevtsev

Adrian,

Unfortunately we are still working on it, but there is workaroun. For Android:
Go to Sources - ANDROID - имя_проекта - pom.xml
And remove such code:

code
<plugin>
<groupId>net&#46;alchim31&#46;maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>compress</goal>
</goals>
</execution>
</executions>
<configuration>
<sourceDirectory>${basedir}/assets</sourceDirectory>
<nosuffix>true</nosuffix>
<outputDirectory>${project&#46;build&#46;directory}/minAssets</outputDirectory>
</configuration>
</plugin>
/code


Missing Button ICONS on APK build - one theme

Posted: Wed Jul 30, 2014 4:20 pm
by Qbis Consult

Hi,

The project builds for TEST project, but the result is not so good!

Image


Missing Button ICONS on APK build - one theme

Posted: Wed Jul 30, 2014 4:34 pm
by Adrian Patrascu

Same on my project, after the plugin removal, the CSS for the app it is not working.


Missing Button ICONS on APK build - one theme

Posted: Thu Jul 31, 2014 7:52 am
by Adrian Patrascu

Hi,

Know that may be a small problem for your application that one theme do not work for release, but I will need to take a decision related in short time.

Please give me a time frame for solving this issue.

Changing the theme, while is not desirable, could be a solution if this can't be fixed in time. (with modifications other theme may do the job - fonts/colors to match the application idea).

Best regards,

Adrian


Missing Button ICONS on APK build - one theme

Posted: Thu Jul 31, 2014 8:08 am
by Evgene Karachevtsev

Hello Adrian,

I hope this bug will be fixed soon. But could you please try one more thing.
In addition to what you did in pom.xml, please find the lines

code<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>copy-resources</goal>
</goals>
</execution>
</executions>
<configuration>
<resources>
<resource>
<directory>${project&#46;basedir}/assets</directory>
<filtering>true</filtering>
<includes>
<include>/&#46;</include>
</includes>
<excludes>
<exclude>/&#46;js</exclude>
<exclude>**/&#46;css</exclude>
</excludes>
</resource>
</resources>
<outputDirectory>${project&#46;build&#46;directory}/minAssets</outputDirectory>
</configuration>
</plugin>/code

and remove lines

code <filtering>true</filtering>
<includes>
<include>/&#46;</include>
</includes>
<excludes>
<exclude>/&#46;js</exclude>
<exclude>**/&#46;css</exclude>
</excludes>/code


Missing Button ICONS on APK build - one theme

Posted: Thu Jul 31, 2014 10:03 am
by Adrian Patrascu

It works now with XML modifications, tested with the main application and published!

Thank you very much,

Adrian


Missing Button ICONS on APK build - one theme

Posted: Thu Jul 31, 2014 10:07 am
by Evgene Karachevtsev

Adrian,

Thank you for your update! Glad it works and sorry for inconvenience.


Missing Button ICONS on APK build - one theme

Posted: Thu Jul 31, 2014 12:55 pm
by Evgene Karachevtsev

Hello,

This bug was fixed, sorry for inconvenience.