diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index f92d574..59b53ef 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,6 +36,7 @@ dependencies { implementation 'androidx.navigation:navigation-ui:2.3.3' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0' + implementation 'com.jcraft:jsch:0.1.55' testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f761d57..b5bf32b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,8 @@ - + + (); - mText.setValue("Willkommen in Ihrer Homeautomation-App"); + mText.setValue("Servus Cody, Willkommen in deiner HOMEAUTOMATIONS-APP"); } public LiveData getText() { diff --git a/app/src/main/res/layout/fragment_badezimmer.xml b/app/src/main/res/layout/fragment_badezimmer.xml index b2848b3..979eb00 100644 --- a/app/src/main/res/layout/fragment_badezimmer.xml +++ b/app/src/main/res/layout/fragment_badezimmer.xml @@ -18,7 +18,8 @@ android:textSize="20sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" /> + app:layout_constraintStart_toStartOf="parent" + android:gravity="center_horizontal" /> + app:layout_constraintTop_toTopOf="parent" + android:gravity="center_horizontal" /> + app:layout_constraintTop_toTopOf="parent" + android:gravity="center_horizontal" /> + app:layout_constraintStart_toStartOf="parent" + android:gravity="center_horizontal" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 191a78c..eb41707 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -14,10 +14,11 @@ android:textAlignment="center" android:textColor="#FFFFFF" android:textSize="20sp" - app:layout_constraintBottom_toTopOf="@+id/editTextNumberSigned" + app:layout_constraintBottom_toTopOf="@+id/ipInput" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + android:gravity="center_horizontal" /> + app:layout_constraintTop_toBottomOf="@+id/text_home" + android:gravity="center_horizontal" /> + app:layout_constraintTop_toBottomOf="@+id/userInput" />