Answer the question
In order to leave comments, you need to log in
Where is the mistake? Why doesn't the application start on Android studio?
Tell me why the application does not start? (Is there a mistake here?)
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Main">
<EditText
android:layout_weight="1"
android:layout_height="wrap_content"
android:id="@+id/etNum1"
android:layout_width="196dp"
android:inputType="numberDecimal" android:layout_marginTop="8dp"
app:layout_constraintTop_toTopOf="parent" android:layout_marginStart="5dp"
app:layout_constraintStart_toStartOf="parent"
android:importantForAutofill="no"
tools:ignore="LabelFor">
</EditText>
<EditText
android:layout_weight="1"
android:layout_height="wrap_content"
android:id="@+id/etNum2"
android:layout_width="174dp"
android:inputType="numberDecimal"
app:layout_constraintEnd_toEndOf="parent"
android:layout_marginEnd="5dp" android:layout_marginTop="8dp" app:layout_constraintTop_toTopOf="parent"
android:autofillHints="" tools:ignore="LabelFor">
</EditText>
<Button
android:text="@string/result"
android:layout_width="129dp"
android:layout_height="44dp"
android:id="@+id/btnDiv"
app:layout_constraintEnd_toEndOf="parent"
android:layout_marginEnd="8dp"
app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="8dp"
android:layout_marginTop="64dp"
app:layout_constraintTop_toTopOf="parent" >
</Button>
<TextView
android:text="@string/Ответ"
android:layout_width="273dp"
android:layout_height="35dp"
android:id="@+id/tvResult"
android:layout_marginTop="128dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:layout_marginEnd="8dp"
app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="8dp" app:layout_constraintHorizontal_bias="0.505" tools:text="Ответ">
</TextView>
</android.support.constraint.ConstraintLayout>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question