ajout tp android

This commit is contained in:
Simoes Lukas
2026-03-22 13:57:47 +01:00
commit ce14b15cf2
680 changed files with 16444 additions and 0 deletions
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_marginLeft="50dp"
android:layout_marginRight="50dp"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/layout_c"
>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/celsius"
android:hint="Température"
android:imeOptions="actionDone"
android:inputType="text"
android:layout_weight="90"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="℃"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_c"
android:id="@+id/layout_f"
>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/fahrenheit"
android:hint="Température"
android:imeOptions="actionDone"
android:inputType="text"
android:layout_weight="90"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="℉"
android:layout_weight="1"
/>
</LinearLayout>
</RelativeLayout>
</RelativeLayout>