ac_theta_camera.xml 5.46 KB
Newer Older
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
<?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">
    <RelativeLayout
        android:id="@+id/device_connect_toolbar"
        style="@style/OperationSearchToolBar"
        android:layout_width="match_parent"
        android:layout_height="50dp">
        <TextView
            android:id="@+id/theta_camera_title"
            style="@style/DialogToolBarTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="@string/title_theta_camera"
            android:textColor="@color/edt_text"
            android:textSize="@dimen/opeartion_title_text_size" />

        <Button
            android:id="@+id/btn_close"
            android:layout_width="30dp"
            android:layout_height="30dp"
            android:layout_alignParentEnd="true"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:background="@drawable/ic_operation_close"
            android:contentDescription="@string/cont_desc" />

    </RelativeLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <com.theta.view.MJpegView
            android:id="@+id/live_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

        <LinearLayout
            android:layout_width="match_parent"
43
            android:layout_height="120dp"
44 45 46 47 48 49 50 51
            android:layout_alignParentBottom="true"
            android:alpha="0.3"
            android:background="@android:color/black">

        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
52
            android:layout_height="120dp"
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
            android:layout_alignParentBottom="true"
            android:layout_marginStart="10dp"
            android:layout_marginLeft="10dp"
            android:layout_marginEnd="10dp"
            android:layout_marginRight="10dp"
            android:orientation="vertical">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:orientation="horizontal">

                <TextView
                    android:id="@+id/tv_exposure"
                    android:layout_width="55dp"
                    android:layout_height="match_parent"
                    android:gravity="center_vertical"
                    android:text="EV:1.3"
71
                    android:textColor="@android:color/white"
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
                    android:textSize="18sp" />

                <SeekBar
                    android:id="@+id/sb_exposure_old"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_marginLeft="10dp"
                    android:background="@android:color/transparent"
                    android:max="12"
                    android:maxHeight="2dp"
                    android:minHeight="2dp"
                    android:paddingLeft="10dp"
                    android:paddingRight="10dp"
                    android:progress="2"
                    android:progressDrawable="@drawable/theta_exposure_progress_drawable"
Kim Jinsung committed
87 88
                    android:thumb="@android:drawable/radiobutton_off_background"
                    android:visibility="gone"/>
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108

                <SeekBar
                    android:id="@+id/sb_exposure"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_marginLeft="10dp"
                    android:background="@android:color/transparent"
                    android:max="12"
                    android:maxHeight="2dp"
                    android:minHeight="2dp"
                    android:paddingLeft="10dp"
                    android:paddingRight="10dp"
                    android:progress="2"
                    android:progressDrawable="@drawable/theta_exposure_progress_drawable"
                    android:thumb="@drawable/seek_handler"
                    android:tickMark="@drawable/theta_exposure_tickmark" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
109
                android:layout_height="80dp"
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
                android:orientation="horizontal">

                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">

                    <Button
                        android:id="@+id/btn_theta_camera_image_list"
                        android:layout_width="50dp"
                        android:layout_height="50dp"
                        android:layout_alignParentLeft="true"
                        android:layout_centerVertical="true"
                        android:background="@drawable/btn_theta_list" />

                    <Button
                        android:id="@+id/btn_theta_camera_shoot"
126 127
                        android:layout_width="70dp"
                        android:layout_height="70dp"
128 129 130 131 132 133 134
                        android:layout_centerInParent="true"
                        android:background="@drawable/btn_theta_shoot" />
                </RelativeLayout>
            </LinearLayout>
        </LinearLayout>
    </RelativeLayout>
</LinearLayout>