Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--<?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- >
- <TextView android:id="@+id/title_paired_devices"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="Select btSerial device from paired devices:"
- android:visibility="gone"
- android:background="#666"
- android:textColor="#fff"
- android:paddingLeft="5dp"
- />
- <ListView android:id="@+id/paired_devices"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:stackFromBottom="false"
- android:layout_weight="1"
- />
- <TextView
- android:id="@+id/connecting"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge" />
- <TextView
- android:id="@+id/infoText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="If no devices are listed please pair your device in Android settings"
- android:textAppearance="?android:attr/textAppearanceLarge" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center">
- </LinearLayout>
- </LinearLayout> -->
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/testtest"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="String à envoyer :"
- android:textStyle="bold"
- android:textColor="#FF0000"
- android:gravity="center"
- />
- <EditText
- android:id="@+id/poids"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:hint="Entrez votre texte..."
- android:inputType="text"
- />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Taille : "
- android:textStyle="bold"
- android:textColor="#FF0000"
- android:gravity="center"
- />
- <EditText
- android:id="@+id/taille"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:hint="Taille"
- android:inputType="numberDecimal"
- />
- <RadioGroup
- android:id="@+id/group"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checkedButton="@+id/radio2"
- android:orientation="horizontal"
- >
- <RadioButton
- android:id="@+id/radio1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Mètre"
- />
- <RadioButton
- android:id="@+id/radio2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Centimètre"
- />
- </RadioGroup>
- <CheckBox
- android:id="@+id/mega"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Mega fonction !"
- />
- <Button
- android:id="@+id/calcul"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Connexion à l'arduino"
- android:layout_gravity="center"
- />
- <Button
- android:id="@+id/raz"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Envoyer le string avec bluetooth"
- android:layout_gravity="center"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Résultat:"
- />
- <TextView
- android:id="@+id/result"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:text="En attente de données"
- />
- </LinearLayout>
Add Comment
Please, Sign In to add comment