|
|
|
|
|
|
|
|
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:background="@android:color/holo_orange_light" |
|
|
|
|
|
|
|
|
android:background="@android:color/holo_green_dark" |
|
|
android:visibility="visible" |
|
|
android:visibility="visible" |
|
|
tools:context="de.oklein.android.ueberwachungssystem.MainActivity" |
|
|
tools:context="de.oklein.android.ueberwachungssystem.MainActivity" |
|
|
tools:visibility="visible"> |
|
|
tools:visibility="visible"> |
|
|
|
|
|
|
|
|
android:id="@+id/toggleKamera" |
|
|
android:id="@+id/toggleKamera" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_toLeftOf="@id/toggleAudio" |
|
|
|
|
|
android:layout_alignBottom="@id/toggleAudio" |
|
|
android:layout_alignBottom="@id/toggleAudio" |
|
|
|
|
|
android:layout_marginRight="15dp" |
|
|
|
|
|
android:layout_toStartOf="@+id/toggleAudio" |
|
|
|
|
|
android:layout_toLeftOf="@id/toggleAudio" |
|
|
android:text="Kamera" /> |
|
|
android:text="Kamera" /> |
|
|
|
|
|
|
|
|
<ToggleButton |
|
|
<ToggleButton |
|
|
|
|
|
|
|
|
android:id="@+id/toggleBewegung" |
|
|
android:id="@+id/toggleBewegung" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_toRightOf="@id/toggleAudio" |
|
|
|
|
|
android:layout_alignBottom="@id/toggleAudio" |
|
|
android:layout_alignBottom="@id/toggleAudio" |
|
|
|
|
|
android:layout_marginLeft="15dp" |
|
|
|
|
|
android:layout_toEndOf="@+id/toggleAudio" |
|
|
|
|
|
android:layout_toRightOf="@id/toggleAudio" |
|
|
android:text="Bewegung" /> |
|
|
android:text="Bewegung" /> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btn1" |
|
|
|
|
|
|
|
|
android:id="@+id/btnAudio" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_alignBottom="@id/btn2" |
|
|
|
|
|
android:layout_toLeftOf="@id/btn2" |
|
|
|
|
|
|
|
|
android:layout_alignBottom="@id/btnKamera" |
|
|
|
|
|
android:layout_marginRight="15dp" |
|
|
|
|
|
android:layout_toStartOf="@+id/btnKamera" |
|
|
android:onClick="onClickZeigeFragment1" |
|
|
android:onClick="onClickZeigeFragment1" |
|
|
android:text="Audio" /> |
|
|
android:text="Audio" /> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btn2" |
|
|
|
|
|
|
|
|
android:id="@+id/btnKamera" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_below="@id/toggleAudio" |
|
|
android:layout_below="@id/toggleAudio" |
|
|
|
|
|
|
|
|
android:onClick="onClickZeigeFragment2" |
|
|
android:onClick="onClickZeigeFragment2" |
|
|
android:text="Kamera" /> |
|
|
android:text="Kamera" /> |
|
|
|
|
|
|
|
|
<Button |
|
|
|
|
|
android:id="@+id/btn3" |
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_alignBottom="@id/btn2" |
|
|
|
|
|
android:layout_toRightOf="@id/btn2" |
|
|
|
|
|
android:onClick="onClickZeigeFragment3" |
|
|
|
|
|
android:text="Bewegung" /> |
|
|
|
|
|
<!-- |
|
|
<!-- |
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btnSensorWeg" |
|
|
android:id="@+id/btnSensorWeg" |
|
|
|
|
|
|
|
|
android:onClick="onClickEntferneFragment"/> |
|
|
android:onClick="onClickEntferneFragment"/> |
|
|
--> |
|
|
--> |
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btnZwischen" |
|
|
|
|
|
|
|
|
android:id="@+id/btnBewegung" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_below="@+id/btn2" |
|
|
|
|
|
android:layout_centerHorizontal="true" |
|
|
|
|
|
tools:visibility="invisible" /> |
|
|
|
|
|
|
|
|
android:layout_alignBottom="@id/btnKamera" |
|
|
|
|
|
android:layout_marginLeft="15dp" |
|
|
|
|
|
android:layout_toEndOf="@+id/btnKamera" |
|
|
|
|
|
android:layout_toRightOf="@id/btnKamera" |
|
|
|
|
|
android:onClick="onClickZeigeFragment3" |
|
|
|
|
|
android:text="Bewegung" /> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btnAufnahme" |
|
|
android:id="@+id/btnAufnahme" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_below="@+id/btn2" |
|
|
|
|
|
android:layout_toLeftOf="@id/btnZwischen" |
|
|
|
|
|
|
|
|
android:layout_below="@+id/btnKamera" |
|
|
|
|
|
android:layout_toLeftOf="@id/btnKamera" |
|
|
|
|
|
android:layout_marginRight="15dp" |
|
|
android:onClick="onClickEntferneFragment" |
|
|
android:onClick="onClickEntferneFragment" |
|
|
android:text="Aufnahme" /> |
|
|
android:text="Aufnahme" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
android:id="@+id/btnWiedergabe" |
|
|
android:id="@+id/btnWiedergabe" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_below="@+id/btn2" |
|
|
|
|
|
android:layout_toRightOf="@id/btnZwischen" |
|
|
|
|
|
|
|
|
android:layout_below="@+id/btnKamera" |
|
|
|
|
|
android:layout_toRightOf="@id/btnKamera" |
|
|
|
|
|
android:layout_marginLeft="15dp" |
|
|
android:onClick="onClickEntferneFragment" |
|
|
android:onClick="onClickEntferneFragment" |
|
|
android:text="Wiedergabe" /> |
|
|
android:text="Wiedergabe" /> |
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
<FrameLayout |
|
|
android:id="@+id/frame" |
|
|
android:id="@+id/frame" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="300dp" |
|
|
|
|
|
|
|
|
android:layout_height="200dp" |
|
|
android:layout_below="@+id/btnZwischen" |
|
|
android:layout_below="@+id/btnZwischen" |
|
|
android:layout_alignParentStart="true"> |
|
|
android:layout_alignParentStart="true"> |
|
|
</FrameLayout> |
|
|
</FrameLayout> |
|
|
|
|
|
|
|
|
<ScrollView |
|
|
<ScrollView |
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
android:layout_below="@id/frame"> |
|
|
|
|
|
|
|
|
android:id= "@+id/scrollView1" |
|
|
|
|
|
android:layout_width= "wrap_content" |
|
|
|
|
|
android:layout_height= "wrap_content" |
|
|
|
|
|
android:layout_below= "@id/frame"> |
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
android:layout_width= "match_parent" |
|
|
|
|
|
android:layout_height= "match_parent" |
|
|
|
|
|
android:orientation= "vertical" > |
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id= "@+id/Alarm" |
|
|
|
|
|
android:layout_width= "wrap_content" |
|
|
|
|
|
android:layout_height= "wrap_content" /> |
|
|
|
|
|
</LinearLayout> |
|
|
</ScrollView> |
|
|
</ScrollView> |
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
</RelativeLayout> |