Skip to content

Commit

Permalink
Fix layout error
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
caiodev committed Nov 27, 2021
1 parent 886cc84 commit 918a6be
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ dependencies {
implementation "androidx.appcompat:appcompat:$appCompat"
implementation "androidx.constraintlayout:constraintlayout:$constraintLayout"
implementation "com.google.android.material:material:$materialDesign"
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
implementation"org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}
5 changes: 5 additions & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
app:layout_constraintTop_toBottomOf="@id/switchMaterial" />

<HorizontalScrollView
android:id="@+id/chip_scroll_view"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_8dp"
Expand Down Expand Up @@ -178,6 +179,10 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/chipList"
android:layout_width="0dp"
android:layout_marginTop="@dimen/margin_8dp"
app:layout_constraintStart_toStartOf="@+id/chip_scroll_view"
app:layout_constraintEnd_toEndOf="@+id/chip_scroll_view"
app:layout_constraintTop_toBottomOf="@+id/chip_scroll_view"
android:layout_height="wrap_content"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ buildscript {

ext {
//AppCompat
appCompat = '1.3.1'
appCompat = '1.4.0'

//ConstraintLayout
constraintLayout = '2.1.1'
constraintLayout = '2.1.2'

//Gradle
gradleVersion = '7.0.3'

//Kotlin
kotlinVersion = '1.5.31'
kotlinVersion = '1.6.0'

//MaterialDesign
materialDesign = '1.5.0-beta01'
Expand Down

0 comments on commit 918a6be

Please sign in to comment.