Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Convert to Anko Layouts DSL: function dp is unresolved #563

Closed
@yanex

Description

@yanex
  1. In the activity_main.xml there is a line android:layout_height="79dp"
  2. Invoke Code / Convert to Anko Layouts DSL
    Result: .lparams(width = wrapContent, height = dp(79))
    The function dp is shown red.
    Either another existing function should be used, or function dp should exist.

Build:
AS 3.0.1 (#AI-171.4443003) + Kotlin IDE plugin 1.2.30-eap-8-Studio3.0-1 + gradle plugin 1.2.30-eap-6
AS 3.1 Beta 1 (#AI-173.4567466) + Kotlin IDE plugin 1.2.30-eap-8-Studio3.1-1 + gradle plugin 1.2.30-eap-6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions