Adrian Patrascu
Posts: 0
Joined: Thu Sep 12, 2013 5:25 pm

Missing Button ICONS on APK build - one theme

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Missing Button ICONS on APK build - one theme

Hello Adrian,

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Missing Button ICONS on APK build - one theme

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

Qbis Consult
Posts: 0
Joined: Wed Jul 30, 2014 4:20 pm

Missing Button ICONS on APK build - one theme

Hi,

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

Image

Adrian Patrascu
Posts: 0
Joined: Thu Sep 12, 2013 5:25 pm

Missing Button ICONS on APK build - one theme

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

Adrian Patrascu
Posts: 0
Joined: Thu Sep 12, 2013 5:25 pm

Missing Button ICONS on APK build - one theme

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Missing Button ICONS on APK build - one theme

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

Adrian Patrascu
Posts: 0
Joined: Thu Sep 12, 2013 5:25 pm

Missing Button ICONS on APK build - one theme

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

Thank you very much,

Adrian

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Missing Button ICONS on APK build - one theme

Adrian,

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Missing Button ICONS on APK build - one theme

Hello,

This bug was fixed, sorry for inconvenience.

Return to “Issues”