Main.axml

 avatar
unknown
xml
4 years ago
4.9 kB
12
Indexable
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id ="@+id/mainLayout"
    android:background="@color/white">
    <PalmSens.Core.Simplified.Android.PSCommSimpleAndroid
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textColor="@color/black"
        android:id="@+id/pSCommSimpleAndroid" />
    <Button
            android:text="Load"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:enabled="false"
            android:id="@+id/btnLoad" />
        <Button
            android:text="Save"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:enabled="false"
            android:id="@+id/btnSave" />
    <TextView
        android:text="Connection"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:textColor="@color/black"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/textView1"
        android:backgroundTint="#ffffffff" />
    <Spinner
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textColor="@color/black"
        android:id="@+id/spinnerConnectedDevices" />
    <LinearLayout
        android:orientation="horizontal"
        android:minWidth="25px"
        android:minHeight="25px"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/linearLayout1">
        <Button
            android:text="Refresh"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:id="@+id/btnRefresh" />
        <Button
            android:text="Connect"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:enabled="false"
            android:id="@+id/btnConnect" />
        <Button
            android:text="Pause"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:enabled="false"
            android:id="@+id/btnPauseResume" 
        <Button
            android:text="Export"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:enabled="false"
            android:id="@+id/btnExport" />
        //
        
    </LinearLayout>
    <RelativeLayout
        android:minWidth="25px"
        android:minHeight="25px"
        android:layout_width="match_parent"
        android:layout_height="131.0dp"
        android:id="@+id/relativeLayout1">

        <TextView
            android:text="Device Status"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textColor="@color/black"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/textView2"/>
        <TextView
            android:text="Status:"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:textColor="@color/black"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/txtStatus"
            android:layoutDirection="rtl"
            android:layout_below="@id/textView2"/>
        <TextView
            android:text="Measurement"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textColor="@color/black"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/textView3"
            android:layout_below="@id/txtStatus" />
        <Button
            android:text="Measure"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:enabled="false"
            android:id="@+id/btnMeasure"
            android:layout_below="@id/textView3" />
        <ImageView
            android:layout_width="179.5dp"
            android:layout_height="800dp"
            android:layout_toRightOf="@id/txtStatus"
            android:layout_marginLeft="120.0dp"
            android:src="@drawable/mdl" />
    </RelativeLayout>
    <SDKPlot.Android.Plot
        android:minWidth="25px"
        android:minHeight="25px"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/plot" />
</LinearLayout>
Editor is loading...