Statistics
| Branch: | Tag: | Revision:

securesmartcam / app / src / main / res / layout / videoeditor.xml @ 41590feb

History | View | Annotate | Download (3.54 KB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<FrameLayout
3
        xmlns:android="http://schemas.android.com/apk/res/android"
4
        android:layout_width="match_parent"
5
        android:layout_height="match_parent"
6
        android:id="@+id/frameRoot"
7
    android:background="#000000"
8
        >
9
          
10
          <VideoView 
11
                  android:id="@+id/SurfaceView" 
12
                  android:layout_height="wrap_content" 
13
                  android:layout_width="match_parent"
14
                  android:layout_gravity="center"
15
                  />
16
        <ImageView 
17
                android:id="@+id/VideoEditorImageView" 
18
                android:layout_width="match_parent"
19
                android:layout_height="wrap_content"
20
                />
21
        <LinearLayout
22
                android:layout_width="match_parent"
23
                android:layout_height="wrap_content"
24
                android:orientation="vertical"
25
                android:layout_gravity="bottom"
26
        android:padding="3dp"
27
        android:background="#99FFFFFF"
28
                >
29
                 <LinearLayout
30
                         android:id="@+id/InnerLinearLayout"
31
                         android:layout_width="match_parent"
32
                         android:layout_height="wrap_content"
33
                         android:orientation="horizontal"
34
                         >
35
                         <ImageButton 
36
                                 android:layout_width="wrap_content" 
37
                                 android:id="@+id/PlayPauseImageButton" 
38
                                 android:src="@android:drawable/ic_media_play" 
39
                                 android:layout_height="wrap_content"                                 
40
                                 />        
41
                        <org.witness.obscuracam.video.InOutPlayheadSeekBar
42
                                android:id="@+id/InOutPlayheadSeekBar" 
43
                                android:layout_height="fill_parent" 
44
                                android:layout_width="0dip" 
45
                                android:layout_weight="1"
46
                                android:gravity="center" 
47
                                android:indeterminate="false" 
48
                                android:indeterminateOnly="false" 
49
                                android:secondaryProgress="0" 
50
                                android:progressDrawable="@android:drawable/progress_horizontal"
51
                                />
52
                        <ProgressBar
53
                                android:layout_width="wrap_content"
54
                                android:layout_height="match_parent"
55
                                android:id="@+id/progress_spinner"
56
                android:visibility="gone"
57
                                />
58
        
59
        </LinearLayout>
60

    
61
                <LinearLayout
62
                        android:layout_width="match_parent"
63
                        android:layout_height="wrap_content"
64
                        android:orientation="horizontal"
65
                        >
66

    
67
            <TextView
68
                android:layout_width="60dp"
69
                android:layout_height="match_parent"
70
                android:text="Pixelize:"
71
                android:gravity="center_vertical|right"
72
                />
73
                        <SeekBar
74
                                android:id="@+id/seekbar_video_obscure"
75
                                android:layout_width="120dp"
76
                                android:layout_height="match_parent"
77
                                android:max="128"
78

    
79
                                />
80
            <TextView
81
                android:layout_width="60dp"
82
                android:layout_height="match_parent"
83
                android:text="Distort:"
84
                android:gravity="center_vertical|right"
85
                />
86
                        <SeekBar
87
                                android:id="@+id/seekbar_audio_obscure"
88
                android:layout_width="120dp"
89
                                android:layout_height="match_parent"
90
                                android:max="64"
91

    
92
                                />
93

    
94

    
95
                </LinearLayout>
96
<!--
97
                <LinearLayout
98
                        android:layout_width="match_parent"
99
                        android:layout_height="wrap_content"
100
                        android:orientation="horizontal"
101
                        >
102

103
                        <TextView
104
                                android:layout_width="60dp"
105
                                android:layout_height="match_parent"
106
                                android:text="Brighten:"
107
                                android:gravity="center_vertical|right"
108
                                />
109
                        <SeekBar
110
                                android:id="@+id/seekbar_video_brightness"
111
                                android:layout_width="120dp"
112
                                android:layout_height="match_parent"
113
                                android:max="128"
114

115
                                />
116
                        <TextView
117
                                android:layout_width="60dp"
118
                                android:layout_height="match_parent"
119
                                android:text="Saturate:"
120
                                android:gravity="center_vertical|right"
121
                                />
122
                        <SeekBar
123
                                android:id="@+id/seekbar_video_saturate"
124
                                android:layout_width="120dp"
125
                                android:layout_height="match_parent"
126
                                android:max="64"
127

128
                                />
129

130

131
                </LinearLayout>
132
                -->
133
        </LinearLayout>
134

    
135

    
136
</FrameLayout>