123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/drawer_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true">
- <android.support.constraint.ConstraintLayout 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"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="de.tu_darmstadt.informatik.tk.olir.ObjectsActivity">
- <TableLayout
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.0">
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left|center_vertical"
- android:minHeight="50dp"
- android:onClick="openAcceleration"
- android:padding="10dp">
- <ImageView
- android:id="@+id/imageView3"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:src="@mipmap/acceleration" />
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="5dp"
- android:text="Acceleration"
- android:textSize="20sp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <View
- android:id="@+id/line0"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:layout_weight="1"
- android:background="#FF909090"
- android:padding="2dip" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:gravity="left|center_vertical"
- android:minHeight="50dp"
- android:onClick="openLoad"
- android:padding="10dp">
- <ImageView
- android:id="@+id/imageView"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:src="@mipmap/weight" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="5dp"
- android:text="Load"
- android:textSize="20sp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <View
- android:id="@+id/line1"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:layout_weight="1"
- android:background="#FF909090"
- android:padding="2dip" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left|center_vertical"
- android:minHeight="50dp"
- android:onClick="openTempRising"
- android:padding="10dp">
- <ImageView
- android:id="@+id/imageView6"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:src="@mipmap/temperature" />
- <TextView
- android:id="@+id/textView6"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="5dp"
- android:text="Rising Temperature"
- android:textSize="20sp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <View
- android:id="@+id/line2"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:layout_weight="1"
- android:background="#FF909090"
- android:padding="2dip" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left|center_vertical"
- android:minHeight="50dp"
- android:onClick="openTempFalling"
- android:padding="10dp">
- <ImageView
- android:id="@+id/imageView7"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:src="@mipmap/temperature" />
- <TextView
- android:id="@+id/textView7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="5dp"
- android:text="Falling Temperature"
- android:textSize="20sp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <View
- android:id="@+id/line3"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:layout_weight="1"
- android:background="#FF909090"
- android:padding="2dip" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left|center_vertical"
- android:minHeight="50dp"
- android:onClick="openTilt90"
- android:padding="10dp">
- <ImageView
- android:id="@+id/imageView4"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:src="@mipmap/rotation" />
- <TextView
- android:id="@+id/textView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="5dp"
- android:text="Tilting (90°)"
- android:textSize="20sp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <View
- android:id="@+id/line4"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:layout_weight="1"
- android:background="#FF909090"
- android:padding="2dip" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left|center_vertical"
- android:minHeight="50dp"
- android:onClick="openTilt180"
- android:padding="10dp">
- <ImageView
- android:id="@+id/imageView5"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:src="@mipmap/rotation" />
- <TextView
- android:id="@+id/textView5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="5dp"
- android:text="Tilting (180°)"
- android:textSize="20sp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <View
- android:id="@+id/line5"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:layout_weight="1"
- android:background="#FF909090"
- android:padding="2dip" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left|center_vertical"
- android:minHeight="50dp"
- android:onClick="openPressure"
- android:padding="10dp">
- <ImageView
- android:id="@+id/imageView2"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:src="@mipmap/pressure" />
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="5dp"
- android:text="Pressure"
- android:textSize="20sp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <View
- android:id="@+id/line6"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:layout_weight="1"
- android:background="#FF909090"
- android:padding="2dip" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left|center_vertical"
- android:minHeight="50dp"
- android:onClick="openFile"
- android:padding="10dp">
- <ImageView
- android:id="@+id/imageView8"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:src="@mipmap/cog" />
- <TextView
- android:id="@+id/textView8"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="5dp"
- android:text="Choose Custom Object"
- android:textSize="20sp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <View
- android:id="@+id/line7"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:layout_weight="1"
- android:background="#FF909090"
- android:padding="2dip" />
- </TableRow>
- </TableLayout>
- </android.support.constraint.ConstraintLayout>
- <android.support.design.widget.NavigationView
- android:id="@+id/nav_view"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:fitsSystemWindows="true"
- app:menu="@menu/drawer"/>
- </android.support.v4.widget.DrawerLayout>
|