This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Maximezmt/UI #124
Merged
Merged
Maximezmt/UI #124
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
090d59e
main remove enter + fields
MaximeZmt a19dbac
main remove enter + fields 2
MaximeZmt 6a6157f
modification of gamescreen
MaximeZmt 6491fd3
updated ui +test
MaximeZmt 8630116
partial profile update
MaximeZmt 334205c
profile page user image fixed
MaximeZmt b344691
updated test gamesetup scrollTo
MaximeZmt 9f67425
fix 2 for gamesetup scrollTO
MaximeZmt 249b4a5
fix 3 for gamesetup scrollTO
MaximeZmt fe95351
change scroll to constraint
MaximeZmt c3fc953
change scroll to constraint fix
MaximeZmt 1967dd6
update README
MaximeZmt d94435e
update README add space
MaximeZmt d2214f8
update README add space num 2
MaximeZmt 3426432
on the way of a clean readme
MaximeZmt 4ded593
logo cleaner version
MaximeZmt d852d3c
update scoreboard color and readme
MaximeZmt d264604
Merge branch 'main' into maximezmt/ui
MaximeZmt 467d841
remove duplicate background tint + fix
MaximeZmt 4095310
update layout ending screen
MaximeZmt e4f8cd1
update settings activity
MaximeZmt 9685a1d
correction pr
MaximeZmt 0817172
small xml profile update
MaximeZmt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
app/src/androidTest/java/ch/sdp/vibester/helper/DisplayContentsTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package ch.sdp.vibester.helper | ||
|
||
import android.content.Context | ||
import androidx.core.content.ContextCompat | ||
import androidx.test.core.app.ApplicationProvider | ||
import ch.sdp.vibester.R | ||
import org.junit.Assert.assertEquals | ||
import org.junit.Test | ||
|
||
class DisplayContentsTest { | ||
@Test | ||
fun borderGenTest(){ | ||
val ctx = ApplicationProvider.getApplicationContext() as Context | ||
val border = DisplayContents.borderGen(ctx, R.color.maximum_yellow_red) | ||
assertEquals(ContextCompat.getColor(ctx, R.color.maximum_yellow_red), border.color?.defaultColor) | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also in the beginning we can remove [To Complete: Abstract]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes