From 2589fdbce357b722b9b4ad28d315a947454655c0 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 25 Oct 2012 10:53:15 +0200 Subject: [PATCH] Fix small screen interface + tablets linphonerc --- res/layout-small/setup_wizard.xml | 7 ++-- res/layout/contacts_list.xml | 1 + res/layout/history_simple.xml | 6 +++- res/raw-xlarge/linphonerc | 53 +++++++++++++++++++++++++++++++ 4 files changed, 64 insertions(+), 3 deletions(-) create mode 100644 res/raw-xlarge/linphonerc diff --git a/res/layout-small/setup_wizard.xml b/res/layout-small/setup_wizard.xml index af87e3974..3531366a8 100644 --- a/res/layout-small/setup_wizard.xml +++ b/res/layout-small/setup_wizard.xml @@ -23,7 +23,7 @@ diff --git a/res/layout/contacts_list.xml b/res/layout/contacts_list.xml index a2bf1ac83..003e00c74 100644 --- a/res/layout/contacts_list.xml +++ b/res/layout/contacts_list.xml @@ -57,6 +57,7 @@ android:text="@string/button_add_contact" android:gravity="center" android:paddingTop="20dp" + android:textSize="13dp" android:textColor="@color/text_button" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/res/layout/history_simple.xml b/res/layout/history_simple.xml index 0c1dc5425..73302d992 100644 --- a/res/layout/history_simple.xml +++ b/res/layout/history_simple.xml @@ -17,8 +17,8 @@ android:background="@drawable/history_delete" android:text="@string/button_delete_all" android:gravity="center" - android:textSize="13dp" android:paddingTop="20dp" + android:textSize="13dp" android:textColor="@color/text_button" android:layout_width="match_parent" android:layout_height="match_parent" @@ -33,6 +33,7 @@ android:text="@string/button_all_call" android:gravity="center" android:paddingTop="15dp" + android:textSize="13dp" android:textColor="@drawable/text_switch_button_color" android:layout_width="match_parent" android:layout_height="match_parent" @@ -47,6 +48,7 @@ android:text="@string/button_missed_call" android:gravity="center" android:paddingTop="15dp" + android:textSize="13dp" android:textColor="@drawable/text_switch_button_color" android:layout_width="match_parent" android:layout_height="match_parent" @@ -61,6 +63,7 @@ android:text="@string/button_edit" android:gravity="center" android:paddingTop="20dp" + android:textSize="13dp" android:textColor="@color/text_button" android:layout_width="match_parent" android:layout_height="match_parent" @@ -75,6 +78,7 @@ android:text="@string/button_ok" android:gravity="center" android:paddingTop="20dp" + android:textSize="13dp" android:textColor="@color/text_button" android:visibility="gone" android:layout_width="match_parent" diff --git a/res/raw-xlarge/linphonerc b/res/raw-xlarge/linphonerc new file mode 100644 index 000000000..68641395b --- /dev/null +++ b/res/raw-xlarge/linphonerc @@ -0,0 +1,53 @@ +[net] +download_bw=512 +upload_bw=512 +firewall_policy=0 +mtu=1300 +#adaptive_rate_control=1 + +[sip] +sip_port=5060 +sip_random_port=1 +guess_hostname=1 +contact=sip:unknown@unknown-host +inc_timeout=15 +use_info=0 +use_ipv6=0 +register_only_when_network_is_up=1 +default_proxy=0 +auto_net_state_mon=0 +keepalive_period=30000 +auto_answer_replacing_calls=1 +media_encryption=zrtp +media_encryption_mandatory=0 + +[rtp] +audio_rtp_port=7076 +video_rtp_port=9078 +audio_jitt_comp=60 +video_jitt_comp=60 +nortp_timeout=30 + +[sound] +playback_dev_id= +ringer_dev_id= +capture_dev_id= +remote_ring=/data/data/org.linphone/files/ringback.wav +local_ring=/data/data/org.linphone/files/oldphone_mono.wav +ec_tail_len=120 +ec_framesize=128 +dtmf_player_amp=0.1 + +el_type=mic +el_thres=0.03 +el_force=100000 +el_sustain=600 +el_transmit_thres=1.7 +ng_floorgain=0.01 + + +[video] +size=vga + +[misc] +max_calls=10