Fix video call button

This commit is contained in:
Margaux Clerc 2016-03-02 17:53:34 +01:00
parent 917b5eb329
commit d9fe5be063
4 changed files with 7 additions and 7 deletions

View file

@ -257,7 +257,6 @@
android:orientation="horizontal">
<RelativeLayout
android:background="@drawable/button_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
@ -304,7 +303,7 @@
android:src="@drawable/routes_default"
android:background="@drawable/button_background"
android:visibility="gone"
android:padding="15dp"
android:padding="20dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
@ -428,7 +427,7 @@
android:src="@drawable/route_speaker"
android:background="@drawable/button_background"
android:visibility="invisible"
android:padding="15dp"
android:padding="20dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1.4"/>

View file

@ -35,8 +35,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/menu"
android:layout_below="@id/top_bar"
android:paddingTop="10dp">
android:paddingTop="10dp"
android:layout_below="@+id/top_bar">
<LinearLayout
android:orientation="horizontal"
@ -122,7 +122,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="12dp"/>
android:padding="10dp"/>
<ImageView
android:id="@+id/speaker"

View file

@ -200,7 +200,6 @@
android:orientation="horizontal">
<RelativeLayout
android:background="@drawable/button_background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1">

View file

@ -913,6 +913,7 @@ public class CallActivity extends Activity implements OnClickListener, SensorEve
video.setEnabled(true);
transfer.setVisibility(View.INVISIBLE);
addCall.setVisibility(View.INVISIBLE);
conference.setVisibility(View.INVISIBLE);
displayVideoCall(false);
numpad.setVisibility(View.GONE);
options.setImageResource(R.drawable.options_default);
@ -933,6 +934,7 @@ public class CallActivity extends Activity implements OnClickListener, SensorEve
video.setEnabled(true); // HACK: Used to avoid controls from being hided if video is switched while controls are hiding
transfer.setVisibility(View.INVISIBLE);
addCall.setVisibility(View.INVISIBLE);
conference.setVisibility(View.INVISIBLE);
displayVideoCall(false);
numpad.setVisibility(View.GONE);
options.setImageResource(R.drawable.options_default);