Fix conference button in call

This commit is contained in:
Erwan Croze 2018-09-17 14:18:15 +02:00
parent b2c3c72ed7
commit d0383867ff
5 changed files with 4 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 737 B

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -477,8 +477,8 @@
android:layout_weight="0.5"
android:background="#aeaeae"
android:contentDescription="@string/content_description_conference"
android:padding="10dp"
android:src="@drawable/conference_default"
android:padding="5dp"
android:src="@drawable/options_start_conference_over"
android:visibility="invisible"/>
</LinearLayout>

View file

@ -789,8 +789,10 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
private void enabledConferenceButton(boolean enabled){
if (enabled) {
conference.setEnabled(true);
conference.setImageAlpha(255);
} else {
conference.setEnabled(false);
conference.setImageAlpha(102);
}
}