Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build #41

Open
IgorGanapolsky opened this issue Apr 27, 2015 · 2 comments
Open

Cannot build #41

IgorGanapolsky opened this issue Apr 27, 2015 · 2 comments

Comments

@IgorGanapolsky
Copy link

Every time I import your project I get this error:

Gradle 'floatlabelededittext' project refresh failed
Error:No such property: POM_ARTIFACT_ID for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer

Please advise.

@mduisenov
Copy link

IgorGanapolsky:Every time I import your project I get this error:
Gradle 'floatlabelededittext' project refresh failed
Error:No such property: POM_ARTIFACT_ID for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeploye

I had this problem too. I hadn't fixedthis problem, just

  1. create new project.
  2. add in gradle : compile 'com.wrapp.floatlabelededittext:library:0.0.6'
  3. add in style <style name="floatlabelededittext"> #FF0000 </style>
  4. copy paste activity
<com.wrapp.floatlabaelededittext.FloatLabeledEditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="This is the hint" />
</com.wrapp.floatlabaelededittext.FloatLabeledEditText>

<!-- add some padding -->
<com.wrapp.floatlabelededittext.FloatLabeledEditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    float:fletPadding="10dp">

    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="Username" />
</com.wrapp.floatlabelededittext.FloatLabeledEditText>

<!-- password input -->
<com.wrapp.floatlabelededittext.FloatLabeledEditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    float:fletPaddingBottom="10dp">

    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="Password"
        android:inputType="textPassword" />
</com.wrapp.floatlabelededittext.FloatLabeledEditText>

<!-- change color of hint text-->
<com.wrapp.floatlabelededittext.FloatLabeledEditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    float:fletPaddingBottom="10dp"
    float:fletTextAppearance="@style/floatlabelededittext">

    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="Styled Hint"
        android:inputType="textPassword" />
</com.wrapp.floatlabelededittext.FloatLabeledEditText>

@IgorGanapolsky
Copy link
Author

Maybe gradle.properties problem?
On May 10, 2015 5:03 AM, "mdzht" notifications@github.com wrote:

IgorGanapolsky:Every time I import your project I get this error:
Gradle 'floatlabelededittext' project refresh failed
Error:No such property: POM_ARTIFACT_ID for class:
org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeploye

I had this problem too. I hadn't fixedthis problem, just

  1. create new project.
  2. add in gradle : compile 'com.wrapp.floatlabelededittext:library:0.0.6'
  3. add in style

    #FF0000
  4. copy paste activity
    xmlns:float="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="com.wrapp.example.floatlabelededittext.MainActivity">

<com.wrapp.floatlabaelededittext.FloatLabeledEditText
android:layout_width="match_parent"
android:layout_height="wrap_content">

<EditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="This is the hint" />

</com.wrapp.floatlabaelededittext.FloatLabeledEditText>

<com.wrapp.floatlabelededittext.FloatLabeledEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
float:fletPadding="10dp">

<EditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="Username" />

</com.wrapp.floatlabelededittext.FloatLabeledEditText>

<com.wrapp.floatlabelededittext.FloatLabeledEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
float:fletPaddingBottom="10dp">

<EditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="Password"
    android:inputType="textPassword" />

</com.wrapp.floatlabelededittext.FloatLabeledEditText>

<com.wrapp.floatlabelededittext.FloatLabeledEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
float:fletPaddingBottom="10dp"
float:fletTextAppearance="@style/floatlabelededittext">

<EditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="Styled Hint"
    android:inputType="textPassword" />

</com.wrapp.floatlabelededittext.FloatLabeledEditText>


Reply to this email directly or view it on GitHub
#41 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants