Skip to content

Instantly share code, notes, and snippets.

@WindSekirun
Last active October 24, 2017 01:29
Show Gist options
  • Save WindSekirun/bd23acdba1d7e75c7879b740c2ec65f0 to your computer and use it in GitHub Desktop.
Save WindSekirun/bd23acdba1d7e75c7879b740c2ec65f0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
tools:context="pyxis.uzuki.live.gpuimageplustest.MainActivity">
<org.wysaid.view.CameraGLSurfaceView
android:id="@+id/cameraView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_gravity="bottom"
android:layout_height="wrap_content">
<Button
android:id="@+id/btnFilter"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="#fff"
android:background="#80000000"
android:text="Filter" />
<Button
android:id="@+id/btnCaptrue"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="#fff"
android:layout_weight="1"
android:background="#80000000"
android:text="Capture" />
</LinearLayout>
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment