Skip to content

Commit

Permalink
remove constraint layout to fix the build problem
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingRadish committed Aug 2, 2016
1 parent 5cee017 commit 3355e11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha4'
testCompile 'junit:junit:4.12'
compile project(':flexlayout')
}
10 changes: 3 additions & 7 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
Expand All @@ -10,11 +10,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="@+id/activity_main"
app:layout_constraintLeft_toLeftOf="@+id/activity_main"
app:layout_constraintRight_toRightOf="@+id/activity_main"
app:layout_constraintTop_toTopOf="@+id/activity_main" />
android:text="Hello World!" />

<org.houxg.flexlayout.FlexLayout
android:layout_width="wrap_content"
Expand All @@ -34,4 +30,4 @@

</org.houxg.flexlayout.FlexLayout>

</android.support.constraint.ConstraintLayout>
</RelativeLayout>

0 comments on commit 3355e11

Please sign in to comment.