Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
SwapIt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafal
SwapIt
Commits
9988b3e4
Commit
9988b3e4
authored
Oct 24, 2015
by
Eryk Leniart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Layout
parent
874917f4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
35 deletions
+45
-35
workspace.xml
peepers/.idea/workspace.xml
+30
-28
AndroidManifest.xml
peepers/app/src/main/AndroidManifest.xml
+2
-3
StreamCameraActivity.java
.../java/com/foxdogstudios/peepers/StreamCameraActivity.java
+3
-0
main.xml
peepers/app/src/main/res/layout/main.xml
+10
-4
No files found.
peepers/.idea/workspace.xml
View file @
9988b3e4
This diff is collapsed.
Click to expand it.
peepers/app/src/main/AndroidManifest.xml
View file @
9988b3e4
...
@@ -35,13 +35,12 @@
...
@@ -35,13 +35,12 @@
android:name=
".StreamCameraActivity"
android:name=
".StreamCameraActivity"
android:label=
"@string/app_name"
android:label=
"@string/app_name"
android:screenOrientation=
"landscape"
android:screenOrientation=
"landscape"
android:theme=
"@android:style/Theme.NoTitleBar"
>
android:theme=
"@android:style/Theme.NoTitleBar
.Fullscreen
"
>
</activity>
</activity>
<activity
android:name=
".PeepersPreferenceActivity"
/>
<activity
android:name=
".PeepersPreferenceActivity"
/>
<activity
<activity
android:name=
".MainActivity"
android:name=
".MainActivity"
android:label=
"@string/title_activity_main"
android:label=
"@string/title_activity_main"
>
android:theme=
"@android:style/Theme"
>
<intent-filter>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<action
android:name=
"android.intent.action.MAIN"
/>
...
...
peepers/app/src/main/java/com/foxdogstudios/peepers/StreamCameraActivity.java
View file @
9988b3e4
...
@@ -301,6 +301,9 @@ public final class StreamCameraActivity extends Activity
...
@@ -301,6 +301,9 @@ public final class StreamCameraActivity extends Activity
"\n"
+
"\n"
+
"</head>\n"
+
"</head>\n"
+
"<body>\n"
+
"<body>\n"
+
"<style>\n"
+
"* { margin: 0; padding: 0 }"
+
"</style>\n"
+
"\t<div style='width:50%;display:inline-block;height:auto'>\n"
+
"\t<div style='width:50%;display:inline-block;height:auto'>\n"
+
"\t\t<img style='width:100%' src='"
+
"http://"
+
clientAddressIp
+
"'/>\n"
+
"\t\t<img style='width:100%' src='"
+
"http://"
+
clientAddressIp
+
"'/>\n"
+
"\t</div>\n"
+
"\t</div>\n"
+
...
...
peepers/app/src/main/res/layout/main.xml
View file @
9988b3e4
...
@@ -17,17 +17,23 @@
...
@@ -17,17 +17,23 @@
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
android:background=
"#000000"
>
<SurfaceView
<SurfaceView
android:id=
"@+id/camera"
android:id=
"@+id/camera"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
android:layout_height=
"match_parent"
android:background=
"#000000"
/>
<WebView
<WebView
android:id=
"@+id/webview"
android:id=
"@+id/webview"
android:layout_width=
"fill_parent"
android:layout_centerInParent=
"true"
android:layout_height=
"fill_parent"
/>
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"#000000"
android:layout_centerVertical=
"true"
/>
<Button
<Button
android:layout_width=
"100dp"
android:layout_width=
"100dp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment