Skip to content
Snippets Groups Projects
Commit 88cd16a6 authored by Jean-Marie Place's avatar Jean-Marie Place
Browse files

initial

parents
Branches
Tags
No related merge requests found
Showing
with 226 additions and 0 deletions
app/src/main/res/mipmap-xhdpi/ic_launcher.webp

1.86 KiB

app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp

3.83 KiB

app/src/main/res/mipmap-xxhdpi/ic_launcher.webp

2.82 KiB

app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp

5.78 KiB

app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp

3.75 KiB

app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp

7.6 KiB

{
"participants": [
"Ahmed",
"Bruno",
"Celine",
"Déborah"
],
"operations" : [
{ "participant": "Ahmed", "poste": "TRANSPORT", "amount" = 15.0 },
{ "participant": "Bruno", "poste": "HEBERGEMENT", "amount" = 65.0 },
{ "participant": "Celine", "poste": "TRANSPORT", "amount" = 43.50 },
{ "participant": "Ahmed", "poste": "AUTRES", "amount" = 12.0 },
{ "participant": "Déborah", "poste": "RESTAURATION", "amount" = 14.5 },
]
}
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.TP1" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/black</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
</resources>
\ No newline at end of file
<resources>
<string name="app_name">CTP_2025</string>
<string-array name="postes">
<item>@string/LibTransport</item>
<item>@string/LibHebergement</item>
<item>@string/LibRestauration</item>
<item>@string/LibLoisirs</item>
<item>@string/LibAutres</item>
</string-array>
<string name="LibTransport">TRANSPORT</string>
<string name="LibHebergement">HEBERGEMENT</string>
<string name="LibRestauration">RESTAURATION</string>
<string name="LibLoisirs">LOISIRS</string>
<string name="LibAutres">AUTRES</string>
<string name="currency">%1$.2f €</string>
<string name="zeroEuro">0.00 €</string>
<string name="ActivityTitle">Virée entre potes</string>
<string name="txtOperations">Opérations...</string>
<string name="txtAddParticipant">Ajouter un participant</string>
<string name="txtAdd">Ajouter</string>
<string name="new_participant">nouvel arrivant</string>
<string name="Error">Erreur: %1$s</string>
<string name="ErrorInsertParticipantExists">Tentative d\'ajout d\'un participant qui existe déjà: (%1$s).</string>
<string name="ErrorDropUnknownParticipant">tentative de suppression d\'un participant inexistant: (%1$s).</string>
<string name="ErrorDropParticipantLinked">suppression participant (%1$s) impossible: il reste un paiement à ce nom.</string>
<string name="ErrorInsertUnknownParticipant">Participant inexistant: \'%1$s\' lors de l\'ajout d\'une opération.</string>
<string name="ErrorInsertUnknownPoste">Poste inexistant: (%1$s) lors de l\'ajout d\'une opération.</string>
<string name="ErrorOperationIllegalPosition">Erreur interne: recherche d\'une opération (position %1$d inexistante)</string>
<string name="title_statistiques">Statistiques genérales</string>
<string name="nb_operations">Nombre d\'opérations</string>
<string name="sum_amount">Total des dépenses</string>
<string name="title_statistiques_poste">Statistiques pour le poste %1$s</string>
<string name="nb_operations_poste">Nombre d\'opérations pour le poste %1$s</string>
<string name="sum_amountposte">Total des dépenses pour le poste %1$s</string>
<string name="Lib_stats">stats...</string>
<string name="decimal_format">%1$d</string>
<string name="title_poste_op">Statistiques pour le poste %1$s</string>
<string name="LibFermer">Fermer</string>
</resources>
\ No newline at end of file
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.TP1" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?><!--
Sample backup rules file; uncomment and customize as necessary.
See https://developer.android.com/guide/topics/data/autobackup
for details.
Note: This file is ignored for devices older that API 31
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
</full-backup-content>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?><!--
Sample data extraction rules file; uncomment and customize as necessary.
See https://developer.android.com/about/versions/12/backup-restore#xml-changes
for details.
-->
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
</device-transfer>
-->
</data-extraction-rules>
\ No newline at end of file
package fr.iutlille.ctp_2025;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
\ No newline at end of file
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
alias(libs.plugins.android.application) apply false
}
\ No newline at end of file
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
\ No newline at end of file
[versions]
agp = "8.8.0"
junit = "4.13.2"
junitVersion = "1.2.1"
espressoCore = "3.6.1"
appcompat = "1.7.0"
material = "1.12.0"
[libraries]
junit = { group = "junit", name = "junit", version.ref = "junit" }
ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
File added
#Tue Mar 11 17:47:18 CET 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "CTP_2025"
include(":app")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment