Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
This repository was archived by the owner on Mar 27, 2022. It is now read-only.

Vector Images #22

Description

@KennyGoers

When trying to get a full height permanent selection using app:rrbg_selectorFullSize="true" text is visible but the images aren't shown. Is there a different way to not have the underline, but have the background change on the selected item?

Activity

  1. KennyGoers commented on Apr 28, 2017

    @KennyGoers
    Author

    Followup, seems to be related to the project theme, as using the plain "Material" theme it works as expected. What color is used for the full size option for inverting the icon?

  2. KennyGoers commented on Apr 28, 2017

    @KennyGoers
    Author

    Guess I should be more slow to place issues! The problem is with using Vector images. I was running on a v19 emulator. I suggest using AppCompatResources.getDrawable(), its in the newer API compat libraries or AppCompatImageView. I would do a pull request, but having issues running/building the sample app, some weird error about duplicate BuildConfigs.

  3. KennyGoers commented on Apr 28, 2017

    @KennyGoers
    Author

    BTW, very cool component when you need it!

  4. changed the title [-]rrbg_selectorFullSize covers images[/-] [+]Vector Images[/+] on Apr 28, 2017
  5. ceryle commented on May 2, 2017

    @ceryle
    Owner

    Hi Kenny,
    I faced with the same error when I was using Api19 emulator. I changed project's package name and it now runs without any error. To solve vector problem, I followed your advice. I changed ImageView to AppCompatImageView which gets resId by using AppCompatResources.getDrawable() method. When I run the project on Api19 emulator and on a Api21 device, I didn't see any vector image problem. I believe it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions