diff options
Diffstat (limited to 'res/layout-w1024dp/preview_frame.xml')
-rw-r--r-- | res/layout-w1024dp/preview_frame.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/res/layout-w1024dp/preview_frame.xml b/res/layout-w1024dp/preview_frame.xml index 762fef5..961a407 100644 --- a/res/layout-w1024dp/preview_frame.xml +++ b/res/layout-w1024dp/preview_frame.xml @@ -13,13 +13,13 @@ See the License for the specific language governing permissions and limitations under the License. --> - -<com.android.camera.PreviewFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/frame_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1"> - <RelativeLayout android:id="@+id/frame" + <com.android.camera.PreviewFrameLayout android:id="@+id/frame" + android:layout_centerInParent="true" android:layout_width="match_parent" android:layout_height="match_parent"> <SurfaceView android:id="@+id/camera_preview" @@ -32,5 +32,5 @@ <include layout="@layout/focus_indicator"/> <include layout="@layout/priority_indicators"/> <include layout="@layout/tap_to_focus_toast"/> - </RelativeLayout> -</com.android.camera.PreviewFrameLayout> + </com.android.camera.PreviewFrameLayout> +</RelativeLayout> |