first commit
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="de.simongehrig.dmt"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="11"
|
||||
android:targetSdkVersion="18" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/AppTheme" >
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.MainActivity"
|
||||
android:label="@string/app_name" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.InfoActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.GamesActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivityainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.LabActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivityainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.MachineActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.ProfActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.LabDetailsActivityilsActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.MachineDetailsActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.ProfDetailsActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.MainActivity">
|
||||
</activity>
|
||||
<service
|
||||
android:name="de.simongehrig.dmt.workers.ModelFromXML"
|
||||
android:label="Update Database"></service>
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="de.simongehrig.dmt"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="11"
|
||||
android:targetSdkVersion="18" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/AppTheme" >
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.MainActivity"
|
||||
android:label="@string/app_name" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.InfoActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.GamesActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivityainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.LabActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivityainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.MachineActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.ProfActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.activities.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.LabDetailsActivityilsActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.MachineDetailsActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.MainActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="de.simongehrig.dmt.activities.ProfDetailsActivity"
|
||||
android:label="@string/app_name"
|
||||
android:parentActivityName="de.simongehrig.dmt.MainActivity">
|
||||
</activity>
|
||||
<service
|
||||
android:name="de.simongehrig.dmt.workers.ModelFromXML"
|
||||
android:label="Update Database"></service>
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,84 @@
|
||||
int attr alignmentMode 0x7f010004
|
||||
int attr columnCount 0x7f010002
|
||||
int attr columnOrderPreserved 0x7f010006
|
||||
int attr layout_column 0x7f010009
|
||||
int attr layout_columnSpan 0x7f01000a
|
||||
int attr layout_gravity 0x7f01000b
|
||||
int attr layout_row 0x7f010007
|
||||
int attr layout_rowSpan 0x7f010008
|
||||
int attr orientation 0x7f010000
|
||||
int attr rowCount 0x7f010001
|
||||
int attr rowOrderPreserved 0x7f010005
|
||||
int attr useDefaultMargins 0x7f010003
|
||||
int dimen activity_horizontal_margin 0x7f050001
|
||||
int dimen activity_vertical_margin 0x7f050002
|
||||
int dimen default_gap 0x7f050000
|
||||
int drawable ic_action_info 0x7f020000
|
||||
int drawable ic_launcher 0x7f020001
|
||||
int id action_settings 0x7f04001c
|
||||
int id alignBounds 0x7f040002
|
||||
int id alignMargins 0x7f040003
|
||||
int id bottom 0x7f040005
|
||||
int id center 0x7f04000c
|
||||
int id center_horizontal 0x7f04000a
|
||||
int id center_vertical 0x7f040008
|
||||
int id clip_horizontal 0x7f04000f
|
||||
int id clip_vertical 0x7f04000e
|
||||
int id end 0x7f040011
|
||||
int id fill 0x7f04000d
|
||||
int id fill_horizontal 0x7f04000b
|
||||
int id fill_vertical 0x7f040009
|
||||
int id gamesButton 0x7f040015
|
||||
int id gamesLayout 0x7f040018
|
||||
int id horizontal 0x7f040000
|
||||
int id infoButton 0x7f040016
|
||||
int id infoLayout 0x7f040019
|
||||
int id labButton 0x7f040017
|
||||
int id labLayout 0x7f04001b
|
||||
int id left 0x7f040006
|
||||
int id linearLayout1 0x7f040013
|
||||
int id right 0x7f040007
|
||||
int id searchView1 0x7f040014
|
||||
int id start 0x7f040010
|
||||
int id startLayout 0x7f040012
|
||||
int id top 0x7f040004
|
||||
int id vertical 0x7f040001
|
||||
int id webView1 0x7f04001a
|
||||
int layout activity_main 0x7f030000
|
||||
int layout games 0x7f030001
|
||||
int layout info 0x7f030002
|
||||
int layout lab 0x7f030003
|
||||
int menu main 0x7f080000
|
||||
int string action_settings 0x7f060001
|
||||
int string app_name 0x7f060000
|
||||
int string gamesButton_description 0x7f060006
|
||||
int string gamesButton_label 0x7f060007
|
||||
int string hello_world 0x7f060002
|
||||
int string labButton_description 0x7f060008
|
||||
int string labButton_label 0x7f060009
|
||||
int string newsButton_description 0x7f060004
|
||||
int string newsButton_label 0x7f060005
|
||||
int string search_hint 0x7f060003
|
||||
int style AppBaseTheme 0x7f070000
|
||||
int style AppTheme 0x7f070001
|
||||
int[] styleable GridLayout { 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006 }
|
||||
int styleable GridLayout_alignmentMode 4
|
||||
int styleable GridLayout_columnCount 2
|
||||
int styleable GridLayout_columnOrderPreserved 6
|
||||
int styleable GridLayout_orientation 0
|
||||
int styleable GridLayout_rowCount 1
|
||||
int styleable GridLayout_rowOrderPreserved 5
|
||||
int styleable GridLayout_useDefaultMargins 3
|
||||
int[] styleable GridLayout_Layout { 0x010100f4, 0x010100f5, 0x010100f6, 0x010100f7, 0x010100f8, 0x010100f9, 0x010100fa, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b }
|
||||
int styleable GridLayout_Layout_android_layout_height 1
|
||||
int styleable GridLayout_Layout_android_layout_margin 2
|
||||
int styleable GridLayout_Layout_android_layout_marginBottom 6
|
||||
int styleable GridLayout_Layout_android_layout_marginLeft 3
|
||||
int styleable GridLayout_Layout_android_layout_marginRight 5
|
||||
int styleable GridLayout_Layout_android_layout_marginTop 4
|
||||
int styleable GridLayout_Layout_android_layout_width 0
|
||||
int styleable GridLayout_Layout_layout_column 9
|
||||
int styleable GridLayout_Layout_layout_columnSpan 10
|
||||
int styleable GridLayout_Layout_layout_gravity 11
|
||||
int styleable GridLayout_Layout_layout_row 7
|
||||
int styleable GridLayout_Layout_layout_rowSpan 8
|
||||
@@ -0,0 +1,3 @@
|
||||
# cache for current jar dependency. DO NOT EDIT.
|
||||
# format is <lastModified> <length> <SHA-1> <path>
|
||||
# Encoding is UTF-8
|
||||
|
After Width: | Height: | Size: 408 B |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 290 KiB |
|
After Width: | Height: | Size: 535 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 325 B |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 232 KiB |
|
After Width: | Height: | Size: 246 KiB |
|
After Width: | Height: | Size: 479 B |
|
After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 491 KiB |
|
After Width: | Height: | Size: 872 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 535 KiB |
|
After Width: | Height: | Size: 552 KiB |
@@ -0,0 +1,6 @@
|
||||
/** Automatically generated file. DO NOT MODIFY */
|
||||
package de.simongehrig.dmt;
|
||||
|
||||
public final class BuildConfig {
|
||||
public final static boolean DEBUG = true;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*
|
||||
* This class was automatically generated by the
|
||||
* aapt tool from the resource data it found. It
|
||||
* should not be modified by hand.
|
||||
*/
|
||||
|
||||
package de.simongehrig.dmt;
|
||||
|
||||
public final class R {
|
||||
public static final class attr {
|
||||
}
|
||||
public static final class dimen {
|
||||
/** Default screen margins, per the Android Design guidelines.
|
||||
|
||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
||||
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
|
||||
|
||||
*/
|
||||
public static final int activity_horizontal_margin=0x7f040000;
|
||||
public static final int activity_vertical_margin=0x7f040001;
|
||||
}
|
||||
public static final class drawable {
|
||||
public static final int ic_action_info=0x7f020000;
|
||||
public static final int ic_launcher=0x7f020001;
|
||||
public static final int pano=0x7f020002;
|
||||
public static final int tafelhintergrund=0x7f020003;
|
||||
}
|
||||
public static final class id {
|
||||
public static final int action_update=0x7f080013;
|
||||
public static final int answerList=0x7f080007;
|
||||
public static final int gamesButton=0x7f080001;
|
||||
public static final int home=0x7f080000;
|
||||
public static final int imageView1=0x7f08000c;
|
||||
public static final int imageView2=0x7f08000d;
|
||||
public static final int infoButton=0x7f080002;
|
||||
public static final int infoLayout=0x7f080008;
|
||||
public static final int labButton=0x7f080003;
|
||||
public static final int labLayout=0x7f080006;
|
||||
public static final int labList=0x7f08000a;
|
||||
public static final int machineButton=0x7f080004;
|
||||
public static final int machineLayout=0x7f08000f;
|
||||
public static final int machineList=0x7f080010;
|
||||
public static final int profButton=0x7f080005;
|
||||
public static final int profLayout=0x7f080011;
|
||||
public static final int profList=0x7f080012;
|
||||
public static final int textView1=0x7f08000b;
|
||||
public static final int textView2=0x7f08000e;
|
||||
public static final int webView1=0x7f080009;
|
||||
}
|
||||
public static final class layout {
|
||||
public static final int activity_main=0x7f030000;
|
||||
public static final int dmt_image_list_item=0x7f030001;
|
||||
public static final int dmt_list_item=0x7f030002;
|
||||
public static final int games=0x7f030003;
|
||||
public static final int info=0x7f030004;
|
||||
public static final int lab=0x7f030005;
|
||||
public static final int lab_details=0x7f030006;
|
||||
public static final int machine=0x7f030007;
|
||||
public static final int machine_details=0x7f030008;
|
||||
public static final int prof=0x7f030009;
|
||||
public static final int prof_details=0x7f03000a;
|
||||
}
|
||||
public static final class menu {
|
||||
public static final int main=0x7f070000;
|
||||
}
|
||||
public static final class string {
|
||||
public static final int action_settings=0x7f050001;
|
||||
public static final int action_update=0x7f050002;
|
||||
/** Allgemein
|
||||
*/
|
||||
public static final int app_name=0x7f050000;
|
||||
public static final int gamesButton_description=0x7f050006;
|
||||
public static final int gamesButton_label=0x7f050007;
|
||||
public static final int labButton_description=0x7f050008;
|
||||
public static final int labButton_label=0x7f050009;
|
||||
public static final int machineButton_description=0x7f05000a;
|
||||
public static final int machineButton_label=0x7f05000b;
|
||||
/** ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
Startscreen
|
||||
Button Labels & Descriptions
|
||||
*/
|
||||
public static final int newsButton_description=0x7f050004;
|
||||
public static final int newsButton_label=0x7f050005;
|
||||
public static final int profButton_description=0x7f05000c;
|
||||
public static final int profButton_label=0x7f05000d;
|
||||
public static final int search_hint=0x7f050003;
|
||||
}
|
||||
public static final class style {
|
||||
/**
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
|
||||
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
|
||||
|
||||
Base application theme for API 11+. This theme completely replaces
|
||||
AppBaseTheme from res/values/styles.xml on API 11+ devices.
|
||||
|
||||
API 11 theme customizations can go here.
|
||||
|
||||
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.
|
||||
|
||||
API 14 theme customizations can go here.
|
||||
*/
|
||||
public static final int AppBaseTheme=0x7f060000;
|
||||
/** Application theme.
|
||||
Global Values.
|
||||
All customizations that are NOT specific to a particular API-level can go here.
|
||||
*/
|
||||
public static final int AppTheme=0x7f060001;
|
||||
/** Button Values.
|
||||
*/
|
||||
public static final int DMTButton=0x7f060002;
|
||||
/** ImageView Values.
|
||||
*/
|
||||
public static final int DMTImageView=0x7f060004;
|
||||
/** TextView Values.
|
||||
*/
|
||||
public static final int DMTTextView=0x7f060003;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 52 KiB |
@@ -0,0 +1,20 @@
|
||||
# To enable ProGuard in your project, edit project.properties
|
||||
# to define the proguard.config property as described in that file.
|
||||
#
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in ${sdk.dir}/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the ProGuard
|
||||
# include property in project.properties.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
@@ -0,0 +1,15 @@
|
||||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system edit
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
#
|
||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||
|
||||
# Project target.
|
||||
target=android-18
|
||||
android.library.reference.1=../gridlayout_v7
|
||||
|
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>
|
||||