Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which attribute replace for “layout_constraintGuide_Percent” at Android-Studio

Tags:

I used constraint layout Android Studio 2.3.1 with constraint-layout:1.0.0-alpha4 dependency before, but now I am using 'com.android.support.constraint:constraint-layout:1.0.2', layout_constraintGuide_Percent attribute is not exists.

Which attribute replace for layout_constraintGuide_Percent?

my code:

<android.support.constraint.Guideline
    android:id="@+id/guideline_vertical"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    app:layout_constraintGuide_Percent="0.8"
    tools:layout_editor_absoluteX="50dp"
    tools:layout_editor_absoluteY="0dp" />
like image 263
Elango Avatar asked Jun 09 '17 05:06

Elango


1 Answers

Replace the attribute with this

app:layout_constraintGuide_percent
like image 150
Elango Avatar answered Oct 11 '22 14:10

Elango