Create mms preview view

This commit is contained in:
Moez Bhatti
2018-01-09 15:07:23 -05:00
parent 5aff69c0c4
commit f0349dc8ae
5 changed files with 52 additions and 12 deletions
@@ -60,8 +60,8 @@
android:orientation="vertical"
tools:backgroundTint="@color/tools_theme">
<ImageView
android:id="@+id/image"
<presentation.common.widget.MmsPreviewView
android:id="@+id/mmsPreview"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@id/body"
@@ -54,8 +54,8 @@
android:orientation="vertical"
tools:backgroundTint="@color/white">
<ImageView
android:id="@+id/image"
<presentation.common.widget.MmsPreviewView
android:id="@+id/mmsPreview"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@id/body"
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:parentTag="presentation.common.widget.MmsPreviewView">
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</merge>