Skip to content

Commit

Permalink
face swap
Browse files Browse the repository at this point in the history
  • Loading branch information
iFinVer committed Dec 27, 2016
1 parent e55cb4d commit 1ebebc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.Menu;
Expand Down Expand Up @@ -63,9 +62,9 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
mRenderer = new Renderer(this);
tvRender.setSurfaceTextureListener(mRenderer);

rvFilter.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false));
rvFilter.addItemDecoration(new SpaceItemDecoration(10));
rvFilter.setAdapter(new FilterAdapter(this, this));
// rvFilter.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false));
// rvFilter.addItemDecoration(new SpaceItemDecoration(10));
// rvFilter.setAdapter(new FilterAdapter(this, this));

//fps
initFPS();
Expand Down
1 change: 1 addition & 0 deletions sample/src/main/res/layout/activity_single.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:text="@string/tip_choose_filter"
android:textColor="@color/red"/>

Expand Down

0 comments on commit 1ebebc0

Please sign in to comment.