All checks were successful
continuous-integration/drone/push Build is passing
228 lines
8.3 KiB
XML
228 lines
8.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout 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="wrap_content"
|
|
tools:context=".ui.counter.Keyboard">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/viewInput"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintBottom_toTopOf="@+id/keyboard"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent">
|
|
|
|
<EditText
|
|
android:id="@+id/inputTeamA"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:ems="10"
|
|
android:gravity="center"
|
|
android:hint="0"
|
|
android:importantForAutofill="no"
|
|
android:inputType="numberSigned"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<EditText
|
|
android:id="@+id/inputTeamB"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:ems="10"
|
|
android:gravity="center"
|
|
android:hint="0"
|
|
android:importantForAutofill="no"
|
|
android:inputType="numberSigned"
|
|
tools:ignore="HardcodedText" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ButtonRow1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button1"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="1"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<Button
|
|
android:id="@+id/button2"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="2"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<Button
|
|
android:id="@+id/button3"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="3"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonAdd100"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="+100"
|
|
tools:ignore="HardcodedText" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ButtonRow2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button4"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="4"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<Button
|
|
android:id="@+id/button5"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="5"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<Button
|
|
android:id="@+id/button6"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="6"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonSub100"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="-100"
|
|
tools:ignore="HardcodedText" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ButtonRow3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button7"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="7"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<Button
|
|
android:id="@+id/button8"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="8"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<Button
|
|
android:id="@+id/button9"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="9"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/buttonBack"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:contentDescription="@string/back"
|
|
android:cropToPadding="false"
|
|
android:paddingTop="15dp"
|
|
android:paddingBottom="15dp"
|
|
android:scaleType="fitCenter"
|
|
app:srcCompat="@drawable/back" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ButtonRow4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:visibility="visible"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
tools:layout_editor_absoluteX="1dp">
|
|
|
|
<Button
|
|
android:id="@+id/buttonInv"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.0"
|
|
android:text="+/-" />
|
|
|
|
<Button
|
|
android:id="@+id/button0"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.0"
|
|
android:text="0" />
|
|
|
|
<Space
|
|
style='?android:attr/buttonBarButtonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.0" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/submit"
|
|
style='?android:attr/buttonStyle'
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:contentDescription="@string/submit"
|
|
android:cropToPadding="false"
|
|
android:paddingTop="10dp"
|
|
android:paddingBottom="10dp"
|
|
android:scaleType="fitCenter"
|
|
app:srcCompat="@drawable/checkmark" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</FrameLayout> |