Ensure Grid and focus markers are shown (#62)
parent
b9f0f27d8d
commit
98855d0976
@ -1,19 +1,17 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<!-- This FL could be removed, I added to test if we could implement |
||||
proper cropping with SurfaceView. I was not easily able to. --> |
||||
<FrameLayout |
||||
xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:id="@+id/surface_view_root" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:layout_gravity="center" |
||||
android:gravity="center"> |
||||
|
||||
<!-- This FL could be removed, I added to test if we could implement |
||||
proper cropping with SurfaceView. I was not easily able to. --> |
||||
<FrameLayout |
||||
android:id="@+id/surface_view_root" |
||||
<SurfaceView |
||||
android:id="@+id/surface_view" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:layout_gravity="center" |
||||
android:gravity="center"> |
||||
android:layout_height="match_parent" /> |
||||
|
||||
<SurfaceView |
||||
android:id="@+id/surface_view" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" /> |
||||
|
||||
</FrameLayout> |
||||
</merge> |
||||
</FrameLayout> |
@ -1,11 +1,8 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
||||
<TextureView |
||||
android:id="@+id/texture_view" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:gravity="center" |
||||
android:layout_gravity="center" /> |
||||
|
||||
</merge> |
||||
<TextureView |
||||
xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:id="@+id/texture_view" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:gravity="center" |
||||
android:layout_gravity="center" /> |
Loading…
Reference in new issue