first commit
|
After Width: | Height: | Size: 331 B |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 296 KiB |
|
After Width: | Height: | Size: 533 KiB |
|
After Width: | Height: | Size: 133 KiB |
|
After Width: | Height: | Size: 140 KiB |
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 237 KiB |
|
After Width: | Height: | Size: 248 KiB |
|
After Width: | Height: | Size: 415 B |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 500 KiB |
|
After Width: | Height: | Size: 864 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 544 KiB |
|
After Width: | Height: | Size: 555 KiB |
@@ -0,0 +1,96 @@
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/home"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="4000dip"
|
||||
android:overScrollMode="always"
|
||||
tools:context=".MainActivity" >
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="200dip"
|
||||
>
|
||||
|
||||
<Button
|
||||
android:id="@+id/gamesButton"
|
||||
style="?android:attr/buttonBarButtonStyle"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_weight="5"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:onClick="onClick"
|
||||
android:text="@string/gamesButton_label"
|
||||
android:textColor="#ffffff" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/infoButton"
|
||||
style="?android:attr/buttonBarButtonStyle"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_weight="5"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:onClick="onClick"
|
||||
android:text="@string/newsButton_label"
|
||||
android:textColor="#ffffff" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="200dip"
|
||||
>
|
||||
|
||||
<Button
|
||||
android:id="@+id/labButton"
|
||||
style="?android:attr/buttonBarButtonStyle"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="3dp"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:onClick="onClick"
|
||||
android:text="@string/labButton_label"
|
||||
android:textColor="#ffffff" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="200dip"
|
||||
>
|
||||
|
||||
<Button
|
||||
android:id="@+id/machineButton"
|
||||
style="?android:attr/buttonBarButtonStyle"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_weight="5"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:onClick="onClick"
|
||||
android:text="@string/machineButton_label"
|
||||
android:textColor="#ffffff" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/profButton"
|
||||
style="?android:attr/buttonBarButtonStyle"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_weight="5"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:onClick="onClick"
|
||||
android:text="@string/profButton_label"
|
||||
android:textColor="#ffffff" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/pano"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="20dp"
|
||||
android:textColor="#000000" />
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#000000"
|
||||
android:padding="20dp"
|
||||
android:onClick="onClick()"
|
||||
android:clickable="true" />
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
android:id="@+id/labLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/answerList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scrollingCache="true" >
|
||||
</ListView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,14 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android1="http://schemas.android.com/apk/res/android"
|
||||
android1:id="@+id/infoLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity" >
|
||||
|
||||
<WebView
|
||||
android1:id="@+id/webView1"
|
||||
android1:layout_width="fill_parent"
|
||||
android1:layout_height="fill_parent"
|
||||
android1:layout_alignParentTop="true" />
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/labLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/labList"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:scrollingCache="true" >
|
||||
</ListView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/labLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_weight="25"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
android:text="Labor Details"
|
||||
style="@style/DMTTextView" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_weight="25"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/pano"
|
||||
style="@style/DMTImageView" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_weight="25"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView2"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="33"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/pano"
|
||||
style="@style/DMTImageView" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView"
|
||||
android:layout_weight="66"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTTextView" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_weight="25" >
|
||||
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />/
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/machineLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/machineList"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:scrollingCache="true" >
|
||||
</ListView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/machineLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_weight="25"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
android:text="Maschinen Details"
|
||||
style="@style/DMTTextView" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_weight="25"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/pano"
|
||||
style="@style/DMTImageView" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_weight="25"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView2"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="33"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/pano"
|
||||
style="@style/DMTImageView" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView"
|
||||
android:layout_weight="66"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTTextView" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_weight="25" >
|
||||
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />/
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/profLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/profList"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:scrollingCache="true" >
|
||||
</ListView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/profLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_weight="25"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
android:text="Prof Details"
|
||||
style="@style/DMTTextView" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_weight="25"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/pano"
|
||||
style="@style/DMTImageView" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_weight="25"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView2"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="33"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/pano"
|
||||
style="@style/DMTImageView" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView"
|
||||
android:layout_weight="66"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTTextView" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_weight="25" >
|
||||
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />/
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="33"
|
||||
android:background="@drawable/tafelhintergrund"
|
||||
android:scaleType="centerCrop"
|
||||
style="@style/DMTButton" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_update"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/action_update"
|
||||
/>
|
||||
|
||||
</menu>
|
||||
@@ -0,0 +1,8 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
||||
screen margins) for sw600dp devices (e.g. 7" tablets) here.
|
||||
-->
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,9 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
||||
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
|
||||
-->
|
||||
<dimen name="activity_horizontal_margin">128dp</dimen>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,11 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme for API 11+. This theme completely replaces
|
||||
AppBaseTheme from res/values/styles.xml on API 11+ devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
|
||||
<!-- API 11 theme customizations can go here. -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,12 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme for API 14+. This theme completely replaces
|
||||
AppBaseTheme from BOTH res/values/styles.xml and
|
||||
res/values-v11/styles.xml on API 14+ devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
|
||||
<!-- API 14 theme customizations can go here. -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,7 @@
|
||||
<resources>
|
||||
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<!-- Allgemein -->
|
||||
|
||||
<string name="app_name">DMT</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="action_update">Update</string>
|
||||
<string name="search_hint">Suche…</string>
|
||||
|
||||
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<!-- Startscreen -->
|
||||
|
||||
<!-- Button Labels & Descriptions -->
|
||||
<string name="newsButton_description">Allgemeine Infos</string>
|
||||
<string name="newsButton_label">Allgemeine Infos</string>
|
||||
|
||||
<string name="gamesButton_description">Spiele</string>
|
||||
<string name="gamesButton_label">Spiele</string>
|
||||
|
||||
<string name="labButton_description">Labore</string>
|
||||
<string name="labButton_label">Labore</string>
|
||||
|
||||
<string name="machineButton_description">Maschinen</string>
|
||||
<string name="machineButton_label">Maschinen</string>
|
||||
|
||||
<string name="profButton_description">Professoren</string>
|
||||
<string name="profButton_label">Professoren</string>
|
||||
|
||||
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,40 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Light">
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
-->
|
||||
</style>
|
||||
|
||||
<!-- Application theme. -->
|
||||
|
||||
<!-- Global Values. -->
|
||||
<style name="AppTheme" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
</style>
|
||||
|
||||
<!-- Button Values. -->
|
||||
<style name="DMTButton" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
<item name="android:layout_margin">3dp</item>
|
||||
</style>
|
||||
|
||||
<!-- TextView Values. -->
|
||||
<style name="DMTTextView" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
<item name="android:layout_margin">3dp</item>
|
||||
</style>
|
||||
|
||||
<!-- ImageView Values. -->
|
||||
<style name="DMTImageView" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
<item name="android:layout_margin">3dp</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||