Skip to content

Commit 9bb5a7c

Browse files
RocketRidernatario1
authored andcommitted
google#160 Add prefix for resources (google#162)
1 parent e3abae9 commit 9bb5a7c

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

cameraview/src/main/views/com/otaliastudios/cameraview/SurfaceCameraPreview.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SurfaceCameraPreview extends CameraPreview<View, SurfaceHolder> {
2626
@NonNull
2727
@Override
2828
protected View onCreateView(Context context, ViewGroup parent) {
29-
View root = LayoutInflater.from(context).inflate(R.layout.surface_view, parent, false);
29+
View root = LayoutInflater.from(context).inflate(R.layout.cameraview_surface_view, parent, false);
3030
parent.addView(root, 0);
3131
mSurfaceView = root.findViewById(R.id.surface_view);
3232
final SurfaceHolder holder = mSurfaceView.getHolder();

cameraview/src/main/views/com/otaliastudios/cameraview/TapGestureLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void onLongPress(MotionEvent e) {
5757

5858

5959
// Views to draw the focus marker.
60-
LayoutInflater.from(getContext()).inflate(R.layout.layout_focus_marker, this);
60+
LayoutInflater.from(getContext()).inflate(R.layout.cameraview_layout_focus_marker, this);
6161
mFocusMarkerContainer = findViewById(R.id.focusMarkerContainer);
6262
mFocusMarkerFill = findViewById(R.id.fill);
6363
}

cameraview/src/main/views/com/otaliastudios/cameraview/TextureCameraPreview.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class TextureCameraPreview extends CameraPreview<TextureView, SurfaceTexture> {
2121
@NonNull
2222
@Override
2323
protected TextureView onCreateView(Context context, ViewGroup parent) {
24-
View root = LayoutInflater.from(context).inflate(R.layout.texture_view, parent, false);
24+
View root = LayoutInflater.from(context).inflate(R.layout.cameraview_texture_view, parent, false);
2525
parent.addView(root, 0);
2626
TextureView texture = root.findViewById(R.id.texture_view);
2727
texture.setSurfaceTextureListener(new TextureView.SurfaceTextureListener() {

0 commit comments

Comments
 (0)