Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav Bogdashkin
Room Park Android
Commits
6340a573
Commit
6340a573
authored
Mar 10, 2020
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix slider margins
parent
52167543
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Renderer.kt
...isual/roompark/presentation/screen/photo/util/Renderer.kt
+1
-1
photo_view_screen.xml
app/src/main/res/layout/photo_view_screen.xml
+2
-2
No files found.
app/src/main/java/com/biganto/visual/roompark/presentation/screen/photo/util/Renderer.kt
View file @
6340a573
...
@@ -25,7 +25,7 @@ import kotlin.math.sin
...
@@ -25,7 +25,7 @@ import kotlin.math.sin
private
const
val
CONST_SLEEP_THRESHOLD
=
8L
private
const
val
CONST_SLEEP_THRESHOLD
=
8L
private
const
val
CONST_CENTER_PHOTO_BORDER_PX
=
8
private
const
val
CONST_CENTER_PHOTO_BORDER_PX
=
8
private
const
val
CONST_CENTER_HEIGHT_DIFF_PX
=
0
private
const
val
CONST_CENTER_HEIGHT_DIFF_PX
=
0
private
const
val
CONST_HEIGHT_MARGIN_BORDER_PX
=
10
private
const
val
CONST_HEIGHT_MARGIN_BORDER_PX
=
8
private
const
val
CONST_DIFF_BORDER_PX
=
1
private
const
val
CONST_DIFF_BORDER_PX
=
1
private
const
val
CONST_DECAY_TIMER
=
500L
private
const
val
CONST_DECAY_TIMER
=
500L
...
...
app/src/main/res/layout/photo_view_screen.xml
View file @
6340a573
...
@@ -74,9 +74,9 @@
...
@@ -74,9 +74,9 @@
<com.biganto.visual.roompark.presentation.screen.photo.util.PhotoPreviewSlider
<com.biganto.visual.roompark.presentation.screen.photo.util.PhotoPreviewSlider
android:id=
"@+id/photosPreviewSlider"
android:id=
"@+id/photosPreviewSlider"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"
32
dp"
android:layout_height=
"
48
dp"
android:layout_marginStart=
"16dp"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"
12
dp"
android:layout_marginTop=
"
8
dp"
android:layout_marginEnd=
"16dp"
android:layout_marginEnd=
"16dp"
android:layout_marginBottom=
"16dp"
android:layout_marginBottom=
"16dp"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment