0% found this document useful (0 votes)
30 views7 pages

Arquivo Do XML Da Fragment Activity - Dados - Decolagem - Fragment

The document describes an Android layout with multiple LinearLayout containers. It includes text fields, spinners and other UI elements for inputting flight data like altitude, temperature, weight, speeds and more.

Uploaded by

Carlos Eduardo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views7 pages

Arquivo Do XML Da Fragment Activity - Dados - Decolagem - Fragment

The document describes an Android layout with multiple LinearLayout containers. It includes text fields, spinners and other UI elements for inputting flight data like altitude, temperature, weight, speeds and more.

Uploaded by

Carlos Eduardo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

<?xml version="1.0" encoding="utf-8"?

>
<LinearLayout
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:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="10dp"
android:orientation="vertical"
tools:context=".DadosDecolagemFragment">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:background="@drawable/round_btn"
android:orientation="vertical">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/insira_os_dados"
android:layout_gravity="center"
android:paddingTop="20dp"
android:paddingBottom="20dp"
android:textColor="@color/black"
android:textStyle="bold"
android:textSize="25sp" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:baselineAligned="false"
android:orientation="horizontal">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingStart="10dp"
android:paddingEnd="1dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:textAlignment="center"
android:layout_marginStart="10dp"
android:layout_marginEnd="5dp"
android:background="@drawable/background_round_blue"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="0.1"
android:text="@string/alt"
android:textColor="@color/black"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_alt"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:background="@drawable/background_round_white"
android:layout_marginEnd="10dp"
android:layout_weight="1"
/>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingStart="10dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingEnd="1dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="10dp"
android:background="@drawable/background_round_blue"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="0.1"
android:text="@string/t2"
android:textColor="@color/black"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_temp"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:background="@drawable/background_round_white"
android:layout_marginEnd="10dp"
android:layout_weight="1"
/>

</LinearLayout>

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_marginEnd="10dp"
android:paddingStart="10dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:background="@drawable/background_round_blue"
android:orientation="horizontal"
android:layout_gravity="center">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/peso"
android:textColor="@color/black"
android:layout_weight="0.1"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_peso"
android:layout_width="100dp"
android:layout_height="48dp"
android:background="@drawable/background_round_white"
android:layout_marginEnd="10dp"
android:layout_weight="1"
/>

</LinearLayout>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:orientation="vertical"
android:paddingTop="10dp"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:background="@drawable/background_round_green">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/dados_para_o_cart_o"
android:layout_gravity="center"
android:paddingTop="20dp"
android:paddingBottom="20dp"
android:textStyle="bold"
android:textColor="@color/black"
android:textSize="25sp" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="5dp"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/vr"
android:textColor="@color/black"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_vr"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="0.1"
android:background="@drawable/background_round_white"
/>

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/v2"
android:textColor="@color/black"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_v2"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="0.1"
android:background="@drawable/background_round_white"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/vyse"
android:textColor="@color/black"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_vyse"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="0.1"
android:background="@drawable/background_round_white"
/>

</LinearLayout>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/vsub"
android:textColor="@color/black"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_vsub"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="0.1"
android:background="@drawable/background_round_white"
/>

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/torque"
android:textColor="@color/black"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_torque"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="0.1"
android:background="@drawable/background_round_white"
/>

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/gradiente"
android:textColor="@color/black"
android:textSize="30sp" />

<Spinner
android:id="@+id/spinner_gradiente"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="0.1"
android:background="@drawable/background_round_white"
/>

</LinearLayout>

</LinearLayout>

</LinearLayout>

<androidx.appcompat.widget.AppCompatButton
android:id="@+id/button_limpar_campos"
android:layout_width="200dp"
android:layout_height="100dp"
android:layout_gravity="center"
android:background="@drawable/background_button"
android:text="@string/limpar_campos"
android:textStyle="bold"
android:textSize="30sp"
android:textColor="@color/white"
android:layout_marginTop="30dp"/>

</LinearLayout>

</LinearLayout>

You might also like