aboutsummaryrefslogtreecommitdiffstats
path: root/tests/res/layout/cgeo_tests_activity.xml
blob: d0352106487f518e4db88bcafa55bc9f62313d6c (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
55
56
57
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/RelativeLayout1"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginLeft="6dp"
    android:layout_marginRight="6dp"
    android:orientation="vertical" >

    <TextView
        android:id="@+id/headline"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_alignParentTop="true"
        android:layout_gravity="center_vertical"
        android:gravity="center_vertical"
        android:lines="1"
        android:singleLine="true"
        android:text="@string/logcat"
        android:textAppearance="?android:attr/textAppearanceLarge" />

    <cgeo.geocaching.test.BottomAwareScrollView
        android:id="@+id/scrollView"
        android:layout_width="match_parent"
        android:layout_height="fill_parent"
        android:layout_above="@+id/buttonRun"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_below="@+id/headline" >

        <TextView
            android:id="@+id/logOutput"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:textSize="8sp"
            tools:ignore="SmallSp" />
    </cgeo.geocaching.test.BottomAwareScrollView>

    <Button
        android:id="@+id/buttonRun"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="false"
        android:layout_alignParentStart="false"
        android:onClick="runTests"
        android:text="@string/run_tests" />

    <requestFocus
        android:layout_alignTop="@+id/buttonRun"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="18dp" />

</RelativeLayout>