Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F13558621
D219.1783790159.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Authored By
Unknown
Size
7 KB
Referenced Files
None
Subscribers
None
D219.1783790159.diff
View Options
diff --git a/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt b/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt
--- a/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt
+++ b/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt
@@ -86,7 +86,7 @@
textView.text = utils.convertHtml(getString(R.string.tutorial_stops))
}
4 ->{
- setImageBitmap(imageHolder, R.drawable.tuto_map)
+ setImageBitmap(imageHolder, R.drawable.tuto_map, 300f)
textView.text = utils.convertHtml(getString(R.string.tutorial_map))
if (Build.VERSION.SDK_INT >= 23) {
//only show if running on Android M or above
@@ -101,7 +101,7 @@
}
5 ->{
- setImageBitmap(imageHolder, R.drawable.tuto_line_det)
+ setImageBitmap(imageHolder, R.drawable.tuto_line_det, 300f)
textView.text = utils.convertHtml(getString(R.string.tutorial_line))
}
6-> {
@@ -177,14 +177,14 @@
private fun setImageBitmap(imageView: ImageView, resId: Int, maxDpToScale:Float = DP_LIM_IMAGE){
val bitmap = BitmapFactory.decodeResource(resources,resId)
- /*val limPix = utils.convertDipToPixels(resources, maxDpToScale)
+ val limPix = utils.convertDipToPixels(resources, maxDpToScale)
if (bitmap.width > limPix) {
val rescFac = limPix/bitmap.width
val rescaledBitmap = Bitmap.createScaledBitmap(bitmap,(limPix).toInt(), (bitmap.height*rescFac).toInt(),false)
imageView.setImageBitmap(rescaledBitmap)
}
else
- */
+
imageView.setImageBitmap(bitmap)
}
diff --git a/app/src/main/res/drawable-it-xhdpi/tuto_line_det.jpg b/app/src/main/res/drawable-it-xhdpi/tuto_line_det.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/app/src/main/res/drawable-it-xhdpi/tuto_line_det.webp b/app/src/main/res/drawable-it-xhdpi/tuto_line_det.webp
deleted file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/app/src/main/res/drawable-it-xhdpi/tuto_map.jpg b/app/src/main/res/drawable-it-xhdpi/tuto_map.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/app/src/main/res/drawable-it-xhdpi/tuto_map.webp b/app/src/main/res/drawable-it-xhdpi/tuto_map.webp
deleted file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/app/src/main/res/drawable-xhdpi/tuto_line_det.jpg b/app/src/main/res/drawable-xhdpi/tuto_line_det.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/app/src/main/res/drawable-xhdpi/tuto_line_det.webp b/app/src/main/res/drawable-xhdpi/tuto_line_det.webp
deleted file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/app/src/main/res/drawable-xhdpi/tuto_map.jpg b/app/src/main/res/drawable-xhdpi/tuto_map.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/app/src/main/res/drawable-xhdpi/tuto_map.webp b/app/src/main/res/drawable-xhdpi/tuto_map.webp
deleted file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/en-US/images/phoneScreenshots/1_arrivals.png b/metadata/en-US/images/phoneScreenshots/1_arrivals.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/en-US/images/phoneScreenshots/2_nearby_stops.png b/metadata/en-US/images/phoneScreenshots/2_nearby_stops.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/en-US/images/phoneScreenshots/3_nearby_connections.png b/metadata/en-US/images/phoneScreenshots/3_nearby_connections.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/en-US/images/phoneScreenshots/4_favorites.png b/metadata/en-US/images/phoneScreenshots/4_favorites.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/en-US/images/phoneScreenshots/5_map.png b/metadata/en-US/images/phoneScreenshots/5_map.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/en-US/images/phoneScreenshots/6_lines.png b/metadata/en-US/images/phoneScreenshots/6_lines.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/en-US/images/phoneScreenshots/7_lines_details.png b/metadata/en-US/images/phoneScreenshots/7_lines_details.png
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/it/images/phoneScreenshots/1_arrivals.png b/metadata/it/images/phoneScreenshots/1_arrivals.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/it/images/phoneScreenshots/2_nearby_stops.png b/metadata/it/images/phoneScreenshots/2_nearby_stops.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/it/images/phoneScreenshots/3_nearby_connections.png b/metadata/it/images/phoneScreenshots/3_nearby_connections.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/it/images/phoneScreenshots/4_favorites.png b/metadata/it/images/phoneScreenshots/4_favorites.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/it/images/phoneScreenshots/5_map.png b/metadata/it/images/phoneScreenshots/5_map.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/it/images/phoneScreenshots/6_lines.png b/metadata/it/images/phoneScreenshots/6_lines.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/metadata/it/images/phoneScreenshots/7_lines_details.png b/metadata/it/images/phoneScreenshots/7_lines_details.png
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 11, 19:15 (12 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1995715
Default Alt Text
D219.1783790159.diff (7 KB)
Attached To
Mode
D219: Replace screens in the tutorial fragment and screenshots for F-Droid
Attached
Detach File
Event Timeline