Commit 0de936c35b92bd5af01ad6c7f18bc9572f47affb
1 parent
9fcf692d
1:处理视频预览问题
Showing
2 changed files
with
2 additions
and
2 deletions
config.gradle
lib_media/src/main/res/layout/fragment_record_preview.xml
| @@ -34,7 +34,7 @@ | @@ -34,7 +34,7 @@ | ||
| 34 | 34 | ||
| 35 | <ImageView | 35 | <ImageView |
| 36 | android:id="@+id/iv_video" | 36 | android:id="@+id/iv_video" |
| 37 | - android:scaleType="centerCrop" | 37 | + android:scaleType="fitCenter" |
| 38 | android:layout_width="wrap_content" | 38 | android:layout_width="wrap_content" |
| 39 | android:layout_height="wrap_content" /> | 39 | android:layout_height="wrap_content" /> |
| 40 | 40 |