From d8da34dd3f63939c5087aa1701eda94ae8774d91 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 17 Jun 2018 21:52:04 +0200 Subject: [PATCH] 4 new drawables to represent machine parts, and a revised main activity now showing all machine parts --- app/src/main/res/drawable/con1.xml | 38 ++ app/src/main/res/drawable/ls1.xml | 32 ++ app/src/main/res/drawable/zyl1.xml | 123 ++++++ app/src/main/res/drawable/zyl2.xml | 93 +++++ app/src/main/res/layout/activity_main.xml | 471 +++++++++++++++++++++- 5 files changed, 739 insertions(+), 18 deletions(-) create mode 100644 app/src/main/res/drawable/con1.xml create mode 100644 app/src/main/res/drawable/ls1.xml create mode 100644 app/src/main/res/drawable/zyl1.xml create mode 100644 app/src/main/res/drawable/zyl2.xml diff --git a/app/src/main/res/drawable/con1.xml b/app/src/main/res/drawable/con1.xml new file mode 100644 index 0000000..8c7d475 --- /dev/null +++ b/app/src/main/res/drawable/con1.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ls1.xml b/app/src/main/res/drawable/ls1.xml new file mode 100644 index 0000000..de768be --- /dev/null +++ b/app/src/main/res/drawable/ls1.xml @@ -0,0 +1,32 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/zyl1.xml b/app/src/main/res/drawable/zyl1.xml new file mode 100644 index 0000000..f8cde63 --- /dev/null +++ b/app/src/main/res/drawable/zyl1.xml @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/zyl2.xml b/app/src/main/res/drawable/zyl2.xml new file mode 100644 index 0000000..49d2441 --- /dev/null +++ b/app/src/main/res/drawable/zyl2.xml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 795f25f..bdc2025 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -19,31 +19,466 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" /> - + android:layout_marginEnd="8dp" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" + android:text="Siemens Logo SPS Live View" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + android:id="@+id/m2_icon" + android:layout_width="174dp" + android:layout_height="56dp" + app:srcCompat="@drawable/con1" + tools:layout_editor_absoluteX="114dp" + tools:layout_editor_absoluteY="316dp" /> + + + + + + + + + + + + + + + + + + + android:layout_marginBottom="8dp" + android:layout_marginEnd="8dp" + android:layout_marginStart="8dp" + app:layout_constraintBottom_toTopOf="@+id/pu1_icon" + app:layout_constraintEnd_toEndOf="@+id/pu1_icon" + app:layout_constraintHorizontal_bias="0.533" + app:layout_constraintStart_toStartOf="@+id/pu1_icon" + app:srcCompat="@android:drawable/presence_invisible" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file