Remove the frameLayout wrapping CameraRootView
Change-Id: I5a238766b54d3f36c929c53225367cddf90473f9
diff --git a/res/layout/camera.xml b/res/layout/camera.xml
index b4ec436..d917990 100644
--- a/res/layout/camera.xml
+++ b/res/layout/camera.xml
@@ -13,15 +13,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.android.camera.ui.NewCameraRootView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/camera_app_root"
android:layout_width="match_parent"
android:layout_height="match_parent" >
- <!-- NewCameraRootView needs to be in a FrameLayout to set margins
- in the layout parameters. -->
- <com.android.camera.ui.NewCameraRootView
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/camera_app_root"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- </com.android.camera.ui.NewCameraRootView>
-</FrameLayout>
+</com.android.camera.ui.NewCameraRootView>