Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
vens8 committed Feb 16, 2024
1 parent f693888 commit fd4e41c
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 15 deletions.
1 change: 1 addition & 0 deletions Assignment1/JourneyTrack/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
.externalNativeBuild
.cxx
local.properties
/mykey.jks
9 changes: 4 additions & 5 deletions Assignment1/JourneyTrack/.idea/deploymentTargetDropDown.xml

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

Binary file not shown.
20 changes: 20 additions & 0 deletions Assignment1/JourneyTrack/app/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.example.journeytrack",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ class MainActivity : AppCompatActivity() {

btnNextStop.setOnClickListener {
val stops = if (useLazyStops) lazyStops else normalStops
Log.d("currentStop", "$currentStop")
Log.d("stops.size", "${stops.size}")
if (currentStop < stops.size - 1) {
currentStop++
updateProgressBar(stops.size)
Expand Down
25 changes: 17 additions & 8 deletions Assignment1/JourneyTrack/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
android:layout_marginEnd="141dp"
android:layout_marginBottom="6dp"
android:text="Next Stop"
android:textSize="16sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
Expand Down Expand Up @@ -93,32 +95,39 @@

<TextView
android:id="@+id/tv_total_distance_remaining"
android:layout_width="228dp"
android:layout_height="18dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="93dp"
android:layout_marginTop="639dp"
android:layout_marginEnd="44dp"
android:layout_marginEnd="93dp"
android:layout_marginBottom="7dp"
android:gravity="center"
android:text=""
android:textSize="16sp"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/btn_next_stop"
app:layout_constraintTop_toBottomOf="@+id/tv_total_distance_covered"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintHorizontal_bias="0.408"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="1.0" />

<TextView
android:id="@+id/tv_total_distance_covered"
android:layout_width="228dp"
android:layout_height="18dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="93dp"
android:layout_marginTop="612dp"
android:layout_marginEnd="90dp"
android:layout_marginEnd="93dp"
android:layout_marginBottom="9dp"
android:gravity="center"
android:text=""
android:textSize="16sp"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/tv_total_distance_remaining"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintHorizontal_bias="0.491"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="1.0" />
Expand Down

0 comments on commit fd4e41c

Please sign in to comment.