Skip to content

Commit

Permalink
Merge pull request #44 from tal-sitton/hotfix-app-crash
Browse files Browse the repository at this point in the history
Hotfix app crash
  • Loading branch information
tal-sitton authored Dec 9, 2022
2 parents 9db269a + 297ef2d commit 0944fa5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.talsitton.movietime"
minSdk 26
targetSdk 33
versionCode 2
versionName "1.1"
versionCode 4
versionName "1.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/example/movietime/Screening.kt
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class Screening(
)
text.setSpan(
StyleSpan(Typeface.BOLD),
text.indexOf(city),
text.indexOf(theater),
text.lastIndexOf(city),
text.lastIndexOf(theater),
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
)
button.text = text
Expand Down
17 changes: 15 additions & 2 deletions app/src/main/res/layout/activity_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintBottom_toTopOf="@+id/textView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/backButton">
app:layout_constraintTop_toBottomOf="@+id/backButton"
app:layout_constraintVertical_bias="0.0">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -67,4 +69,15 @@
</LinearLayout>
</ScrollView>

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:text="נוצר על ידי טל סיטון"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 0944fa5

Please sign in to comment.