fix camera ui thread hangs and view race condition

also add a background behind the camera preview surface to avoid
transparency peek-through issues.

Fixes #3576
Closes #3601
// FREEBIE"
This commit is contained in:
Jake McGinty
2015-07-10 10:59:59 -07:00
committed by Moxie Marlinspike
parent 72735baa11
commit 5eaaadad26
6 changed files with 73 additions and 43 deletions

View File

@@ -6,19 +6,20 @@
android:id="@+id/layout_container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="?conversation_background"
android:orientation="vertical">
<org.thoughtcrime.securesms.components.camera.QuickAttachmentDrawer
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/quick_attachment_drawer"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="@color/black">
<RelativeLayout android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:orientation="vertical"
android:background="?conversation_background"
android:gravity="bottom">
<FrameLayout android:id="@+id/fragment_content"