Skip to content

Setting BootstrapDropDown size via code or XML using strings.xml #169

Closed
@feherbt

Description

@feherbt

Hi,
I need to change the size depend on device.

First I tired by string resource (values/strings.xml and /values-sw800/strings.xml)
app:bootstrapSize="@string/bb_size_large"
Result:
Binary XML file line #114: Error inflating class

No problem! I resolved by code using setBootstrapSize() method!
It is working on BootstrapButton but BootstrapDropDown has't got.

I don't want to duplicate the XML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions