|
@ -5,67 +5,66 @@ |
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
android:padding="24dp" |
|
|
|
|
|
|
|
|
android:padding="1dp" |
|
|
tools:context=".fragments.pendulum.PendulumFragment"> |
|
|
tools:context=".fragments.pendulum.PendulumFragment"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/textView4" |
|
|
|
|
|
|
|
|
android:id="@+id/textView7" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginBottom="20dp" |
|
|
|
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
|
android:layout_marginBottom="48dp" |
|
|
android:text="TextView" |
|
|
android:text="TextView" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" /> |
|
|
|
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/textView6" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/textView5" |
|
|
|
|
|
|
|
|
android:id="@+id/textView8" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
android:layout_marginBottom="20dp" |
|
|
android:layout_marginBottom="20dp" |
|
|
android:text="TextView" |
|
|
android:text="TextView" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/textView4" /> |
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/textView4" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/textView6" |
|
|
android:id="@+id/textView6" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginBottom="20dp" |
|
|
|
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
|
android:layout_marginBottom="48dp" |
|
|
android:text="TextView" |
|
|
android:text="TextView" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintStart_toEndOf="@+id/textView5" /> |
|
|
app:layout_constraintStart_toEndOf="@+id/textView5" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/textView7" |
|
|
|
|
|
|
|
|
android:id="@+id/textView5" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginBottom="20dp" |
|
|
|
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
|
android:layout_marginBottom="48dp" |
|
|
android:text="TextView" |
|
|
android:text="TextView" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintStart_toEndOf="@+id/textView6" /> |
|
|
|
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/textView4" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/textView8" |
|
|
|
|
|
|
|
|
android:id="@+id/textView4" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
|
android:layout_marginBottom="48dp" |
|
|
android:text="TextView" |
|
|
android:text="TextView" |
|
|
app:layout_constraintBottom_toTopOf="@+id/textView4" |
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" /> |
|
|
app:layout_constraintStart_toStartOf="parent" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/textView9" |
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:text="TextView" |
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/textView5" |
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/textView8" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/textView10" |
|
|
android:id="@+id/textView10" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
|
android:layout_marginBottom="20dp" |
|
|
android:text="TextView" |
|
|
android:text="TextView" |
|
|
app:layout_constraintBottom_toTopOf="@+id/textView6" |
|
|
app:layout_constraintBottom_toTopOf="@+id/textView6" |
|
|
app:layout_constraintStart_toEndOf="@+id/textView9" /> |
|
|
app:layout_constraintStart_toEndOf="@+id/textView9" /> |
|
@ -74,18 +73,31 @@ |
|
|
android:id="@+id/textView11" |
|
|
android:id="@+id/textView11" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
|
android:layout_marginBottom="20dp" |
|
|
android:text="TextView" |
|
|
android:text="TextView" |
|
|
app:layout_constraintBottom_toTopOf="@+id/textView7" |
|
|
app:layout_constraintBottom_toTopOf="@+id/textView7" |
|
|
app:layout_constraintStart_toEndOf="@+id/textView10" /> |
|
|
app:layout_constraintStart_toEndOf="@+id/textView10" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/textView9" |
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
|
android:layout_marginBottom="20dp" |
|
|
|
|
|
android:text="TextView" |
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/textView5" |
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/textView8" /> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/speichern_btn" |
|
|
android:id="@+id/speichern_btn" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginBottom="18dp" |
|
|
|
|
|
|
|
|
android:layout_marginBottom="60dp" |
|
|
android:text="Speichern" |
|
|
android:text="Speichern" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintHorizontal_bias="0.857" |
|
|
app:layout_constraintStart_toEndOf="@+id/textView11" /> |
|
|
app:layout_constraintStart_toEndOf="@+id/textView11" /> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
@ -95,20 +107,30 @@ |
|
|
android:text="Activate" |
|
|
android:text="Activate" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintHorizontal_bias="0.506" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
app:layout_constraintVertical_bias="0.77" /> |
|
|
|
|
|
|
|
|
app:layout_constraintVertical_bias="0.803" /> |
|
|
|
|
|
|
|
|
<com.example.acapendulum20.canvas.CanvasPendulum |
|
|
<com.example.acapendulum20.canvas.CanvasPendulum |
|
|
android:id="@+id/canvasContainer" |
|
|
android:id="@+id/canvasContainer" |
|
|
android:layout_width="347dp" |
|
|
|
|
|
android:layout_height="440dp" |
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/activate_btn" |
|
|
|
|
|
|
|
|
android:layout_width="407dp" |
|
|
|
|
|
android:layout_height="462dp" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
|
app:layout_constraintVertical_bias="0.13" /> |
|
|
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
|
android:id="@+id/imageView2" |
|
|
|
|
|
android:layout_width="79dp" |
|
|
|
|
|
android:layout_height="71dp" |
|
|
|
|
|
android:src="@drawable/elektromagnet" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
app:layout_constraintVertical_bias="0.139"/> |
|
|
|
|
|
|
|
|
app:layout_constraintVertical_bias="0.657" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |