init commit

This commit is contained in:
toni
2016-06-02 18:50:39 +02:00
commit 29a616c3df
49 changed files with 1801 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:state_pressed="true"
android:drawable="@android:color/holo_green_light" />
<item android:state_focused="false" android:state_pressed="true"
android:drawable="@android:color/holo_green_light" />
<item android:drawable="@android:color/holo_green_dark" />
</selector>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:state_pressed="true"
android:drawable="@android:color/holo_red_light" />
<item android:state_focused="false" android:state_pressed="true"
android:drawable="@android:color/holo_red_light" />
<item android:drawable="@android:color/holo_red_dark" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:keepScreenOn="true"
tools:context="de.fhws.indoor.sensorreadout.MainActivity">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
android:orientation="vertical"
tools:context=".MainActivity"
android:background="#333">
<Button
android:layout_width="50dp"
android:layout_height="wrap_content"
android:text="stop"
android:id="@+id/btnStop"
android:background="@drawable/btnstopcolor"/>
<Button
android:layout_width="50dp"
android:layout_height="wrap_content"
android:text="start"
android:id="@+id/btnStart"
android:background="@drawable/btnstartcolor"/>
</LinearLayout>
<Spinner
android:layout_width="58dip"
android:layout_height="48dip"
android:id="@+id/pathspinner"
android:layout_marginLeft="66dip"
android:layout_marginTop="16dip"
android:background="#64bbe5"
/>
<Spinner
android:layout_width="58dip"
android:layout_height="48dip"
android:id="@+id/groundspinner"
android:layout_marginLeft="66dip"
android:layout_marginTop="64dip"
android:background="#64bbe5"
android:layout_alignBottom="@+id/btnGround" />
<Button
android:layout_width="fill_parent"
android:layout_height="96dip"
android:text="Ground Truth"
android:id="@+id/btnGround"
android:layout_gravity="right"
android:layout_marginLeft="125dip"
android:layout_marginTop="16dip"
android:layout_marginRight="16dip"
android:background="#64bbe5"
/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#222"
android:layout_marginTop="126dip"
android:orientation="horizontal"
android:id="@+id/layoutMain">
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,9 @@
<menu 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"
tools:context=".MainActivity">
<item android:id="@+id/action_settings"
android:title="@string/action_settings"
android:orderInCategory="100"
app:showAsAction="never"/>
</menu>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

BIN
app/src/main/res/raw/go.wav Normal file

Binary file not shown.

View File

@@ -0,0 +1,6 @@
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
<dimen name="activity_horizontal_margin">64dp</dimen>
</resources>

View File

@@ -0,0 +1,5 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Sensor Readout</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
</resources>

View File

@@ -0,0 +1,8 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
</style>
</resources>