aboutsummaryrefslogtreecommitdiffstats
path: root/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_script.xml
blob: c248203c8e379a92ce2bebb9f8389a56387bb767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:animateLayoutChanges="true"
    tools:context=".MetisStatusFragment">

    <Button
        android:id="@+id/btnRunScript"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal|top"
        android:text="Run Script"
        android:layout_alignParentTop="true"
        android:layout_marginTop="20dp"
        android:layout_centerHorizontal="true" />

    <TextView
        android:id="@+id/etScript"
        style="@style/Base.TextAppearance.AppCompat.Small"
        android:layout_below="@id/btnRunScript"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:enabled="true"
        android:isScrollContainer="true"
        android:maxLines="100"
        android:minLines="6"
        android:padding="24dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:layout_marginTop="10dp"
        android:layout_marginBottom="80dp"
        android:focusable="true"
        android:inputType="textMultiLine|textNoSuggestions"
        android:textIsSelectable="true"
        android:layout_centerVertical="true"
        android:layout_alignParentStart="true"
        android:background="@drawable/add_panel_border"

        />

    <TextView
        android:id="@+id/tvMetisScriptHelp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="@string/metis_script_help"
        android:gravity="center_horizontal"
        android:layout_centerInParent="true"
        android:paddingBottom="60dp"
        android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium"
        />

</RelativeLayout>