Skip to content

Instantly share code, notes, and snippets.

Created January 17, 2018 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/210087b5c0876598aca1a0b69c76f8bb to your computer and use it in GitHub Desktop.
Save anonymous/210087b5c0876598aca1a0b69c76f8bb to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:orientation="vertical" >
<TextView
android:id="@+id/hello"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="?attr/colorPrimaryDark"
android:textStyle="bold"
android:text="@string/welcome" />
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<HorizontalScrollView
android:layout_width="wrap_content"
android:layout_height="fill_parent">
<TableLayout
android:id="@+id/tabelle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:stretchColumns="0,1,2,3,4,5,6"
app:layout_constraintTop_toBottomOf="@+id/welcome"
>
<TableRow
android:background="#3366FF">
<TextView
android:background="@drawable/cellshape"
android:padding="3dip"
android:text="@string/orderno" />
<TextView
android:text="@string/machineid"
android:background="@drawable/cellshape"
android:padding="3dip"/>
<TextView
android:text="@string/starttime"
android:background="@drawable/cellshape"
android:padding="3dip"/>
<TextView
android:text="@string/endtime"
android:background="@drawable/cellshape"
android:padding="3dip"/>
<TextView
android:text="@string/decimaltime"
android:background="@drawable/cellshape"
android:padding="3dip"/>
<TextView
android:text="@string/rework"
android:background="@drawable/cellshape"
android:padding="3dip"/>
<TextView
android:text="@string/status"
android:background="@drawable/cellshape"
android:padding="3dip"/>
</TableRow>
<TableRow android:id="@+id/firstRow">
<EditText
android:id="@+id/etOrderNo"
android:background="@drawable/cellshape"
android:inputType="text|textCapSentences" />
<EditText
android:id="@+id/etMachineID"
android:background="@drawable/cellshape"
android:inputType="text|textCapSentences"
/>
<EditText
android:id="@+id/etstarttime"
android:background="@drawable/cellshape"
android:inputType="time" />
<EditText
android:id="@+id/etendtime"
android:background="@drawable/cellshape"
android:inputType="time" />
<EditText
android:id="@+id/etdecimaltime"
android:background="@drawable/cellshape"
android:inputType="number" />
<EditText
android:id="@+id/etrework"
android:background="@drawable/cellshape"
android:inputType="number" />
<EditText
android:id="@+id/etstatus"
android:background="@drawable/cellshape"
android:inputType="text|textCapSentences" />
</TableRow>
</TableLayout>
</HorizontalScrollView>
</ScrollView>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment