Preview video smaller for small screens + fix small screen too long text
This commit is contained in:
parent
c9511926e4
commit
7f7b2d5eae
2 changed files with 24 additions and 0 deletions
20
res/layout-small/video.xml
Normal file
20
res/layout-small/video.xml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/video_frame"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
<org.linphone.mediastream.video.display.GL2JNIView
|
||||||
|
android:visibility="visible"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:id="@+id/videoSurface" />
|
||||||
|
|
||||||
|
<SurfaceView
|
||||||
|
android:id="@+id/videoCaptureSurface"
|
||||||
|
android:layout_width="90dp"
|
||||||
|
android:layout_height="120dp"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_alignParentRight="true" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
4
res/values-FR-small/strings.xml
Normal file
4
res/values-FR-small/strings.xml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<string name="button_speaker">HP</string>
|
||||||
|
</resources>
|
Loading…
Reference in a new issue