Created
September 5, 2018 17:18
-
-
Save cassianomaia/df45a0a0ddf009fc8350b40b9f497e94 to your computer and use it in GitHub Desktop.
Arquivos xml realizados na aula passada do aplicativo churrascore xD
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
<?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:orientation="vertical" | |
tools:context=".Futebol"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<EditText | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="20dp" | |
android:layout_weight="2" | |
android:imeOptions="actionNext" | |
android:hint="@string/com_camisa" | |
android:inputType="textPersonName|textCapWords" | |
android:layout_marginStart="16dp" | |
android:layout_marginEnd="20dp" /> | |
<EditText | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="20dp" | |
android:layout_marginRight="16dp" | |
android:layout_weight="2" | |
android:imeOptions="actionNext" | |
android:inputType="textPersonName|textCapWords" | |
android:layout_marginEnd="16dp" | |
android:hint="@string/sem_camisa" | |
android:layout_marginStart="20dp" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="30dp" | |
android:text="@string/_2" | |
android:textAlignment="center" | |
android:textSize="150sp" | |
android:layout_marginEnd="30dp" | |
android:layout_marginStart="16dp" | |
android:textColor="@color/greentea"/> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="30dp" | |
android:layout_marginRight="30dp" | |
android:text="@string/x" | |
android:textAlignment="center" | |
android:textSize="75sp" | |
android:textColor="@color/greentea"/> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="30dp" | |
android:layout_marginRight="16dp" | |
android:text="@string/_5" | |
android:textAlignment="center" | |
android:textSize="150sp" | |
android:layout_marginEnd="16dp" | |
android:layout_marginStart="30dp" | |
android:textColor="@color/greentea"/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:text="@string/vitorias_0" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:layout_marginStart="16dp" /> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginRight="16dp" | |
android:text="@string/vitorias_0" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:layout_marginEnd="16dp" /> | |
</LinearLayout> | |
<View | |
android:layout_width="fill_parent" | |
android:layout_height="1dp" | |
android:background="@color/black"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="16dp" | |
android:layout_marginBottom="16dp" | |
android:layout_marginLeft="16dp" | |
android:textSize="14sp" | |
android:text="@string/adcionar_pontos"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<Button | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_weight="2" | |
android:text="@string/_1" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:background="@color/greentea" | |
android:textColor="@color/white"/> | |
<Button | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginRight="16dp" | |
android:layout_marginLeft="16dp" | |
android:layout_weight="2" | |
android:text="@string/__1" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:background="@color/greentea" | |
android:textColor="@color/white"/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:textAlignment="center" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_marginTop="24dp" | |
android:text="@string/_15_min" | |
android:textSize="10sp" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<ImageButton | |
android:src="@drawable/ic_play_arrow" | |
android:background="@color/white" | |
android:layout_width="22dp" | |
android:layout_height="wrap_content" | |
android:textAlignment="center" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp"/> | |
<SeekBar | |
android:id="@+id/seekBar2" | |
android:layout_width="400dp" | |
android:layout_height="wrap_content" | |
android:layout_alignParentLeft="true" | |
android:layout_below="@+id/textView2" | |
android:layout_marginTop="10dp" /> | |
<ImageButton | |
android:src="@drawable/ic_pause" | |
android:background="@color/white" | |
android:layout_width="22dp" | |
android:layout_height="wrap_content" | |
android:textAlignment="center" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
/> | |
</LinearLayout> | |
</LinearLayout> |
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
<?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:orientation="vertical" | |
tools:context=".MainActivity"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<EditText | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="20dp" | |
android:layout_weight="2" | |
android:imeOptions="actionNext" | |
android:hint="@string/time_1" | |
android:inputType="textPersonName|textCapWords" /> | |
<EditText | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="20dp" | |
android:layout_marginRight="16dp" | |
android:layout_weight="2" | |
android:imeOptions="actionNext" | |
android:inputType="textPersonName|textCapWords" | |
android:layout_marginEnd="16dp" | |
android:hint="@string/time_2" | |
android:layout_marginStart="20dp" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="30dp" | |
android:text="@string/_7" | |
android:textAlignment="center" | |
android:textSize="150sp" | |
android:layout_marginEnd="30dp" | |
android:layout_marginStart="16dp" | |
android:textColor="#00ab90"/> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="30dp" | |
android:layout_marginRight="30dp" | |
android:text="@string/x" | |
android:textAlignment="center" | |
android:textSize="75sp" | |
android:textColor="#00ab90"/> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="30dp" | |
android:layout_marginRight="16dp" | |
android:text="@string/_2" | |
android:textAlignment="center" | |
android:textSize="150sp" | |
android:layout_marginEnd="16dp" | |
android:layout_marginStart="30dp" | |
android:textColor="#00AB90"/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:text="@string/vitorias_0" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:layout_marginStart="16dp" /> | |
<TextView | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginRight="16dp" | |
android:text="@string/vitorias_0" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:layout_marginEnd="16dp" /> | |
</LinearLayout> | |
<View | |
android:layout_width="fill_parent" | |
android:layout_height="1dp" | |
android:background="#000000"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="16dp" | |
android:layout_marginBottom="16dp" | |
android:layout_marginLeft="16dp" | |
android:textSize="14sp" | |
android:text="@string/adcionar_pontos"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<Button | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_weight="2" | |
android:text="@string/_1" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:background="#00AB90" | |
android:textColor="#FFFFFF"/> | |
<Button | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginRight="16dp" | |
android:layout_marginLeft="16dp" | |
android:layout_weight="2" | |
android:text="@string/__1" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:background="#00AB90" | |
android:textColor="#FFFFFF"/> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<Button | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_weight="2" | |
android:text="@string/_3" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:background="#00AB90" | |
android:textColor="#FFFFFF"/> | |
<Button | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginRight="16dp" | |
android:layout_marginLeft="16dp" | |
android:layout_weight="2" | |
android:text="@string/_6" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:background="#00AB90" | |
android:textColor="#FFFFFF"/> | |
<Button | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginRight="16dp" | |
android:layout_marginLeft="16dp" | |
android:layout_weight="2" | |
android:text="@string/_9" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:background="#00AB90" | |
android:textColor="#FFFFFF"/> | |
<Button | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:layout_marginRight="16dp" | |
android:layout_marginLeft="16dp" | |
android:layout_weight="2" | |
android:text="@string/_12" | |
android:textSize="20sp" | |
android:textAlignment="center" | |
android:background="#00AB90" | |
android:textColor="#FFFFFF"/> | |
</LinearLayout> | |
</LinearLayout> |
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
<?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" | |
tools:context=".PebolimActivity" | |
android:orientation="vertical" | |
android:paddingBottom="16dp"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<EditText | |
android:hint="@string/time_1" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="16dp" | |
android:layout_marginTop="24dp" | |
android:layout_weight="2" | |
android:imeOptions="actionNext" | |
android:inputType="textPersonName|textCapWords" /> | |
<EditText | |
android:hint="@string/time_2" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginRight="16dp" | |
android:layout_marginTop="24dp" | |
android:imeOptions="actionNext" | |
android:inputType="textPersonName|textCapWords" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<TextView | |
android:textColor="@color/greentea" | |
android:textAlignment="center" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_marginTop="24dp" | |
android:text="@string/_7" | |
android:textSize="150sp" /> | |
<TextView | |
android:textColor="@color/greentea" | |
android:textAlignment="center" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginTop="24dp" | |
android:text="@string/x" | |
android:textSize="75sp" /> | |
<TextView | |
android:textColor="@color/greentea" | |
android:textAlignment="center" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_marginTop="24dp" | |
android:text="@string/_2" | |
android:textSize="150sp" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<TextView | |
android:textAlignment="center" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_marginTop="24dp" | |
android:text="@string/vitorias_0" | |
android:textSize="30sp" /> | |
<TextView | |
android:textAlignment="center" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_marginTop="24dp" | |
android:text="@string/vitorias_0" | |
android:textSize="30sp" /> | |
</LinearLayout> | |
<View | |
android:layout_width="match_parent" | |
android:layout_height="1dp" | |
android:background="@color/black"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:layout_marginTop="24dp" | |
android:text="@string/adicionar_pontos" | |
android:textSize="20sp" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="16dp"> | |
<Button | |
android:background="@color/greentea" | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:textAlignment="center" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:text="@string/_1"/> | |
<Button | |
android:background="@color/greentea" | |
android:layout_width="20dp" | |
android:layout_height="wrap_content" | |
android:textAlignment="center" | |
android:layout_weight="2" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:text="@string/__1"/> | |
</LinearLayout> | |
</LinearLayout> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="colorPrimary">#3F51B5</color> | |
<color name="colorPrimaryDark">#303F9F</color> | |
<color name="colorAccent">#FF4081</color> | |
<color name="white">#FFFFFF</color> | |
<color name="greentea">#00AB90</color> | |
<color name="black">#000000</color> | |
</resources> |
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
<resources> | |
<string name="app_name">ChurrascoreTruco</string> | |
<string name="com_camisa">Com Camisa</string> | |
<string name="sem_camisa">Sem Camisa</string> | |
<string name="_7">7</string> | |
<string name="x">x</string> | |
<string name="_2">2</string> | |
<string name="vitorias_0">Vitorias: 0</string> | |
<string name="time_1">Time 1</string> | |
<string name="time_2">Time 2</string> | |
<string name="adcionar_pontos">Adcionar Pontos:</string> | |
<string name="_1">+1</string> | |
<string name="__1">-1</string> | |
<string name="_3">+3</string> | |
<string name="_6">+6</string> | |
<string name="_9">+9</string> | |
<string name="_12">+12</string> | |
<string name="adicionar_pontos">Adicionar Pontos</string> | |
<string name="_15_min">15 min.</string> | |
<string name="_5">5</string> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment