Update call view
This commit is contained in:
parent
455f7e87b6
commit
f3fe215bc0
2 changed files with 5 additions and 5 deletions
|
@ -65,7 +65,7 @@
|
|||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
android:id="@+id/current_contact_name"
|
||||
style="@style/font5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -74,11 +74,11 @@
|
|||
android:layout_gravity="center"/>
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/call_timer"
|
||||
android:id="@+id/current_call_timer"
|
||||
style="@style/font2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_name"
|
||||
android:layout_below="@id/current_contact_name"
|
||||
android:layout_gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -1470,7 +1470,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
//}
|
||||
|
||||
LinphoneAddress lAddress = call.getRemoteAddress();
|
||||
TextView contactName = (TextView) findViewById(R.id.contact_name);
|
||||
TextView contactName = (TextView) findViewById(R.id.current_contact_name);
|
||||
|
||||
setContactInformation(contactName, contactPicture, lAddress);
|
||||
registerCallDurationTimer(null, call);
|
||||
|
@ -1547,7 +1547,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
|
||||
Chronometer timer;
|
||||
if(v == null){
|
||||
timer = (Chronometer) findViewById(R.id.call_timer);
|
||||
timer = (Chronometer) findViewById(R.id.current_call_timer);
|
||||
} else {
|
||||
timer = (Chronometer) v.findViewById(R.id.call_timer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue