mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Merge remote-tracking branch 'linphone-android/master' into obiane
Conflicts: AndroidManifest.xml res/drawable-xhdpi/topbar_avatar.png res/drawable/assistant_button.xml res/layout-land/call.xml res/layout-land/call_incoming.xml res/layout-land/call_outgoing.xml res/layout-land/chatlist_cell.xml res/layout-land/main.xml res/layout/about.xml res/layout/assistant_account_creation.xml res/layout/assistant_linphone_login.xml res/layout/assistant_remote_provisioning_login.xml res/layout/assistant_topbar.xml res/layout/call.xml res/layout/call_incoming.xml res/layout/call_outgoing.xml res/layout/chat.xml res/layout/chatlist.xml res/layout/chatlist_cell.xml res/layout/conference_paused_row.xml res/layout/contact.xml res/layout/contact_edit.xml res/layout/contacts_list.xml res/layout/dialog.xml res/layout/edit_list.xml res/layout/history.xml res/layout/history_detail.xml res/layout/main.xml res/layout/side_menu_account_cell.xml res/mipmap-hdpi/ic_launcher.png res/mipmap-mdpi/ic_launcher.png res/mipmap-xhdpi/ic_launcher.png res/mipmap-xxhdpi/ic_launcher.png res/mipmap-xxxhdpi/ic_launcher.png res/values-ar/strings.xml res/values-de/strings.xml res/values-es/strings.xml res/values-fr/custom.xml res/values-fr/strings.xml res/values-he/strings.xml res/values-ja/strings.xml res/values-nl/strings.xml res/values-ru/strings.xml res/values-tr/strings.xml res/values/custom.xml res/values/non_localizable_custom.xml res/values/strings.xml res/values/styles.xml src/org/linphone/CallActivity.java src/org/linphone/ChatFragment.java src/org/linphone/ChatListFragment.java src/org/linphone/ContactDetailsFragment.java src/org/linphone/ContactsListFragment.java src/org/linphone/HistoryDetailFragment.java src/org/linphone/HistoryListFragment.java src/org/linphone/LinphoneActivity.java src/org/linphone/LinphoneManager.java src/org/linphone/LinphoneService.java src/org/linphone/assistant/RemoteProvisioningActivity.java
This commit is contained in:
commit
1b207c8dc1
145 changed files with 7890 additions and 2246 deletions
18
.gitmodules
vendored
18
.gitmodules
vendored
|
|
@ -7,12 +7,6 @@
|
|||
[submodule "submodules/externals/speex"]
|
||||
path = submodules/externals/speex
|
||||
url = git://git.linphone.org/speex.git
|
||||
[submodule "submodules/msilbc"]
|
||||
path = submodules/msilbc
|
||||
url = git://git.linphone.org/msilbc.git
|
||||
[submodule "submodules/libilbc-rfc3951"]
|
||||
path = submodules/libilbc-rfc3951
|
||||
url = git://git.linphone.org/libilbc-rfc3951.git
|
||||
[submodule "submodules/externals/ffmpeg"]
|
||||
path = submodules/externals/ffmpeg
|
||||
url = git://git.linphone.org/ffmpeg.git
|
||||
|
|
@ -84,10 +78,12 @@
|
|||
path = submodules/externals/openh264
|
||||
url = https://github.com/cisco/openh264
|
||||
ignore = dirty
|
||||
[submodule "submodules/externals/libmatroska"]
|
||||
path = submodules/externals/libmatroska
|
||||
url = https://github.com/Matroska-Org/foundation-source.git
|
||||
ignore = dirty
|
||||
[submodule "submodules/mscodec2"]
|
||||
path = submodules/mscodec2
|
||||
url = git://git.linphone.org/mscodec2.git
|
||||
url = git://git.linphone.org/mscodec2.git
|
||||
[submodule "submodules/bctoolbox"]
|
||||
path = submodules/bctoolbox
|
||||
url = git://git.linphone.org/bctoolbox.git
|
||||
[submodule "submodules/externals/mbedtls"]
|
||||
path = submodules/externals/mbedtls
|
||||
url = https://github.com/ARMmbed/mbedtls.git
|
||||
|
|
|
|||
|
|
@ -8,8 +8,3 @@ type = ANDROID
|
|||
file_filter = res/values-<lang>/strings.xml
|
||||
source_file = res/values/strings.xml
|
||||
source_lang = en
|
||||
|
||||
[linphone-android.customxml]
|
||||
file_filter = res/values-<lang>/custom.xml
|
||||
source_file = res/values/custom.xml
|
||||
source_lang = en
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true"/>
|
||||
|
||||
<application android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:largeHeap="true" android:allowBackup="true" android:debuggable="false">
|
||||
<application android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:largeHeap="true" android:allowBackup="true">
|
||||
|
||||
<activity android:name="org.linphone.LinphoneLauncherActivity"
|
||||
android:label="@string/app_name"
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<data android:mimeType="vnd.android.cursor.item/org.linphone.profile" />
|
||||
<data android:mimeType="vnd.android.cursor.item/org.linphone.profile" /> <!-- Change package ! -->
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
|
|
|||
32
Makefile
32
Makefile
|
|
@ -61,6 +61,7 @@ BUILD_RTP_MAP=0
|
|||
BUILD_DONT_CHECK_HEADERS_IN_MESSAGE=0
|
||||
BUILD_ILBC=1
|
||||
BUILD_CODEC2=0
|
||||
BUILD_BCTOOLBOX_MBEDTLS=0
|
||||
LIBLINPHONE_EXTENDED_SRC_FILES=
|
||||
LIBLINPHONE_EXTENDED_C_INCLUDES=
|
||||
LIBLINPHONE_EXTENDED_CFLAGS=
|
||||
|
|
@ -130,25 +131,6 @@ endif
|
|||
|
||||
install: install-apk run-linphone
|
||||
|
||||
#libilbc
|
||||
LIBILBC_SRC_DIR=$(TOPDIR)/submodules/libilbc-rfc3951
|
||||
LIBILBC_BUILD_DIR=$(LIBILBC_SRC_DIR)
|
||||
$(LIBILBC_SRC_DIR)/configure:
|
||||
cd $(LIBILBC_SRC_DIR) && ./autogen.sh
|
||||
|
||||
$(LIBILBC_BUILD_DIR)/Makefile: $(LIBILBC_SRC_DIR)/configure
|
||||
cd $(LIBILBC_BUILD_DIR) && \
|
||||
./configure \
|
||||
|
||||
$(LIBILBC_BUILD_DIR)/src/iLBC_decode.c: $(LIBILBC_BUILD_DIR)/Makefile
|
||||
cd $(LIBILBC_BUILD_DIR)/downloads && make \
|
||||
|| ( echo "iLBC prepare stage failed" ; exit 1 )
|
||||
|
||||
ifeq ($(BUILD_ILBC),1)
|
||||
prepare-ilbc: $(LIBILBC_BUILD_DIR)/src/iLBC_decode.c
|
||||
else
|
||||
prepare-ilbc:
|
||||
endif
|
||||
|
||||
#ffmpeg
|
||||
ifeq ($(BUILD_VIDEO),1)
|
||||
|
|
@ -303,13 +285,13 @@ openh264-install-headers:
|
|||
mkdir -p $(OPENH264_SRC_DIR)/include/wels
|
||||
rsync -rvLpgoc --exclude ".git" $(OPENH264_SRC_DIR)/codec/api/svc/* $(OPENH264_SRC_DIR)/include/wels/.
|
||||
|
||||
copy-openh264-x86: openh264-patch openh264-install-headers
|
||||
copy-openh264-x86: openh264-install-headers
|
||||
mkdir -p $(OPENH264_BUILD_DIR)
|
||||
mkdir -p $(OPENH264_BUILD_DIR_X86)
|
||||
cd $(OPENH264_BUILD_DIR_X86) \
|
||||
&& rsync -rvLpgoc --exclude ".git" $(OPENH264_SRC_DIR)/* .
|
||||
|
||||
copy-openh264-arm: openh264-patch openh264-install-headers
|
||||
copy-openh264-arm: openh264-install-headers
|
||||
mkdir -p $(OPENH264_BUILD_DIR)
|
||||
mkdir -p $(OPENH264_BUILD_DIR_ARM)
|
||||
cd $(OPENH264_BUILD_DIR_ARM) \
|
||||
|
|
@ -339,7 +321,7 @@ endif
|
|||
endif
|
||||
LIBVPX_SRC_DIR=$(TOPDIR)/submodules/externals/libvpx
|
||||
LIBVPX_BUILD_DIR=$(TOPDIR)/submodules/externals/build/libvpx
|
||||
LIBVPX_CONFIGURE_OPTIONS=--disable-vp9 --disable-examples --disable-unit-tests --disable-postproc --enable-error-concealment --enable-debug
|
||||
LIBVPX_CONFIGURE_OPTIONS=--disable-vp9 --disable-examples --disable-unit-tests --disable-postproc --enable-error-concealment --enable-pic
|
||||
|
||||
$(LIBVPX_SRC_DIR)/configure_android_x86_patch_applied.txt:
|
||||
cd $(LIBVPX_SRC_DIR) && patch -p1 < $(TOPDIR)/patches/libvpx_configure_android_x86.patch
|
||||
|
|
@ -418,8 +400,8 @@ prepare-liblinphone_tester: $(TOPDIR)/submodules/linphone/tester/tester_hosts $(
|
|||
|
||||
|
||||
#Matroska2
|
||||
MATROSKA_SRC_DIR=$(TOPDIR)/submodules/externals/libmatroska
|
||||
MATROSKA_BUILD_DIR=$(TOPDIR)/submodules/externals/build/libmatroska
|
||||
MATROSKA_SRC_DIR=$(TOPDIR)/submodules/externals/libmatroska-c
|
||||
MATROSKA_BUILD_DIR=$(TOPDIR)/submodules/externals/build/libmatroska-c
|
||||
ifeq ($(BUILD_MATROSKA), 1)
|
||||
prepare-matroska2: $(MATROSKA_SRC_DIR)/patch_applied.txt
|
||||
else
|
||||
|
|
@ -430,7 +412,7 @@ $(MATROSKA_SRC_DIR)/patch_applied.txt: $(MATROSKA_BUILD_DIR)/fix_libmatroska2.pa
|
|||
cd $(MATROSKA_SRC_DIR); patch -p1 < $<; touch $@
|
||||
|
||||
#Build targets
|
||||
prepare-sources: build-ffmpeg build-x264 build-openh264 prepare-ilbc build-vpx prepare-srtp prepare-mediastreamer2 prepare-antlr3 prepare-belle-sip $(TOPDIR)/res/raw/rootca.pem prepare-matroska2 prepare-codec2
|
||||
prepare-sources: build-ffmpeg build-x264 build-openh264 build-vpx prepare-srtp prepare-mediastreamer2 prepare-antlr3 prepare-belle-sip $(TOPDIR)/res/raw/rootca.pem prepare-matroska2 prepare-codec2
|
||||
|
||||
GENERATE_OPTIONS = NDK_DEBUG=$(NDK_DEBUG) BUILD_FOR_X86=$(BUILD_FOR_X86) \
|
||||
BUILD_AMRNB=$(BUILD_AMRNB) BUILD_AMRWB=$(BUILD_AMRWB) BUILD_SILK=$(BUILD_SILK) BUILD_G729=$(BUILD_G729) BUILD_OPUS=$(BUILD_OPUS) BUILD_CODEC2=$(BUILD_CODEC2)\
|
||||
|
|
|
|||
2
README
2
README
|
|
@ -42,7 +42,7 @@ To create an apk with a different package name
|
|||
You need to edit the custom_rules.xml file:
|
||||
1) look for the property named "linphone.package.name" and change it value accordingly
|
||||
2) also update the values in the AndroidManifest file where the comment <!-- Change package ! --> appears
|
||||
3) update the path to the sounds in the linphonerc-factory files in the res folders and optionally change default sip account on linphonerc-default
|
||||
3) change the package name also in the files: res/xml/syncadapter.xml, res/xml/contacts.xml and res/values/non_localizable_custom where <!-- Change package ! --> appears
|
||||
4) run again the Makefile script by calling "make"
|
||||
|
||||
To run the liblinphone test suite on android
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ buildscript {
|
|||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:1.0.0'
|
||||
classpath 'com.android.tools.build:gradle:1.3.0'
|
||||
}
|
||||
}
|
||||
apply plugin: 'android'
|
||||
|
|
|
|||
|
|
@ -54,10 +54,17 @@ include $(linphone-root-dir)/submodules/externals/build/gsm/Android.mk
|
|||
|
||||
# Matroska
|
||||
ifeq ($(BUILD_MATROSKA), 1)
|
||||
include $(linphone-root-dir)/submodules/externals/build/libmatroska/Android.mk
|
||||
include $(linphone-root-dir)/submodules/externals/build/libmatroska-c/Android.mk
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_BCTOOLBOX_MBEDTLS),1)
|
||||
include $(linphone-root-dir)/submodules/externals/build/mbedtls/Android.mk
|
||||
include $(linphone-root-dir)/submodules/bctoolbox/build/android/Android-mbedtls.mk
|
||||
else
|
||||
include $(linphone-root-dir)/submodules/externals/build/polarssl/Android.mk
|
||||
include $(linphone-root-dir)/submodules/bctoolbox/build/android/Android-polarssl.mk
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_MEDIASTREAMER2_SDK), 0)
|
||||
include $(linphone-root-dir)/submodules/externals/build/antlr3/Android.mk
|
||||
include $(linphone-root-dir)/submodules/belle-sip/build/android/Android.mk
|
||||
|
|
@ -82,10 +89,6 @@ endif
|
|||
include $(linphone-root-dir)/submodules/mssilk/Android.mk
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_ILBC), 1)
|
||||
include $(linphone-root-dir)/submodules/msilbc/Android.mk
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_CODEC2), 1)
|
||||
include $(linphone-root-dir)/submodules/mscodec2/Android.mk
|
||||
include $(linphone-root-dir)/submodules/externals/build/codec2/Android.mk
|
||||
|
|
@ -179,13 +182,14 @@ $(info $(TARGET_ARCH_ABI): Build NEON modules for ISAC)
|
|||
WEBRTC_BUILD_NEON_LIBS=true
|
||||
endif
|
||||
|
||||
$(info $(TARGET_ARCH_ABI): Build iSAC plugin for mediastreamer2)
|
||||
$(info $(TARGET_ARCH_ABI): Build iSAC and ilbc plugin for mediastreamer2)
|
||||
include $(linphone-root-dir)/submodules/mswebrtc/build/android/modules/audio_coding/codecs/isac/fix/source/Android.mk
|
||||
include $(linphone-root-dir)/submodules/mswebrtc/build/android/modules/audio_coding/codecs/ilbc/Android.mk
|
||||
endif
|
||||
|
||||
# common modules for ISAC and AECM
|
||||
ifneq ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC),00)
|
||||
$(info $(TARGET_ARCH_ABI): Build common modules for iSAC and AECM ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)))
|
||||
ifneq ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)$(BUILD_ILBC),000)
|
||||
$(info $(TARGET_ARCH_ABI): Build common modules for iSAC, ilbc and AECM ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)))
|
||||
include $(linphone-root-dir)/submodules/mswebrtc/build/android/common_audio/signal_processing/Android.mk
|
||||
include $(linphone-root-dir)/submodules/mswebrtc/Android.mk
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -55,10 +55,15 @@ ifeq ($(BUILD_UPNP),1)
|
|||
APP_MODULES += libupnp
|
||||
endif
|
||||
|
||||
APP_MODULES +=bctoolbox
|
||||
ifeq ($(BUILD_TLS),1)
|
||||
ifeq ($(BUILD_BCTOOLBOX_MBEDTLS),1)
|
||||
APP_MODULES +=mbedtls
|
||||
else
|
||||
APP_MODULES +=polarssl
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_VIDEO),1)
|
||||
APP_MODULES += libffmpeg-linphone
|
||||
|
|
@ -103,6 +108,13 @@ ifneq ($(BUILD_OPUS), 0)
|
|||
APP_MODULES += libopus
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_ILBC), 1)
|
||||
APP_MODULES += libwebrtc_spl libwebrtc_ilbc libmswebrtc
|
||||
ifneq (,$(findstring armeabi,$(TARGET_ARCH_ABI)))
|
||||
APP_MODULES += libwebrtc_spl_neon
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(BUILD_WEBRTC_AECM), 0)
|
||||
APP_MODULES += libwebrtc_system_wrappers libwebrtc_spl libwebrtc_apm_utility libwebrtc_aecm libmswebrtc
|
||||
ifneq (,$(findstring armeabi,$(TARGET_ARCH_ABI)))
|
||||
|
|
@ -135,10 +147,6 @@ ifeq ($(BUILD_CODEC2), 1)
|
|||
APP_MODULES +=libcodec2 libmscodec2
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_ILBC), 1)
|
||||
APP_MODULES +=libmsilbc
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_SRTP), 1)
|
||||
APP_MODULES += libsrtp
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
diff --git a/build/make/configure.sh b/build/make/configure.sh
|
||||
index 25c9f80..336b006 100644
|
||||
index c592b63..e4998d7 100644
|
||||
--- a/build/make/configure.sh
|
||||
+++ b/build/make/configure.sh
|
||||
@@ -1082,6 +1082,33 @@ EOF
|
||||
os2)
|
||||
@@ -1132,6 +1132,32 @@ EOF
|
||||
AS=${AS:-nasm}
|
||||
add_ldflags -Zhigh-mem
|
||||
;;
|
||||
+ android*)
|
||||
+ SDK_PATH=${sdk_path}
|
||||
|
|
@ -32,7 +32,6 @@ index 25c9f80..336b006 100644
|
|||
+
|
||||
+ soft_enable realtime_only
|
||||
+ ;;
|
||||
+
|
||||
esac
|
||||
|
||||
AS="${alt_as:-${AS:-auto}}"
|
||||
|
|
|
|||
BIN
res/drawable-xhdpi/dialer_background.png
Normal file
BIN
res/drawable-xhdpi/dialer_background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
|
|
@ -1,7 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/resizable_cancel_button_over" />
|
||||
android:drawable="@drawable/resizable_assistant_button_over" />
|
||||
<item android:state_enabled="false"
|
||||
android:drawable="@drawable/resizable_cancel_button" />
|
||||
<item
|
||||
android:drawable="@drawable/resizable_cancel_button" />
|
||||
</selector>
|
||||
|
|
|
|||
7
res/drawable/assistant_button_text_color.xml
Normal file
7
res/drawable/assistant_button_text_color.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="true"
|
||||
android:color="@color/colorB"/>
|
||||
<item
|
||||
android:color="@color/colorE"/>
|
||||
</selector>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/numpad_star_over" />
|
||||
<item
|
||||
android:drawable="@drawable/numpad_star" />
|
||||
</selector>
|
||||
|
||||
167
res/layout-land/about.xml
Normal file
167
res/layout-land/about.xml
Normal file
|
|
@ -0,0 +1,167 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:background="@color/colorH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp">
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_name"
|
||||
android:text="@string/about"
|
||||
style="@style/font1"
|
||||
android:singleLine="true"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.4"
|
||||
android:gravity="center"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancel"
|
||||
android:src="@drawable/dialer_back"
|
||||
android:background="@drawable/toolbar_button"
|
||||
android:contentDescription="@string/content_description_edit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:background="@color/colorC"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/splashscreen"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/app_name"
|
||||
style="@style/font15"
|
||||
android:paddingTop="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/app_description"
|
||||
style="@style/font3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_android_version"
|
||||
android:text="@string/about_version"
|
||||
style="@style/font12"
|
||||
android:layout_gravity="left"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_liblinphone_version"
|
||||
android:text="@string/about_liblinphone_version"
|
||||
style="@style/font12"
|
||||
android:layout_gravity="left"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:background="@color/colorH"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_link"
|
||||
android:text="@string/about_link"
|
||||
android:autoLink="web"
|
||||
style="@style/font2"
|
||||
android:textColorLink="@color/colorA"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_text"
|
||||
android:text="@string/about_text"
|
||||
style="@style/font23"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:textSize="18sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorE"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<Button
|
||||
android:id="@+id/send_log"
|
||||
android:background="@drawable/button_background"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/menu_send_log" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/reset_log"
|
||||
android:background="@drawable/button_background"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/menu_reset_log" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
463
res/layout-land/call.xml
Normal file
463
res/layout-land/call.xml
Normal file
|
|
@ -0,0 +1,463 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/topLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
android:id="@+id/side_menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/menu">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/conference_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:layout_alignParentTop="true"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/active_call"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/active_call_info"
|
||||
android:background="@color/colorH"
|
||||
android:alpha="0.8"
|
||||
android:paddingBottom="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/current_contact_name"
|
||||
style="@style/font5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"/>
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/current_call_timer"
|
||||
style="@style/font2"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"/>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/active_call_info"
|
||||
android:layout_margin="5dp"
|
||||
android:paddingTop="10dp"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/mask"
|
||||
android:src="@drawable/avatar_mask_border"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/remote_pause"
|
||||
android:background="@color/colorC"
|
||||
android:alpha="0.9"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/waiting_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/call_paused_by_remote"
|
||||
style="@style/font16"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pause"
|
||||
android:src="@drawable/pause_big_default"
|
||||
android:contentDescription="@string/content_description_pause"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:padding="10dp"
|
||||
android:layout_below="@+id/active_call_info"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/switchCamera"
|
||||
android:src="@drawable/switch_camera"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:padding="10dp"
|
||||
android:contentDescription="@string/content_description_switch_camera"
|
||||
android:visibility="invisible"
|
||||
android:layout_below="@+id/active_call_info"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/calls_list"
|
||||
android:background="@color/colorH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="0.5"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="vertical">
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/no_current_call"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_above="@id/calls_list"
|
||||
android:gravity="center_vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/waiting_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/no_current_call"
|
||||
style="@style/font16"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
|
||||
<org.linphone.ui.Numpad
|
||||
android:id="@+id/numpad"
|
||||
android:background="@color/colorF"
|
||||
android:contentDescription="@string/content_description_numpad"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_above="@id/menu"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/main_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dialer"
|
||||
android:src="@drawable/footer_dialer"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/hang_up"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/chat"
|
||||
android:src="@drawable/footer_chat"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:background="@drawable/button_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/video"
|
||||
android:src="@drawable/camera_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="22dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/video_in_progress"
|
||||
style="?android:attr/progressBarStyle"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/micro"
|
||||
android:src="@drawable/micro_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/speaker"
|
||||
android:src="@drawable/speaker_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/audio_route"
|
||||
android:src="@drawable/routes_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:visibility="gone"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/options"
|
||||
android:src="@drawable/options_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_above="@id/menu"
|
||||
android:orientation="horizontal" android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/route_bluetooth"
|
||||
android:src="@drawable/route_bluetooth"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/add_call"
|
||||
android:src="@drawable/options_add_call"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu_middle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_above="@id/menu_bottom"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/route_earpiece"
|
||||
android:src="@drawable/route_earpiece"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/transfer"
|
||||
android:src="@drawable/options_transfer_call"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_above="@id/menu_middle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/route_speaker"
|
||||
android:src="@drawable/route_speaker"
|
||||
android:background="@drawable/button_background"
|
||||
android:visibility="invisible"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/conference"
|
||||
android:src="@drawable/options_start_conference"
|
||||
android:background="@drawable/button_background"
|
||||
android:visibility="invisible"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_content"
|
||||
android:background="@color/colorH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left">
|
||||
|
||||
<include layout="@layout/incall_stats" android:id="@+id/incall_stats"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
193
res/layout-land/call_incoming.xml
Normal file
193
res/layout-land/call_incoming.xml
Normal file
|
|
@ -0,0 +1,193 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/topLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorH">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<TextView
|
||||
android:text="@string/incoming_call"
|
||||
style="@style/font1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/contact_detail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_above="@+id/menu">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/avatar_mask_border"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_alignParentTop="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
style="@style/font5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingTop="5dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_number"
|
||||
style="@style/font2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_name"
|
||||
android:layout_gravity="center"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingBottom="10dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/decline"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:contentDescription="@string/content_description_decline"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/acceptUnlock"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorA"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:layout_gravity="bottom">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/arrow_accept"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/arrow_accept"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.6"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/acceptArrow"
|
||||
android:src="@drawable/arrow_accept"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.2"/>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/accept"
|
||||
android:src="@drawable/call_audio_start"
|
||||
android:background="@drawable/call"
|
||||
android:contentDescription="@string/content_description_accept"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/declineUnlock"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorD"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:layout_gravity="bottom">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/arrow_hangup"
|
||||
android:src="@drawable/arrow_hangup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.2"/>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/arrow_hangup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.6"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/arrow_hangup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
149
res/layout-land/call_outgoing.xml
Normal file
149
res/layout-land/call_outgoing.xml
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/topLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorH">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
tools:layout="@layout/status"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<TextView
|
||||
android:text="@string/outgoing_call"
|
||||
style="@style/font1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/contact_detail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@id/menu"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:paddingTop="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/avatar_mask_border"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_alignParentTop="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
style="@style/font5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingTop="5dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_number"
|
||||
style="@style/font2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_name"
|
||||
android:layout_gravity="center"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingBottom="10dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<org.linphone.mediastream.video.display.GL2JNIView
|
||||
android:id="@+id/videoSurface"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/micro"
|
||||
android:src="@drawable/micro_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:contentDescription="@string/content_description_toggle_micro"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/speaker"
|
||||
android:src="@drawable/speaker_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:contentDescription="@string/content_description_toggle_speaker"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/outgoing_hang_up"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:contentDescription="@string/content_description_hang_up"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.7"
|
||||
android:padding="12dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
114
res/layout-land/chatlist_cell.xml
Normal file
114
res/layout-land/chatlist_cell.xml
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:background="@drawable/list_selector">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/delete_chatroom"
|
||||
android:button="@drawable/checkbox"
|
||||
android:contentDescription="@string/content_description_delete"
|
||||
android:paddingRight="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/mask"
|
||||
android:src="@drawable/avatar_mask"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:singleLine="true"
|
||||
style="@style/font2"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sipUri"
|
||||
android:lines="1"
|
||||
android:ellipsize="marquee"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:scrollHorizontally="true"
|
||||
android:fadingEdge="horizontal"
|
||||
android:singleLine="true"
|
||||
style="@style/font6"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/date"
|
||||
android:layout_marginRight="30dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/unreadMessages"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:background="@drawable/chat_list_indicator"
|
||||
style="@style/font18"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:layout_above="@+id/lastMessage"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lastMessage"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:layout_below="@id/sipUri"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/font11"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
274
res/layout-land/main.xml
Normal file
274
res/layout-land/main.xml
Normal file
|
|
@ -0,0 +1,274 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
android:id="@+id/side_menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:visibility="gone"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_name"
|
||||
android:text="@string/settings"
|
||||
style="@style/font1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancel"
|
||||
android:src="@drawable/dialer_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:layout_toRightOf="@+id/footer">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal" />
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/footer"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/history"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_history"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/history_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/missed_calls"
|
||||
android:background="@drawable/history_chat_indicator"
|
||||
style="@style/font18"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_margin="12dp"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/contacts"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_contacts"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/contacts_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:visibility="gone"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/dialer"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_dialer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/dialer_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/chat"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_chat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
<View
|
||||
android:id="@+id/chat_select"
|
||||
android:background="@color/colorA"
|
||||
android:visibility="gone"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/missed_chats"
|
||||
android:background="@drawable/history_chat_indicator"
|
||||
style="@style/font18"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_margin="12dp"
|
||||
android:gravity="center"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer2"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<!-- Side Menu -->
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/side_menu_main_account"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/accounts_list"
|
||||
android:background="@color/colorB"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:choiceMode="singleChoice"
|
||||
android:cacheColorHint="@color/transparent"
|
||||
android:divider="@android:color/transparent"
|
||||
android:dividerHeight="0dp"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/item_list"
|
||||
android:background="@color/colorH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@color/colorE"
|
||||
android:listSelector="@color/colorH"
|
||||
android:dividerHeight="1dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_quit"
|
||||
android:background="@color/colorA"
|
||||
android:gravity="bottom"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/quit_button"
|
||||
android:src="@drawable/quit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/quit"
|
||||
android:text="@string/quit"
|
||||
style="@style/font14"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/quit_button"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
205
res/layout-sw533dp-land/assistant_account_creation.xml
Normal file
205
res/layout-sw533dp-land/assistant_account_creation.xml
Normal file
|
|
@ -0,0 +1,205 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_create_account"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_create_account_part_1"
|
||||
style="@style/font11"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username_label"
|
||||
android:text="@string/username"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="30dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/password_label"
|
||||
style="@style/font13"
|
||||
android:text="@string/password"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/password_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/confirm_password_label"
|
||||
android:text="@string/confirm_password"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/confirm_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/confirm_password_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="30dp"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/email_label"
|
||||
android:text="@string/email"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/email"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/email_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_create"
|
||||
android:text="@string/assistant_create_account"
|
||||
android:background="@drawable/assistant_button"
|
||||
android:textColor="@drawable/assistant_button_text_color"
|
||||
style="@style/font8"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
132
res/layout-sw533dp-land/assistant_linphone_login.xml
Normal file
132
res/layout-sw533dp-land/assistant_linphone_login.xml
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_linphone_account"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_linphone_login_desc"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:text="@string/username"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="30dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:text="@string/password"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_display_name_optional"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_display_name"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="0dp"/>
|
||||
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_apply"
|
||||
android:text="@string/assistant_login"
|
||||
android:background="@drawable/assistant_button"
|
||||
android:textColor="@drawable/assistant_button_text_color"
|
||||
style="@style/font8"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
208
res/layout-sw533dp-land/assistant_login.xml
Normal file
208
res/layout-sw533dp-land/assistant_login.xml
Normal file
|
|
@ -0,0 +1,208 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_generic_account"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_login_desc"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:text="@string/username"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="30dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:text="@string/password"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_display_name_optional"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_display_name"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="30dp"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:text="@string/domain"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_domain"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
</LinearLayout>
|
||||
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:text="@string/transport"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/assistant_transports"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/transport_udp"
|
||||
android:text="@string/pref_transport_udp"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/transport_tcp"
|
||||
android:text="@string/pref_transport_tcp"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/transport_tls"
|
||||
android:text="@string/pref_transport_tls"
|
||||
android:layout_margin="5dp"
|
||||
android:checked="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</RadioGroup>
|
||||
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_apply"
|
||||
android:text="@string/assistant_login"
|
||||
android:background="@drawable/assistant_button"
|
||||
android:textColor="@drawable/assistant_button_text_color"
|
||||
style="@style/font8"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
91
res/layout-sw533dp-land/assistant_welcome.xml
Normal file
91
res/layout-sw533dp-land/assistant_welcome.xml
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/welcome"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_welcome_desc"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/create_account"
|
||||
android:text="@string/assistant_create_account"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_create_account"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="40dp"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/login_linphone"
|
||||
android:text="@string/assistant_login_linphone"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_login_linphone"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="30dp"/>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/login_generic"
|
||||
android:text="@string/assistant_login_generic"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_login_generic"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="40dp"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/remote_provisioning"
|
||||
android:text="@string/assistant_remote_provisioning"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_remote_provisioning"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="30dp"/>
|
||||
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
463
res/layout-sw533dp-land/call.xml
Normal file
463
res/layout-sw533dp-land/call.xml
Normal file
|
|
@ -0,0 +1,463 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/topLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
android:id="@+id/side_menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/menu">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/conference_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:layout_alignParentTop="true"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/active_call"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/active_call_info"
|
||||
android:background="@color/colorH"
|
||||
android:alpha="0.8"
|
||||
android:paddingBottom="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/current_contact_name"
|
||||
style="@style/font5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"/>
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/current_call_timer"
|
||||
style="@style/font2"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"/>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/active_call_info"
|
||||
android:layout_margin="5dp"
|
||||
android:paddingTop="10dp"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/mask"
|
||||
android:src="@drawable/avatar_mask_border"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/remote_pause"
|
||||
android:background="@color/colorC"
|
||||
android:alpha="0.9"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/waiting_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/call_paused_by_remote"
|
||||
style="@style/font16"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pause"
|
||||
android:src="@drawable/pause_big_default"
|
||||
android:contentDescription="@string/content_description_pause"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:padding="10dp"
|
||||
android:layout_below="@+id/active_call_info"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/switchCamera"
|
||||
android:src="@drawable/switch_camera"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:padding="10dp"
|
||||
android:contentDescription="@string/content_description_switch_camera"
|
||||
android:visibility="invisible"
|
||||
android:layout_below="@+id/active_call_info"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/calls_list"
|
||||
android:background="@color/colorH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="0.5"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="vertical">
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/no_current_call"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_above="@id/calls_list"
|
||||
android:gravity="center_vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/waiting_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/no_current_call"
|
||||
style="@style/font16"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
|
||||
<org.linphone.ui.Numpad
|
||||
android:id="@+id/numpad"
|
||||
android:background="@color/colorF"
|
||||
android:contentDescription="@string/content_description_numpad"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_above="@id/menu"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/main_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dialer"
|
||||
android:src="@drawable/footer_dialer"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="20dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/hang_up"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/chat"
|
||||
android:src="@drawable/footer_chat"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="18dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:background="@drawable/button_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/video"
|
||||
android:src="@drawable/camera_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="22dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/video_in_progress"
|
||||
style="?android:attr/progressBarStyle"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/micro"
|
||||
android:src="@drawable/micro_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/speaker"
|
||||
android:src="@drawable/speaker_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="18dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/audio_route"
|
||||
android:src="@drawable/routes_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:visibility="gone"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/options"
|
||||
android:src="@drawable/options_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="18dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_above="@id/menu"
|
||||
android:orientation="horizontal" android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/route_bluetooth"
|
||||
android:src="@drawable/route_bluetooth"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/add_call"
|
||||
android:src="@drawable/options_add_call"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu_middle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_above="@id/menu_bottom"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/route_earpiece"
|
||||
android:src="@drawable/route_earpiece"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/transfer"
|
||||
android:src="@drawable/options_transfer_call"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_above="@id/menu_middle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/route_speaker"
|
||||
android:src="@drawable/route_speaker"
|
||||
android:background="@drawable/button_background"
|
||||
android:visibility="invisible"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/conference"
|
||||
android:src="@drawable/options_start_conference"
|
||||
android:background="@drawable/button_background"
|
||||
android:visibility="invisible"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.4"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_content"
|
||||
android:background="@color/colorH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left">
|
||||
|
||||
<include layout="@layout/incall_stats" android:id="@+id/incall_stats"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
193
res/layout-sw533dp-land/call_incoming.xml
Normal file
193
res/layout-sw533dp-land/call_incoming.xml
Normal file
|
|
@ -0,0 +1,193 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/topLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorH">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<TextView
|
||||
android:text="@string/incoming_call"
|
||||
style="@style/font1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/contact_detail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_above="@+id/menu">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/avatar_mask_border"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_alignParentTop="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
style="@style/font5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingTop="5dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_number"
|
||||
style="@style/font2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_name"
|
||||
android:layout_gravity="center"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingBottom="10dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/decline"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:contentDescription="@string/content_description_decline"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/acceptUnlock"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorA"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:layout_gravity="bottom">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/arrow_accept"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/arrow_accept"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.6"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/acceptArrow"
|
||||
android:src="@drawable/arrow_accept"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.2"/>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/accept"
|
||||
android:src="@drawable/call_audio_start"
|
||||
android:background="@drawable/call"
|
||||
android:contentDescription="@string/content_description_accept"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/declineUnlock"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorD"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:layout_gravity="bottom">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/arrow_hangup"
|
||||
android:src="@drawable/arrow_hangup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.2"/>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/arrow_hangup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.6"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/arrow_hangup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
149
res/layout-sw533dp-land/call_outgoing.xml
Normal file
149
res/layout-sw533dp-land/call_outgoing.xml
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/topLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorH">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
tools:layout="@layout/status"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<TextView
|
||||
android:text="@string/outgoing_call"
|
||||
style="@style/font1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/contact_detail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@id/menu"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:paddingTop="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/avatar_mask_border"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_alignParentTop="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
style="@style/font5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingTop="5dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_number"
|
||||
style="@style/font2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/contact_name"
|
||||
android:layout_gravity="center"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingBottom="10dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<org.linphone.mediastream.video.display.GL2JNIView
|
||||
android:id="@+id/videoSurface"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/micro"
|
||||
android:src="@drawable/micro_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:contentDescription="@string/content_description_toggle_micro"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/speaker"
|
||||
android:src="@drawable/speaker_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:contentDescription="@string/content_description_toggle_speaker"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="20dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/outgoing_hang_up"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:contentDescription="@string/content_description_hang_up"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.7"
|
||||
android:padding="15dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
114
res/layout-sw533dp-land/chatlist_cell.xml
Normal file
114
res/layout-sw533dp-land/chatlist_cell.xml
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:background="@drawable/list_selector">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/delete_chatroom"
|
||||
android:button="@drawable/checkbox"
|
||||
android:contentDescription="@string/content_description_delete"
|
||||
android:paddingRight="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/mask"
|
||||
android:src="@drawable/avatar_mask"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:singleLine="true"
|
||||
style="@style/font2"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sipUri"
|
||||
android:lines="1"
|
||||
android:ellipsize="marquee"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:scrollHorizontally="true"
|
||||
android:fadingEdge="horizontal"
|
||||
android:singleLine="true"
|
||||
style="@style/font6"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/date"
|
||||
android:layout_marginRight="30dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/unreadMessages"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:background="@drawable/chat_list_indicator"
|
||||
style="@style/font18"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:layout_above="@+id/lastMessage"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lastMessage"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:layout_below="@id/sipUri"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/font11"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
101
res/layout-sw533dp-land/dialer.xml
Normal file
101
res/layout-sw533dp-land/dialer.xml
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:background="@color/colorD"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/dialer_background"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="300dp"
|
||||
android:layout_centerVertical="true"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/dialer"
|
||||
android:background="@color/colorH"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="460dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/address_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<org.linphone.ui.EraseButton
|
||||
android:id="@+id/erase"
|
||||
android:src="@drawable/backspace"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginLeft="10dp" />
|
||||
|
||||
<org.linphone.ui.AddressText
|
||||
android:id="@+id/address"
|
||||
android:background="@color/colorF"
|
||||
android:textColorHint="@color/colorE"
|
||||
style="@style/font5"
|
||||
android:ellipsize="start"
|
||||
android:inputType="textEmailAddress"
|
||||
android:hint="@string/address_bar_hint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="5dp"
|
||||
android:layout_toLeftOf="@id/erase"
|
||||
android:layout_centerVertical="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<org.linphone.ui.Numpad
|
||||
android:id="@+id/numpad"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:layout_above="@id/controls"
|
||||
android:layout_below="@id/address_bar"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/controls"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:focusable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:adjustViewBounds="true">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/add_contact"
|
||||
android:src="@drawable/contact_add_button"
|
||||
android:background="@drawable/toolbar_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<org.linphone.ui.CallButton
|
||||
android:id="@+id/call"
|
||||
android:src="@drawable/call_audio_start"
|
||||
android:background="@drawable/call"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="12dp"
|
||||
android:layout_weight="0.5"/>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
287
res/layout-sw533dp-land/main.xml
Normal file
287
res/layout-sw533dp-land/main.xml
Normal file
|
|
@ -0,0 +1,287 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
android:id="@+id/side_menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:visibility="gone"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_name"
|
||||
android:text="@string/settings"
|
||||
style="@style/font1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancel"
|
||||
android:src="@drawable/dialer_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_below="@id/top_bar" android:layout_toRightOf="@+id/footer"
|
||||
android:layout_toEndOf="@+id/footer">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:baselineAligned="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.63"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer2"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.37"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<View
|
||||
android:background="@color/colorE"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/footer"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/history"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_history"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/history_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/missed_calls"
|
||||
android:background="@drawable/history_chat_indicator"
|
||||
style="@style/font18"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_margin="12dp"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/contacts"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_contacts"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/contacts_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:visibility="gone"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/dialer"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_dialer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/dialer_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/chat"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_chat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
<View
|
||||
android:id="@+id/chat_select"
|
||||
android:background="@color/colorA"
|
||||
android:visibility="gone"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/missed_chats"
|
||||
android:background="@drawable/history_chat_indicator"
|
||||
style="@style/font18"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_margin="12dp"
|
||||
android:gravity="center"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<!-- Side Menu -->
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_content"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/side_menu_main_account"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/accounts_list"
|
||||
android:background="@color/colorB"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:choiceMode="singleChoice"
|
||||
android:cacheColorHint="@color/transparent"
|
||||
android:divider="@android:color/transparent"
|
||||
android:dividerHeight="0dp"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/item_list"
|
||||
android:background="@color/colorH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@color/colorE"
|
||||
android:listSelector="@color/colorH"
|
||||
android:dividerHeight="1dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_quit"
|
||||
android:background="@color/colorA"
|
||||
android:gravity="bottom"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/quit_button"
|
||||
android:src="@drawable/quit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/quit"
|
||||
android:text="@string/quit"
|
||||
style="@style/font14"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/quit_button"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
100
res/layout-sw533dp/dialer.xml
Normal file
100
res/layout-sw533dp/dialer.xml
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:background="@color/colorD"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/dialer_background"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:background="@color/colorH"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="460dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/address_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<org.linphone.ui.EraseButton
|
||||
android:id="@+id/erase"
|
||||
android:src="@drawable/backspace"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginLeft="10dp" />
|
||||
|
||||
<org.linphone.ui.AddressText
|
||||
android:id="@+id/address"
|
||||
android:background="@color/colorF"
|
||||
android:textColorHint="@color/colorE"
|
||||
style="@style/font5"
|
||||
android:ellipsize="start"
|
||||
android:inputType="textEmailAddress"
|
||||
android:hint="@string/address_bar_hint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="5dp"
|
||||
android:layout_toLeftOf="@id/erase"
|
||||
android:layout_centerVertical="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<org.linphone.ui.Numpad
|
||||
android:id="@+id/numpad"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:layout_above="@id/controls"
|
||||
android:layout_below="@id/address_bar"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/controls"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:focusable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:adjustViewBounds="true">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/add_contact"
|
||||
android:src="@drawable/contact_add_button"
|
||||
android:background="@drawable/toolbar_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<org.linphone.ui.CallButton
|
||||
android:id="@+id/call"
|
||||
android:src="@drawable/call_audio_start"
|
||||
android:background="@drawable/call"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="12dp"
|
||||
android:layout_weight="0.5"/>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
288
res/layout-sw533dp/main.xml
Normal file
288
res/layout-sw533dp/main.xml
Normal file
|
|
@ -0,0 +1,288 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
android:id="@+id/side_menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:visibility="gone"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_name"
|
||||
android:text="@string/settings"
|
||||
style="@style/font1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center_vertical"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancel"
|
||||
android:src="@drawable/dialer_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:layout_above="@id/footer">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:baselineAligned="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer2"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<View
|
||||
android:background="@color/colorE"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/footer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/history"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_history"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/history_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/missed_calls"
|
||||
android:background="@drawable/history_chat_indicator"
|
||||
style="@style/font18"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_margin="15dp"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/contacts"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_contacts"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/contacts_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:visibility="gone"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/dialer"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_dialer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/dialer_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/chat"
|
||||
android:background="@drawable/footer_button"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/footer_chat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
<View
|
||||
android:id="@+id/chat_select"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/missed_chats"
|
||||
android:background="@drawable/history_chat_indicator"
|
||||
style="@style/font18"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_margin="15dp"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<!-- Side Menu -->
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_content"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/side_menu_main_account"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/accounts_list"
|
||||
android:background="@color/colorB"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:choiceMode="singleChoice"
|
||||
android:cacheColorHint="@color/transparent"
|
||||
android:divider="@android:color/transparent"
|
||||
android:dividerHeight="0dp"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/item_list"
|
||||
android:background="@color/colorH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@color/colorE"
|
||||
android:listSelector="@color/colorH"
|
||||
android:dividerHeight="1dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_quit"
|
||||
android:background="@color/colorA"
|
||||
android:gravity="bottom"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/quit_button"
|
||||
android:src="@drawable/quit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/quit"
|
||||
android:text="@string/quit"
|
||||
style="@style/font14"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/quit_button"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
@ -1,88 +1,141 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:background="@color/colorG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
<LinearLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:visibility="visible"
|
||||
android:layout_alignParentTop="true">
|
||||
android:layout_height="60dp">
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_name"
|
||||
android:text="@string/about"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center_vertical"/>
|
||||
android:layout_weight="0.4"
|
||||
android:gravity="center"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancel"
|
||||
android:src="@drawable/footer_dialer"
|
||||
android:contentDescription="@string/content_description_dialer"
|
||||
android:layout_width="70dp"
|
||||
android:contentDescription="@string/content_description_edit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="15dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_below="@id/top_bar"
|
||||
android:background="@color/colorG"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
android:layout_height="0dp"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/linphone_logo"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_gravity="center"
|
||||
android:paddingTop="20dp" />
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="80dp"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/app_name"
|
||||
style="@style/font22"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/app_description"
|
||||
style="@style/font2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_android_version"
|
||||
android:text="@string/about_version"
|
||||
style="@style/font12"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_liblinphone_version"
|
||||
android:text="@string/about_liblinphone_version"
|
||||
style="@style/font12"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:background="@color/colorH"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_link"
|
||||
android:text="@string/about_link"
|
||||
android:autoLink="web"
|
||||
style="@style/font2"
|
||||
android:textColorLink="@color/colorA"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_text"
|
||||
android:text="@string/about_text"
|
||||
style="@style/font9"
|
||||
style="@style/font23"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_link"
|
||||
android:text="@string/about_link"
|
||||
android:autoLink="web"
|
||||
style="@style/font9"
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<View
|
||||
android:background="@color/colorE"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<Button
|
||||
android:id="@+id/send_log"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="10dp"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -91,20 +144,14 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/reset_log"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="10dp"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/menu_reset_log"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/logo_orange"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_margin="30dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true" android:layout_gravity="right"/>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -10,16 +10,15 @@
|
|||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
tools:layout="@layout/status" />
|
||||
android:layout_height="40dp"
|
||||
tools:layout="@layout/status"/>
|
||||
|
||||
<include layout="@layout/assistant_topbar" android:id="@+id/topbar" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer"
|
||||
android:id="@+id/fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="20dp"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,185 +1,187 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_create_account_title"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"/>
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_create_account_part_1"
|
||||
style="@style/font11"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username_label"
|
||||
android:text="@string/username"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username_error"
|
||||
android:text="@string/error"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/password_label"
|
||||
style="@style/font13"
|
||||
android:text="@string/password"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/password_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/confirm_password_label"
|
||||
android:text="@string/confirm_password"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/confirm_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/confirm_password_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/email_label"
|
||||
android:text="@string/email"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/email"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/email_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_create"
|
||||
android:text="@string/assistant_create"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/content_description_validate"
|
||||
<TextView
|
||||
android:text="@string/assistant_create_account"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_centerVertical="true"/>
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_create_account_part_1"
|
||||
style="@style/font11"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username_label"
|
||||
android:text="@string/username"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/password_label"
|
||||
style="@style/font13"
|
||||
android:text="@string/password"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/password_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/confirm_password_label"
|
||||
android:text="@string/confirm_password"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/confirm_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/confirm_password_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/email_label"
|
||||
android:text="@string/email"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/email"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/email_error"
|
||||
android:text="@string/error"
|
||||
style="@style/font20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_create"
|
||||
android:text="@string/assistant_create_account"
|
||||
android:background="@drawable/assistant_button"
|
||||
android:textColor="@drawable/assistant_button_text_color"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/content_description_valid"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
@ -2,39 +2,43 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:padding="30dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_create_account"
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"/>
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_create_account_part_2"
|
||||
style="@style/font11"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_validate_account"
|
||||
style="@style/font11"
|
||||
android:paddingTop="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_check"
|
||||
android:text="@string/assistant_create"
|
||||
android:text="@string/assistant_create_account"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/content_description_validate"
|
||||
android:contentDescription="@string/content_description_valid"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:layout_margin="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"/>
|
||||
android:paddingRight="10dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -2,25 +2,23 @@
|
|||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_ec_calibration"
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"/>
|
||||
android:gravity="center"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
|
||||
<ImageView
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@drawable/linphone_logo_orange"/>
|
||||
<ImageView
|
||||
android:src="@drawable/linphone_logo_orange"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<ProgressBar
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
|||
|
|
@ -1,101 +1,101 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_linphone_account_title"
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:gravity="center">
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/username"
|
||||
style="@style/font9"
|
||||
android:text="@string/assistant_linphone_account"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/password"
|
||||
style="@style/font9"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_display_name"
|
||||
style="@style/font9"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_display_name"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_apply"
|
||||
android:text="@string/assistant_login"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/content_description_validate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_linphone_login_desc"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/username"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/password"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_display_name_optional"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_display_name"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_apply"
|
||||
android:text="@string/assistant_login"
|
||||
android:background="@drawable/assistant_button"
|
||||
android:textColor="@drawable/assistant_button_text_color"
|
||||
style="@style/font8"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
|
|||
|
|
@ -1,123 +1,156 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_general_account_title"
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/username"
|
||||
style="@style/font13"
|
||||
android:text="@string/assistant_generic_account"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/password"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:text="@string/domain"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_domain"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_display_name"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_display_name"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_apply"
|
||||
android:text="@string/assistant_login"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/content_description_validate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_login_desc"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/username"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_username"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="text|textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/password"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_password"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/domain"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_domain"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_display_name_optional"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/assistant_display_name"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/transport"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/assistant_transports"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/transport_udp"
|
||||
android:text="@string/pref_transport_udp"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/transport_tcp"
|
||||
android:text="@string/pref_transport_tcp"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/transport_tls"
|
||||
android:text="@string/pref_transport_tls"
|
||||
android:layout_margin="5dp"
|
||||
android:checked="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</RadioGroup>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_apply"
|
||||
android:text="@string/assistant_login"
|
||||
android:background="@drawable/assistant_button"
|
||||
android:textColor="@drawable/assistant_button_text_color"
|
||||
style="@style/font8"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
@ -2,32 +2,38 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_remote_provisioning_title"
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"/>
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_remote_provisioning_desc"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/remote_provisioning_url"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
|
|
@ -35,27 +41,22 @@
|
|||
android:id="@+id/assistant_remote_provisioning_url"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:textColor="@color/colorB"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textEmailAddress"
|
||||
android:inputType="textUri"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/assistant_apply"
|
||||
android:text="@string/assistant_apply"
|
||||
android:text="@string/assistant_fetch_apply"
|
||||
android:background="@drawable/assistant_button"
|
||||
android:textColor="@drawable/assistant_button_text_color"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/content_description_validate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
</LinearLayout>
|
||||
android:layout_marginTop="20dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
@ -31,7 +31,6 @@
|
|||
<TextView
|
||||
android:text="@string/assistant_welcome"
|
||||
style="@style/font13"
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
|
|
@ -103,11 +102,10 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/assistant_connect"
|
||||
android:text="@string/assistant_connect"
|
||||
android:text="@string/connect"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font5"
|
||||
android:textAllCaps="false"
|
||||
android:contentDescription="@string/content_description_validate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
|
|
@ -126,4 +124,4 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
|||
|
|
@ -1,36 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/topbar"
|
||||
android:background="@color/colorG"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp">
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back"
|
||||
android:src="@drawable/back"
|
||||
android:contentDescription="@string/content_description_back"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="20dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerInParent="true"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="18dp"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_title"
|
||||
android:text="@string/assistant"
|
||||
style="@style/font1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center_vertical"/>
|
||||
android:layout_weight="0.6"
|
||||
android:gravity="center"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancel"
|
||||
android:id="@+id/assistant_cancel"
|
||||
android:src="@drawable/dialer_back"
|
||||
android:contentDescription="@string/content_description_dialer"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="20dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,71 +1,80 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:text="@string/assistant_welcome"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="wrap_content"
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_margin="20dp"
|
||||
android:layout_gravity="center">
|
||||
android:padding="30dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<Button
|
||||
android:id="@+id/create_account"
|
||||
android:text="@string/assistant_create_account"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_create_account"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
<TextView
|
||||
android:text="@string/welcome"
|
||||
style="@style/font6"
|
||||
android:textAllCaps="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"/>
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/login_linphone"
|
||||
android:text="@string/assistant_login_linphone"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_login_linphone"
|
||||
android:layout_width="match_parent"
|
||||
<TextView
|
||||
android:text="@string/assistant_welcome_desc"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
android:paddingTop="10dp"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/login_generic"
|
||||
android:text="@string/assistant_login_generic"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_login_generic"
|
||||
android:layout_width="match_parent"
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<Button
|
||||
android:id="@+id/remote_provisioning"
|
||||
android:text="@string/assistant_remote_provisioning"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_remote_provisioning"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_centerInParent="true"/>
|
||||
<Button
|
||||
android:id="@+id/create_account"
|
||||
android:text="@string/assistant_create_account"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_create_account"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"/>
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/login_linphone"
|
||||
android:text="@string/assistant_login_linphone"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_login_linphone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="30dp"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/login_generic"
|
||||
android:text="@string/assistant_login_generic"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_login_generic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="30dp"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/remote_provisioning"
|
||||
android:text="@string/assistant_remote_provisioning"
|
||||
android:background="@drawable/assistant_button"
|
||||
style="@style/font8"
|
||||
android:contentDescription="@string/assistant_remote_provisioning"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="30dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
@ -5,238 +5,256 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
android:id="@+id/side_menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/status">
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
android:id="@+id/side_menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/status">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal" />
|
||||
<LinearLayout
|
||||
android:id="@+id/fragmentContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal"/>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/menu">
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/menu">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="40dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/conference_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:layout_alignParentTop="true"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/conference_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:layout_alignParentTop="true"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/calls_list"
|
||||
android:background="@color/colorG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="bottom"
|
||||
android:divider="@color/colorF"
|
||||
android:dividerHeight="1dp"
|
||||
android:orientation="vertical">
|
||||
</LinearLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/active_call"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/active_call"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/calls_list"
|
||||
android:visibility="visible">
|
||||
<LinearLayout
|
||||
android:id="@+id/active_call_info"
|
||||
android:background="@color/colorG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/active_call_info"
|
||||
android:background="@color/colorG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/current_contact_name"
|
||||
style="@style/font13"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/current_contact_name"
|
||||
style="@style/font13"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/current_call_timer"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/current_contact_name"
|
||||
android:layout_gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar_big"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"
|
||||
android:paddingBottom="20dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/remote_pause"
|
||||
android:background="@color/colorA"
|
||||
android:alpha="0.9"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
<Chronometer
|
||||
android:id="@+id/current_call_timer"
|
||||
style="@style/font11"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/current_contact_name"
|
||||
android:layout_gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/waiting_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar_big"
|
||||
android:contentDescription="@string/content_description_contact_picture"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"
|
||||
android:paddingBottom="20dp"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/call_paused_by_remote"
|
||||
style="@style/font4"
|
||||
<LinearLayout
|
||||
android:id="@+id/remote_pause"
|
||||
android:background="@color/colorA"
|
||||
android:alpha="0.9"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:src="@drawable/waiting_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pause"
|
||||
android:src="@drawable/pause_big_default"
|
||||
android:contentDescription="@string/content_description_pause"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:padding="15dp"
|
||||
android:layout_below="@+id/active_call_info"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
<TextView
|
||||
android:text="@string/call_paused_by_remote"
|
||||
style="@style/font4"
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/switchCamera"
|
||||
android:src="@drawable/switch_camera"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:padding="15dp"
|
||||
android:contentDescription="@string/content_description_switch_camera"
|
||||
android:visibility="invisible"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_below="@+id/active_call_info"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/no_current_call"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_above="@id/calls_list"
|
||||
android:gravity="center_vertical"
|
||||
android:visibility="gone">
|
||||
<ImageView
|
||||
android:id="@+id/pause"
|
||||
android:src="@drawable/pause_big_default"
|
||||
android:contentDescription="@string/content_description_pause"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:padding="15dp"
|
||||
android:layout_below="@+id/active_call_info"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"/>
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/waiting_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
<ImageView
|
||||
android:id="@+id/switchCamera"
|
||||
android:src="@drawable/switch_camera"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:padding="15dp"
|
||||
android:contentDescription="@string/content_description_switch_camera"
|
||||
android:visibility="invisible"
|
||||
android:layout_below="@+id/active_call_info"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"/>
|
||||
|
||||
<TextView
|
||||
android:text="@string/no_current_call"
|
||||
style="@style/font4"
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_gravity="center"/>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</FrameLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/calls_list"
|
||||
android:background="@color/colorG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="bottom"
|
||||
android:divider="@color/colorF"
|
||||
android:dividerHeight="1dp"
|
||||
android:orientation="vertical">
|
||||
</LinearLayout>
|
||||
|
||||
<org.linphone.ui.Numpad
|
||||
android:id="@+id/numpad"
|
||||
android:background="@color/colorC"
|
||||
android:contentDescription="@string/content_description_numpad"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_above="@id/menu"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/no_current_call"
|
||||
android:background="@color/colorA"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_above="@id/calls_list"
|
||||
android:gravity="center_vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:src="@drawable/waiting_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<LinearLayout
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="@string/no_current_call"
|
||||
style="@style/font4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:background="@drawable/button_background"
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/main_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dialer"
|
||||
android:src="@drawable/dialer"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.8"
|
||||
android:padding="15dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/hang_up"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.4"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/chat"
|
||||
android:src="@drawable/chat"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.8"
|
||||
android:padding="15dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/main_bar"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
android:layout_height="60dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/video"
|
||||
android:src="@drawable/camera_default"
|
||||
<RelativeLayout
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="25dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/video_in_progress"
|
||||
style="?android:attr/progressBarStyle"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<ImageView
|
||||
android:id="@+id/video"
|
||||
android:src="@drawable/camera_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</RelativeLayout>
|
||||
<ProgressBar
|
||||
android:id="@+id/video_in_progress"
|
||||
style="?android:attr/progressBarStyle"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/micro"
|
||||
android:src="@drawable/micro_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="15dp"
|
||||
android:padding="12dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
|
@ -245,7 +263,7 @@
|
|||
android:id="@+id/speaker"
|
||||
android:src="@drawable/speaker_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:padding="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
|
|
@ -264,55 +282,18 @@
|
|||
android:id="@+id/options"
|
||||
android:src="@drawable/options_default"
|
||||
android:background="@drawable/button_background"
|
||||
android:padding="20dp"
|
||||
android:padding="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/main_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dialer"
|
||||
android:src="@drawable/dialer"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="20dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/hang_up"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/chat"
|
||||
android:src="@drawable/chat"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="20dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
<LinearLayout
|
||||
android:id="@+id/menu_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_above="@id/menu"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
|
|
@ -332,7 +313,7 @@
|
|||
android:id="@+id/route_bluetooth"
|
||||
android:src="@drawable/route_bluetooth"
|
||||
android:background="@drawable/button_call_background"
|
||||
android:padding="20dp"
|
||||
android:padding="15dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -340,9 +321,9 @@
|
|||
|
||||
<ImageView
|
||||
android:id="@+id/add_call"
|
||||
android:src="@drawable/add_call_button"
|
||||
android:src="@drawable/options_add_call"
|
||||
android:background="@drawable/button_call_background"
|
||||
android:padding="20dp"
|
||||
android:padding="15dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -353,7 +334,7 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/menu_middle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_above="@id/menu_bottom"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
|
|
@ -373,7 +354,7 @@
|
|||
android:id="@+id/route_earpiece"
|
||||
android:src="@drawable/route_earpiece"
|
||||
android:background="@drawable/button_call_background"
|
||||
android:padding="20dp"
|
||||
android:padding="15dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -381,9 +362,9 @@
|
|||
|
||||
<ImageView
|
||||
android:id="@+id/transfer"
|
||||
android:src="@drawable/transfer_button"
|
||||
android:src="@drawable/options_transfer_call"
|
||||
android:background="@drawable/button_call_background"
|
||||
android:padding="20dp"
|
||||
android:padding="15dp"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -391,52 +372,64 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_above="@id/menu_middle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_above="@id/menu_middle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:orientation="horizontal" >
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="0.5"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="0.5"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="0.5"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="0.5"/>
|
||||
<ImageView
|
||||
android:id="@+id/route_speaker"
|
||||
android:src="@drawable/route_speaker"
|
||||
android:background="@drawable/button_call_background"
|
||||
android:visibility="invisible"
|
||||
android:padding="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/route_speaker"
|
||||
android:src="@drawable/route_speaker"
|
||||
android:background="@drawable/button_call_background"
|
||||
android:visibility="invisible"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"/>
|
||||
<ImageView
|
||||
android:id="@+id/conference"
|
||||
android:src="@drawable/options_start_conference"
|
||||
android:background="@drawable/button_call_background"
|
||||
android:visibility="invisible"
|
||||
android:padding="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/conference"
|
||||
android:src="@drawable/conference_button"
|
||||
android:background="@drawable/button_call_background"
|
||||
android:visibility="invisible"
|
||||
android:padding="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
<org.linphone.ui.Numpad
|
||||
android:id="@+id/numpad"
|
||||
android:background="@color/colorC"
|
||||
android:contentDescription="@string/content_description_numpad"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_above="@id/menu"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/side_menu_content"
|
||||
android:background="@color/colorH"
|
||||
android:background="@color/colorD"
|
||||
android:layout_marginTop="40dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left">
|
||||
|
|
@ -447,4 +440,11 @@
|
|||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
<fragment
|
||||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp"/>
|
||||
android:padding="12dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/acceptUnlock"
|
||||
|
|
@ -139,7 +139,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp"/>
|
||||
android:padding="12dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/declineUnlock"
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:orientation="horizontal" >
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="15dp"/>
|
||||
android:padding="12dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/speaker"
|
||||
|
|
@ -116,17 +116,17 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:padding="20dp"/>
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/hang_up"
|
||||
android:id="@+id/outgoing_hang_up"
|
||||
android:src="@drawable/call_hangup"
|
||||
android:background="@drawable/hangup"
|
||||
android:contentDescription="@string/content_description_hang_up"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.7"
|
||||
android:padding="15dp"/>
|
||||
android:padding="12dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,67 +4,58 @@
|
|||
android:layout_height="match_parent"
|
||||
android:background="@color/colorG" >
|
||||
|
||||
<RelativeLayout
|
||||
<LinearLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp">
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back"
|
||||
android:src="@drawable/back_button"
|
||||
android:contentDescription="@string/content_description_back"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/edit"
|
||||
android:src="@drawable/edit_list_button"
|
||||
android:contentDescription="@string/content_description_edit"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/start_call"
|
||||
android:src="@drawable/call_alt_start"
|
||||
android:contentDescription="@string/content_description_call"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="12dp"
|
||||
android:layout_toLeftOf="@+id/edit"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back_to_call"
|
||||
android:src="@drawable/call_back_button"
|
||||
android:contentDescription="@string/content_description_call"
|
||||
android:layout_toLeftOf="@id/edit"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
style="@style/font2"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_toLeftOf="@id/start_call"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center" android:layout_toRightOf="@+id/back"
|
||||
android:layout_toEndOf="@+id/back"/>
|
||||
android:layout_weight="0.4"
|
||||
android:layout_gravity="center"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
<ImageView
|
||||
android:id="@+id/start_call"
|
||||
android:src="@drawable/call_alt_start_button"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
<ImageView
|
||||
android:id="@+id/back_to_call"
|
||||
android:src="@drawable/call_back_button"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"
|
||||
android:visibility="gone"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/edit"
|
||||
android:src="@drawable/edit_list_button"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/edit_list"/>
|
||||
|
||||
|
|
@ -146,18 +137,29 @@
|
|||
android:layout_margin="10dp"
|
||||
android:layout_below="@+id/top_bar"/>
|
||||
|
||||
<AutoCompleteTextView
|
||||
<EditText
|
||||
android:id="@+id/search_contact_field"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:hint="@string/search"
|
||||
android:inputType="textPersonName"
|
||||
android:completionThreshold="1"
|
||||
android:contentDescription="@string/content_description_search"
|
||||
android:textCursorDrawable="@null"
|
||||
android:visibility="gone"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingLeft="10dp"/>
|
||||
android:visibility="gone"
|
||||
android:textColor="@android:color/black"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_below="@id/top_bar"
|
||||
android:inputType="textPersonName"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/result_contacts"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:divider="@color/colorE"
|
||||
android:visibility="gone"
|
||||
android:layout_below="@id/search_contact_field"
|
||||
android:fastScrollAlwaysVisible="true"
|
||||
android:fastScrollEnabled="true"
|
||||
android:dividerHeight="1dp"
|
||||
android:layout_above="@+id/footer"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
@ -66,7 +66,6 @@
|
|||
android:background="@drawable/resizable_confirm_delete_button"
|
||||
style="@style/font7"
|
||||
android:textAllCaps="true"
|
||||
android:contentDescription="@string/content_description_validate"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@
|
|||
android:background="@drawable/resizable_confirm_delete_button"
|
||||
style="@style/font7"
|
||||
android:textAllCaps="true"
|
||||
android:contentDescription="@string/content_description_validate"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
|||
|
|
@ -5,47 +5,54 @@
|
|||
android:background="@color/colorG"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<RelativeLayout
|
||||
<LinearLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="top">
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/new_discussion"
|
||||
android:src="@drawable/chat_add_button"
|
||||
android:contentDescription="@string/content_description_new_discussion"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:padding="12dp"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back_in_call"
|
||||
android:src="@drawable/call_back_button"
|
||||
android:layout_width="70dp"
|
||||
android:contentDescription="@string/content_description_call"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="12dp"
|
||||
android:visibility="gone"
|
||||
android:layout_toRightOf="@+id/new_discussion"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.4"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/edit"
|
||||
android:src="@drawable/edit_list_button"
|
||||
android:contentDescription="@string/content_description_edit"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:padding="12dp"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/edit_list"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/chatList"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
android:paddingTop="5dp">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/delete"
|
||||
android:id="@+id/delete_chatroom"
|
||||
android:button="@drawable/checkbox"
|
||||
android:contentDescription="@string/content_description_delete"
|
||||
android:paddingRight="5dp"
|
||||
|
|
@ -19,23 +19,10 @@
|
|||
android:layout_centerVertical="true"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/draft"
|
||||
android:visibility="gone"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/colorB"
|
||||
android:text="@string/draft"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@id/delete"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
|
|
@ -90,8 +77,8 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/unreadMessages"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:background="@drawable/chat_list_indicator"
|
||||
style="@style/font7"
|
||||
android:gravity="center"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
<ImageView
|
||||
android:contentDescription="@string/content_description_pause"
|
||||
android:id="@+id/conferenceStatus"
|
||||
android:id="@+id/conference_pause"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
android:paddingRight="10dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/call_pause"
|
||||
android:id="@+id/conference_pause"
|
||||
android:src="@drawable/pause_big_default"
|
||||
android:contentDescription="@string/content_description_pause"
|
||||
android:layout_width="40dp"
|
||||
|
|
|
|||
|
|
@ -5,26 +5,32 @@
|
|||
android:background="@color/colorG"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<RelativeLayout
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="bottom">
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back"
|
||||
android:src="@drawable/back_button"
|
||||
android:contentDescription="@string/content_description_back"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:padding="15dp"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="18dp"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
</RelativeLayout>
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.8"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -5,43 +5,45 @@
|
|||
android:background="@color/colorH"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@color/colorF">
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back"
|
||||
android:src="@drawable/back"
|
||||
android:contentDescription="@string/content_description_back"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.4"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/delete_contact"
|
||||
android:src="@drawable/delete"
|
||||
android:contentDescription="@string/content_description_delete"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ok"
|
||||
android:contentDescription="@string/content_description_valid"
|
||||
android:layout_alignParentRight="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/valid"
|
||||
android:gravity="center"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/deleteContact"
|
||||
android:contentDescription="@string/content_description_delete"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/delete"
|
||||
android:gravity="center"
|
||||
android:layout_width="70dp"
|
||||
android:contentDescription="@string/content_description_edit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_toLeftOf="@+id/ok"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="18dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/controlsScrollView"
|
||||
|
|
@ -83,10 +85,10 @@
|
|||
<EditText
|
||||
android:id="@+id/contactLastName"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
style="@style/font9"
|
||||
style="@style/font6"
|
||||
android:textCursorDrawable="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:gravity="left"
|
||||
android:paddingRight="5dp"
|
||||
android:inputType="textPersonName|textCapWords"/>
|
||||
|
|
@ -103,9 +105,9 @@
|
|||
android:id="@+id/contactFirstName"
|
||||
android:textCursorDrawable="@null"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
style="@style/font9"
|
||||
style="@style/font6"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:gravity="left"
|
||||
android:paddingRight="5dp"
|
||||
android:inputType="textPersonName|textCapWords"/>
|
||||
|
|
@ -120,15 +122,16 @@
|
|||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:text="@string/sip_address"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"/>
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/add_address_field"
|
||||
|
|
@ -158,15 +161,16 @@
|
|||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:text="@string/phone_number"
|
||||
style="@style/font13"
|
||||
android:textAllCaps="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"/>
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/add_number_field"
|
||||
|
|
|
|||
|
|
@ -1,29 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="5dp">
|
||||
|
||||
<EditText
|
||||
android:textCursorDrawable="@null"
|
||||
android:id="@+id/numoraddr"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/black"
|
||||
android:background="@drawable/resizable_textfield"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
style="@style/font6"
|
||||
android:textCursorDrawable="@null"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_weight="0.09"/>
|
||||
android:layout_toLeftOf="@+id/delete"
|
||||
android:layout_toStartOf="@+id/delete"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/delete"
|
||||
android:contentDescription="@string/content_description_add"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:layout_weight="0.91"
|
||||
android:layout_gravity="center"
|
||||
android:paddingLeft="5dp"/>
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
android:inputType="textPersonName"/>
|
||||
|
||||
<ImageView
|
||||
android:contentDescription="@string/content_description_cancel"
|
||||
android:id="@+id/clearSearchField"
|
||||
android:layout_weight="0.9"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
android:id="@+id/address_bar"
|
||||
android:background="@color/colorG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
android:ellipsize="start"
|
||||
android:inputType="textEmailAddress"
|
||||
android:hint="@string/address_bar_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="5dp"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gravity="center">
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/customText"
|
||||
|
|
@ -42,8 +42,5 @@
|
|||
android:layout_margin="10dp"
|
||||
android:padding="10dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
@ -1,52 +1,48 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/edit_list"
|
||||
android:background="@color/colorG"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_height="60dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancel"
|
||||
android:src="@drawable/cancel_button"
|
||||
android:contentDescription="@string/content_description_valid"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="12dp"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/delete"
|
||||
android:src="@drawable/delete_button"
|
||||
android:contentDescription="@string/content_description_valid"
|
||||
android:layout_width="70dp"
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="12dp"
|
||||
android:layout_alignParentRight="true"/>
|
||||
android:layout_weight="0.4"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/select_all"
|
||||
android:src="@drawable/select_all_button"
|
||||
android:contentDescription="@string/content_description_valid"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:layout_toLeftOf="@id/delete"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/deselect_all"
|
||||
android:src="@drawable/deselect_all_button"
|
||||
android:contentDescription="@string/content_description_valid"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:layout_toLeftOf="@id/delete"
|
||||
android:visibility="gone"/>
|
||||
android:layout_weight="0.2"
|
||||
android:visibility="gone"
|
||||
android:padding="15dp"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
<ImageView
|
||||
android:id="@+id/delete"
|
||||
android:src="@drawable/delete_button"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
20
res/layout/empty_fragment.xml
Normal file
20
res/layout/empty_fragment.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/colorG">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -5,51 +5,53 @@
|
|||
android:background="@color/colorG"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<RelativeLayout
|
||||
<LinearLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:background="@color/colorG"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="top">
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/all_calls"
|
||||
android:src="@drawable/history_all_button"
|
||||
android:contentDescription="@string/content_description_all_calls"
|
||||
android:padding="12dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"/>
|
||||
android:padding="15dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.2"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/missed_calls"
|
||||
android:src="@drawable/history_missed_button"
|
||||
android:contentDescription="@string/content_description_missed_calls"
|
||||
android:padding="12dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:padding="15dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toRightOf="@+id/all_calls"
|
||||
android:layout_toEndOf="@+id/all_calls"/>r
|
||||
android:layout_weight="0.2"/>
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.4"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/edit"
|
||||
android:src="@drawable/edit_list_button"
|
||||
android:contentDescription="@string/content_description_edit"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:padding="12dp"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="15dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/edit_list"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/history_list"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -5,27 +5,33 @@
|
|||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<RelativeLayout
|
||||
<LinearLayout
|
||||
android:id="@+id/top_bar"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/colorG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="bottom">
|
||||
android:layout_height="60dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back"
|
||||
android:src="@drawable/back_button"
|
||||
android:contentDescription="@string/content_description_back"
|
||||
android:layout_width="70dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:padding="15dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
android:layout_weight="0.2"
|
||||
android:padding="18dp"/>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
</RelativeLayout>
|
||||
android:layout_weight="0.8"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:background="@color/colorF"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
android:gravity="left|center_vertical"
|
||||
android:id="@+id/call_stats_title"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="18sp"/>
|
||||
|
||||
</TableRow>
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
android:gravity="left|center_vertical"
|
||||
android:text="@string/call_stats_codec"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
<TextView
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:gravity="right|center_vertical"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
</TableRow>
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
android:gravity="left|center_vertical"
|
||||
android:text="@string/call_stats_upload"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
<TextView
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:gravity="right|center_vertical"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
</TableRow>
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center_vertical"
|
||||
android:text="@string/call_stats_download"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textStyle="bold"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:gravity="right|center_vertical"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
</TableRow>
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
android:gravity="left|center_vertical"
|
||||
android:text="@string/call_stats_ice"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
<TextView
|
||||
|
|
@ -119,7 +119,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:gravity="right|center_vertical"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
</TableRow>
|
||||
|
|
@ -135,7 +135,7 @@
|
|||
android:gravity="left|center_vertical"
|
||||
android:text="@string/call_stats_video_resolution"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
<TextView
|
||||
|
|
@ -144,7 +144,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:gravity="right|center_vertical"
|
||||
android:textColor="@color/colorB"
|
||||
android:textColor="@color/colorC"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
</TableRow>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
android:id="@+id/status"
|
||||
android:name="org.linphone.StatusFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_height="40dp"
|
||||
tools:layout="@layout/status" />
|
||||
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@
|
|||
android:background="@color/colorH"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<ImageView
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
android:id="@android:id/text1"
|
||||
style="@style/font2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_height="45dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"/>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
android:id="@+id/default_account"
|
||||
android:background="@color/colorF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp">
|
||||
android:layout_height="70dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/main_account_avatar"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
android:id="@+id/status"
|
||||
android:background="@color/colorC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
android:src="@drawable/menu_burger"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:padding="10dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
|
||||
|
|
@ -34,12 +34,11 @@
|
|||
<ImageView
|
||||
android:id="@+id/status_led"
|
||||
android:src="@drawable/led_disconnected"
|
||||
android:contentDescription="@string/content_description_led"
|
||||
android:paddingLeft="5dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_toRightOf="@id/side_menu_button"/>
|
||||
|
||||
<TextView
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
#
|
||||
#This file shall not contain path referencing package name, in order to be portable when app is renamed.
|
||||
#Paths to resources must be set from LinphoneManager, after creating LinphoneCore.
|
||||
|
||||
[net]
|
||||
mtu=1300
|
||||
|
||||
|
|
@ -7,9 +11,7 @@ inc_timeout=15
|
|||
register_only_when_network_is_up=1
|
||||
auto_net_state_mon=0
|
||||
auto_answer_replacing_calls=1
|
||||
media_encryption_mandatory=0
|
||||
ping_with_options=0
|
||||
root_ca=/data/data/org.linphone/files/rootca.pem
|
||||
|
||||
[rtp]
|
||||
audio_rtp_port=7076
|
||||
|
|
@ -23,10 +25,11 @@ disable_upnp=1
|
|||
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
|
||||
dtmf_player_amp=0.1
|
||||
|
||||
#remove this property for any application that is not Linphone public version itself
|
||||
ec_calibrator_cool_tones=1
|
||||
|
||||
[misc]
|
||||
max_calls=10
|
||||
log_collection_upload_server_url=https://www.linphone.org:444/lft.php
|
||||
|
|
@ -1,3 +1,7 @@
|
|||
|
||||
#
|
||||
#This file shall not contain path referencing package name, in order to be portable when app is renamed.
|
||||
#Paths to resources must be set from LinphoneManager, after creating LinphoneCore.
|
||||
[net]
|
||||
mtu=1300
|
||||
|
||||
|
|
@ -14,7 +18,6 @@ inc_timeout=15
|
|||
register_only_when_network_is_up=1
|
||||
auto_net_state_mon=0
|
||||
auto_answer_replacing_calls=1
|
||||
media_encryption_mandatory=0
|
||||
ping_with_options=0
|
||||
|
||||
[rtp]
|
||||
|
|
@ -31,7 +34,11 @@ ringer_dev_id=
|
|||
capture_dev_id=
|
||||
dtmf_player_amp=0.1
|
||||
|
||||
#remove this property for any application that is not Linphone public version itself
|
||||
ec_calibrator_cool_tones=1
|
||||
|
||||
|
||||
[misc]
|
||||
max_calls=10
|
||||
log_collection_upload_server_url=https://www.linphone.org:444/lft.php
|
||||
user_certificates_path=/data/data/org.linphone/files
|
||||
|
||||
|
|
|
|||
318
res/values-fi/strings.xml
Normal file
318
res/values-fi/strings.xml
Normal file
|
|
@ -0,0 +1,318 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<!--Custom-->
|
||||
<string name="app_name">Linphone</string>
|
||||
<string name="service_name">Linphone Palvelin</string>
|
||||
<string name="addressbook_label">Linphone</string>
|
||||
<string name="notification_title">Linphone</string>
|
||||
<string name="wait_dialog_text">Käynnistetään</string>
|
||||
<string name="notification_registered">Rekisteröity kohteeseen %s</string>
|
||||
<string name="notification_register_failure">Epäonnistui rekisteröidä kohteeseen %s</string>
|
||||
<string name="sync_account_name">linphone yhteystiedot</string>
|
||||
<string name="history_date_format">VVV, p KKK esim. Maanantai, 1 Tam</string>
|
||||
<string name="history_detail_date_format">vvvv/KK/dd - TT:mm - esim 2012/11/22 - 12:34</string>
|
||||
<string name="messages_date_format">pp/KK, TT:mm esim 22/11, 12:34</string>
|
||||
<string name="messages_list_date_format">pp/KK esim 22/11</string>
|
||||
<string name="today_date_format">TT:mm esim. 11:11</string>
|
||||
<string name="picture_name_format">linphone-mms-%s.jpg</string>
|
||||
<string name="tunnel_host"></string>
|
||||
<!--Common-->
|
||||
<string name="username">Käyttäjätunnus</string>
|
||||
<string name="display_name">Näytä nimi</string>
|
||||
<string name="password">Salasana</string>
|
||||
<string name="confirm_password">Salasanan vahvistus</string>
|
||||
<string name="domain">Domain eli verkkotunnus</string>
|
||||
<string name="remote_provisioning_url">Url eli verkko-osoite</string>
|
||||
<string name="email">Sähköposti</string>
|
||||
<string name="delete_text">Haluatko varmasti poistaa sinun valintasi?</string>
|
||||
<string name="delete">Poista</string>
|
||||
<string name="retry">Uudelleen yritä</string>
|
||||
<string name="cancel">Peruuta</string>
|
||||
<string name="accept">Hyväksy</string>
|
||||
<string name="continue_text">Jatka</string>
|
||||
<string name="about">Tietoja</string>
|
||||
<string name="deny">Hylkää</string>
|
||||
<string name="no_account">Tiliä ei ole muokattu</string>
|
||||
<string name="search">Hae</string>
|
||||
<string name="outgoing">Lähtevä</string>
|
||||
<string name="incoming">Saapuva</string>
|
||||
<string name="missed">Vastaamaton</string>
|
||||
<string name="settings">Asetukset</string>
|
||||
<string name="connect">Yhteys</string>
|
||||
<string name="decline">Hylkää</string>
|
||||
<string name="conference">Kokous</string>
|
||||
<!--Launch screen-->
|
||||
<string name="app_description">ilmainen SIP VOIP pääteohjelma</string>
|
||||
<!--Assistant-->
|
||||
<string name="welcome">Tervetuloa</string>
|
||||
<string name="assistant">Avustaja</string>
|
||||
<string name="assistant_create_account">Luo tili</string>
|
||||
<string name="assistant_validate_account">Antamaasi osoitteeseen on lähetetty sähköposti. Avaa viestiss oleva linkki aktivoidaksesi tilin. Kun olet valmis, palaa ja paina painiketta.</string>
|
||||
<string name="assistant_welcome_desc">Tämä avustaja auttaa sinua käyttämään SIP tiliä puheluissasi.</string>
|
||||
<string name="assistant_linphone_login_desc">Anna linphone.org tilisi käyttäjätunnus ja salasana</string>
|
||||
<string name="assistant_login_desc">Anna sinun käyttäjätunnus ja salasana ja SIP verkkotunnus eli domain</string>
|
||||
<string name="assistant_remote_provisioning_desc">Anna puhelun yhteyden luomistietojen url-osoite</string>
|
||||
<string name="transport">Siirrä</string>
|
||||
<string name="assistant_login_linphone">Käytä Linphone tiliä</string>
|
||||
<string name="assistant_login_generic">Käytä SIP tiliä</string>
|
||||
<string name="assistant_remote_provisioning">Hae etäsäädöt</string>
|
||||
<string name="assistant_create_account_part_1">1/2</string>
|
||||
<string name="assistant_create_account_part_2">2/2</string>
|
||||
<string name="assistant_display_name_optional">Näyttö nimi (vainnainen)</string>
|
||||
<string name="assistant_linphone_account">Muokkaa Linphone tiliä</string>
|
||||
<string name="assistant_generic_account">Muokkaa SIP tiliä</string>
|
||||
<string name="assistant_remote_provisioning_title">Hae etäsäädöt</string>
|
||||
<string name="assistant_fetch_apply">Hae ja käytä</string>
|
||||
<string name="assistant_login">Kirjaudu sisään</string>
|
||||
<string name="assistant_ec_calibration">Kaiun estoa kalibroidaan</string>
|
||||
<string name="assistant_remote_provisioning_login">Anna käyttäjätunnus ja salasana</string>
|
||||
<string name="assistant_account_not_validated">Tiliäsi ei ole vielä vahvistettu.</string>
|
||||
<string name="assistant_account_validated">Tilisi on vahvistettu.</string>
|
||||
<string name="assistant_error_bad_credentials">Väärä käyttäjätunnus tai salasana</string>
|
||||
<string name="wizard_failed">Tapahtui virhe, yritä uudelleen myöhemmin.</string>
|
||||
<string name="wizard_server_unavailable">Palvelin tavoittamattomissa, tarkista internet yhteytesi.</string>
|
||||
<string name="wizard_username_unavailable">Tämä käyttäjätunnus on jo käytössä.</string>
|
||||
<string name="wizard_username_incorrect">Sinun käyttäjätunnus ei ole kelvollinen.</string>
|
||||
<string name="wizard_email_incorrect">Sähkpostisi ei ole kelvollinen.</string>
|
||||
<string name="wizard_password_incorrect">Salasanasi ei ole kelvollinen (6 merkkiä vähintään).</string>
|
||||
<string name="wizard_passwords_unmatched">Antamasi salasanat ovat erillaiset.</string>
|
||||
<string name="setup_confirm_username">Sinun käyttäjätunnus tulee olemaan %s.\r\n\r\nIt voiden muuttua, jotta vaatiukset täyttyisivät .\r\nHyväksytkö?</string>
|
||||
<string name="first_launch_no_login_password">Anna käyttäjätunnus ja salasana</string>
|
||||
<!--Dailer-->
|
||||
<string name="address_bar_hint">Anna numero tai osoite</string>
|
||||
<!--History-->
|
||||
<string name="no_call_history">Puheluita ei ole ollut</string>
|
||||
<string name="no_missed_call_history">Ei vastaamattomia puheluita</string>
|
||||
<string name="delete_history_log">Haluatko poistaa valitun historian?</string>
|
||||
<string name="today">Tänään</string>
|
||||
<string name="yesterday">Eilen</string>
|
||||
<!--Contacts-->
|
||||
<string name="no_contact">Osoitekirjassasi ei ole yhteystietoja.</string>
|
||||
<string name="no_sip_contact">Osoitekirjassasi ei ole SIP yhteystietoja.</string>
|
||||
<string name="delete_contacts">Haluatko poistaa valitun yhteystiedon?</string>
|
||||
<string name="delete_contact">Haluatko poistaa valitun yhteystiedon?</string>
|
||||
<string name="sip_address">SIP osoite</string>
|
||||
<string name="phone_number">Puhelin numero</string>
|
||||
<string name="contact_first_name">Etunimi</string>
|
||||
<string name="contact_last_name">Sukunimi</string>
|
||||
<!--Chat-->
|
||||
<string name="no_chat_history">Ei keskusteluja</string>
|
||||
<string name="delete_conversation">Haluatko poistaa valitut keskustelut?</string>
|
||||
<string name="delete_message">Haluatko oistaa valitut viestit?</string>
|
||||
<string name="remote_composing">Vastapuoli kirjoittaa...</string>
|
||||
<string name="share_picture_size_small">Pieni</string>
|
||||
<string name="share_picture_size_medium">Keskikokoinen</string>
|
||||
<string name="share_picture_size_large">Iso</string>
|
||||
<string name="share_picture_size_real">Todellisen kokoinen</string>
|
||||
<string name="text_copied_to_clipboard">Teksti kopiotu leikepydälle</string>
|
||||
<string name="copy_text">Kopio teksti</string>
|
||||
<string name="image_picker_title">Valitse lähde</string>
|
||||
<string name="image_saved">Kuva tallennettu</string>
|
||||
<string name="image_not_saved">Virhe, kuvaa ei tallennettu</string>
|
||||
<string name="wait">Odota...</string>
|
||||
<string name="processing_image">Käsittelee kuvaa, voi kestää muutamia sekuntteja tiedoston koosta riippuen</string>
|
||||
<!--Status Bar-->
|
||||
<string name="status_connected">Rekisteröity</string>
|
||||
<string name="status_not_connected">Ei ole Rekisteröity</string>
|
||||
<string name="status_in_progress">Rekisterityminen käynnissä</string>
|
||||
<string name="status_error">Rekisterityminen epäonnistui</string>
|
||||
<string name="voicemail_unread">lukemattomia viestejä</string>
|
||||
<!--Side Menu-->
|
||||
<string name="menu_assistant">Avustaja</string>
|
||||
<string name="menu_settings">Asetukset</string>
|
||||
<string name="menu_about">Tietoja</string>
|
||||
<string name="quit">Lopeta</string>
|
||||
<!--Call-->
|
||||
<string name="incoming_call">tuleva puhelu</string>
|
||||
<string name="outgoing_call">lähtevä puhelu</string>
|
||||
<string name="add_video_dialog">Vastapuoli haluaisi että otat video kuvan käyttöön</string>
|
||||
<string name="no_current_call">Ei aktiivisia puheluita</string>
|
||||
<string name="call_paused_by_remote">Vastapuoli laittoi puhelun tauolle</string>
|
||||
<string name="couldnt_accept_call">Virhe puhelua ottaessa</string>
|
||||
<string name="zrtp_dialog">ZRTP avain on %s\nSinun pitää vain hyväksyä jos haluat saman avaimen kuin vastapuoli</string>
|
||||
<string name="unknown_incoming_call_name">Tuntematon</string>
|
||||
<string name="call_stats_audio">Ääni</string>
|
||||
<string name="call_stats_video">Video</string>
|
||||
<string name="call_stats_codec">Koodekki:</string>
|
||||
<string name="call_stats_upload">Lähetyskaistanleveys:</string>
|
||||
<string name="call_stats_download">Latauskaistanleveys:</string>
|
||||
<string name="call_stats_ice">ICE yhdistettävyys:</string>
|
||||
<string name="call_stats_video_resolution">Videon koko:</string>
|
||||
<string name="call">Puhelu</string>
|
||||
<!--About-->
|
||||
<string name="menu_send_log">Lähetä loki</string>
|
||||
<string name="menu_reset_log">Tyhjennä loki</string>
|
||||
<!--Service-->
|
||||
<string name="incall_notif_active">Äänellinen puhelu meneillään</string>
|
||||
<string name="incall_notif_paused">Puhelu laitettu tauolle</string>
|
||||
<string name="incall_notif_video">Video puhelu meneillään</string>
|
||||
<string name="notification_started">aloitettu</string>
|
||||
<string name="unread_messages">%i lukematonta viestiä</string>
|
||||
<!--Errors-->
|
||||
<string name="skipable_error_service_not_ready">Varoitus: palvelu ei ole vielä valmis</string>
|
||||
<string name="error">Virhe</string>
|
||||
<string name="warning_wrong_destination_address">%s osoitteeseen ei voi tehdä määränpäätä</string>
|
||||
<string name="error_unknown">tuntematon virhe</string>
|
||||
<string name="error_call_declined">Puhelu evätty</string>
|
||||
<string name="error_user_not_found">Käyttäjää ei löydy</string>
|
||||
<string name="error_incompatible_media">Epäsopivat media raja-arvot</string>
|
||||
<string name="error_low_bandwidth">Vastapuolella on hidas internet yhteys, videota ei voi aloittaa</string>
|
||||
<string name="error_network_unreachable">Verkko on tavoittamattomissa</string>
|
||||
<string name="error_bad_credentials">Huonot kirjautumistiedot</string>
|
||||
<string name="error_unauthorized">Luvaton</string>
|
||||
<string name="error_io_error">Verkko virhe</string>
|
||||
<string name="download_image_failed">Lataus epäonnistui. Pyydän tarkista internet yhteys tai yritä uudelleen.</string>
|
||||
<string name="remote_provisioning_failure">Epäonnistui lataamaan tai hyvksymään vastapuolen tukiaseman tietoja...</string>
|
||||
<string name="remote_provisioning_again_title">Vastapuoli hakee asetuksia</string>
|
||||
<string name="remote_provisioning_again_message">Haluatko vaihtaa tukiaseman URI-osoitetta?</string>
|
||||
<!--Account Settings-->
|
||||
<string name="pref_sipaccount">SIP Tili</string>
|
||||
<string name="pref_manage_title">Käsitellä</string>
|
||||
<string name="pref_disable_account">Poissa käytöstä</string>
|
||||
<string name="pref_proxy">Välitys palvelin</string>
|
||||
<string name="pref_domain">Domain/verkkotunnus*</string>
|
||||
<string name="pref_passwd">Salasana*</string>
|
||||
<string name="pref_username">Käyttäjätunnus*</string>
|
||||
<string name="pref_enable_outbound_proxy">Lähtevä välityspalvelin</string>
|
||||
<string name="pref_help_proxy">SIP välityspalvelimen solmuntunnus tai ip osoite (valinnainen)</string>
|
||||
<string name="pref_help_outbound_proxy">Lähetä kaikki puhelut SIP välityspalvelimen kautta</string>
|
||||
<string name="pref_help_username">Esimerkki: jaakko jos tilisi on jaakko@sip.esimerkki.org</string>
|
||||
<string name="pref_help_domain">sip.esimerkki.org jos tilisi on jaakko@sip.esimerkki.org</string>
|
||||
<string name="pref_help_password">Sinun täytyy antaa uudelleen salasana jos muokkaat käyttäjätunnusta tai domainia eli verkkotunnusta</string>
|
||||
<string name="pref_expire_title">Vanhentunut</string>
|
||||
<string name="pref_avpf">AVPF</string>
|
||||
<string name="pref_avpf_rr_interval">AVPF-\'media siirto\' tahdistuu RTCP-\'realiaikaisen tiedonsiirron\' (1-5) sekunnin välein</string>
|
||||
<string name="pref_escape_plus">Korvaa + 00n toimesta</string>
|
||||
<string name="pref_auth_userid">Todennuksen käyttäjätunnus</string>
|
||||
<string name="pref_help_auth_userid">Anna tedennuksen käyttäjätunnus (valinnainen)</string>
|
||||
<string name="pref_display_name">Näytä nimi</string>
|
||||
<string name="pref_help_display_name">Anna näyttönimi (valinnainen)</string>
|
||||
<string name="pref_prefix">Etuliite</string>
|
||||
<string name="pref_transport">Siirrä</string>
|
||||
<string name="pref_transport_udp">UDP \'siirto ilman yhteyttä\'</string>
|
||||
<string name="pref_transport_tcp">TCP \'luotettu siirto tavuttain\'</string>
|
||||
<string name="pref_transport_tls">TLS \'siirto SSL varmentimilla\'</string>
|
||||
<string name="pref_delete_account">Poista tämä tili</string>
|
||||
<string name="pref_default_account">Käytä vakiota</string>
|
||||
<!--Settings-->
|
||||
<string name="pref_sipaccounts">SIP Tilit</string>
|
||||
<string name="default_account_flag">Vakio tili</string>
|
||||
<string name="pref_add_account">Lisää tili</string>
|
||||
<string name="pref_tunnel">Tunneli</string>
|
||||
<string name="pref_tunnel_host">Hostname \'eli verkkotunnuksen etunimi\'</string>
|
||||
<string name="pref_tunnel_port">Portti</string>
|
||||
<string name="pref_tunnel_mode">Tila</string>
|
||||
<!--do not change order without changing corresponding entry_values in non_localizable_strings.xml-->
|
||||
<string-array name="tunnel_mode_entries">
|
||||
<item>poissa käytöstä</item>
|
||||
<item>vain 3G</item>
|
||||
<item>aina</item>
|
||||
<item>automaattinen</item>
|
||||
</string-array>
|
||||
<string name="pref_none">Ei mitään</string>
|
||||
<string name="pref_preferences_title">Toivotut säädöt</string>
|
||||
<string name="pref_video_enable_title">Salli video</string>
|
||||
<!--Audio settings-->
|
||||
<string name="pref_audio_title">Ääni</string>
|
||||
<string name="pref_echo_cancellation">Kaiun poisto</string>
|
||||
<string name="pref_echo_cancellation_summary">Poista kaiku joka kuullaan toisessa päässä</string>
|
||||
<string name="pref_echo_canceller_calibration">Kaiun poistajan kalibrointi</string>
|
||||
<string name="ec_calibrating">Kalibroi...</string>
|
||||
<string name="ec_calibrated">Kalibroitu [%s ms]</string>
|
||||
<string name="no_echo">Ei kaikua</string>
|
||||
<string name="failed">epäonnistui</string>
|
||||
<string name="pref_adaptive_rate_control">Mukautuva tason säätö</string>
|
||||
<string name="pref_codec_bitrate_limit">Koodekin kaistaleveys rajoitus</string>
|
||||
<string name="pref_codecs">Kodekit</string>
|
||||
<!--Video settings-->
|
||||
<string name="pref_video_title">Video</string>
|
||||
<string name="pref_video_use_front_camera_title">Käytä etukameraa</string>
|
||||
<string name="pref_video_initiate_call_with_video_title">Aloita puhelut videokuvapuheluina</string>
|
||||
<string name="pref_video_initiate_call_with_video">Lähetä aina pyyntö videoon</string>
|
||||
<string name="pref_video_automatically_accept_video_title">Hyväksy saapuvat video kuvan pyynnöt</string>
|
||||
<string name="pref_video_automatically_accept_video">Hyväksy aina video kuvan pyynnöt</string>
|
||||
<string name="pref_video_preset">Videon esiasetus</string>
|
||||
<string name="pref_preferred_video_size">Toivottu videon koko</string>
|
||||
<string name="pref_preferred_fps">Toivottu FPS \'kuvaa per sekuntti\'</string>
|
||||
<string name="pref_bandwidth_limit">Kaistaleveys raja kbits/s</string>
|
||||
<string name="pref_video_codecs_title">Kodekit</string>
|
||||
<!--Call settings-->
|
||||
<string name="pref_call_title">Puhelu</string>
|
||||
<string name="pref_rfc2833_dtmf">Lähetä RFC2833 DTMFs</string>
|
||||
<string name="pref_sipinfo_dtmf">Lähetä SIP INFO DTMFs</string>
|
||||
<string name="pref_voice_mail">Ääni postin URI-osoite</string>
|
||||
<!--Network settings-->
|
||||
<string name="pref_network_title">Verkko</string>
|
||||
<string name="pref_wifi_only">Käytä vain wifiä</string>
|
||||
<string name="pref_stun_server">Stun-palvelin eli \'osoitteenmuunoksen takaisin haku\'-palvelin</string>
|
||||
<string name="pref_ice_enable">Salli ICE</string>
|
||||
<string name="pref_upnp_enable">Salli UPNP</string>
|
||||
<string name="pref_transport_use_random_ports">Käytä satunnaista porttia</string>
|
||||
<string name="pref_sip_port_title">SIP portti käytössä</string>
|
||||
<string name="pref_video_port_title">Video portti tai portin alue</string>
|
||||
<string name="pref_audio_port_title">Ääni portti tai portin alue</string>
|
||||
<string name="pref_video_port_description">Video portti tai portin alue (pienin portti - suurin portti)</string>
|
||||
<string name="pref_audio_port_description">Ääni portti tai portin alue (pienin portti - suurin portti)</string>
|
||||
<string name="pref_media_encryption">Median salaus</string>
|
||||
<string name="pref_push_notification">Salli painettavat ilmoitukset</string>
|
||||
<string name="pref_ipv6_title">Salli IPv6</string>
|
||||
<!--Advanced settings-->
|
||||
<string name="pref_advanced_title">Kehittyneet</string>
|
||||
<string name="pref_debug">Virheen korjaus</string>
|
||||
<string name="pref_background_mode">Toimi taustalla</string>
|
||||
<string name="pref_animation_enable_title">Salli animaatiot</string>
|
||||
<string name="pref_autostart">Käynnistä laitteen käynnistyessä</string>
|
||||
<string name="pref_incoming_call_timeout_title">Saapuva puhelu aikakatkaisu (sekunneissa)</string>
|
||||
<string name="pref_image_sharing_server_title">Jaa palvelin</string>
|
||||
<string name="pref_remote_provisioning_title">Vastapuoli hakee asetuksia</string>
|
||||
<string name="pref_primary_account_title">Pääasiallinen tili</string>
|
||||
<string name="pref_display_name_title">Näytä nimi</string>
|
||||
<string name="pref_user_name_title">Käyttäjätunnus</string>
|
||||
<!--Audio hack settings-->
|
||||
<string name="pref_audio_hacks_title">Äänen miksaus</string>
|
||||
<string name="pref_audio_use_specific_mode_title">Käytä tiettyä ääni tilaa</string>
|
||||
<string name="pref_audio_use_specific_mode_summary">0=NORMAALI_TILA (vakio), 2=SOITTO_TILA</string>
|
||||
<string name="pref_audio_hacks_use_routing_api_title">Käytä ohjaavaa API/\'ohjelmointi käskypohjan\' muunelmaa</string>
|
||||
<string name="pref_audio_hacks_use_galaxys_hack_title">Käytä Galaxy S ääni miksausta</string>
|
||||
<!--Content description-->
|
||||
<string name="content_description_back">Takaisin</string>
|
||||
<string name="content_description_dialer">Soittaja</string>
|
||||
<string name="content_description_toggle_micro">Kytke mikrofooni</string>
|
||||
<string name="content_description_toggle_speaker">Kytke kaiutin</string>
|
||||
<string name="content_description_decline">Hylkää</string>
|
||||
<string name="content_description_hang_up">Katkaise puhelu</string>
|
||||
<string name="content_description_accept">Hyväksy</string>
|
||||
<string name="content_description_edit">Muokkaa painike</string>
|
||||
<string name="content_description_valid">Sopiva painike</string>
|
||||
<string name="content_description_add_contact">Lisää kontrastia</string>
|
||||
<string name="content_description_new_contact">Uusi yhteystieto</string>
|
||||
<string name="content_description_call">Puhelu</string>
|
||||
<string name="content_description_backspace">Askelpalautin</string>
|
||||
<string name="content_description_chat">Keskustelu</string>
|
||||
<string name="content_description_dial_back">Soita takaisin</string>
|
||||
<string name="content_description_contact_picture">Yhteys kuva</string>
|
||||
<string name="content_description_send_message">Lähetä viesti</string>
|
||||
<string name="content_description_detail">Yksityiskohdat</string>
|
||||
<string name="content_description_delete">Poista painike</string>
|
||||
<string name="content_description_add">Lisää painike</string>
|
||||
<string name="content_description_new_discussion">Uusi keskustelu</string>
|
||||
<string name="content_description_search">Hae</string>
|
||||
<string name="content_description_all_contacts">Kaikki yhteystiedot</string>
|
||||
<string name="content_description_linphone_contacts">Linphone yhteystiedot</string>
|
||||
<string name="content_description_call_direction">Saapuva vai lähtevä puhelu</string>
|
||||
<string name="content_description_all_calls">Kaikki puhelut</string>
|
||||
<string name="content_description_missed_calls">Vastaamattomat puhelut</string>
|
||||
<string name="content_description_switch_video">Kytke video</string>
|
||||
<string name="content_description_add_call">Lisää puhelu</string>
|
||||
<string name="content_description_pause">Laita tauolle</string>
|
||||
<string name="content_description_numpad">Numeronäppäimet</string>
|
||||
<string name="content_description_history">Historia painike</string>
|
||||
<string name="content_description_chat_button">Keskustelu painike</string>
|
||||
<string name="content_description_contacts">Yhteystiedot painike</string>
|
||||
<string name="content_description_call_quality">Puhelun laatu</string>
|
||||
<string name="content_description_encryption">Salaus</string>
|
||||
<string name="content_description_switch_camera">Vaihda kameraa</string>
|
||||
<string name="content_description_cancel_button">Peruuta painike</string>
|
||||
<string name="content_description_message_status">Viestin tila</string>
|
||||
<string name="content_description_conference">Kokous</string>
|
||||
</resources>
|
||||
233
res/values-pt-rBR/strings.xml
Normal file
233
res/values-pt-rBR/strings.xml
Normal file
|
|
@ -0,0 +1,233 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<!--Custom-->
|
||||
<string name="tunnel_host"></string>
|
||||
<!--Common-->
|
||||
<string name="username">Usuário</string>
|
||||
<string name="display_name">Exibir nome</string>
|
||||
<string name="password">Senha</string>
|
||||
<string name="delete">Apagar</string>
|
||||
<string name="retry">Repetir</string>
|
||||
<string name="cancel">Annuler</string>
|
||||
<string name="accept">Aceitar</string>
|
||||
<string name="continue_text">Continuar</string>
|
||||
<string name="about">Sobre</string>
|
||||
<string name="deny">Recusar</string>
|
||||
<string name="search">Pesquisar</string>
|
||||
<string name="outgoing">Efetuadas</string>
|
||||
<string name="incoming">Recebidas</string>
|
||||
<string name="missed">Perdidas</string>
|
||||
<string name="settings">Configurações</string>
|
||||
<string name="decline">Rejeitar</string>
|
||||
<string name="conference">Conferência</string>
|
||||
<!--Launch screen-->
|
||||
<!--Assistant-->
|
||||
<string name="transport">Protocolo</string>
|
||||
<string name="assistant_account_not_validated">Sua conta ainda não foi validada.</string>
|
||||
<string name="assistant_account_validated">Sua conta foi validada.</string>
|
||||
<string name="wizard_failed">Ocorreu um erro, tente novamente mais tarde.</string>
|
||||
<string name="wizard_username_unavailable">Este nome de usuário já está em uso.</string>
|
||||
<string name="first_launch_no_login_password">Por favor, digite seu usuário e senha</string>
|
||||
<!--Dailer-->
|
||||
<!--History-->
|
||||
<string name="today">Hoje</string>
|
||||
<string name="yesterday">Ontem</string>
|
||||
<!--Contacts-->
|
||||
<string name="no_contact">Nenhum contato em seus contatos.</string>
|
||||
<string name="no_sip_contact">Nenhum contato SIP em seus contatos.</string>
|
||||
<string name="sip_address">Endereço SIP</string>
|
||||
<string name="phone_number">Número do telefone</string>
|
||||
<string name="contact_first_name">Nome</string>
|
||||
<string name="contact_last_name">Sobrenome</string>
|
||||
<!--Chat-->
|
||||
<string name="remote_composing">Seu contato está digitando...</string>
|
||||
<string name="share_picture_size_small">Pequeno</string>
|
||||
<string name="share_picture_size_medium">Médio</string>
|
||||
<string name="share_picture_size_large">Largo</string>
|
||||
<string name="share_picture_size_real">Tamanho real</string>
|
||||
<string name="text_copied_to_clipboard">Texto copiado para área de transferência</string>
|
||||
<string name="copy_text">Copiar texto</string>
|
||||
<string name="image_picker_title">Selecionar fonte</string>
|
||||
<string name="image_saved">Imagem salva</string>
|
||||
<string name="image_not_saved">Erro, imagem não salva</string>
|
||||
<string name="wait">Por favor, aguarde...</string>
|
||||
<string name="processing_image">Processando imagem, pode levar alguns segundos, dependendo do tamanho do arquivo</string>
|
||||
<!--Status Bar-->
|
||||
<string name="status_connected">Registrado</string>
|
||||
<string name="status_in_progress">Registro em andamento</string>
|
||||
<string name="status_error">Registro falhou</string>
|
||||
<string name="voicemail_unread"> mensagens não lidas</string>
|
||||
<!--Side Menu-->
|
||||
<string name="menu_settings">Configurações</string>
|
||||
<string name="menu_about">Sobre</string>
|
||||
<!--Call-->
|
||||
<string name="unknown_incoming_call_name">Unknown</string>
|
||||
<string name="call_stats_audio">Audio</string>
|
||||
<string name="call_stats_video">Video</string>
|
||||
<string name="call_stats_codec">Codec:</string>
|
||||
<string name="call_stats_upload">Velocidade de Upload</string>
|
||||
<string name="call_stats_download">Velocidade de Download:</string>
|
||||
<string name="call_stats_ice">Conectividade ICE:</string>
|
||||
<string name="call_stats_video_resolution">Tamanho de video:</string>
|
||||
<string name="call">Ligar</string>
|
||||
<!--About-->
|
||||
<string name="menu_send_log">Enviar log</string>
|
||||
<string name="menu_reset_log">Limpar log</string>
|
||||
<!--Service-->
|
||||
<string name="incall_notif_active">Chamada de áudio em curso</string>
|
||||
<string name="incall_notif_paused">Chamada em pausa em curso</string>
|
||||
<string name="incall_notif_video">Chamada de vídeo captura em curso</string>
|
||||
<string name="notification_started">iniciado</string>
|
||||
<string name="unread_messages">%i mensagens não lidas</string>
|
||||
<!--Errors-->
|
||||
<string name="skipable_error_service_not_ready">Aviso: O serviço não está pronto</string>
|
||||
<string name="error">Erro</string>
|
||||
<string name="error_unknown">Erro desconhecido</string>
|
||||
<string name="error_call_declined">Chamada recusada</string>
|
||||
<string name="error_user_not_found">Usuário não encontrado</string>
|
||||
<string name="error_incompatible_media">Parâmetros de mídia incompatíveis</string>
|
||||
<string name="error_network_unreachable">Rede inacessível</string>
|
||||
<string name="error_bad_credentials">Credenciais erradas</string>
|
||||
<string name="error_unauthorized">Não autorizado</string>
|
||||
<string name="error_io_error">Erro de rede</string>
|
||||
<string name="remote_provisioning_failure">Falha ao transferir ou aplicar perfil de aprovisionamento remoto...</string>
|
||||
<string name="remote_provisioning_again_title">Provisionamento remoto</string>
|
||||
<!--Account Settings-->
|
||||
<string name="pref_sipaccount">Conta SIP</string>
|
||||
<string name="pref_manage_title">Gerenciar</string>
|
||||
<string name="pref_disable_account">Desativar</string>
|
||||
<string name="pref_proxy">Proxy</string>
|
||||
<string name="pref_domain">Domínio*</string>
|
||||
<string name="pref_passwd">Senha*</string>
|
||||
<string name="pref_username">Usuário*</string>
|
||||
<string name="pref_enable_outbound_proxy">Proxy de saída</string>
|
||||
<string name="pref_help_proxy">SIP Proxy, hostname ou endereço IP (opcional)</string>
|
||||
<string name="pref_help_outbound_proxy">Rotear todas as chamadas através de proxy SIP</string>
|
||||
<string name="pref_help_username">Example: se colocar john, sua conta é john@sip.exemplo.com.br</string>
|
||||
<string name="pref_help_domain">sip.exemplo.com.br sua conta é john@sip.exemplo.com.br</string>
|
||||
<string name="pref_help_password">Você deve voltar a entrar com sua senha se você editar o nome de usuário ou domínio</string>
|
||||
<string name="pref_expire_title">Expirar</string>
|
||||
<string name="pref_avpf">AVPF</string>
|
||||
<string name="pref_avpf_rr_interval"> AVPF intervalos regulares RTCP em segundos (entre 1 e 5)</string>
|
||||
<string name="pref_escape_plus">Substitua + por 00</string>
|
||||
<string name="pref_auth_userid">ID de autenticação</string>
|
||||
<string name="pref_display_name">Exibir nome</string>
|
||||
<string name="pref_prefix">Prefixo</string>
|
||||
<string name="pref_transport">Protocolo</string>
|
||||
<string name="pref_transport_udp">UDP</string>
|
||||
<string name="pref_transport_tcp">TCP</string>
|
||||
<string name="pref_transport_tls">TLS</string>
|
||||
<string name="pref_delete_account">Apagar esta conta</string>
|
||||
<string name="pref_default_account">Usar como padrão</string>
|
||||
<!--Settings-->
|
||||
<string name="pref_sipaccounts">Contas SIP</string>
|
||||
<string name="default_account_flag">Conta padrão</string>
|
||||
<string name="pref_add_account">Adicionar Conta</string>
|
||||
<string name="pref_tunnel">Túnel</string>
|
||||
<string name="pref_tunnel_host">Hostname</string>
|
||||
<string name="pref_tunnel_port">Porta</string>
|
||||
<string name="pref_tunnel_mode">Modo</string>
|
||||
<!--do not change order without changing corresponding entry_values in non_localizable_strings.xml-->
|
||||
<string-array name="tunnel_mode_entries">
|
||||
<item>Desativado</item>
|
||||
<item>3G apenas</item>
|
||||
<item>Sempre</item>
|
||||
<item>Auto</item>
|
||||
</string-array>
|
||||
<string name="pref_none">Nenhum</string>
|
||||
<string name="pref_preferences_title">Preferências</string>
|
||||
<string name="pref_video_enable_title">Habilitar Vídeo</string>
|
||||
<!--Audio settings-->
|
||||
<string name="pref_audio_title">Audio</string>
|
||||
<string name="pref_echo_cancellation">Cancelamento de eco</string>
|
||||
<string name="pref_echo_cancellation_summary">Remove o eco ouvido pela outra extremidade</string>
|
||||
<string name="ec_calibrating">Calibrando…</string>
|
||||
<string name="no_echo">Sem echo</string>
|
||||
<string name="failed">falhou</string>
|
||||
<string name="pref_adaptive_rate_control">Controle de taxa adaptável</string>
|
||||
<string name="pref_codec_bitrate_limit">Limite de taxa de Codec</string>
|
||||
<string name="pref_codecs">Codecs</string>
|
||||
<!--Video settings-->
|
||||
<string name="pref_video_title">Video</string>
|
||||
<string name="pref_video_use_front_camera_title">Usar câmera frontal</string>
|
||||
<string name="pref_video_initiate_call_with_video_title">Iniciar chamadas de vídeo</string>
|
||||
<string name="pref_video_initiate_call_with_video">Sempre enviar solicitações de vídeo</string>
|
||||
<string name="pref_video_automatically_accept_video_title">Aceitar solicitações de entrada de vídeo</string>
|
||||
<string name="pref_video_automatically_accept_video">Sempre aceitar solicitações de vídeo</string>
|
||||
<string name="pref_preferred_video_size">Tamanho preferido do vídeo</string>
|
||||
<string name="pref_bandwidth_limit">Limitar banda em kbits/s</string>
|
||||
<string name="pref_video_codecs_title">Codecs</string>
|
||||
<!--Call settings-->
|
||||
<string name="pref_call_title">Ligar</string>
|
||||
<string name="pref_rfc2833_dtmf">Enviar RFC2833 DTMFs</string>
|
||||
<string name="pref_sipinfo_dtmf">Enviar SIP INFO DTMFs</string>
|
||||
<!--Network settings-->
|
||||
<string name="pref_network_title">Network</string>
|
||||
<string name="pref_stun_server">Servidor Stun</string>
|
||||
<string name="pref_ice_enable">Habilitar ICE</string>
|
||||
<string name="pref_upnp_enable">Habilitar UPNP</string>
|
||||
<string name="pref_transport_use_random_ports">Use portas aleatórias</string>
|
||||
<string name="pref_sip_port_title">Porta SIP para usar</string>
|
||||
<string name="pref_video_port_title">Porta ou intervalo de portas de vídeo </string>
|
||||
<string name="pref_audio_port_title">Porta ou intervalo de portas de áudio</string>
|
||||
<string name="pref_video_port_description">Porta ou intervalo de portas de vídeo (minport-maxport)</string>
|
||||
<string name="pref_audio_port_description">Porta ou intervalo de portas de áudio (minport-maxport)</string>
|
||||
<string name="pref_media_encryption">Criptografia de mídia</string>
|
||||
<string name="pref_push_notification">Ativar notificações de envio</string>
|
||||
<!--Advanced settings-->
|
||||
<string name="pref_advanced_title">Avançado</string>
|
||||
<string name="pref_debug">Depurar</string>
|
||||
<string name="pref_background_mode">Em segundo plano</string>
|
||||
<string name="pref_animation_enable_title">Ativar Animações</string>
|
||||
<string name="pref_autostart">Iniciar na inicialização</string>
|
||||
<string name="pref_image_sharing_server_title">Servidor de compartilhamento</string>
|
||||
<string name="pref_remote_provisioning_title">Provisionamento remoto</string>
|
||||
<string name="pref_primary_account_title">Conta primária</string>
|
||||
<string name="pref_display_name_title">Mostrar nome</string>
|
||||
<string name="pref_user_name_title">Usuário</string>
|
||||
<!--Audio hack settings-->
|
||||
<string name="pref_audio_hacks_title">Audio hacks</string>
|
||||
<string name="pref_audio_use_specific_mode_title">Use modo hack específico</string>
|
||||
<string name="pref_audio_use_specific_mode_summary">0=MODE_NORMAL (padrão), 2=MODE_IN_CALL</string>
|
||||
<string name="pref_audio_hacks_use_routing_api_title">Use roteamento API hack</string>
|
||||
<string name="pref_audio_hacks_use_galaxys_hack_title">Use Galaxy S audio hack</string>
|
||||
<!--Content description-->
|
||||
<string name="content_description_back">Voltar</string>
|
||||
<string name="content_description_dialer">Discador</string>
|
||||
<string name="content_description_toggle_micro">Alterar micro</string>
|
||||
<string name="content_description_toggle_speaker">Alterar auto-falante</string>
|
||||
<string name="content_description_decline">Rejeitar</string>
|
||||
<string name="content_description_hang_up">Terminar</string>
|
||||
<string name="content_description_accept">Aceitar</string>
|
||||
<string name="content_description_edit">Botão editar</string>
|
||||
<string name="content_description_add_contact">Adicionar aos Contatos</string>
|
||||
<string name="content_description_new_contact">Novo Contato</string>
|
||||
<string name="content_description_call">Ligar</string>
|
||||
<string name="content_description_backspace">Retorno</string>
|
||||
<string name="content_description_chat">Chat</string>
|
||||
<string name="content_description_dial_back">Discar de volta</string>
|
||||
<string name="content_description_contact_picture">Foto do Contato</string>
|
||||
<string name="content_description_send_message">Enviar Mensagem</string>
|
||||
<string name="content_description_delete">Botão Apagar</string>
|
||||
<string name="content_description_add">Botão Adicionar</string>
|
||||
<string name="content_description_new_discussion">Nova Discussão</string>
|
||||
<string name="content_description_search">Pesquisar</string>
|
||||
<string name="content_description_all_contacts">Todos os Contatos</string>
|
||||
<string name="content_description_linphone_contacts">Via Fone Contatos</string>
|
||||
<string name="content_description_call_direction">Direção da Chamada</string>
|
||||
<string name="content_description_all_calls">Todas as Chamadas</string>
|
||||
<string name="content_description_missed_calls">Chamadas Perdidas</string>
|
||||
<string name="content_description_switch_video">Switch video</string>
|
||||
<string name="content_description_add_call">Adicionar Chamada</string>
|
||||
<string name="content_description_pause">Pausar</string>
|
||||
<string name="content_description_numpad">Numpad</string>
|
||||
<string name="content_description_history">Botão Histórico</string>
|
||||
<string name="content_description_chat_button">Botão de Chat</string>
|
||||
<string name="content_description_contacts">Botão Contatos</string>
|
||||
<string name="content_description_call_quality">Qualidade da Chamada</string>
|
||||
<string name="content_description_encryption">Criptografia</string>
|
||||
<string name="content_description_switch_camera">Trocar Câmera</string>
|
||||
<string name="content_description_cancel_button">Botão Cancelar</string>
|
||||
<string name="content_description_message_status">Status da Mensagem</string>
|
||||
<string name="content_description_conference">Conferência</string>
|
||||
</resources>
|
||||
242
res/values-sr/strings.xml
Normal file
242
res/values-sr/strings.xml
Normal file
|
|
@ -0,0 +1,242 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<!--Custom-->
|
||||
<string name="app_name">Линфон</string>
|
||||
<string name="service_name">Услуга Линфона</string>
|
||||
<string name="addressbook_label">Линфон</string>
|
||||
<string name="notification_title">Линфон</string>
|
||||
<string name="wait_dialog_text">Покрећем се</string>
|
||||
<string name="sync_account_name">контакти линфона</string>
|
||||
<string name="today_date_format">ЧЧ:мм</string>
|
||||
<string name="picture_name_format">linphone-mms-%s.jpg</string>
|
||||
<string name="tunnel_host"></string>
|
||||
<!--Common-->
|
||||
<string name="username">Корисничко име</string>
|
||||
<string name="display_name">Приказано име</string>
|
||||
<string name="password">Лозинка</string>
|
||||
<string name="delete">Обриши</string>
|
||||
<string name="retry">Понови</string>
|
||||
<string name="cancel">Откажи</string>
|
||||
<string name="accept">Прихвати</string>
|
||||
<string name="continue_text">Настави</string>
|
||||
<string name="about">Инфо</string>
|
||||
<string name="deny">Одбијам</string>
|
||||
<string name="search">Претрага</string>
|
||||
<string name="outgoing">Одлазни</string>
|
||||
<string name="incoming">Долазни</string>
|
||||
<string name="missed">Пропуштени</string>
|
||||
<string name="settings">Подешавања</string>
|
||||
<string name="decline">Одбаци</string>
|
||||
<string name="conference">Конференција</string>
|
||||
<!--Launch screen-->
|
||||
<!--Assistant-->
|
||||
<string name="assistant_welcome_desc">Овај помоћник ће вам помоћи да користите СИП налог за ваше позиве.</string>
|
||||
<string name="transport">Пренос</string>
|
||||
<string name="assistant_account_not_validated">Ваш налог још није потврђен.</string>
|
||||
<string name="assistant_account_validated">Ваш налог је потврђен.</string>
|
||||
<string name="wizard_failed">Дошло је до грепке, пробајте опет касније.</string>
|
||||
<string name="wizard_username_unavailable">Ово корисничко име је већ у употреби.</string>
|
||||
<string name="first_launch_no_login_password">Упишите вашу пријаву и лозинку</string>
|
||||
<!--Dailer-->
|
||||
<!--History-->
|
||||
<string name="today">Данас</string>
|
||||
<string name="yesterday">Јуче</string>
|
||||
<!--Contacts-->
|
||||
<string name="no_contact">Нема контакта у вашем адресару.</string>
|
||||
<string name="no_sip_contact">Нема СИП контакта у вашем адресару.</string>
|
||||
<string name="sip_address">СИП адреса</string>
|
||||
<string name="phone_number">Број телефона</string>
|
||||
<string name="contact_first_name">Име</string>
|
||||
<string name="contact_last_name">Презиме</string>
|
||||
<!--Chat-->
|
||||
<string name="remote_composing">Удаљени пише...</string>
|
||||
<string name="share_picture_size_small">Мала</string>
|
||||
<string name="share_picture_size_medium">Средња</string>
|
||||
<string name="share_picture_size_large">Велика</string>
|
||||
<string name="share_picture_size_real">Стварна величина</string>
|
||||
<string name="text_copied_to_clipboard">Текст је умножен у оставу</string>
|
||||
<string name="copy_text">Умножи текст</string>
|
||||
<string name="image_picker_title">Изабери извор</string>
|
||||
<string name="image_saved">Слика је сачувана</string>
|
||||
<string name="image_not_saved">Грешка, слика није сачувана</string>
|
||||
<string name="wait">Молим сачекајте...</string>
|
||||
<string name="processing_image">Обрађујем слику, може да потраје неколико скунде у зависности од величине датотеке</string>
|
||||
<!--Status Bar-->
|
||||
<string name="status_connected">Уписан</string>
|
||||
<string name="status_in_progress">Упис је у току</string>
|
||||
<string name="status_error">Упис није успео</string>
|
||||
<string name="voicemail_unread"> непрочитане поруке</string>
|
||||
<!--Side Menu-->
|
||||
<string name="menu_settings">Подешавања</string>
|
||||
<string name="menu_about">Инфо</string>
|
||||
<!--Call-->
|
||||
<string name="unknown_incoming_call_name">Непознато</string>
|
||||
<string name="call_stats_audio">Звук</string>
|
||||
<string name="call_stats_video">Видео</string>
|
||||
<string name="call_stats_codec">Кодек:</string>
|
||||
<string name="call_stats_upload">Пропусни опсег отпремања:</string>
|
||||
<string name="call_stats_download">Пропусни опсег преузимања:</string>
|
||||
<string name="call_stats_ice">ИЦЕ повезивост:</string>
|
||||
<string name="call_stats_video_resolution">Величина видеа:</string>
|
||||
<string name="call">Позови</string>
|
||||
<!--About-->
|
||||
<string name="menu_send_log">Пошаљи дневник</string>
|
||||
<string name="menu_reset_log">Поврати дневник</string>
|
||||
<!--Service-->
|
||||
<string name="incall_notif_active">Одлазни звучни позив</string>
|
||||
<string name="incall_notif_paused">Одлазни заустављени позив</string>
|
||||
<string name="incall_notif_video">Одлазни позив видео снимања</string>
|
||||
<string name="notification_started">започето</string>
|
||||
<string name="unread_messages">непрочитаних порука: %i</string>
|
||||
<!--Errors-->
|
||||
<string name="skipable_error_service_not_ready">Упозорење: услуга није спремна</string>
|
||||
<string name="error">Грешка</string>
|
||||
<string name="error_unknown">Непозната грешка</string>
|
||||
<string name="error_call_declined">Позив је одбијен</string>
|
||||
<string name="error_user_not_found">Корисник није нађен</string>
|
||||
<string name="error_incompatible_media">Несагласни параметри медија</string>
|
||||
<string name="error_network_unreachable">Мрежа није доступна</string>
|
||||
<string name="error_bad_credentials">Лоша уверења</string>
|
||||
<string name="error_unauthorized">Неовлашћен</string>
|
||||
<string name="error_io_error">Грешка мреже</string>
|
||||
<string name="remote_provisioning_failure">Нисам успео да преузмем или да применим профил прибављања удаљеног...</string>
|
||||
<string name="remote_provisioning_again_title">Прибављање удаљеног</string>
|
||||
<!--Account Settings-->
|
||||
<string name="pref_sipaccount">СИП налог</string>
|
||||
<string name="pref_manage_title">Управљај</string>
|
||||
<string name="pref_disable_account">Искључи</string>
|
||||
<string name="pref_proxy">Посредник</string>
|
||||
<string name="pref_domain">Домен*</string>
|
||||
<string name="pref_passwd">Лозинка*</string>
|
||||
<string name="pref_username">Корисник*</string>
|
||||
<string name="pref_enable_outbound_proxy">Outbound proxy</string>
|
||||
<string name="pref_help_proxy">Назив домаћина СИП посредника или ип адреса (изборно)</string>
|
||||
<string name="pref_help_outbound_proxy">Усмери све позиве кроз СИП посредника</string>
|
||||
<string name="pref_help_username">Пример: „pera“ ако је ваш налог „pera@sip.primer.org“</string>
|
||||
<string name="pref_help_domain">„sip.primer.org“ ако је ваш налог „pera@sip.primer.org“</string>
|
||||
<string name="pref_help_password">Морате поново да унесете вашу лозинку ако измените ваше корисничко име и/или домен</string>
|
||||
<string name="pref_expire_title">Истиче</string>
|
||||
<string name="pref_avpf">АВПФ</string>
|
||||
<string name="pref_avpf_rr_interval"> АВПФ редован РТЦП период у секундама (између 1 и 5)</string>
|
||||
<string name="pref_escape_plus">Замени + са 00</string>
|
||||
<string name="pref_auth_userid">Иб корисника потврђивања</string>
|
||||
<string name="pref_display_name">Приказано име</string>
|
||||
<string name="pref_prefix">Префикс</string>
|
||||
<string name="pref_transport">Пренос</string>
|
||||
<string name="pref_transport_udp">УДП</string>
|
||||
<string name="pref_transport_tcp">ТЦП</string>
|
||||
<string name="pref_transport_tls">ТЛС</string>
|
||||
<string name="pref_delete_account">Обриши овај налог</string>
|
||||
<string name="pref_default_account">Користи као основни</string>
|
||||
<!--Settings-->
|
||||
<string name="pref_sipaccounts">СИП налози</string>
|
||||
<string name="default_account_flag">Основни налог</string>
|
||||
<string name="pref_add_account">Додај налог</string>
|
||||
<string name="pref_tunnel">Тунел</string>
|
||||
<string name="pref_tunnel_host">Домаћин</string>
|
||||
<string name="pref_tunnel_port">Прикључник</string>
|
||||
<string name="pref_tunnel_mode">Режим</string>
|
||||
<!--do not change order without changing corresponding entry_values in non_localizable_strings.xml-->
|
||||
<string-array name="tunnel_mode_entries">
|
||||
<item>искључено</item>
|
||||
<item>само 3Г</item>
|
||||
<item>увек</item>
|
||||
<item>самостално</item>
|
||||
</string-array>
|
||||
<string name="pref_none">Ништа</string>
|
||||
<string name="pref_preferences_title">Поставке</string>
|
||||
<string name="pref_video_enable_title">Укључи видео</string>
|
||||
<!--Audio settings-->
|
||||
<string name="pref_audio_title">Звук</string>
|
||||
<string name="pref_echo_cancellation">Брисање одјека</string>
|
||||
<string name="pref_echo_cancellation_summary">Уклања одјек који чује друга страна</string>
|
||||
<string name="ec_calibrating">Калибрирам…</string>
|
||||
<string name="no_echo">Нема одјека</string>
|
||||
<string name="failed">неуспех</string>
|
||||
<string name="pref_adaptive_rate_control">Adaptive rate control</string>
|
||||
<string name="pref_codec_bitrate_limit">Ограничење битског протока кодека</string>
|
||||
<string name="pref_codecs">Кодеци</string>
|
||||
<!--Video settings-->
|
||||
<string name="pref_video_title">Видео</string>
|
||||
<string name="pref_video_use_front_camera_title">Користи предњу камеру</string>
|
||||
<string name="pref_video_initiate_call_with_video_title">Започни видео позиве</string>
|
||||
<string name="pref_video_initiate_call_with_video">Увек пошаљи видео захтеве</string>
|
||||
<string name="pref_video_automatically_accept_video_title">Прихвати долазне видео захтеве</string>
|
||||
<string name="pref_video_automatically_accept_video">Увек прихвати видео захтеве</string>
|
||||
<string name="pref_preferred_video_size">Жељена величина снимка</string>
|
||||
<string name="pref_bandwidth_limit">Ограничење опсега у kb/s</string>
|
||||
<string name="pref_video_codecs_title">Кодеци</string>
|
||||
<!--Call settings-->
|
||||
<string name="pref_call_title">Позови</string>
|
||||
<string name="pref_rfc2833_dtmf">Пошаљи РФЦ2833 ДТМФ-е</string>
|
||||
<string name="pref_sipinfo_dtmf">Пошаљи СИП ИНФО ДТФ-е</string>
|
||||
<!--Network settings-->
|
||||
<string name="pref_network_title">Мрежа</string>
|
||||
<string name="pref_stun_server">Стун сервер</string>
|
||||
<string name="pref_ice_enable">Укључи ИЦЕ</string>
|
||||
<string name="pref_upnp_enable">Укључи УПНП</string>
|
||||
<string name="pref_transport_use_random_ports">Користи насумичне прикључнике</string>
|
||||
<string name="pref_sip_port_title">СИП прикључник за коришћење</string>
|
||||
<string name="pref_video_port_title">Прикључник видеа или опсег прикључника</string>
|
||||
<string name="pref_audio_port_title">Прикључник звука или опсег прикључника</string>
|
||||
<string name="pref_video_port_description">Прикључник видеа или опсег прикључника (најм.-најв.)</string>
|
||||
<string name="pref_audio_port_description">Прикључник звука или опсег прикључника (најм.-најв.)</string>
|
||||
<string name="pref_media_encryption">Шифровање медија</string>
|
||||
<string name="pref_push_notification">Укључи обавештења гурања</string>
|
||||
<!--Advanced settings-->
|
||||
<string name="pref_advanced_title">Напредно</string>
|
||||
<string name="pref_debug">Прочисти</string>
|
||||
<string name="pref_background_mode">Режим позадине</string>
|
||||
<string name="pref_animation_enable_title">Укључи анимације</string>
|
||||
<string name="pref_autostart">Покрени се приликом подизања система</string>
|
||||
<string name="pref_image_sharing_server_title">Сервер дељења</string>
|
||||
<string name="pref_remote_provisioning_title">Прибављање удаљеног</string>
|
||||
<string name="pref_primary_account_title">Главни налог</string>
|
||||
<string name="pref_display_name_title">Приказано име</string>
|
||||
<string name="pref_user_name_title">Корисничко име</string>
|
||||
<!--Audio hack settings-->
|
||||
<string name="pref_audio_hacks_title">Штеловања звука</string>
|
||||
<string name="pref_audio_use_specific_mode_title">Користи нарочито режимско штеловање</string>
|
||||
<string name="pref_audio_use_specific_mode_summary">0=MODE_NORMAL (основно), 2=MODE_IN_CALL</string>
|
||||
<string name="pref_audio_hacks_use_routing_api_title">Користи штеловање АПИ рутирања</string>
|
||||
<string name="pref_audio_hacks_use_galaxys_hack_title">Користи штеловање звука Галаксија С</string>
|
||||
<!--Content description-->
|
||||
<string name="content_description_back">Назад</string>
|
||||
<string name="content_description_dialer">Бројчаник</string>
|
||||
<string name="content_description_toggle_micro">Искључи микрофон</string>
|
||||
<string name="content_description_toggle_speaker">Искључи звучник</string>
|
||||
<string name="content_description_decline">Одбиј</string>
|
||||
<string name="content_description_hang_up">Прекини</string>
|
||||
<string name="content_description_accept">Прихватам</string>
|
||||
<string name="content_description_edit">Дугме уређивања</string>
|
||||
<string name="content_description_add_contact">Додај у контакте</string>
|
||||
<string name="content_description_new_contact">Нови контакт</string>
|
||||
<string name="content_description_call">Позови</string>
|
||||
<string name="content_description_backspace">Повратница</string>
|
||||
<string name="content_description_chat">Ћаскање</string>
|
||||
<string name="content_description_dial_back">Откуцај број</string>
|
||||
<string name="content_description_contact_picture">Слика контакта</string>
|
||||
<string name="content_description_send_message">Пошаљи поруку</string>
|
||||
<string name="content_description_delete">Дугме брисања</string>
|
||||
<string name="content_description_add">Дугме додавања</string>
|
||||
<string name="content_description_new_discussion">Нова расправа</string>
|
||||
<string name="content_description_search">Претрага</string>
|
||||
<string name="content_description_all_contacts">Сви контакти</string>
|
||||
<string name="content_description_linphone_contacts">Контакти Линфона</string>
|
||||
<string name="content_description_call_direction">Смер позива</string>
|
||||
<string name="content_description_all_calls">Сви позиви</string>
|
||||
<string name="content_description_missed_calls">Пропуштени позиви</string>
|
||||
<string name="content_description_switch_video">Укључи видео</string>
|
||||
<string name="content_description_add_call">Додај позив</string>
|
||||
<string name="content_description_pause">Паузирај</string>
|
||||
<string name="content_description_numpad">Бројевна тастатура</string>
|
||||
<string name="content_description_history">Дугме историјата</string>
|
||||
<string name="content_description_chat_button">Дугме ћаскања</string>
|
||||
<string name="content_description_contacts">Дугме контакта</string>
|
||||
<string name="content_description_call_quality">Квалитет позива</string>
|
||||
<string name="content_description_encryption">Шифровање</string>
|
||||
<string name="content_description_switch_camera">Укључи камеру</string>
|
||||
<string name="content_description_cancel_button">Дугме отказивања</string>
|
||||
<string name="content_description_message_status">Стање поруке</string>
|
||||
<string name="content_description_conference">Конференција</string>
|
||||
</resources>
|
||||
191
res/values-sv/strings.xml
Normal file
191
res/values-sv/strings.xml
Normal file
|
|
@ -0,0 +1,191 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<!--Custom-->
|
||||
<string name="app_name">Linphone</string>
|
||||
<string name="service_name">Linphone-tjänst</string>
|
||||
<string name="addressbook_label">Linphone</string>
|
||||
<string name="notification_title">Linphone</string>
|
||||
<string name="wait_dialog_text">Startar upp</string>
|
||||
<string name="sync_account_name">linphone-kontakter</string>
|
||||
<string name="tunnel_host"></string>
|
||||
<!--Common-->
|
||||
<string name="username">Användarnamn</string>
|
||||
<string name="display_name">Visningsnamn</string>
|
||||
<string name="password">Lösenord</string>
|
||||
<string name="delete">Ta bort</string>
|
||||
<string name="retry">Försök igen</string>
|
||||
<string name="cancel">Avbryt</string>
|
||||
<string name="accept">Acceptera</string>
|
||||
<string name="continue_text">Fortsätt</string>
|
||||
<string name="about">Om</string>
|
||||
<string name="deny">Neka</string>
|
||||
<string name="search">Sök</string>
|
||||
<string name="outgoing">Utgående</string>
|
||||
<string name="incoming">Inkommande</string>
|
||||
<string name="missed">Missade</string>
|
||||
<string name="settings">Inställningar</string>
|
||||
<string name="decline">Avvisa</string>
|
||||
<string name="conference">Konferens</string>
|
||||
<!--Launch screen-->
|
||||
<!--Assistant-->
|
||||
<string name="wizard_username_unavailable">Detta användarnamn används redan.</string>
|
||||
<string name="first_launch_no_login_password">Ange din inloggning och lösenord</string>
|
||||
<!--Dailer-->
|
||||
<!--History-->
|
||||
<string name="today">Idag</string>
|
||||
<string name="yesterday">Igår</string>
|
||||
<!--Contacts-->
|
||||
<string name="no_contact">Inga kontakter i din adressbok.</string>
|
||||
<string name="no_sip_contact">Inga SIP-kontakter i din adressbok.</string>
|
||||
<string name="sip_address">SIP-adress</string>
|
||||
<string name="phone_number">Telefonnummer</string>
|
||||
<string name="contact_first_name">Förnamn</string>
|
||||
<string name="contact_last_name">Efternamn</string>
|
||||
<!--Chat-->
|
||||
<string name="share_picture_size_small">Liten</string>
|
||||
<string name="share_picture_size_medium">Mellan</string>
|
||||
<string name="share_picture_size_large">Stor</string>
|
||||
<string name="share_picture_size_real">Riktig storlek</string>
|
||||
<string name="copy_text">Kopiera text</string>
|
||||
<string name="image_picker_title">Välj källa</string>
|
||||
<string name="image_saved">Bild sparad</string>
|
||||
<string name="image_not_saved">Fel, bild ej sparad</string>
|
||||
<string name="wait">Vänta...</string>
|
||||
<!--Status Bar-->
|
||||
<string name="status_connected">Registrerad</string>
|
||||
<string name="status_in_progress">Registrering pågår</string>
|
||||
<string name="status_error">Registrering misslyckades</string>
|
||||
<string name="voicemail_unread">olästa meddelanden</string>
|
||||
<!--Side Menu-->
|
||||
<string name="menu_settings">Inställningar</string>
|
||||
<string name="menu_about">Om</string>
|
||||
<!--Call-->
|
||||
<string name="unknown_incoming_call_name">Okänd</string>
|
||||
<string name="call_stats_audio">Ljud</string>
|
||||
<string name="call_stats_video">Video</string>
|
||||
<string name="call_stats_upload">Uppladdningsbandbredd:</string>
|
||||
<string name="call_stats_download">Nerladdningsbandbredd:</string>
|
||||
<string name="call_stats_ice">ICE-anslutning:</string>
|
||||
<string name="call_stats_video_resolution">Video-storlek:</string>
|
||||
<string name="call">Ring</string>
|
||||
<!--About-->
|
||||
<string name="menu_send_log">Skicka logg</string>
|
||||
<string name="menu_reset_log">Nollställ logg</string>
|
||||
<!--Service-->
|
||||
<string name="incall_notif_active">Ljudsamtal pågår</string>
|
||||
<string name="incall_notif_paused">Pausat samtal pågår</string>
|
||||
<string name="notification_started">startad</string>
|
||||
<string name="unread_messages">%i olästa meddelanden</string>
|
||||
<!--Errors-->
|
||||
<string name="skipable_error_service_not_ready">Varning: tjänst inte redo</string>
|
||||
<string name="error">Fel</string>
|
||||
<string name="error_unknown">Okänt fel</string>
|
||||
<string name="error_call_declined">Samtal avvisat</string>
|
||||
<string name="error_user_not_found">Användare ej funnen</string>
|
||||
<string name="error_incompatible_media">Okompatibla mediaparametrar</string>
|
||||
<string name="error_network_unreachable">Nätverk otillgängligt</string>
|
||||
<string name="error_bad_credentials">Felaktigt inloggningsuppgifter</string>
|
||||
<string name="error_io_error">Nätverksfel</string>
|
||||
<!--Account Settings-->
|
||||
<string name="pref_sipaccount">SIP-konto</string>
|
||||
<string name="pref_manage_title">Hantera</string>
|
||||
<string name="pref_disable_account">Inaktivera</string>
|
||||
<string name="pref_proxy">Proxy</string>
|
||||
<string name="pref_domain">Domän*</string>
|
||||
<string name="pref_passwd">Lösenord*</string>
|
||||
<string name="pref_username">Användarnamn*</string>
|
||||
<string name="pref_enable_outbound_proxy">Utgående proxy</string>
|
||||
<string name="pref_avpf">AVPF</string>
|
||||
<string name="pref_escape_plus">Ersätt + med 00</string>
|
||||
<string name="pref_display_name">Visningsnamn</string>
|
||||
<string name="pref_prefix">Prefix</string>
|
||||
<string name="pref_transport_udp">UDP</string>
|
||||
<string name="pref_transport_tcp">TCP</string>
|
||||
<string name="pref_transport_tls">TLS</string>
|
||||
<string name="pref_delete_account">Ta bort detta konto</string>
|
||||
<string name="pref_default_account">Använd som standard</string>
|
||||
<!--Settings-->
|
||||
<string name="pref_sipaccounts">SIP-konton</string>
|
||||
<string name="default_account_flag">Standardkonto</string>
|
||||
<string name="pref_add_account">Lägg till konto</string>
|
||||
<string name="pref_tunnel">Tunnel</string>
|
||||
<string name="pref_tunnel_host">Värdnamn</string>
|
||||
<string name="pref_tunnel_port">Port</string>
|
||||
<string name="pref_tunnel_mode">Läge</string>
|
||||
<!--do not change order without changing corresponding entry_values in non_localizable_strings.xml-->
|
||||
<string name="pref_none">Ingen</string>
|
||||
<string name="pref_preferences_title">Inställningar</string>
|
||||
<string name="pref_video_enable_title">Aktivera video</string>
|
||||
<!--Audio settings-->
|
||||
<string name="pref_audio_title">Ljud</string>
|
||||
<string name="ec_calibrating">Kalibrerar...</string>
|
||||
<string name="no_echo">Inget eko</string>
|
||||
<string name="failed">misslyckades</string>
|
||||
<!--Video settings-->
|
||||
<string name="pref_video_title">Video</string>
|
||||
<string name="pref_video_use_front_camera_title">Använd front-kamera</string>
|
||||
<string name="pref_video_initiate_call_with_video_title">Initiera videosamtal</string>
|
||||
<string name="pref_video_initiate_call_with_video">Skicka alltid videoförfrågningar</string>
|
||||
<string name="pref_video_automatically_accept_video_title">Acceptera inkommande videoförfrågningar</string>
|
||||
<string name="pref_video_automatically_accept_video">Acceptera alltid videoförfrågningar</string>
|
||||
<string name="pref_preferred_video_size">Föredragen videostorlek</string>
|
||||
<string name="pref_bandwidth_limit">Bandbreddsgräns i kbit/s</string>
|
||||
<!--Call settings-->
|
||||
<string name="pref_call_title">Ring</string>
|
||||
<string name="pref_rfc2833_dtmf">Skicka RFC2833 DTMF</string>
|
||||
<!--Network settings-->
|
||||
<string name="pref_network_title">Nätverk</string>
|
||||
<string name="pref_stun_server">Stun-server</string>
|
||||
<string name="pref_ice_enable">Aktivera ICE</string>
|
||||
<string name="pref_upnp_enable">Aktivera UPNP</string>
|
||||
<string name="pref_transport_use_random_ports">Använd slumpade portar</string>
|
||||
<string name="pref_sip_port_title">SIP-port att använda</string>
|
||||
<string name="pref_media_encryption">Media-kryptering</string>
|
||||
<!--Advanced settings-->
|
||||
<string name="pref_advanced_title">Avancerat</string>
|
||||
<string name="pref_background_mode">Bakgrundsläge</string>
|
||||
<string name="pref_animation_enable_title">Aktivera animeringar</string>
|
||||
<string name="pref_autostart">Starta vid uppstart</string>
|
||||
<string name="pref_image_sharing_server_title">Delar server</string>
|
||||
<string name="pref_primary_account_title">Primärt konto</string>
|
||||
<string name="pref_display_name_title">Visningsnamn</string>
|
||||
<string name="pref_user_name_title">Användarnamn</string>
|
||||
<!--Audio hack settings-->
|
||||
<string name="pref_audio_hacks_title">Ljud-hacks</string>
|
||||
<string name="pref_audio_hacks_use_galaxys_hack_title">Använd Galaxy S-ljudhack</string>
|
||||
<!--Content description-->
|
||||
<string name="content_description_back">Tillbaka</string>
|
||||
<string name="content_description_toggle_micro">Växla micro</string>
|
||||
<string name="content_description_toggle_speaker">Växla högtalare</string>
|
||||
<string name="content_description_decline">Avvisa</string>
|
||||
<string name="content_description_hang_up">Lägg på</string>
|
||||
<string name="content_description_accept">Acceptera</string>
|
||||
<string name="content_description_edit">Redigera-knapp</string>
|
||||
<string name="content_description_add_contact">Lägg till kontakter</string>
|
||||
<string name="content_description_new_contact">Ny kontakt</string>
|
||||
<string name="content_description_call">Ring</string>
|
||||
<string name="content_description_chat">Chatt</string>
|
||||
<string name="content_description_dial_back">Ring tillbaka</string>
|
||||
<string name="content_description_contact_picture">Kontakt-bild</string>
|
||||
<string name="content_description_send_message">Skicka meddelande</string>
|
||||
<string name="content_description_delete">Ta bort-knapp</string>
|
||||
<string name="content_description_add">Lägg till-knapp</string>
|
||||
<string name="content_description_new_discussion">Ny diskussion</string>
|
||||
<string name="content_description_search">Sök</string>
|
||||
<string name="content_description_all_contacts">Alla kontakter</string>
|
||||
<string name="content_description_linphone_contacts">Linphone-kontakter</string>
|
||||
<string name="content_description_all_calls">Alla samtal</string>
|
||||
<string name="content_description_missed_calls">Missade samtal</string>
|
||||
<string name="content_description_switch_video">Växla video</string>
|
||||
<string name="content_description_add_call">Lägg till samtal</string>
|
||||
<string name="content_description_pause">Pausa</string>
|
||||
<string name="content_description_history">Historik-knapp</string>
|
||||
<string name="content_description_chat_button">Chatt-knapp</string>
|
||||
<string name="content_description_contacts">Kontakter-knapp</string>
|
||||
<string name="content_description_call_quality">Samtalskvalitet</string>
|
||||
<string name="content_description_encryption">Kryptering</string>
|
||||
<string name="content_description_switch_camera">Växla kamera</string>
|
||||
<string name="content_description_cancel_button">Avbryt-knapp</string>
|
||||
<string name="content_description_message_status">Meddelandestatus</string>
|
||||
<string name="content_description_conference">Konferens</string>
|
||||
</resources>
|
||||
182
res/values-zh-rTW/strings.xml
Normal file
182
res/values-zh-rTW/strings.xml
Normal file
|
|
@ -0,0 +1,182 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<!--Custom-->
|
||||
<string name="tunnel_host"></string>
|
||||
<!--Common-->
|
||||
<string name="username">使用者名稱</string>
|
||||
<string name="display_name">顯示名稱</string>
|
||||
<string name="password">密碼</string>
|
||||
<string name="delete">刪除</string>
|
||||
<string name="retry">重試</string>
|
||||
<string name="cancel">取消</string>
|
||||
<string name="accept">接受</string>
|
||||
<string name="continue_text">繼續</string>
|
||||
<string name="about">關於</string>
|
||||
<string name="deny">拒絕</string>
|
||||
<string name="search">搜尋</string>
|
||||
<string name="missed">未接來電</string>
|
||||
<string name="settings">設定</string>
|
||||
<string name="decline">拒絕</string>
|
||||
<string name="conference">會議</string>
|
||||
<!--Launch screen-->
|
||||
<!--Assistant-->
|
||||
<string name="transport">傳輸</string>
|
||||
<string name="assistant_account_not_validated">你的帳號還沒被驗證。</string>
|
||||
<string name="assistant_account_validated">你的帳號已經被驗證。</string>
|
||||
<string name="wizard_failed">發生錯誤,請稍候再試。</string>
|
||||
<string name="wizard_username_unavailable">這個使用者名稱已經被使用。</string>
|
||||
<!--Dailer-->
|
||||
<!--History-->
|
||||
<string name="today">今天</string>
|
||||
<string name="yesterday">昨天</string>
|
||||
<!--Contacts-->
|
||||
<string name="no_contact">通訊錄中沒有連絡人。</string>
|
||||
<string name="no_sip_contact">通訊錄中沒有 SIP 連絡人。</string>
|
||||
<string name="phone_number">電話號碼</string>
|
||||
<string name="contact_first_name">名字</string>
|
||||
<string name="contact_last_name">姓氏</string>
|
||||
<!--Chat-->
|
||||
<string name="share_picture_size_small">小</string>
|
||||
<string name="share_picture_size_medium">中</string>
|
||||
<string name="share_picture_size_large">大</string>
|
||||
<string name="share_picture_size_real">真實大小</string>
|
||||
<string name="text_copied_to_clipboard">文字已複製到剪貼簿</string>
|
||||
<string name="copy_text">複製文字</string>
|
||||
<string name="image_picker_title">選擇來源</string>
|
||||
<string name="image_saved">已儲存圖片</string>
|
||||
<string name="image_not_saved">錯誤,沒有儲存圖片</string>
|
||||
<string name="wait">請稍候...</string>
|
||||
<!--Status Bar-->
|
||||
<string name="status_connected">已註冊</string>
|
||||
<string name="status_in_progress">正在註冊</string>
|
||||
<string name="status_error">註冊失敗</string>
|
||||
<string name="voicemail_unread">未讀訊息</string>
|
||||
<!--Side Menu-->
|
||||
<string name="menu_settings">設定</string>
|
||||
<string name="menu_about">關於</string>
|
||||
<!--Call-->
|
||||
<string name="unknown_incoming_call_name">未知</string>
|
||||
<string name="call_stats_audio">音訊</string>
|
||||
<string name="call_stats_video">視訊</string>
|
||||
<string name="call_stats_codec">編碼:</string>
|
||||
<string name="call_stats_upload">上傳頻寬:</string>
|
||||
<string name="call_stats_download">下載頻寬:</string>
|
||||
<string name="call_stats_video_resolution">視訊大小:</string>
|
||||
<string name="call">通話</string>
|
||||
<!--About-->
|
||||
<!--Service-->
|
||||
<string name="unread_messages">%i 未讀訊息</string>
|
||||
<!--Errors-->
|
||||
<string name="skipable_error_service_not_ready">關閉</string>
|
||||
<string name="error">錯誤</string>
|
||||
<string name="error_unknown">未知錯誤</string>
|
||||
<string name="error_user_not_found">找不到使用者</string>
|
||||
<string name="error_network_unreachable">無法連接網路</string>
|
||||
<string name="error_io_error">網路錯誤</string>
|
||||
<!--Account Settings-->
|
||||
<string name="pref_sipaccount">SIP 帳號</string>
|
||||
<string name="pref_manage_title">管理</string>
|
||||
<string name="pref_disable_account">已停用</string>
|
||||
<string name="pref_domain">網域*</string>
|
||||
<string name="pref_passwd">密碼*</string>
|
||||
<string name="pref_username">使用者名稱*</string>
|
||||
<string name="pref_escape_plus">以 00 取代 +</string>
|
||||
<string name="pref_display_name">顯示名稱</string>
|
||||
<string name="pref_transport">傳輸</string>
|
||||
<string name="pref_transport_udp">UDP</string>
|
||||
<string name="pref_transport_tcp">TCP</string>
|
||||
<string name="pref_transport_tls">TLS</string>
|
||||
<string name="pref_delete_account">刪除這個帳號</string>
|
||||
<!--Settings-->
|
||||
<string name="pref_sipaccounts">SIP 帳號</string>
|
||||
<string name="default_account_flag">預設帳號</string>
|
||||
<string name="pref_add_account">加入帳號</string>
|
||||
<string name="pref_tunnel">隧道(Tunnel)</string>
|
||||
<string name="pref_tunnel_host">主機名稱</string>
|
||||
<string name="pref_tunnel_port">連接埠</string>
|
||||
<string name="pref_tunnel_mode">模式</string>
|
||||
<!--do not change order without changing corresponding entry_values in non_localizable_strings.xml-->
|
||||
<string-array name="tunnel_mode_entries">
|
||||
<item>停用</item>
|
||||
<item>只有3G</item>
|
||||
<item>總是</item>
|
||||
<item>自動</item>
|
||||
</string-array>
|
||||
<string name="pref_none">無</string>
|
||||
<string name="pref_preferences_title">偏好設定</string>
|
||||
<string name="pref_video_enable_title">啟用視訊</string>
|
||||
<!--Audio settings-->
|
||||
<string name="pref_audio_title">音訊</string>
|
||||
<string name="pref_echo_cancellation">回音消除</string>
|
||||
<string name="pref_echo_cancellation_summary">移除另一端聽到的回音</string>
|
||||
<string name="ec_calibrating">校正中...</string>
|
||||
<string name="failed">失敗</string>
|
||||
<string name="pref_codec_bitrate_limit">編碼位元率限制</string>
|
||||
<string name="pref_codecs">編碼</string>
|
||||
<!--Video settings-->
|
||||
<string name="pref_video_title">視訊</string>
|
||||
<string name="pref_video_use_front_camera_title">使用前攝影機</string>
|
||||
<string name="pref_video_initiate_call_with_video_title">開始視訊通話</string>
|
||||
<string name="pref_video_initiate_call_with_video">總是傳送視訊要求</string>
|
||||
<string name="pref_video_automatically_accept_video">總是接受視訊要求</string>
|
||||
<string name="pref_preferred_video_size">偏好的視訊大小</string>
|
||||
<string name="pref_video_codecs_title">編碼</string>
|
||||
<!--Call settings-->
|
||||
<string name="pref_call_title">通話</string>
|
||||
<!--Network settings-->
|
||||
<string name="pref_network_title">網路</string>
|
||||
<string name="pref_stun_server"> Stun 伺服器</string>
|
||||
<string name="pref_ice_enable">啟用 ICE</string>
|
||||
<string name="pref_upnp_enable">啟用 UPNP</string>
|
||||
<string name="pref_transport_use_random_ports">使用隨機連接埠</string>
|
||||
<string name="pref_sip_port_title">要使用的連接埠</string>
|
||||
<string name="pref_video_port_title">視訊連接埠或連接埠範圍</string>
|
||||
<string name="pref_audio_port_title">音訊連接埠或連接埠範圍</string>
|
||||
<string name="pref_video_port_description">視訊連接埠或連接埠範圍(最小連接埠-最大連接埠)</string>
|
||||
<string name="pref_audio_port_description">音訊連接埠或連接埠範圍(最小連接埠-最大連接埠)</string>
|
||||
<string name="pref_media_encryption">媒體加密</string>
|
||||
<!--Advanced settings-->
|
||||
<string name="pref_advanced_title">進階</string>
|
||||
<string name="pref_debug">除錯</string>
|
||||
<string name="pref_background_mode">背景模式</string>
|
||||
<string name="pref_animation_enable_title">啟用動畫</string>
|
||||
<string name="pref_autostart">開機時啟動</string>
|
||||
<string name="pref_primary_account_title">主要帳號</string>
|
||||
<string name="pref_display_name_title">顯示名稱</string>
|
||||
<string name="pref_user_name_title">使用者名稱</string>
|
||||
<!--Audio hack settings-->
|
||||
<!--Content description-->
|
||||
<string name="content_description_back">返回</string>
|
||||
<string name="content_description_dialer">撥號器</string>
|
||||
<string name="content_description_decline">拒絕</string>
|
||||
<string name="content_description_hang_up">掛斷</string>
|
||||
<string name="content_description_accept">接受</string>
|
||||
<string name="content_description_edit">編輯按鈕</string>
|
||||
<string name="content_description_add_contact">加入到連絡人</string>
|
||||
<string name="content_description_new_contact">新增聯絡人</string>
|
||||
<string name="content_description_call">通話</string>
|
||||
<string name="content_description_backspace">Backspace</string>
|
||||
<string name="content_description_chat">聊天</string>
|
||||
<string name="content_description_dial_back">回播</string>
|
||||
<string name="content_description_contact_picture">連絡人圖片</string>
|
||||
<string name="content_description_send_message">傳送訊息</string>
|
||||
<string name="content_description_delete">刪除按鈕</string>
|
||||
<string name="content_description_add">加入按鈕</string>
|
||||
<string name="content_description_search">搜尋</string>
|
||||
<string name="content_description_all_contacts">所有聯絡人</string>
|
||||
<string name="content_description_linphone_contacts">Linphone 聯絡人</string>
|
||||
<string name="content_description_call_direction">通話方向</string>
|
||||
<string name="content_description_all_calls">所有通話</string>
|
||||
<string name="content_description_missed_calls">未接來電</string>
|
||||
<string name="content_description_switch_video">切換視訊</string>
|
||||
<string name="content_description_pause">暫停</string>
|
||||
<string name="content_description_history">歷史按鈕</string>
|
||||
<string name="content_description_chat_button">聊天按鈕</string>
|
||||
<string name="content_description_contacts">聯絡人按鈕</string>
|
||||
<string name="content_description_call_quality">通話品質</string>
|
||||
<string name="content_description_encryption">加密</string>
|
||||
<string name="content_description_switch_camera">切換攝影機</string>
|
||||
<string name="content_description_cancel_button">取消按鈕</string>
|
||||
<string name="content_description_message_status">訊息狀態</string>
|
||||
<string name="content_description_conference">會議</string>
|
||||
</resources>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="history_date_format">EEE, d MMM</string>
|
||||
<string name="history_detail_date_format">yyyy/MM/dd - HH:mm - </string>
|
||||
<string name="messages_date_format">dd/MM, HH:mm </string>
|
||||
<string name="messages_list_date_format">dd/MM</string>
|
||||
<string name="today_date_format">HH:mm</string>
|
||||
<string name="picture_name_format">orange-secure-phone-mms-%s.jpg</string>
|
||||
|
||||
<string name="app_name">Orange Secure Phone</string>
|
||||
<string name="service_name">Orange Secure Phone Service</string>
|
||||
<string name="addressbook_label">Linphone</string>
|
||||
<string name="sync_account_type">org.linphone</string>
|
||||
<string name="sync_account_name">linphone contacts</string>
|
||||
<string name="sync_mimetype">vnd.android.cursor.item/org.linphone.profile</string>
|
||||
<string name="notification_title">Orange Secure Phone</string>
|
||||
<string name="wait_dialog_text">Starting up</string>
|
||||
<string name="notification_registered">Registered to %s </string>
|
||||
<string name="notification_register_failure">Fails to register to %s</string>
|
||||
<string name="about_text">Version %s</string>
|
||||
<string name="about_link">http://www.linphone.org\n\nInstructions\nhttp://www.linphone.org/user-guide.html\n\n© 2015 Belledonne Communications</string>
|
||||
<string name="button_sip_contacts">SIP</string>
|
||||
|
||||
<string name="tunnel_host"></string>
|
||||
</resources>
|
||||
|
||||
|
|
@ -3,6 +3,10 @@
|
|||
<!-- New settings -->
|
||||
<string name="default_domain">sip.orangecyberdefense.com</string>
|
||||
<string name="default_stun">stun.linphone.org</string>
|
||||
|
||||
<string name="sync_account_type">org.linphone</string> <!-- Change package ! -->
|
||||
<string name="sync_mimetype">vnd.android.cursor.item/org.linphone.profile</string> <!-- Change package, leave .profile at the end ! -->
|
||||
|
||||
<bool name="assistant_use_linphone_login_as_first_fragment">false</bool>
|
||||
<bool name="hide_in_call_stats">false</bool>
|
||||
<bool name="use_linphone_friend">true</bool>
|
||||
|
|
@ -25,7 +29,7 @@
|
|||
<bool name="allow_cancel_remote_provisioning_login_activity">false</bool>
|
||||
<bool name="hide_accounts">false</bool>
|
||||
<bool name="display_account_wizard_at_first_start">true</bool>
|
||||
<bool name="use_linphone_server_ports">true</bool>
|
||||
<bool name="use_linphone_server_ports">false</bool>
|
||||
<bool name="allow_only_phone_numbers_in_wizard">false</bool>
|
||||
|
||||
<bool name="enable_linphone_friends">false</bool>
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@
|
|||
<string name="pref_video_codec_h263_key">pref_video_codec_h263_key</string>
|
||||
<string name="pref_video_codec_mpeg4_key">pref_video_codec_mpeg4_key</string>
|
||||
<string name="pref_video_codec_h264_key">pref_video_codec_h264_key</string>
|
||||
<string name="pref_video_automatically_share_my_video_key">pref_video_automatically_share_my_video_key</string>
|
||||
<string name="pref_video_automatically_accept_video_key">pref_video_automatically_accept_video_key</string>
|
||||
<string name="pref_video_initiate_call_with_video_key">pref_video_initiate_call_with_video_key</string>
|
||||
<string name="pref_video_enable_key">pref_video_enable_key</string>
|
||||
|
|
@ -103,9 +102,6 @@
|
|||
<string name="pref_background_mode_key">pref_background_mode_key</string>
|
||||
<string name="pref_codec_bitrate_limit_key">pref_codec_bitrate_limit_key</string>
|
||||
<string name="pref_adaptive_rate_control_key">pref_adaptive_rate_control_key</string>
|
||||
<string name="pref_adaptive_rate_algorithm_key">pref_adaptive_rate_algorithm</string>
|
||||
<string name="pref_adaptive_rate_algorithm_simple_key">pref_adaptive_rate_algorithm_simple_key</string>
|
||||
<string name="pref_adaptive_rate_algorithm_stateful_key">pref_adaptive_rate_algorithm_stateful_key</string>
|
||||
|
||||
<string name="push_reg_id_key">push_reg_id_key</string>
|
||||
<string name="push_sender_id_key">push_sender_id_key</string>
|
||||
|
|
@ -155,6 +151,12 @@
|
|||
<string name="pref_codec_silk16">silk 16 Khz</string>
|
||||
<string name="pref_codec_silk24">silk 24 Khz</string>
|
||||
<string name="pref_codec_g729">g729</string>
|
||||
|
||||
<string-array name="adaptive_rate_algorithm_entries">
|
||||
<item>Simple</item>
|
||||
<item>Stateful</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="limit_bitrate_entry_values">
|
||||
<item>10</item>
|
||||
<item>15</item>
|
||||
|
|
@ -163,10 +165,21 @@
|
|||
<item>64</item>
|
||||
<item>128</item>
|
||||
</string-array>
|
||||
<string-array name="adaptive_rate_algorithm_entries">
|
||||
<item>Simple</item>
|
||||
<item>Stateful</item>
|
||||
<string-array name="limit_bitrate_entries">
|
||||
<item>10 kbits/s</item>
|
||||
<item>15 kbits/s</item>
|
||||
<item>20 kbits/s</item>
|
||||
<item>36 kbits/s</item>
|
||||
<item>64 kbits/s</item>
|
||||
<item>128 kbits/s</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="video_preset_entries">
|
||||
<item>default</item>
|
||||
<item>high-fps</item>
|
||||
<item>custom</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_video_codec_vp8_title">VP8</string>
|
||||
<string name="media_encryption_srtp">SRTP</string>
|
||||
<string name="media_encryption_zrtp">ZRTP</string>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,42 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<!-- Custom -->
|
||||
<string name="app_name">Orange Secure Phone</string>
|
||||
<string name="service_name">Orange Secure Phone Service</string>
|
||||
<string name="addressbook_label">Linphone</string>
|
||||
<string name="notification_title">Orange Secure Phone</string>
|
||||
<string name="wait_dialog_text">Starting up</string>
|
||||
<string name="notification_registered">Registered to %s </string>
|
||||
<string name="notification_register_failure">Fails to register to %s</string>
|
||||
<string name="about_version">OrangeSecurePhone Version %s</string>
|
||||
<string name="about_liblinphone_version">Linphone Core %s</string>
|
||||
<string name="about_text">GNU General Public License V2\n © 2010-2016 Belledonne Communications</string>
|
||||
<string name="about_link">www.linphone.org</string>
|
||||
|
||||
<string name="sync_account_name">linphone contacts</string>
|
||||
|
||||
<string name="history_date_format">EEE, d MMM</string>
|
||||
<string name="history_detail_date_format">yyyy/MM/dd - HH:mm - </string>
|
||||
<string name="messages_date_format">dd/MM, HH:mm</string>
|
||||
<string name="messages_list_date_format">dd/MM</string>
|
||||
<string name="today_date_format">HH:mm</string>
|
||||
<string name="picture_name_format">linphone-mms-%s.jpg</string>
|
||||
<string name="tunnel_host"></string>
|
||||
|
||||
<!-- Common -->
|
||||
<string name="username">Username</string>
|
||||
<string name="display_name">Display name</string>
|
||||
<string name="password">Password</string>
|
||||
<string name="confirm_password">Password confirmation</string>
|
||||
<string name="domain">Domain</string>
|
||||
<string name="remote_provisioning_url">Provisioning url</string>
|
||||
<string name="remote_provisioning_url">URL</string>
|
||||
<string name="email">Email</string>
|
||||
<string name="delete_text">Are you sure you want to delete your selection ?</string>
|
||||
<string name="delete_text">Are you sure you want to delete your selection?</string>
|
||||
<string name="delete">Delete</string>
|
||||
<string name="retry">Retry</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="accept">Accept</string>
|
||||
<string name="continue_text">Continue</string>
|
||||
<string name="about">About</string>
|
||||
<string name="deny">Deny</string>
|
||||
<string name="no_account">No account configured</string>
|
||||
|
|
@ -23,134 +47,181 @@
|
|||
<string name="incoming">incoming</string>
|
||||
<string name="missed">missed</string>
|
||||
<string name="settings">Settings</string>
|
||||
<string name="connect">Connection</string>
|
||||
<string name="decline">Decline</string>
|
||||
<string name="conference">Conference</string>
|
||||
|
||||
<!-- splashscreen -->
|
||||
<string name="app_description">free SIP VOIP client</string>
|
||||
<!-- Launch screen -->
|
||||
<string name="app_description">the libre SIP client</string>
|
||||
|
||||
<!-- 0. Assistant -->
|
||||
<string name="assistant_welcome">Welcome</string>
|
||||
<string name="assistant_title">Assistant</string>
|
||||
<!-- Assistant -->
|
||||
<string name="welcome">Welcome</string>
|
||||
<string name="assistant">Assistant</string>
|
||||
<string name="assistant_create_account">Create account</string>
|
||||
<string name="assistant_validate_account">Your account is created. Please check your mails to validate your account. Once it is done, come back here and click on the button.</string>
|
||||
<string name="assistant_welcome_desc">This assistant will help you to use a SIP account for your calls.</string>
|
||||
<string name="assistant_linphone_login_desc">Enter your username and password of Linphone account</string>
|
||||
<string name="assistant_login_desc">Enter your username and password with your SIP domain</string>
|
||||
<string name="assistant_remote_provisioning_desc">Please provide your provisioning URL</string>
|
||||
<string name="transport">Transport</string>
|
||||
<string name="assistant_login_linphone">Use Linphone account</string>
|
||||
<string name="assistant_login_generic">Use SIP account</string>
|
||||
<string name="assistant_remote_provisioning">Fetch remote configuration</string>
|
||||
<string name="assistant_create_account_title">Create account</string>
|
||||
<string name="assistant_create_account_part_1">1/2</string>
|
||||
<string name="assistant_create_account_part_2">2/2</string>
|
||||
<string name="assistant_display_name">Display name (optional)</string>
|
||||
<string name="assistant_linphone_account_title">Configure Linphone account</string>
|
||||
<string name="assistant_general_account_title">Configure SIP account</string>
|
||||
<string name="assistant_display_name_optional">Display name (optional)</string>
|
||||
<string name="assistant_linphone_account">Configure Linphone account</string>
|
||||
<string name="assistant_generic_account">Configure SIP account</string>
|
||||
<string name="assistant_remote_provisioning_title">Fetch remote configuration</string>
|
||||
<string name="assistant_create">Create account</string>
|
||||
<string name="assistant_apply">Fetch and apply</string>
|
||||
<string name="assistant_fetch_apply">Fetch and apply</string>
|
||||
<string name="assistant_login">Login</string>
|
||||
<string name="assistant_ec_calibration">Echo canceller calibration in progress</string>
|
||||
<string name="assistant_ec_calibration">Echo canceler calibration in progress</string>
|
||||
<string name="assistant_remote_provisioning_login">Enter your login</string>
|
||||
<string name="assistant_connect">Connection</string>
|
||||
<string name="assistant_account_not_validated">Your account has not been validated yet.</string>
|
||||
<string name="assistant_account_validated">Your account has been validated.</string>
|
||||
<string name="assistant_error_bad_credentials">Incorrect username or password</string>
|
||||
<string name="wizard_failed">An error occurred, try again later.</string>
|
||||
<string name="wizard_server_unavailable">Server unreachable, verify your network connection.</string>
|
||||
<string name="wizard_username_unavailable">This username is already in use.</string>
|
||||
<string name="wizard_username_incorrect">Your username is invalid.</string>
|
||||
<string name="wizard_email_incorrect">Your email is invalid.</string>
|
||||
<string name="wizard_password_incorrect">Your password is invalid (6 characters min).</string>
|
||||
<string name="wizard_passwords_unmatched">Passwords do not match.</string>
|
||||
<string name="setup_confirm_username">Your username will be %s.\r\n\r\nIt may differ from your input to match requirements.\r\nDo you accept?</string>
|
||||
<string name="first_launch_no_login_password">Please enter your login and password</string>
|
||||
|
||||
<!-- 1. Dailer -->
|
||||
<!-- Dailer -->
|
||||
<string name="address_bar_hint">Enter a number or an address</string>
|
||||
|
||||
<!-- 2. History -->
|
||||
<!-- History -->
|
||||
<string name="no_call_history">No call in your history</string>
|
||||
<string name="no_missed_call_history">No missed call in your history</string>
|
||||
<string name="delete_history_log">Do you want to delete selected log?</string>
|
||||
<string name="delete_history_log">Do you want to delete selected call log?</string>
|
||||
<string name="today">Today</string>
|
||||
<string name="yesterday">Yesterday</string>
|
||||
|
||||
|
||||
<!-- 3. Contacts -->
|
||||
<!-- Contacts -->
|
||||
<string name="no_contact">No contact in your address book.</string>
|
||||
<string name="no_sip_contact">No SIP contact in your address book.</string>
|
||||
<string name="delete_contacts">Do you want to delete selected contact?</string>
|
||||
<string name="delete_contact">Do you want to delete selected this contact?</string>
|
||||
<string name="delete_contacts">Do you want to delete selected contacts?</string>
|
||||
<string name="delete_contact">Do you want to delete selected contact??</string>
|
||||
<string name="search_contact">Search</string>
|
||||
<string name="sip_address">SIP address</string>
|
||||
<string name="phone_number">Phone number</string>
|
||||
<string name="contact_first_name">First name</string>
|
||||
<string name="contact_last_name">Last name</string>
|
||||
|
||||
<!-- 4. Chat -->
|
||||
<!-- Chat -->
|
||||
<string name="no_chat_history">No conversations</string>
|
||||
<string name="delete_conversation">Do you want to delete selected conversation?</string>
|
||||
<string name="delete_message">Do you want to delete selected message?</string>
|
||||
<string name="remote_composing">Remote is writing...</string>
|
||||
<string name="share_picture_size_small">Small</string>
|
||||
<string name="share_picture_size_medium">Medium</string>
|
||||
<string name="share_picture_size_large">Large</string>
|
||||
<string name="share_picture_size_real">Real size</string>
|
||||
<string name="text_copied_to_clipboard">Text copied to clipboard</string>
|
||||
<string name="copy_text">Copy text</string>
|
||||
<string name="image_picker_title">Select source</string>
|
||||
<string name="image_saved">Image saved</string>
|
||||
<string name="image_not_saved">Error, image not saved</string>
|
||||
<string name="wait">Please wait...</string>
|
||||
<string name="processing_image">Processing image, can take up to a few seconds depending on the size of the file</string>
|
||||
|
||||
<!-- Status Bar -->
|
||||
<string name="status_connected">Registered</string>
|
||||
<string name="status_not_connected">Not registered</string>
|
||||
<string name="status_in_progress">Registration in progress</string>
|
||||
<string name="status_error">Registration failed</string>
|
||||
<string name="voicemail_unread"> unread messages</string>
|
||||
|
||||
<!-- Side Menu -->
|
||||
<string-array name="side_menu_item">
|
||||
<item>Assistant</item>
|
||||
<item>Settings</item>
|
||||
<item>About</item>
|
||||
</string-array>
|
||||
<string name="menu_assistant">Assistant</string>
|
||||
<string name="menu_settings">Settings</string>
|
||||
<string name="menu_about">About</string>
|
||||
<string name="quit">Quit</string>
|
||||
|
||||
<!-- Call -->
|
||||
<string name="incoming_call">incoming call</string>
|
||||
<string name="outgoing_call">outgoing call</string>
|
||||
<string name="add_video_dialog">Your correspondent would like to turn on the video</string>
|
||||
<string name="add_video_dialog">Your correspondent would like to turn on video</string>
|
||||
<string name="no_current_call">No active call</string>
|
||||
<string name="call_paused_by_remote">Your correspondent paused the call</string>
|
||||
<string name="couldnt_accept_call">An error occurred while accepting the call</string>
|
||||
<string name="zrtp_dialog">ZRTP token is %s\nYou should only accept if you have the same token as your correspondent</string>
|
||||
<string name="unknown_incoming_call_name">Unknown</string>
|
||||
<string name="call_stats_audio">Audio</string>
|
||||
<string name="call_stats_video">Video</string>
|
||||
<string name="call_stats_codec">Codec:</string>
|
||||
<string name="call_stats_upload">Upload bandwidth:</string>
|
||||
<string name="call_stats_download">Download bandwidth:</string>
|
||||
<string name="call_stats_ice">ICE connectivity:</string>
|
||||
<string name="call_stats_video_resolution">Video size:</string>
|
||||
<string name="call">Call</string>
|
||||
|
||||
<!-- About -->
|
||||
<string name="menu_send_log">Send log</string>
|
||||
<string name="menu_reset_log">Reset log</string>
|
||||
|
||||
<!-- Service -->
|
||||
<string name="incall_notif_active">Audio call ongoing</string>
|
||||
<string name="incall_notif_paused">Paused call ongoing</string>
|
||||
<string name="incall_notif_video">Video capturing call ongoing</string>
|
||||
<string name="notification_started">started</string>
|
||||
<string name="unread_messages">%i unread messages</string>
|
||||
|
||||
<!-- Errors -->
|
||||
<string name="skipable_error_service_not_ready">Warning: service is not ready</string>
|
||||
<string name="error">Error</string>
|
||||
<string name="warning_wrong_destination_address">Cannot build destination address from %s</string>
|
||||
<string name="error_unknown">Unknown error</string>
|
||||
<string name="error_call_declined">Call declined</string>
|
||||
<string name="error_user_not_found">User not found</string>
|
||||
<string name="error_incompatible_media">Incompatible media parameters</string>
|
||||
<string name="error_low_bandwidth">Your correspondent has low bandwidth, video cannot be started</string>
|
||||
<string name="error_network_unreachable">Network is unreachable</string>
|
||||
<string name="error_bad_credentials">Bad credentials</string>
|
||||
<string name="error_unauthorized">Unauthorized</string>
|
||||
<string name="error_io_error">Network error</string>
|
||||
<string name="download_image_failed">Download failed. Please check your network connection or try again later.</string>
|
||||
<string name="remote_provisioning_failure">Failed to download or apply remote provisioning profile...</string>
|
||||
<string name="remote_provisioning_again_title">Remote provisioning</string>
|
||||
<string name="remote_provisioning_again_message">Do you want to change the provisioning URI?</string>
|
||||
|
||||
<!-- Account Settings -->
|
||||
<string name="pref_sipaccount">SIP Account</string>
|
||||
<string name="pref_manage_title">Manage</string>
|
||||
<string name="pref_disable_account">Disable</string>
|
||||
<string name="pref_proxy">Proxy</string>
|
||||
<string name="pref_domain">Domain*</string>
|
||||
<string name="pref_passwd">Password*</string>
|
||||
<string name="pref_username">Username*</string>
|
||||
<string name="pref_enable_outbound_proxy">Outbound proxy</string>
|
||||
<string name="pref_help_proxy">SIP proxy hostname or ip address (optional)</string>
|
||||
<string name="pref_help_outbound_proxy">Route all calls through SIP proxy</string>
|
||||
<string name="pref_help_username">Example: john if your account is john@sip.example.org</string>
|
||||
<string name="pref_help_domain">sip.example.org if your account is john@sip.example.org</string>
|
||||
<string name="pref_help_password">You have to re-enter your password if you edit your username and/or the domain</string>
|
||||
<string name="pref_expire_title">Expire</string>
|
||||
<string name="pref_avpf">AVPF</string>
|
||||
<string name="pref_avpf_rr_interval"> AVPF regular RTCP interval in seconds (between 1 and 5)</string>
|
||||
<string name="pref_escape_plus">Replace + by 00</string>
|
||||
<string name="pref_auth_userid">Auth userid</string>
|
||||
<string name="pref_help_auth_userid">Enter authentication userid (optional)</string>
|
||||
<string name="pref_display_name">Display name</string>
|
||||
<string name="pref_help_display_name">Enter display name (optional)</string>
|
||||
<string name="pref_prefix">Prefix</string>
|
||||
<string name="pref_transport">Transport</string>
|
||||
<string name="pref_transport_udp">UDP</string>
|
||||
<string name="pref_transport_tcp">TCP</string>
|
||||
<string name="pref_transport_tls">TLS</string>
|
||||
<string name="pref_delete_account">Delete this account</string>
|
||||
<string name="pref_default_account">Use as default</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string-array name="video_preset_entries">
|
||||
<item>default</item>
|
||||
<item>high-fps</item>
|
||||
<item>custom</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
<!-- Content description -->
|
||||
<string name="content_description_toggle_micro">Toggle micro</string>
|
||||
<string name="content_description_toggle_speaker">Toggle speaker</string>
|
||||
<string name="content_description_decline">Decline</string>
|
||||
<string name="content_description_hang_up">Hang up</string>
|
||||
<string name="content_description_accept">Accept</string>
|
||||
|
||||
|
||||
<string name="content_description_edit">Edit button</string>
|
||||
<string name="content_description_valid">Valid button</string>
|
||||
<string name="content_description_validate">Valid button</string>
|
||||
|
||||
<string name="content_description_add_contact">Add to contacts</string>
|
||||
<string name="content_description_new_contact">New contact</string>
|
||||
<string name="content_description_call">Call</string>
|
||||
<string name="content_description_backspace">Backspace</string>
|
||||
<string name="content_description_about">About page</string>
|
||||
<string name="content_description_chat">Chat</string>
|
||||
<string name="content_description_dial_back">Dial back</string>
|
||||
<string name="content_description_contact_picture">Contact picture</string>
|
||||
<string name="content_description_send_message">Send message</string>
|
||||
<string name="content_description_detail">Detail</string>
|
||||
<string name="content_description_delete">Delete button</string>
|
||||
<string name="content_description_add">Add button</string>
|
||||
<string name="content_description_new_discussion">New discussion</string>
|
||||
|
||||
|
||||
<string name="content_description_search">Search</string>
|
||||
<string name="content_description_all_contacts">All contacts</string>
|
||||
<string name="content_description_linphone_contacts">Linphone contacts</string>
|
||||
<string name="content_description_call_direction">Call direction</string>
|
||||
<string name="content_description_all_calls">All calls</string>
|
||||
<string name="content_description_missed_calls">Missed calls</string>
|
||||
<string name="content_description_switch_video">Switch video</string>
|
||||
|
||||
<string name="content_description_add_call">Add call</string>
|
||||
<string name="content_description_pause">Pause</string>
|
||||
<string name="content_description_numpad">Numpad</string>
|
||||
<string name="content_description_settings">Settings button</string>
|
||||
<string name="content_description_dialer">Dialer</string>
|
||||
<string name="content_description_history">History button</string>
|
||||
<string name="content_description_chat_button">Chat button</string>
|
||||
<string name="content_description_contacts">Contacts button</string>
|
||||
<string name="content_description_led"></string>
|
||||
<string name="content_description_call_quality">Call quality</string>
|
||||
<string name="content_description_encryption">Encryption</string>
|
||||
<string name="content_description_switch_camera">Switch camera</string>
|
||||
<string name="content_description_welcome">Welcome to the account setup assistant</string>
|
||||
<string name="content_description_cancel">Cancel</string>
|
||||
<string name="content_description_cancel_button">Cancel button</string>
|
||||
<string name="content_description_next">Next button</string>
|
||||
<string name="content_description_back">Back button</string>
|
||||
<string name="content_description_setup_ok">Ok</string>
|
||||
<string name="content_description_message_status">Message status</string>
|
||||
<string name="content_description_conference">Conference</string>
|
||||
|
||||
|
||||
<string name="pref_disable_account">Disable</string>
|
||||
<string name="pref_sipaccounts">SIP Accounts</string>
|
||||
<string name="default_account_flag">Default account</string>
|
||||
<string name="pref_add_account">Add account</string>
|
||||
<string name="pref_tunnel">Tunnel</string>
|
||||
<string name="pref_tunnel_host">Hostname</string>
|
||||
<string name="pref_tunnel_port">Port</string>
|
||||
|
|
@ -162,334 +233,118 @@
|
|||
<item>always</item>
|
||||
<item>auto</item>
|
||||
</string-array>
|
||||
<string name="pref_none">None</string>
|
||||
<string name="pref_preferences_title">Preferences</string>
|
||||
<string name="pref_video_enable_title">Enable Video</string>
|
||||
|
||||
<string name="incall_notif_active">Audio call ongoing</string>
|
||||
<string name="incall_notif_paused">Paused call ongoing</string>
|
||||
<string name="incall_notif_video">Video capturing call ongoing</string>
|
||||
<string name="not_ready_to_make_new_call">Not ready for a new call</string>
|
||||
<string name="bad_target_uri">Bad contact : %s</string>
|
||||
<string name="reset_sas_fmt">Reset verified %s</string>
|
||||
<string name="verify_sas_fmt">Verify %s</string>
|
||||
<string name="communication_encrypted">Encrypted</string>
|
||||
<string name="waiting_for_startup">Starting up…</string>
|
||||
<string name="couldnt_accept_call">An error occurred while accepting call</string>
|
||||
<string name="error_adding_new_call">Error adding new call</string>
|
||||
<string name="transfer_started">Transfer initiated</string>
|
||||
<string name="transfer_dialog_title">Transfer call to</string>
|
||||
<string name="transfer_to_new_call">New call</string>
|
||||
<string name="resume_dialog_title">Resume call</string>
|
||||
<string name="cannot_resume_paused_by_remote_call">Cannot resume call paused by remote</string>
|
||||
<string name="conf_show_details_text">Show details</string>
|
||||
<string name="skipable_error_service_not_ready">Warning: service is not ready</string>
|
||||
<string name="close_button_text">Close</string>
|
||||
<string name="status_conf_call">conf</string>
|
||||
<string name="status_active_call">active</string>
|
||||
<string name="state_paused">paused</string>
|
||||
<string name="state_paused_by_remote">paused by remote</string>
|
||||
<string name="state_streams_running"></string>
|
||||
<string name="mutemic_button_txt">Mute</string>
|
||||
<string name="speaker_button_txt">Speaker</string>
|
||||
<string name="bluetooth_button_txt">Bluetooth</string>
|
||||
<string name="CancelButtonText">Cancel</string>
|
||||
<string name="AddCallButtonText">Add call</string>
|
||||
<string name="TransferCallButtonText">Transfer call</string>
|
||||
<string name="conf_admin_choice_enter">Enter conference</string>
|
||||
<string name="conf_admin_choice_leave">Momentarily leave conference</string>
|
||||
<string name="conf_admin_choice_terminate">Terminate conference</string>
|
||||
<string name="hangup">Hang up</string>
|
||||
<string name="conf_simple_merge_bt_txt">Merge</string>
|
||||
<string name="conf_simple_transfer_bt_txt">Transfer</string>
|
||||
<string name="conf_simple_video_bt_txt">video</string>
|
||||
<!--<string name="conf_simple_no_current_call">No active call</string>-->
|
||||
<string name="show_send_dtmfs_button">Dialpad</string>
|
||||
<string name="conf_conference">Conference</string>
|
||||
<string name="in_conf">You are part of it</string>
|
||||
<string name="in_conf_leave">Go out</string>
|
||||
<string name="out_conf">You are out of it</string>
|
||||
<string name="out_conf_enter">Go in</string>
|
||||
<!-- Audio settings -->
|
||||
<string name="pref_audio_title">Audio</string>
|
||||
<string name="pref_echo_cancellation">Echo cancellation</string>
|
||||
<string name="pref_echo_cancellation_summary">Removes the echo heard by other end</string>
|
||||
<string name="pref_echo_canceller_calibration">Echo canceler calibration</string>
|
||||
<string name="ec_calibrating">Calibrating…</string>
|
||||
<string name="ec_calibrated">Calibrated in %s ms</string>
|
||||
<string name="no_echo">No echo</string>
|
||||
<string name="failed">failed</string>
|
||||
<string name="pref_adaptive_rate_control">Adaptive rate control</string>
|
||||
<string name="pref_codec_bitrate_limit">Codec bitrate limit</string>
|
||||
<string name="pref_codecs">Codecs</string>
|
||||
|
||||
<!-- Video settings -->
|
||||
<string name="pref_video_title">Video</string>
|
||||
<string name="pref_video_use_front_camera_title">Use front camera</string>
|
||||
<string name="pref_video_initiate_call_with_video_title">Initiate video calls</string>
|
||||
<string name="pref_video_initiate_call_with_video">Always send video requests</string>
|
||||
<string name="pref_video_automatically_accept_video_title">Accept incoming video requests</string>
|
||||
<string name="pref_video_automatically_accept_video">Always accept video requests</string>
|
||||
<string name="pref_video_preset">Video preset</string>
|
||||
<string name="pref_preferred_video_size">Preferred video size</string>
|
||||
<string name="pref_preferred_fps">Preferred FPS</string>
|
||||
|
||||
<string name="pref_bandwidth_limit">Bandwidth limit in kbits/s</string>
|
||||
<string name="pref_video_codecs_title">Codecs</string>
|
||||
|
||||
<!-- Call settings -->
|
||||
<string name="pref_call_title">Call</string>
|
||||
<string name="pref_rfc2833_dtmf">Send RFC2833 DTMFs</string>
|
||||
<string name="pref_sipinfo_dtmf">Send SIP INFO DTMFs</string>
|
||||
<string name="pref_voice_mail">Voice mail URI</string>
|
||||
|
||||
<!-- Network settings -->
|
||||
<string name="pref_network_title">Network</string>
|
||||
<string name="pref_wifi_only">Use WiFi only</string>
|
||||
<string name="pref_stun_server">Stun server</string>
|
||||
<string name="pref_ice_enable">Enable ICE</string>
|
||||
<string name="pref_upnp_enable">Enable UPNP</string>
|
||||
<string name="pref_transport_use_random_ports">Use random ports</string>
|
||||
<string name="pref_sip_port_title">SIP port to use</string>
|
||||
<string name="pref_video_port_title">Video port or port range</string>
|
||||
<string name="pref_audio_port_title">Audio port or port range</string>
|
||||
<string name="pref_video_port_description">Video port or port range (minport-maxport)</string>
|
||||
<string name="pref_audio_port_description">Audio port or port range (minport-maxport)</string>
|
||||
<string name="pref_media_encryption">Media encryption</string>
|
||||
<string name="pref_push_notification">Enable push notifications</string>
|
||||
<string name="pref_ipv6_title">Allow IPv6</string>
|
||||
|
||||
<!-- Advanced settings -->
|
||||
<string name="pref_advanced_title">Advanced</string>
|
||||
<string name="pref_debug">Debug</string>
|
||||
<string name="pref_background_mode">Background mode</string>
|
||||
<string name="pref_animation_enable_title">Enable Animations</string>
|
||||
<string name="pref_autostart">Start at boot time</string>
|
||||
<string name="pref_incoming_call_timeout_title">Incoming call hangup (in seconds)</string>
|
||||
<string name="pref_image_sharing_server_title">Sharing server</string>
|
||||
<string name="pref_remote_provisioning_title">Remote provisioning</string>
|
||||
<string name="pref_primary_account_title">Primary account</string>
|
||||
<string name="pref_display_name_title">Display name</string>
|
||||
<string name="pref_user_name_title">Username</string>
|
||||
|
||||
<!-- Audio hack settings -->
|
||||
<string name="pref_audio_hacks_title">Audio hacks</string>
|
||||
<string name="pref_audio_use_specific_mode_title">Use specific mode hack</string>
|
||||
<string name="pref_audio_use_specific_mode_summary">0=MODE_NORMAL (default), 2=MODE_IN_CALL</string>
|
||||
<string name="pref_audio_hacks_use_routing_api_title">Use routing API hack</string>
|
||||
<string name="pref_audio_hacks_use_galaxys_hack_title">Use Galaxy S audio hack</string>
|
||||
<string name="pref_audio_soft_volume_title">Use software volume</string>
|
||||
<string name="pref_ipv6_title">Use ipv6 instead of ipv4</string>
|
||||
<string name="error_while_accepting_pending_call">Error while accepting pending call</string>
|
||||
<string name="incoming_call_dialog_title">%s is calling you</string>
|
||||
<string name="decline">Decline</string>
|
||||
<string name="unknown_incoming_call_name">Unknown</string>
|
||||
<string name="pref_network_title">Network</string>
|
||||
<string name="pref_transport">Transport</string>
|
||||
<string name="pref_transport_udp">UDP</string>
|
||||
<string name="pref_transport_tcp">TCP</string>
|
||||
<string name="pref_transport_tls">TLS</string>
|
||||
<string name="pref_transport_use_random_ports">Use random ports</string>
|
||||
<string name="pref_sip_port_title">SIP port to use</string>
|
||||
<string name="at_least_a_protocol">At least one item is required</string>
|
||||
<string name="first_launch_ok">Registration successful</string>
|
||||
<string name="error">Error</string>
|
||||
<string name="click_to_show_first_login_view">Start</string>
|
||||
<string name="dialer_null_on_new_intent">Application not ready</string>
|
||||
<string name="pref_add_account">Add account</string>
|
||||
<string name="no_phone_numbers">No phone numbers found for %s</string>
|
||||
<string name="filter_contacts">Filter contacts</string>
|
||||
<string name="title_numbers_dialog">%s\'s phone numbers</string>
|
||||
<string name="pref_delete_account">Delete this account</string>
|
||||
<string name="pref_default_account">Use as default</string>
|
||||
<string name="pref_echo_canceller_calibration">Echo canceller calibration</string>
|
||||
<string name="pref_video_use_front_camera_title">Use front camera</string>
|
||||
<string name="pref_video">Video</string>
|
||||
<string name="pref_preferences">Preferences</string>
|
||||
<string name="pref_video_codecs_title">Codecs</string>
|
||||
<string name="pref_preferred_video_size">Preferred video size</string>
|
||||
<string name="menu_videocall_back_to_dialer_title">Display dialer</string>
|
||||
<string name="menu_videocall_switch_camera_title">Front/Rear Camera</string>
|
||||
<string name="menu_videocall_change_resolution_when_low_resolution">Try High resolution</string>
|
||||
<string name="menu_videocall_change_resolution_when_high_resolution">Low resolution</string>
|
||||
<string name="menu_videocall_change_resolution_title">Change resolution</string>
|
||||
<string name="menu_videocall_toggle_camera_title">Mute/Unmute camera</string>
|
||||
<string name="menu_videocall_toggle_camera_disable">Disable camera</string>
|
||||
<string name="menu_videocall_toggle_camera_enable">Enable camera</string>
|
||||
<string name="menu_videocall_terminate_call_title">Terminate call</string>
|
||||
<string name="pref_video_settings_title">Video settings</string>
|
||||
<string name="pref_video_automatically_share_my_video_title">Share my camera</string>
|
||||
<string name="pref_video_automatically_accept_video_title">Accept incoming video requests</string>
|
||||
<string name="pref_video_automatically_share_my_video">Automatically send my camera</string>
|
||||
<string name="pref_video_automatically_accept_video">Always accept video requests</string>
|
||||
<string name="pref_video_initiate_call_with_video_title">Initiate video calls</string>
|
||||
<string name="pref_video_initiate_call_with_video">Always send video requests</string>
|
||||
<string name="pref_video_enable_title">Enable Video</string>
|
||||
<string name="pref_bandwidth_limit">Bandwidth limit in kbits/s</string>
|
||||
<string name="pref_animation_enable_title">Enable Animations</string>
|
||||
<string name="pref_escape_plus">Replace + by 00</string>
|
||||
<string name="pref_ilbc_summary">iLBC might be unavailable depending on ARM processor and Android OS version.</string>
|
||||
<string name="pref_echo_cancellation">Echo cancellation</string>
|
||||
<string name="pref_autostart">Start at boot time</string>
|
||||
<string name="pref_enable_outbound_proxy">Outbound proxy</string>
|
||||
|
||||
<string name="pref_codecs">Codecs</string>
|
||||
<string name="pref_communication_expire_title">Communication timeout</string>
|
||||
<string name="pref_incoming_expire_title">Incoming call timeout</string>
|
||||
<string name="pref_video_port_title">Video port or port range</string>
|
||||
<string name="pref_audio_port_title">Audio port or port range</string>
|
||||
<string name="pref_video_port_description">Video port or port range (minport-maxport)</string>
|
||||
<string name="pref_audio_port_description">Audio port or port range (minport-maxport)</string>
|
||||
<string name="pref_incoming_call_timeout_title">Incoming call timeout (in seconds)</string>
|
||||
<string name="place_call_chooser">Place a call</string>
|
||||
<string name="pref_adaptive_rate_control">Adaptive rate control</string>
|
||||
<string name="pref_adaptive_rate_algorithm">Adaptive rate algorithm</string>
|
||||
<string name="pref_codec_bitrate_limit">Codec bitrate limit</string>
|
||||
<string-array name="limit_bitrate_entries">
|
||||
<item>10 kbits/s</item>
|
||||
<item>15 kbits/s</item>
|
||||
<item>20 kbits/s</item>
|
||||
<item>36 kbits/s</item>
|
||||
<item>64 kbits/s</item>
|
||||
<item>128 kbits/s</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_debug">Debug</string>
|
||||
<string name="about_report_issue">Report issue</string>
|
||||
<string name="about_bugreport_email_text">Describe problem here</string>
|
||||
<string name="about_error_generating_bugreport_attachement">Error generating bug report</string>
|
||||
<string name="about_logs_not_found">Logs not found.</string>
|
||||
<string name="about_reading_logs">Reading logs, may takes time…</string>
|
||||
<string name="about_mailer_chooser_text">Send bug report with…</string>
|
||||
<string name="menu_about">About</string>
|
||||
<string name="menu_send_log">Send log</string>
|
||||
<string name="menu_reset_log">Reset log</string>
|
||||
<string name="pref_audio">Audio</string>
|
||||
<string name="pref_prefix">Prefix</string>
|
||||
<string name="pref_advanced">Advanced</string>
|
||||
<string name="pref_proxy">Proxy</string>
|
||||
<string name="pref_domain">Domain*</string>
|
||||
<string name="pref_passwd">Password*</string>
|
||||
<string name="pref_username">Username*</string>
|
||||
<string name="pref_sipaccount">SIP Account</string>
|
||||
<string name="wrong_username">wrong user name</string>
|
||||
<string name="wrong_passwd">wrong password</string>
|
||||
<string name="wrong_domain">Wrong domain</string>
|
||||
<string name="wrong_settings">Wrong settings</string>
|
||||
<string name="tab_dialer">Dialer</string>
|
||||
<string name="tab_contact">Contact</string>
|
||||
<string name="call_error">Cannot call %s</string>
|
||||
<string name="yes">Yes</string>
|
||||
<string name="no">No</string>
|
||||
<string name="dismiss">Dismiss</string>
|
||||
<string name="cont">Continue</string>
|
||||
<string name="never_remind">Never remind me</string>
|
||||
<string name="config_error">%s, do you want to go to the settings page ?</string>
|
||||
<string name="ec_calibration_launch_message">Starting echo cancelation audio calibration </string>
|
||||
<string name="warning_already_incall">Cannot initiate a new call because a call is already engaged</string>
|
||||
<string name="tab_history">History</string>
|
||||
<string name="warning_wrong_destination_address">Cannot build destination address from [%s]</string>
|
||||
<string name="menu_clear_history">Clear</string>
|
||||
<string name="error_cannot_get_call_parameters">Cannot get call parameters</string>
|
||||
<string name="error_cannot_create_default_parameters">Cannot create default call parameters</string>
|
||||
<string name="error_cannot_invite_address">Cannot invite destination address [%s]</string>
|
||||
<string name="notification_started">started</string>
|
||||
<string name="pref_echo_cancellation_summary">Removes the echo heard by other end</string>
|
||||
<string name="pref_stun_server">Stun server</string>
|
||||
<string name="pref_ice_enable">Enable ICE</string>
|
||||
<string name="pref_ice_enable_summary">A STUN server must be configured to use ICE</string>
|
||||
<string name="ec_calibrating">Calibrating…</string>
|
||||
<string name="ec_calibrated">Calibrated [%s ms]</string>
|
||||
<string name="no_echo">No echo</string>
|
||||
<string name="failed">failed</string>
|
||||
<string name="first_login_explanation">Enter your username and password to connect to the service.</string>
|
||||
<string name="first_login_username">Username</string>
|
||||
<string name="first_login_password">Password</string>
|
||||
<string name="first_login_connect">Connect</string>
|
||||
<string name="first_launch_no_login_password">Please enter your login and password</string>
|
||||
<string name="first_launch_bad_login_password">Couldn\'t connect; check your login and password and start again</string>
|
||||
<string name="pref_amr_summary">AMR codec might not be present on your phone</string>
|
||||
<string name="pref_media_encryption">Media encryption</string>
|
||||
<string name="media_encryption_none">None</string>
|
||||
<string name="pref_video_codec_h264_unavailable">Codec disabled, build the app from source code to enable it</string>
|
||||
<string name="pref_video_codec_mpeg4_unavailable">Codec disabled, build the app from source code to enable it</string>
|
||||
<string name="pref_sipaccounts">SIP Accounts</string>
|
||||
<string name="pref_wifi_only">Use wifi only</string>
|
||||
<string name="pref_push_notification">Enable push notifications</string>
|
||||
<string name="wizard_failed">An error occurred, try again later.</string>
|
||||
<string name="wizard_server_unavailable">Server unreachable, verify your internet connection.</string>
|
||||
<string name="wizard_username_unavailable">This username is already in use.</string>
|
||||
<string name="wizard_username_incorrect">Your username is not valid.</string>
|
||||
<string name="wizard_email_incorrect">Your email is not valid.</string>
|
||||
<string name="wizard_password_incorrect">Your password is not valid (6 characters min).</string>
|
||||
<string name="wizard_passwords_unmatched">Passwords entered are different.</string>
|
||||
<string name="pref_help_proxy">SIP proxy hostname or ip address (optional)</string>
|
||||
<string name="pref_help_outbound_proxy">Route all calls through SIP proxy</string>
|
||||
<string name="pref_help_username">Example: john if your account is john@sip.example.org</string>
|
||||
<string name="pref_help_domain">sip.example.org if your account is john@sip.example.org</string>
|
||||
<string name="pref_help_password">You have to re-enter your password if you edit your username and/or the domain</string>
|
||||
|
||||
<string name="chat">Chat</string>
|
||||
<string name="call">Call</string>
|
||||
<string name="add_to_contacts">Add to contacts</string>
|
||||
<string name="status_connected">Registered</string>
|
||||
<string name="status_not_connected">Not Registered</string>
|
||||
<string name="status_in_progress">Registration in progress</string>
|
||||
<string name="status_error">Registration failed</string>
|
||||
<string name="conference">Conference</string>
|
||||
<string name="draft">Draft</string>
|
||||
<string name="new_fast_chat">Enter a SIP address to chat with…</string>
|
||||
<string name="call_stats_audio">Audio</string>
|
||||
<string name="call_stats_video">Video</string>
|
||||
<string name="call_stats_codec">Codec:</string>
|
||||
<string name="call_stats_upload">Upload bandwidth:</string>
|
||||
<string name="call_stats_download">Download bandwidth:</string>
|
||||
<string name="call_stats_ice">ICE connectivity:</string>
|
||||
<string name="call_stats_video_resolution">Video size:</string>
|
||||
<!--Used by Android to help blind people by describing them images-->
|
||||
|
||||
<string name="setup_password_hint">password</string>
|
||||
<string name="setup_domain_hint">domain</string>
|
||||
<string name="setup_email_hint">email</string>
|
||||
<string name="setup_create">Create Account</string>
|
||||
<string name="setup_validate_account">An email has been sent to the address you gave. In order to activate your account, you need to click on the link inside it. Once it is done, come back here and click on the button above.</string>
|
||||
<string name="setup_check_account_validation">Check</string>
|
||||
<string name="setup_account_not_validated">Your account has not been validated yet.</string>
|
||||
<string name="setup_account_validated">Your account has been validated.</string>
|
||||
<string name="button_history">History</string>
|
||||
<string name="button_contacts">Contacts</string>
|
||||
<string name="button_settings">Settings</string>
|
||||
<string name="button_chat">Chat</string>
|
||||
<string name="button_about">About</string>
|
||||
<string name="button_setup_cancel">Cancel</string>
|
||||
<string name="button_setup_back">Back</string>
|
||||
<string name="button_setup_next">Let\'s go</string>
|
||||
<string name="button_new_chat">New conversation</string>
|
||||
<string name="button_edit">Edit</string>
|
||||
<string name="button_ok">Okay</string>
|
||||
<string name="button_back">Back</string>
|
||||
<string name="button_all_contacts">All</string>
|
||||
<string name="button_add_contact">New contact</string>
|
||||
<string name="button_all_call">All</string>
|
||||
<string name="button_missed_call">Missed</string>
|
||||
<string name="button_delete_all">Delete</string>
|
||||
<string name="button_transfer">Transfer</string>
|
||||
<string name="button_add_call">Add call</string>
|
||||
<string name="button_video">Video</string>
|
||||
<string name="button_micro">Micro</string>
|
||||
<string name="button_speaker">Speaker</string>
|
||||
<string name="button_route">Route</string>
|
||||
<string name="button_receiver">Receiver</string>
|
||||
<string name="button_bluetooth">Bluetooth</string>
|
||||
<string name="button_options">Options</string>
|
||||
<string name="button_send_message">Send</string>
|
||||
<string name="button_send_picture">Pic</string>
|
||||
<string name="uploading_image">Uploading…</string>
|
||||
<string name="call_update_title">Call update requested</string>
|
||||
<string name="call_update_desc">Your correspondent would like to add video to the current call.</string>
|
||||
<string name="call_update_yes">Accept</string>
|
||||
<string name="call_update_no">Decline</string>
|
||||
<string name="share_picture_size_small">Small</string>
|
||||
<string name="share_picture_size_medium">Medium</string>
|
||||
<string name="share_picture_size_large">Large</string>
|
||||
<string name="share_picture_size_real">Real size</string>
|
||||
<string name="save_picture">Save picture</string>
|
||||
<string name="text_copied_to_clipboard">Text copied to clipboard</string>
|
||||
<string name="copy_text">Copy text</string>
|
||||
<string name="image_picker_title">Select source</string>
|
||||
<string name="image_saved">Image saved</string>
|
||||
<string name="image_not_saved">Error, image not saved</string>
|
||||
<string name="pref_linphone_friend_title">Friends</string>
|
||||
<string name="pref_auto_accept_friends_title">New friends</string>
|
||||
<string name="pref_auto_accept_friends_desc">Automatically accept new friend requests</string>
|
||||
<string name="linphone_friend_new_request_title">Friend request</string>
|
||||
<string name="linphone_friend_new_request_desc">wants to share it\'s presence status with you and be aware of yours.</string>
|
||||
|
||||
<string name="pref_image_sharing_server_title">Sharing server</string>
|
||||
<string name="pref_remote_provisioning_title">Remote provisioning</string>
|
||||
<string name="sip_address">SIP address</string>
|
||||
<string name="phone_number">Phone number</string>
|
||||
<string name="contact_first_name">First name</string>
|
||||
<string name="contact_last_name">Last name</string>
|
||||
<string name="pref_primary_account_title">Primary account</string>
|
||||
<string name="pref_display_name_title">Display name</string>
|
||||
<string name="pref_user_name_title">Username</string>
|
||||
<string name="pref_expire_title">Expire</string>
|
||||
<string name="pref_avpf">AVPF</string>
|
||||
<string name="pref_avpf_rr_interval"> AVPF regular RTCP interval in seconds (between 1 and 5)</string>
|
||||
<string name="pref_rfc2833_dtmf">Send RFC2833 DTMFs</string>
|
||||
<string name="pref_sipinfo_dtmf">Send SIP INFO DTMFs</string>
|
||||
<string name="pref_voice_mail">Voice mail uri</string>
|
||||
<string name="voicemail_unread"> unread messages</string>
|
||||
<string name="error_unknown">Unknown error</string>
|
||||
<string name="error_call_declined">Call declined</string>
|
||||
<string name="error_user_not_found">User not found</string>
|
||||
<string name="error_incompatible_media">Incompatible media parameters</string>
|
||||
<string name="error_low_bandwidth">Your correspondent has low bandwidth, video can\'t be started</string>
|
||||
<string name="error_network_unreachable">Network is unreachable</string>
|
||||
<string name="error_bad_credentials">Bad credentials</string>
|
||||
<string name="error_unauthorized">Unauthorized</string>
|
||||
<string name="error_io_error">Network error</string>
|
||||
<string name="today">Today</string>
|
||||
<string name="yesterday">Yesterday</string>
|
||||
<string name="call_state_missed">Missed</string>
|
||||
<string name="call_state_outgoing">Outgoing</string>
|
||||
<string name="call_state_incoming">Incoming</string>
|
||||
<string name="pref_background_mode">Background mode</string>
|
||||
<string name="show_image">Show</string>
|
||||
<string name="download_image">Download</string>
|
||||
<string name="download_image_failed">Download failed. Please check your internet access or try again later.</string>
|
||||
<string name="pref_auth_userid">Auth userid</string>
|
||||
<string name="pref_help_auth_userid">Enter authentication userid (optionnal)</string>
|
||||
<string name="pref_display_name">Display name</string>
|
||||
<string name="pref_help_display_name">Enter display name (optionnal)</string>
|
||||
<string name="pref_upnp_enable">Enable UPNP</string>
|
||||
<string name="pref_manage">Manage</string>
|
||||
<string name="wait">Please wait...</string>
|
||||
<string name="importing_messages">Updating messages database</string>
|
||||
<string name="default_account_flag">Default account</string>
|
||||
<string name="setup_remote_provisioning_hint">This assistant will download an existing configuration.</string>
|
||||
<string name="setup_remote_provisioning_url_hint">provisioning url</string>
|
||||
<string name="setup_remote_provisioning_login_hint">The configuration you downloaded doesn\'t include your account. Please fill it in.</string>
|
||||
<string name="setup_confirm_username">Your username will be %s.\r\n\r\nIt may differ from what you entered to match some requirements.\r\nDo you accept ?</string>
|
||||
|
||||
<string name="remote_composing">Remote is writing...</string>
|
||||
<string name="unread_messages">%i unread messages</string>
|
||||
<string name="remote_provisioning_failure">Failed to download or apply remote provisioning profile...</string>
|
||||
<string name="remote_provisioning_again_title">Remote provisioning</string>
|
||||
<string name="remote_provisioning_again_message">Do you want to change the provisioning URI ?</string>
|
||||
<string name="processing_image">Processing image, can take up to a few seconds depending on the size of the file</string></resources>
|
||||
<!-- Content description -->
|
||||
<string name="content_description_back">Back</string>
|
||||
<string name="content_description_dialer">Dialer</string>
|
||||
<string name="content_description_toggle_micro">Toggle micro</string>
|
||||
<string name="content_description_toggle_speaker">Toggle speaker</string>
|
||||
<string name="content_description_decline">Decline</string>
|
||||
<string name="content_description_hang_up">Hang up</string>
|
||||
<string name="content_description_accept">Accept</string>
|
||||
<string name="content_description_edit">Edit button</string>
|
||||
<string name="content_description_valid">Valid button</string>
|
||||
<string name="content_description_add_contact">Add to contacts</string>
|
||||
<string name="content_description_new_contact">New contact</string>
|
||||
<string name="content_description_call">Call</string>
|
||||
<string name="content_description_backspace">Backspace</string>
|
||||
<string name="content_description_chat">Chat</string>
|
||||
<string name="content_description_dial_back">Dial back</string>
|
||||
<string name="content_description_contact_picture">Contact picture</string>
|
||||
<string name="content_description_send_message">Send message</string>
|
||||
<string name="content_description_detail">Details</string>
|
||||
<string name="content_description_delete">Delete button</string>
|
||||
<string name="content_description_add">Add button</string>
|
||||
<string name="content_description_new_discussion">New discussion</string>
|
||||
<string name="content_description_search">Search</string>
|
||||
<string name="content_description_all_contacts">All contacts</string>
|
||||
<string name="content_description_linphone_contacts">Linphone contacts</string>
|
||||
<string name="content_description_call_direction">Call direction</string>
|
||||
<string name="content_description_all_calls">All calls</string>
|
||||
<string name="content_description_missed_calls">Missed calls</string>
|
||||
<string name="content_description_switch_video">Switch video</string>
|
||||
<string name="content_description_add_call">Add call</string>
|
||||
<string name="content_description_pause">Pause</string>
|
||||
<string name="content_description_numpad">Numpad</string>
|
||||
<string name="content_description_history">History button</string>
|
||||
<string name="content_description_chat_button">Chat button</string>
|
||||
<string name="content_description_contacts">Contacts button</string>
|
||||
<string name="content_description_call_quality">Call quality</string>
|
||||
<string name="content_description_encryption">Encryption</string>
|
||||
<string name="content_description_switch_camera">Switch camera</string>
|
||||
<string name="content_description_cancel_button">Cancel button</string>
|
||||
<string name="content_description_message_status">Message status</string>
|
||||
<string name="content_description_conference">Conference</string>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
<style name="font15" parent="@android:style/TextAppearance.Small">
|
||||
<item name="android:textColor">@color/colorH</item>
|
||||
<item name="android:textAllCaps">true</item>
|
||||
<item name="android:textSize">20sp</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
<style name="font16" parent="@android:style/TextAppearance.Small">
|
||||
|
|
@ -91,19 +91,19 @@
|
|||
<style name="font17" parent="@android:style/TextAppearance.Small">
|
||||
<item name="android:textColor">@color/colorH</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textSize">20sp</item>
|
||||
<item name="android:textSize">13sp</item>
|
||||
</style>
|
||||
|
||||
<style name="font18" parent="@android:style/TextAppearance.Small">
|
||||
<item name="android:textColor">@color/colorH</item>
|
||||
<item name="android:textSize">15sp</item>
|
||||
<item name="android:textSize">10sp</item>
|
||||
</style>
|
||||
|
||||
<style name="font19" parent="@android:style/TextAppearance.Medium">
|
||||
<item name="android:textColor">@color/colorD</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textAllCaps">true</item>
|
||||
<item name="android:textSize">22sp</item>
|
||||
<item name="android:textSize">13sp</item>
|
||||
</style>
|
||||
|
||||
<style name="font20" parent="@android:style/TextAppearance.Small">
|
||||
|
|
@ -117,4 +117,17 @@
|
|||
<item name="android:textSize">50sp</item>
|
||||
</style>
|
||||
|
||||
<style name="font22" parent="@android:style/TextAppearance.Large">
|
||||
<item name="android:textColor">@color/colorH</item>
|
||||
<item name="android:textAllCaps">true</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textSize">25sp</item>
|
||||
</style>
|
||||
|
||||
<style name="font23" parent="@android:style/TextAppearance.Medium">
|
||||
<item name="android:textColor">@color/colorD</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:textStyle">italic</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_advanced"
|
||||
android:title="@string/pref_advanced_title"
|
||||
android:key="@string/pref_advanced_key">
|
||||
|
||||
<ListPreference
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_manage"
|
||||
android:title="@string/pref_manage_title"
|
||||
android:key="@string/pref_manage_key">
|
||||
|
||||
<CheckBoxPreference
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<ContactsSource
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- Change package ! -->
|
||||
<ContactsDataKind
|
||||
android:mimeType="vnd.android.cursor.item/org.linphone.profile"
|
||||
android:icon="@drawable/linphone_logo"
|
||||
|
|
@ -10,4 +11,4 @@
|
|||
android:detailColumn="data3"
|
||||
android:detailSocialSummary="true"/>
|
||||
|
||||
</ContactsSource>
|
||||
</ContactsSource>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<PreferenceCategory
|
||||
android:title="@string/pref_sipaccounts"
|
||||
android:key="@string/pref_sipaccounts_key"/>
|
||||
|
||||
|
||||
<Preference
|
||||
android:title="@string/pref_add_account"
|
||||
android:key="@string/pref_add_account_key"/>
|
||||
|
|
@ -31,14 +31,14 @@
|
|||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_preferences">
|
||||
android:title="@string/pref_preferences_title">
|
||||
|
||||
<CheckBoxPreference
|
||||
android:title="@string/pref_video_enable_title"
|
||||
android:key="@string/pref_video_enable_key"/>
|
||||
|
||||
<PreferenceScreen
|
||||
android:title="@string/pref_audio">
|
||||
android:title="@string/pref_audio_title">
|
||||
|
||||
<CheckBoxPreference
|
||||
android:title="@string/pref_echo_cancellation"
|
||||
|
|
@ -53,12 +53,6 @@
|
|||
android:title="@string/pref_adaptive_rate_control"
|
||||
android:key="@string/pref_adaptive_rate_control_key" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/pref_adaptive_rate_algorithm"
|
||||
android:key="@string/pref_adaptive_rate_algorithm_key"
|
||||
android:entries="@array/adaptive_rate_algorithm_entries"
|
||||
android:entryValues="@array/adaptive_rate_algorithm_entries" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/pref_codec_bitrate_limit"
|
||||
android:key="@string/pref_codec_bitrate_limit_key"
|
||||
|
|
@ -72,7 +66,7 @@
|
|||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
android:title="@string/pref_video"
|
||||
android:title="@string/pref_video_title"
|
||||
android:key="@string/pref_video_key"
|
||||
android:dependency="@string/pref_video_enable_key"
|
||||
android:shouldDisableView="true">
|
||||
|
|
@ -89,13 +83,6 @@
|
|||
android:summary="@string/pref_video_initiate_call_with_video"
|
||||
android:dependency="@string/pref_video_enable_key"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:title="@string/pref_video_automatically_share_my_video_title"
|
||||
android:key="@string/pref_video_automatically_share_my_video_key"
|
||||
android:summary="@string/pref_video_automatically_share_my_video"
|
||||
android:dependency="@string/pref_video_enable_key"
|
||||
android:layout="@layout/hidden"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:title="@string/pref_video_automatically_accept_video_title"
|
||||
android:key="@string/pref_video_automatically_accept_video_key"
|
||||
|
|
@ -103,7 +90,7 @@
|
|||
android:dependency="@string/pref_video_enable_key"/>
|
||||
|
||||
<ListPreference
|
||||
android:title="Video preset"
|
||||
android:title="@string/pref_video_preset"
|
||||
android:key="@string/pref_video_preset_key"
|
||||
android:entries="@array/video_preset_entries"
|
||||
android:entryValues="@array/video_preset_entries" />
|
||||
|
|
@ -113,7 +100,7 @@
|
|||
android:key="@string/pref_preferred_video_size_key"/>
|
||||
|
||||
<ListPreference
|
||||
android:title="Preferred FPS"
|
||||
android:title="@string/pref_preferred_fps"
|
||||
android:key="@string/pref_preferred_video_fps_key"/>
|
||||
|
||||
<EditTextPreference
|
||||
|
|
@ -130,7 +117,7 @@
|
|||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
android:title="@string/call">
|
||||
android:title="@string/pref_call_title">
|
||||
|
||||
<CheckBoxPreference
|
||||
android:title="@string/pref_sipinfo_dtmf"
|
||||
|
|
@ -139,7 +126,7 @@
|
|||
<CheckBoxPreference
|
||||
android:title="@string/pref_rfc2833_dtmf"
|
||||
android:key="@string/pref_rfc2833_dtmf_key"/>
|
||||
|
||||
|
||||
<EditTextPreference
|
||||
android:title="@string/pref_voice_mail"
|
||||
android:key="@string/pref_voice_mail_key"/>
|
||||
|
|
@ -201,7 +188,7 @@
|
|||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
android:title="@string/pref_advanced">
|
||||
android:title="@string/pref_advanced_title">
|
||||
|
||||
<CheckBoxPreference
|
||||
android:title="@string/pref_debug"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- Change package ! -->
|
||||
<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:contentAuthority="com.android.contacts"
|
||||
android:accountType="org.linphone"
|
||||
|
|
|
|||
|
|
@ -43,9 +43,11 @@ public class AboutFragment extends Fragment implements OnClickListener {
|
|||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
View view = inflater.inflate(R.layout.about, container, false);
|
||||
|
||||
TextView aboutText = (TextView) view.findViewById(R.id.about_text);
|
||||
TextView aboutVersion = (TextView) view.findViewById(R.id.about_android_version);
|
||||
TextView aboutLiblinphoneVersion = (TextView) view.findViewById(R.id.about_liblinphone_version);
|
||||
aboutLiblinphoneVersion.setText(String.format(getString(R.string.about_liblinphone_version), LinphoneManager.getLc().getVersion()));
|
||||
try {
|
||||
aboutText.setText(String.format(getString(R.string.about_text), getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0).versionName));
|
||||
aboutVersion.setText(String.format(getString(R.string.about_version), getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0).versionName));
|
||||
} catch (NameNotFoundException e) {
|
||||
Log.e(e, "cannot get version name");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,15 +36,21 @@ import org.linphone.ui.Numpad;
|
|||
import android.app.Activity;
|
||||
import android.app.Dialog;
|
||||
import android.app.FragmentTransaction;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.hardware.Sensor;
|
||||
import android.hardware.SensorEvent;
|
||||
import android.hardware.SensorEventListener;
|
||||
import android.hardware.SensorManager;
|
||||
import android.os.Bundle;
|
||||
import android.os.CountDownTimer;
|
||||
import android.os.Handler;
|
||||
import android.os.PowerManager;
|
||||
import android.os.SystemClock;
|
||||
import android.app.Fragment;
|
||||
import android.support.v4.widget.DrawerLayout;
|
||||
|
|
@ -72,7 +78,7 @@ import android.widget.Toast;
|
|||
/**
|
||||
* @author Sylvain Berfini
|
||||
*/
|
||||
public class CallActivity extends Activity implements OnClickListener {
|
||||
public class CallActivity extends Activity implements OnClickListener, SensorEventListener {
|
||||
private final static int SECONDS_BEFORE_HIDING_CONTROLS = 4000;
|
||||
private final static int SECONDS_BEFORE_DENYING_CALL_UPDATE = 30000;
|
||||
|
||||
|
|
@ -97,6 +103,12 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
private CountDownTimer timer;
|
||||
private boolean isVideoCallPaused = false;
|
||||
|
||||
private static PowerManager powerManager;
|
||||
private static PowerManager.WakeLock wakeLock;
|
||||
private static int field = 0x00000020;
|
||||
private SensorManager mSensorManager;
|
||||
private Sensor mProximity;
|
||||
|
||||
private LinearLayout callsList, conferenceList;
|
||||
private LayoutInflater inflater;
|
||||
private ViewGroup container;
|
||||
|
|
@ -135,6 +147,18 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
isAnimationDisabled = getApplicationContext().getResources().getBoolean(R.bool.disable_animations) || !LinphonePreferences.instance().areAnimationsEnabled();
|
||||
cameraNumber = AndroidCameraConfiguration.retrieveCameras().length;
|
||||
|
||||
try {
|
||||
// Yeah, this is hidden field.
|
||||
field = PowerManager.class.getClass().getField("PROXIMITY_SCREEN_OFF_WAKE_LOCK").getInt(null);
|
||||
} catch (Throwable ignored) {
|
||||
}
|
||||
|
||||
powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE);
|
||||
wakeLock = powerManager.newWakeLock(field, getLocalClassName());
|
||||
|
||||
mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE);
|
||||
mProximity = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY);
|
||||
|
||||
mListener = new LinphoneCoreListenerBase(){
|
||||
|
||||
@Override
|
||||
|
|
@ -174,16 +198,15 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
switchVideo(isVideoEnabled(call));
|
||||
//Check media in progress
|
||||
if(!call.mediaInProgress()){
|
||||
if(LinphonePreferences.instance().isVideoEnabled())
|
||||
if(LinphonePreferences.instance().isVideoEnabled()) {
|
||||
enabledVideoButton(true);
|
||||
}
|
||||
enabledPauseButton(true);
|
||||
} else {
|
||||
enabledPauseButton(false);
|
||||
}
|
||||
|
||||
enableAndRefreshInCallActions();
|
||||
|
||||
LinphoneManager.getLc().enableSpeaker(isSpeakerEnabled);
|
||||
isMicMuted = LinphoneManager.getLc().isMicMuted();
|
||||
|
||||
if (status != null) {
|
||||
videoProgress.setVisibility(View.GONE);
|
||||
status.refreshStatusItems(call, isVideoEnabled(call));
|
||||
|
|
@ -256,6 +279,9 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
isVideoCallPaused = savedInstanceState.getBoolean("VideoCallPaused");
|
||||
refreshInCallActions();
|
||||
return;
|
||||
} else {
|
||||
isSpeakerEnabled = LinphoneManager.getLc().isSpeakerEnabled();
|
||||
isMicMuted = LinphoneManager.getLc().isMicMuted();
|
||||
}
|
||||
|
||||
Fragment callFragment;
|
||||
|
|
@ -353,10 +379,8 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
|
||||
/*if(isTablet()){
|
||||
speaker.setEnabled(false);
|
||||
}*/
|
||||
|
||||
// speaker.setEnabled(false);
|
||||
|
||||
}
|
||||
speaker.setEnabled(false);*/
|
||||
|
||||
//Options
|
||||
addCall = (ImageView) findViewById(R.id.add_call);
|
||||
|
|
@ -440,43 +464,23 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
}
|
||||
|
||||
private void refreshIncallUi(){
|
||||
if(LinphoneManager.getLc().getCurrentCall() != null){
|
||||
if(isTransferAllowed)
|
||||
transfer.setEnabled(true);
|
||||
if(!isVideoEnabled(LinphoneManager.getLc().getCurrentCall())) {
|
||||
callInfo.setVisibility(View.VISIBLE);
|
||||
mActiveCallHeader.setVisibility(View.VISIBLE);
|
||||
}
|
||||
int confsize = 0;
|
||||
|
||||
if(LinphoneManager.getLc().isInConference()) {
|
||||
confsize = LinphoneManager.getLc().getConferenceSize() - (LinphoneManager.getLc().isInConference() ? 1 : 0);
|
||||
}
|
||||
|
||||
List<LinphoneCall> pausedCalls = LinphoneUtils.getCallsInState(LinphoneManager.getLc(), Arrays.asList(State.PausedByRemote));
|
||||
if (pausedCalls.size() == 1) {
|
||||
displayCallPaused(true);
|
||||
} else {
|
||||
displayCallPaused(false);
|
||||
}
|
||||
//Enabled transfer button
|
||||
if(isTransferAllowed)
|
||||
transfer.setEnabled(true);
|
||||
|
||||
|
||||
if(LinphoneManager.getLc().getCallsNb() > 1){
|
||||
callsList.setVisibility(View.VISIBLE);
|
||||
//Enable conference button
|
||||
if(LinphoneManager.getLc().getCallsNb() > 1 && LinphoneManager.getLc().getCallsNb() > confsize) {
|
||||
conference.setEnabled(true);
|
||||
} else {
|
||||
if(LinphoneManager.getLc().getCallsNb() == 1 && LinphoneManager.getLc().getCurrentCall() == null){
|
||||
callsList.setVisibility(View.VISIBLE);
|
||||
if(isVideoEnabled(LinphoneManager.getLc().getCurrentCall())) {
|
||||
contactPicture.setVisibility(View.GONE);
|
||||
} else {
|
||||
contactPicture.setVisibility(View.VISIBLE);
|
||||
}
|
||||
if(isTransferAllowed)
|
||||
transfer.setEnabled(false);
|
||||
} else {
|
||||
callsList.setVisibility(View.GONE);
|
||||
}
|
||||
conference.setEnabled(false);
|
||||
|
||||
}
|
||||
|
||||
refreshInCallActions();
|
||||
refreshCallList(getResources());
|
||||
}
|
||||
|
|
@ -492,6 +496,8 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
} else {
|
||||
video.setImageResource(R.drawable.camera_default);
|
||||
}
|
||||
} else {
|
||||
video.setImageResource(R.drawable.camera_default);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -629,7 +635,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
LinphoneCall call = (LinphoneCall) v.getTag();
|
||||
pauseOrResumeCall(call);
|
||||
}
|
||||
else if (id == R.id.conferenceStatus) {
|
||||
else if (id == R.id.conference_pause) {
|
||||
pauseOrResumeConference();
|
||||
}
|
||||
}
|
||||
|
|
@ -696,7 +702,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
|
||||
//Check if the call is not terminated
|
||||
if(call.getState() == State.CallEnd || call.getState() == State.CallReleased) return;
|
||||
|
||||
|
||||
if (!displayVideo) {
|
||||
showAudioView();
|
||||
} else {
|
||||
|
|
@ -711,7 +717,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
}
|
||||
|
||||
private void showAudioView() {
|
||||
LinphoneManager.startProximitySensorForActivity(CallActivity.this);
|
||||
mSensorManager.registerListener(this, mProximity, SensorManager.SENSOR_DELAY_NORMAL);
|
||||
replaceFragmentVideoByAudio();
|
||||
displayAudioCall();
|
||||
showStatusBar();
|
||||
|
|
@ -726,10 +732,9 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
}
|
||||
refreshInCallActions();
|
||||
|
||||
LinphoneManager.stopProximitySensorForActivity(CallActivity.this);
|
||||
mSensorManager.unregisterListener(this);
|
||||
replaceFragmentAudioByVideo();
|
||||
hideStatusBar();
|
||||
displayVideoCall(false);
|
||||
}
|
||||
|
||||
private void displayNoCurrentCall(boolean display){
|
||||
|
|
@ -751,6 +756,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
}
|
||||
|
||||
private void displayAudioCall(){
|
||||
mControlsLayout.setVisibility(View.VISIBLE);
|
||||
mActiveCallHeader.setVisibility(View.VISIBLE);
|
||||
mActiveCallHeader.setAlpha(1f);
|
||||
callInfo.setVisibility(View.VISIBLE);
|
||||
|
|
@ -857,7 +863,6 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
mActiveCallHeader.setVisibility(View.GONE);
|
||||
mActiveCallHeader.setAlpha(1f);
|
||||
switchCamera.setVisibility(View.GONE);
|
||||
mNoCurrentCall.setVisibility(View.GONE);
|
||||
callsList.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
|
@ -1341,14 +1346,14 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
refreshIncallUi();
|
||||
handleViewIntent();
|
||||
|
||||
if (isVideoEnabled(LinphoneManager.getLc().getCurrentCall())) {
|
||||
displayVideoCall(false);
|
||||
} else if(LinphoneManager.getLc().isInConference()) {
|
||||
displayConference();
|
||||
} else {
|
||||
LinphoneManager.startProximitySensorForActivity(this);
|
||||
if (!isVideoEnabled(LinphoneManager.getLc().getCurrentCall())) {
|
||||
mSensorManager.registerListener(this, mProximity, SensorManager.SENSOR_DELAY_NORMAL);
|
||||
removeCallbacks();
|
||||
}
|
||||
|
||||
if(LinphoneManager.getLc().getCurrentCall() != null && !LinphoneManager.getLc().getCurrentCall().mediaInProgress()){
|
||||
enabledPauseButton(true);
|
||||
}
|
||||
}
|
||||
|
||||
private void handleViewIntent() {
|
||||
|
|
@ -1398,7 +1403,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
mControls = null;
|
||||
|
||||
if (!isVideoEnabled(LinphoneManager.getLc().getCurrentCall())) {
|
||||
LinphoneManager.stopProximitySensorForActivity(this);
|
||||
mSensorManager.unregisterListener(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1500,12 +1505,9 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
isCallPaused = true;
|
||||
isInConference = false;
|
||||
} else if (call.getState() == State.OutgoingInit || call.getState() == State.OutgoingProgress || call.getState() == State.OutgoingRinging) {
|
||||
//callState.setImageResource(R.drawable.call_state_ringing_default);
|
||||
isCallPaused = false;
|
||||
isInConference = false;
|
||||
} else {
|
||||
//callState.setImageResource(R.drawable.remove);
|
||||
//callState.setImageResource(R.drawable.play);
|
||||
isInConference = isConferenceRunning && call.isInConference();
|
||||
isCallPaused = false;
|
||||
}
|
||||
|
|
@ -1536,15 +1538,36 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
|
||||
public void refreshCallList(Resources resources) {
|
||||
isConferenceRunning = LinphoneManager.getLc().isInConference();
|
||||
if (isConferenceRunning) {
|
||||
displayConference();
|
||||
mNoCurrentCall.setVisibility(View.GONE);
|
||||
|
||||
//MultiCalls
|
||||
if(LinphoneManager.getLc().getCallsNb() > 1){
|
||||
callsList.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
//Active call
|
||||
if(LinphoneManager.getLc().getCurrentCall() != null) {
|
||||
displayNoCurrentCall(false);
|
||||
if(isVideoEnabled(LinphoneManager.getLc().getCurrentCall()) && !isConferenceRunning) {
|
||||
displayVideoCall(false);
|
||||
} else {
|
||||
displayAudioCall();
|
||||
}
|
||||
} else {
|
||||
conferenceList.setVisibility(View.GONE);
|
||||
showAudioView();
|
||||
displayNoCurrentCall(true);
|
||||
if(LinphoneManager.getLc().getCallsNb() == 1) {
|
||||
callsList.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
//Conference
|
||||
if (isConferenceRunning) {
|
||||
displayConference(true);
|
||||
} else {
|
||||
displayConference(false);
|
||||
}
|
||||
|
||||
if(callsList != null) {
|
||||
callsList.setVisibility(View.VISIBLE);
|
||||
callsList.removeAllViews();
|
||||
int index = 0;
|
||||
|
||||
|
|
@ -1555,7 +1578,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
|
||||
boolean isConfPaused = false;
|
||||
for (LinphoneCall call : LinphoneManager.getLc().getCalls()) {
|
||||
if(call.isInConference() && !isConferenceRunning) {
|
||||
if (call.isInConference() && !isConferenceRunning) {
|
||||
isConfPaused = true;
|
||||
index++;
|
||||
} else {
|
||||
|
|
@ -1568,22 +1591,24 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
}
|
||||
}
|
||||
|
||||
if(!isConferenceRunning) {
|
||||
if (!isConferenceRunning) {
|
||||
if (isConfPaused) {
|
||||
callsList.setVisibility(View.VISIBLE);
|
||||
displayPausedCalls(resources, null, index);
|
||||
}
|
||||
if (LinphoneManager.getLc().getCurrentCall() == null) {
|
||||
showAudioView();
|
||||
mActiveCallHeader.setVisibility(View.GONE);
|
||||
mNoCurrentCall.setVisibility(View.VISIBLE);
|
||||
video.setEnabled(false);
|
||||
} else {
|
||||
mActiveCallHeader.setVisibility(View.VISIBLE);
|
||||
mNoCurrentCall.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//Paused by remote
|
||||
List<LinphoneCall> pausedCalls = LinphoneUtils.getCallsInState(LinphoneManager.getLc(), Arrays.asList(State.PausedByRemote));
|
||||
if (pausedCalls.size() == 1) {
|
||||
displayCallPaused(true);
|
||||
} else {
|
||||
displayCallPaused(false);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
//Conference
|
||||
|
|
@ -1601,9 +1626,6 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
|
||||
private void enterConference() {
|
||||
LinphoneManager.getLc().addAllToConference();
|
||||
displayConferenceHeader();
|
||||
mNoCurrentCall.setVisibility(View.GONE);
|
||||
mActiveCallHeader.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
public void pauseOrResumeConference() {
|
||||
|
|
@ -1620,7 +1642,7 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
|
||||
private void displayConferenceParticipant(int index, final LinphoneCall call){
|
||||
LinearLayout confView = (LinearLayout) inflater.inflate(R.layout.conf_call_control_row, container, false);
|
||||
conferenceList.setId(index+1);
|
||||
conferenceList.setId(index + 1);
|
||||
TextView contact = (TextView) confView.findViewById(R.id.contactNameOrNumber);
|
||||
contact.setText(call.getRemoteAddress().getUserName());
|
||||
/*Contact lContact = ContactsManager.getInstance().findContactWithAddress(getContentResolver(),call.getRemoteAddress());
|
||||
|
|
@ -1646,31 +1668,67 @@ public class CallActivity extends Activity implements OnClickListener {
|
|||
private void displayConferenceHeader(){
|
||||
conferenceList.setVisibility(View.VISIBLE);
|
||||
RelativeLayout headerConference = (RelativeLayout) inflater.inflate(R.layout.conference_header, container, false);
|
||||
conferenceStatus = (ImageView) headerConference.findViewById(R.id.conferenceStatus);
|
||||
conferenceStatus = (ImageView) headerConference.findViewById(R.id.conference_pause);
|
||||
conferenceStatus.setOnClickListener(this);
|
||||
conferenceList.addView(headerConference);
|
||||
|
||||
}
|
||||
|
||||
private void displayConference(){
|
||||
mControlsLayout.setVisibility(View.VISIBLE);
|
||||
LinphoneManager.startProximitySensorForActivity(CallActivity.this);
|
||||
mActiveCallHeader.setVisibility(View.GONE);
|
||||
mNoCurrentCall.setVisibility(View.GONE);
|
||||
callsList.setVisibility(View.VISIBLE);
|
||||
conferenceList.removeAllViews();
|
||||
private void displayConference(boolean isInConf){
|
||||
if(isInConf) {
|
||||
mControlsLayout.setVisibility(View.VISIBLE);
|
||||
mSensorManager.registerListener(this, mProximity, SensorManager.SENSOR_DELAY_NORMAL);
|
||||
mActiveCallHeader.setVisibility(View.GONE);
|
||||
mNoCurrentCall.setVisibility(View.GONE);
|
||||
conferenceList.removeAllViews();
|
||||
|
||||
//Conference Header
|
||||
displayConferenceHeader();
|
||||
//Conference Header
|
||||
displayConferenceHeader();
|
||||
|
||||
//Conference participant
|
||||
int index = 1;
|
||||
for (LinphoneCall call : LinphoneManager.getLc().getCalls()) {
|
||||
if(call.isInConference()) {
|
||||
displayConferenceParticipant(index,call);
|
||||
index++;
|
||||
//Conference participant
|
||||
int index = 1;
|
||||
for (LinphoneCall call : LinphoneManager.getLc().getCalls()) {
|
||||
if (call.isInConference()) {
|
||||
displayConferenceParticipant(index, call);
|
||||
index++;
|
||||
}
|
||||
}
|
||||
conferenceList.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
conferenceList.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
public static Boolean isProximitySensorNearby(final SensorEvent event) {
|
||||
float threshold = 4.001f; // <= 4 cm is near
|
||||
|
||||
final float distanceInCm = event.values[0];
|
||||
final float maxDistance = event.sensor.getMaximumRange();
|
||||
Log.d("Proximity sensor report [",distanceInCm,"] , for max range [",maxDistance,"]");
|
||||
|
||||
if (maxDistance <= threshold) {
|
||||
// Case binary 0/1 and short sensors
|
||||
threshold = maxDistance;
|
||||
}
|
||||
return distanceInCm < threshold;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSensorChanged(SensorEvent event) {
|
||||
if (event.timestamp == 0) return;
|
||||
if(isProximitySensorNearby(event)){
|
||||
if(!wakeLock.isHeld()) {
|
||||
wakeLock.acquire();
|
||||
}
|
||||
} else {
|
||||
if(wakeLock.isHeld()) {
|
||||
wakeLock.release();
|
||||
}
|
||||
}
|
||||
conferenceList.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAccuracyChanged(Sensor sensor, int accuracy) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -284,7 +284,15 @@ public class CallIncomingActivity extends Activity implements LinphoneSliderTrig
|
|||
private void answer() {
|
||||
LinphoneCallParams params = LinphoneManager.getLc().createCallParams(mCall);
|
||||
|
||||
if (!LinphoneManager.getInstance().acceptCallWithParams(mCall, params)) {
|
||||
boolean isLowBandwidthConnection = !LinphoneUtils.isHighBandwidthConnection(LinphoneService.instance().getApplicationContext());
|
||||
|
||||
if (params != null) {
|
||||
params.enableLowBandwidth(isLowBandwidthConnection);
|
||||
}else {
|
||||
Log.e("Could not create call params for call");
|
||||
}
|
||||
|
||||
if (params == null || !LinphoneManager.getInstance().acceptCallWithParams(mCall, params)) {
|
||||
// the above method takes care of Samsung Galaxy S
|
||||
Toast.makeText(this, R.string.couldnt_accept_call, Toast.LENGTH_LONG).show();
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ public class CallOutgoingActivity extends Activity implements OnClickListener{
|
|||
int flags = WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON;
|
||||
getWindow().addFlags(flags);
|
||||
|
||||
hangUp = (ImageView) findViewById(R.id.hang_up);
|
||||
hangUp = (ImageView) findViewById(R.id.outgoing_hang_up);
|
||||
hangUp.setOnClickListener(this);
|
||||
|
||||
mListener = new LinphoneCoreListenerBase(){
|
||||
|
|
@ -105,7 +105,7 @@ public class CallOutgoingActivity extends Activity implements OnClickListener{
|
|||
finish();
|
||||
}
|
||||
|
||||
if (call == mCall && State.Connected == state || State.StreamsRunning == state){
|
||||
if (call == mCall && State.StreamsRunning == state){
|
||||
if (!LinphoneActivity.isInstanciated()) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -115,6 +115,8 @@ public class CallOutgoingActivity extends Activity implements OnClickListener{
|
|||
} else {
|
||||
LinphoneActivity.instance().startIncallActivity(mCall);
|
||||
}
|
||||
finish();
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -202,7 +204,7 @@ public class CallOutgoingActivity extends Activity implements OnClickListener{
|
|||
}
|
||||
LinphoneManager.getLc().enableSpeaker(isSpeakerEnabled);
|
||||
}
|
||||
if (id == R.id.hang_up) {
|
||||
if (id == R.id.outgoing_hang_up) {
|
||||
decline();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import android.app.Fragment;
|
|||
import android.graphics.Matrix;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
|
@ -76,13 +75,11 @@ import android.view.ViewTreeObserver;
|
|||
import android.view.WindowManager;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
import android.widget.AbsListView;
|
||||
import android.widget.AutoCompleteTextView;
|
||||
import android.widget.BaseAdapter;
|
||||
import android.widget.Button;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.EditText;
|
||||
import android.widget.Filter;
|
||||
import android.widget.Filterable;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
|
|
@ -116,10 +113,12 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
private ImageView edit, selectAll, deselectAll, startCall, delete, sendImage, sendMessage, cancel;
|
||||
private TextView contactName, remoteComposing;
|
||||
private ImageView back, backToCall;
|
||||
private AutoCompleteTextView searchContactField;
|
||||
private RelativeLayout topBar, editList;
|
||||
private EditText searchContactField;
|
||||
private LinearLayout topBar, editList;
|
||||
private LinearLayout textLayout;
|
||||
private ListView messagesList;
|
||||
private SearchContactsListAdapter searchAdapter;
|
||||
private ListView messagesList, resultContactsSearch;
|
||||
private LayoutInflater inflater;
|
||||
|
||||
private boolean isEditMode = false;
|
||||
private Contact contact;
|
||||
|
|
@ -147,6 +146,8 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
// Retain the fragment across configuration changes
|
||||
setRetainInstance(true);
|
||||
|
||||
this.inflater = inflater;
|
||||
|
||||
if(getArguments() == null || getArguments().getString("SipUri") == null) {
|
||||
newChatConversation = true;
|
||||
} else {
|
||||
|
|
@ -159,11 +160,12 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
//Initialize UI
|
||||
contactName = (TextView) view.findViewById(R.id.contact_name);
|
||||
messagesList = (ListView) view.findViewById(R.id.chat_message_list);
|
||||
searchContactField = (AutoCompleteTextView) view.findViewById(R.id.search_contact_field);
|
||||
searchContactField = (EditText) view.findViewById(R.id.search_contact_field);
|
||||
resultContactsSearch = (ListView) view.findViewById(R.id.result_contacts);
|
||||
|
||||
editList = (RelativeLayout) view.findViewById(R.id.edit_list);
|
||||
editList = (LinearLayout) view.findViewById(R.id.edit_list);
|
||||
//textLayout = (LinearLayout) view.findViewById(R.id.message_layout);
|
||||
topBar = (RelativeLayout) view.findViewById(R.id.top_bar);
|
||||
topBar = (LinearLayout) view.findViewById(R.id.top_bar);
|
||||
|
||||
sendMessage = (ImageView) view.findViewById(R.id.send_message);
|
||||
sendMessage.setOnClickListener(this);
|
||||
|
|
@ -193,28 +195,7 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
delete.setOnClickListener(this);
|
||||
|
||||
if (newChatConversation) {
|
||||
messagesList.setVisibility(View.GONE);
|
||||
searchContactField.setVisibility(View.VISIBLE);
|
||||
searchContactField.setAdapter(new SearchContactsListAdapter(inflater));
|
||||
searchContactField.showDropDown();
|
||||
searchContactField.requestFocus();
|
||||
edit.setVisibility(View.INVISIBLE);
|
||||
startCall.setVisibility(View.INVISIBLE);
|
||||
contactName.setVisibility(View.INVISIBLE);
|
||||
} else {
|
||||
LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||
if (lc != null) {
|
||||
chatRoom = lc.getOrCreateChatRoom(sipUri);
|
||||
chatRoom.markAsRead();
|
||||
}
|
||||
}
|
||||
|
||||
LinphoneAddress lAddress = null;
|
||||
try {
|
||||
lAddress = LinphoneCoreFactory.instance().createLinphoneAddress(sipUri);
|
||||
//contact = ContactsManager.getInstance().findContactWithAddress(getActivity().getContentResolver(), lAddress);
|
||||
} catch (Exception e){
|
||||
|
||||
initNewChatConversation();
|
||||
}
|
||||
|
||||
//Manage multiline
|
||||
|
|
@ -234,15 +215,12 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
}
|
||||
|
||||
back = (ImageView) view.findViewById(R.id.back);
|
||||
if (back != null) {
|
||||
back.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
getFragmentManager().popBackStackImmediate();
|
||||
}
|
||||
});
|
||||
if(getResources().getBoolean(R.bool.isTablet)){
|
||||
back.setVisibility(View.INVISIBLE);
|
||||
} else {
|
||||
back.setOnClickListener(this);
|
||||
}
|
||||
|
||||
|
||||
mListener = new LinphoneCoreListenerBase(){
|
||||
@Override
|
||||
public void messageReceived(LinphoneCore lc, LinphoneChatRoom cr, LinphoneChatMessage message) {
|
||||
|
|
@ -474,22 +452,26 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||
|
||||
LinphoneAddress lAddress = null;
|
||||
try {
|
||||
lAddress = lc.interpretUrl(sipUri);
|
||||
} catch (Exception e){
|
||||
//TODO Error popup and quit chat
|
||||
}
|
||||
if(sipUri == null){
|
||||
initNewChatConversation();
|
||||
} else {
|
||||
try {
|
||||
lAddress = lc.interpretUrl(sipUri);
|
||||
} catch (Exception e) {
|
||||
//TODO Error popup and quit chat
|
||||
}
|
||||
|
||||
if (lAddress != null) {
|
||||
chatRoom = lc.getChatRoom(lAddress);
|
||||
chatRoom.markAsRead();
|
||||
contact = ContactsManager.getInstance().findContactWithAddress(getActivity().getContentResolver(), lAddress);
|
||||
if(chatRoom != null) {
|
||||
displayChatHeader(lAddress);
|
||||
dispayMessageList();
|
||||
if (lAddress != null) {
|
||||
chatRoom = lc.getChatRoom(lAddress);
|
||||
chatRoom.markAsRead();
|
||||
LinphoneActivity.instance().updateMissedChatCount();
|
||||
contact = ContactsManager.getInstance().findContactWithAddress(getActivity().getContentResolver(), lAddress);
|
||||
if (chatRoom != null) {
|
||||
displayChatHeader(lAddress);
|
||||
dispayMessageList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void dispayMessageList() {
|
||||
|
|
@ -612,10 +594,10 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
|
||||
if(LinphoneManager.getLc().isIncall()){
|
||||
backToCall.setVisibility(View.VISIBLE);
|
||||
startCall.setVisibility(View.INVISIBLE);
|
||||
startCall.setVisibility(View.GONE);
|
||||
} else {
|
||||
if(!newChatConversation) {
|
||||
backToCall.setVisibility(View.INVISIBLE);
|
||||
backToCall.setVisibility(View.GONE);
|
||||
startCall.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
|
@ -630,6 +612,8 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
|
||||
if(!newChatConversation) {
|
||||
initChatRoom(sipUri);
|
||||
searchContactField.setVisibility(View.GONE);
|
||||
resultContactsSearch.setVisibility(View.GONE);
|
||||
remoteComposing.setVisibility(chatRoom.isRemoteComposing() ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
super.onResume();
|
||||
|
|
@ -688,7 +672,7 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
}
|
||||
if (id == R.id.delete) {
|
||||
final Dialog dialog = LinphoneActivity.instance().displayDialog(getString(R.string.delete_text));
|
||||
Button delete = (Button) dialog.findViewById(R.id.delete);
|
||||
Button delete = (Button) dialog.findViewById(R.id.delete_button);
|
||||
Button cancel = (Button) dialog.findViewById(R.id.cancel);
|
||||
|
||||
delete.setOnClickListener(new OnClickListener() {
|
||||
|
|
@ -723,6 +707,9 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
if(id == R.id.start_call){
|
||||
LinphoneActivity.instance().setAddresGoToDialerAndCall(sipUri, LinphoneUtils.getUsernameFromAddress(sipUri), null);
|
||||
}
|
||||
if (id == R.id.back) {
|
||||
getFragmentManager().popBackStackImmediate();
|
||||
}
|
||||
}
|
||||
|
||||
private void sendTextMessage() {
|
||||
|
|
@ -742,7 +729,7 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
|
||||
//Start new conversation in fast chat
|
||||
if(newChatConversation && chatRoom == null) {
|
||||
String address = searchContactField.getText().toString();
|
||||
String address = searchContactField.getText().toString().toLowerCase();
|
||||
if (address != null && !address.equals("")) {
|
||||
initChatRoom(address);
|
||||
}
|
||||
|
|
@ -974,15 +961,47 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
private void exitNewConversationMode(Contact c, String address, String username){
|
||||
sipUri = address;
|
||||
searchContactField.setVisibility(View.GONE);
|
||||
resultContactsSearch.setVisibility(View.GONE);
|
||||
messagesList.setVisibility(View.VISIBLE);
|
||||
contactName.setVisibility(View.VISIBLE);
|
||||
edit.setVisibility(View.VISIBLE);
|
||||
back.setVisibility(View.VISIBLE);
|
||||
startCall.setVisibility(View.VISIBLE);
|
||||
|
||||
if(getResources().getBoolean(R.bool.isTablet)){
|
||||
back.setVisibility(View.INVISIBLE);
|
||||
} else {
|
||||
back.setOnClickListener(this);
|
||||
}
|
||||
|
||||
newChatConversation = false;
|
||||
initChatRoom(sipUri);
|
||||
}
|
||||
|
||||
private void initNewChatConversation(){
|
||||
messagesList.setVisibility(View.GONE);
|
||||
edit.setVisibility(View.INVISIBLE);
|
||||
startCall.setVisibility(View.INVISIBLE);
|
||||
contactName.setVisibility(View.INVISIBLE);
|
||||
resultContactsSearch.setVisibility(View.VISIBLE);
|
||||
searchAdapter = new SearchContactsListAdapter(null);
|
||||
resultContactsSearch.setAdapter(searchAdapter);
|
||||
searchContactField.setVisibility(View.VISIBLE);
|
||||
searchContactField.requestFocus();
|
||||
searchContactField.addTextChangedListener(new TextWatcher() {
|
||||
@Override
|
||||
public void onTextChanged(CharSequence s, int start, int before, int count) {}
|
||||
|
||||
@Override
|
||||
public void beforeTextChanged(CharSequence s, int start, int count,
|
||||
int after) {}
|
||||
|
||||
@Override
|
||||
public void afterTextChanged(Editable s) {
|
||||
searchContacts(searchContactField.getText().toString());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private class ContactAddress {
|
||||
Contact contact;
|
||||
String address;
|
||||
|
|
@ -993,42 +1012,36 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
}
|
||||
}
|
||||
|
||||
class SearchContactsListAdapter extends BaseAdapter implements Filterable {
|
||||
private List<LinphoneFriend> contactList;
|
||||
private LayoutInflater mInflater;
|
||||
|
||||
SearchContactsListAdapter(LayoutInflater inflater) {
|
||||
mInflater = inflater;
|
||||
contactList = new ArrayList<LinphoneFriend>();
|
||||
contactList = getContactsList();
|
||||
private void searchContacts(String search) {
|
||||
if (search == null || search.length() == 0) {
|
||||
resultContactsSearch.setAdapter(new SearchContactsListAdapter(null));
|
||||
return;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Filter getFilter() {
|
||||
return new Filter() {
|
||||
@Override
|
||||
protected void publishResults(CharSequence constraint, FilterResults results) {
|
||||
contactList = new ArrayList<LinphoneFriend>();
|
||||
contactList = getContactsList();
|
||||
notifyDataSetInvalidated();
|
||||
List<LinphoneFriend> result = new ArrayList<LinphoneFriend>();
|
||||
if(search != null) {
|
||||
for (LinphoneFriend f : searchAdapter.contacts) {
|
||||
if (f.getAddress().asStringUriOnly().toLowerCase().startsWith(search.toLowerCase()) || LinphoneUtils.getAddressDisplayName(f.getAddress()).toLowerCase().startsWith(search.toLowerCase())) {
|
||||
result.add(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected FilterResults performFiltering(CharSequence constraint) {
|
||||
List<LinphoneFriend> result = new ArrayList<LinphoneFriend>();
|
||||
if(constraint != null) {
|
||||
for (LinphoneFriend f: contactList) {
|
||||
if (f.getAddress().asStringUriOnly().toLowerCase().startsWith("sip:" + constraint.toString().toLowerCase()) || LinphoneUtils.getAddressDisplayName(f.getAddress()).toLowerCase().startsWith(constraint.toString().toLowerCase())) {
|
||||
result.add(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
FilterResults r = new FilterResults();
|
||||
r.values = result;
|
||||
r.count = result.size();
|
||||
return r;
|
||||
}
|
||||
};
|
||||
resultContactsSearch.setAdapter(new SearchContactsListAdapter(result));
|
||||
searchAdapter.notifyDataSetChanged();
|
||||
}
|
||||
|
||||
class SearchContactsListAdapter extends BaseAdapter {
|
||||
private List<LinphoneFriend> contacts;
|
||||
private LayoutInflater mInflater;
|
||||
|
||||
SearchContactsListAdapter(List<LinphoneFriend> contactsList) {
|
||||
mInflater = inflater;
|
||||
if(contactsList == null){
|
||||
contacts = getContactsList();
|
||||
} else {
|
||||
contacts = contactsList;
|
||||
}
|
||||
}
|
||||
|
||||
public List<LinphoneFriend> getContactsList(){
|
||||
|
|
@ -1036,15 +1049,15 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
}
|
||||
|
||||
public int getCount() {
|
||||
return contactList.size();
|
||||
return contacts.size();
|
||||
}
|
||||
|
||||
public LinphoneFriend getItem(int position) {
|
||||
if (contactList == null || position >= contactList.size()) {
|
||||
contactList = getContactsList();
|
||||
return contactList.get(position);
|
||||
if (contacts == null || position >= contacts.size()) {
|
||||
contacts = getContactsList();
|
||||
return contacts.get(position);
|
||||
} else {
|
||||
return contactList.get(position);
|
||||
return contacts.get(position);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ import android.widget.Button;
|
|||
import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ListView;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
|
|
@ -71,7 +72,7 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
private ListView chatList;
|
||||
private TextView noChatHistory;
|
||||
private ImageView edit, selectAll, deselectAll, delete, newDiscussion, contactPicture, cancel, backInCall;
|
||||
private RelativeLayout editList, topbar;
|
||||
private LinearLayout editList, topbar;
|
||||
private boolean isEditMode = false;
|
||||
|
||||
@Override
|
||||
|
|
@ -86,8 +87,8 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
|
||||
noChatHistory = (TextView) view.findViewById(R.id.noChatHistory);
|
||||
|
||||
editList = (RelativeLayout) view.findViewById(R.id.edit_list);
|
||||
topbar = (RelativeLayout) view.findViewById(R.id.top_bar);
|
||||
editList = (LinearLayout) view.findViewById(R.id.edit_list);
|
||||
topbar = (LinearLayout) view.findViewById(R.id.top_bar);
|
||||
|
||||
cancel = (ImageView) view.findViewById(R.id.cancel);
|
||||
cancel.setOnClickListener(this);
|
||||
|
|
@ -139,6 +140,9 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
editList.setVisibility(View.GONE);
|
||||
topbar.setVisibility(View.VISIBLE);
|
||||
refresh();
|
||||
if(getResources().getBoolean(R.bool.isTablet)){
|
||||
displayFirstChat();
|
||||
}
|
||||
}
|
||||
|
||||
public int getNbItemsChecked(){
|
||||
|
|
@ -185,14 +189,12 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
hideAndDisplayMessageIfNoChat();
|
||||
}
|
||||
|
||||
private boolean isVersionUsingNewChatStorage() {
|
||||
try {
|
||||
Context context = LinphoneActivity.instance();
|
||||
return context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionCode >= 2200;
|
||||
} catch (NameNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
public void displayFirstChat(){
|
||||
if(mConversations.size() > 0) {
|
||||
LinphoneActivity.instance().displayChat(mConversations.get(0));
|
||||
} else {
|
||||
LinphoneActivity.instance().displayEmptyFragment();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -202,42 +204,7 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
if (LinphoneManager.getLc().getCallsNb() > 0) {
|
||||
backInCall.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
backInCall.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(LinphoneActivity.instance());
|
||||
boolean updateNeeded = prefs.getBoolean(getString(R.string.pref_first_time_linphone_chat_storage), true);
|
||||
updateNeeded = updateNeeded && !isVersionUsingNewChatStorage();
|
||||
if (updateNeeded) {
|
||||
AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() {
|
||||
private ProgressDialog pd;
|
||||
@Override
|
||||
protected void onPreExecute() {
|
||||
pd = new ProgressDialog(LinphoneActivity.instance());
|
||||
pd.setTitle(getString(R.string.wait));
|
||||
pd.setMessage(getString(R.string.importing_messages));
|
||||
pd.setCancelable(false);
|
||||
pd.setIndeterminate(true);
|
||||
pd.show();
|
||||
}
|
||||
@Override
|
||||
protected Void doInBackground(Void... arg0) {
|
||||
try {
|
||||
if (importAndroidStoredMessagedIntoLibLinphoneStorage()) {
|
||||
prefs.edit().putBoolean(getString(R.string.pref_first_time_linphone_chat_storage), false).commit();
|
||||
LinphoneActivity.instance().getChatStorage().restartChatStorage();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@Override
|
||||
protected void onPostExecute(Void result) {
|
||||
pd.dismiss();
|
||||
}
|
||||
};
|
||||
task.execute((Void[])null);
|
||||
backInCall.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
|
||||
if (LinphoneActivity.isInstanciated()) {
|
||||
|
|
@ -302,7 +269,7 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
|
||||
if (id == R.id.delete) {
|
||||
final Dialog dialog = LinphoneActivity.instance().displayDialog(getString(R.string.delete_text));
|
||||
Button delete = (Button) dialog.findViewById(R.id.delete);
|
||||
Button delete = (Button) dialog.findViewById(R.id.delete_button);
|
||||
Button cancel = (Button) dialog.findViewById(R.id.cancel);
|
||||
|
||||
delete.setOnClickListener(new OnClickListener() {
|
||||
|
|
@ -359,33 +326,6 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
LinphoneActivity.instance().displayChat(sipUri);
|
||||
}
|
||||
}
|
||||
|
||||
private boolean importAndroidStoredMessagedIntoLibLinphoneStorage() {
|
||||
Log.w("Importing previous messages into new database...");
|
||||
try {
|
||||
ChatStorage db = LinphoneActivity.instance().getChatStorage();
|
||||
List<String> conversations = db.getChatList();
|
||||
for (int j = conversations.size() - 1; j >= 0; j--) {
|
||||
String correspondent = conversations.get(j);
|
||||
LinphoneChatRoom room = LinphoneManager.getLc().getOrCreateChatRoom(correspondent);
|
||||
for (ChatMessage message : db.getMessages(correspondent)) {
|
||||
LinphoneChatMessage msg = room.createLinphoneChatMessage(message.getMessage(), message.getUrl(), message.getStatus(), Long.parseLong(message.getTimestamp()), true, message.isIncoming());
|
||||
if (message.getImage() != null) {
|
||||
String path = saveImageAsFile(message.getId(), message.getImage());
|
||||
if (path != null)
|
||||
msg.setExternalBodyUrl(path);
|
||||
}
|
||||
msg.store();
|
||||
}
|
||||
db.removeDiscussion(correspondent);
|
||||
}
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private String saveImageAsFile(int id, Bitmap bm) {
|
||||
try {
|
||||
|
|
@ -460,7 +400,7 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
TextView date = (TextView) view.findViewById(R.id.date);
|
||||
TextView displayName = (TextView) view.findViewById(R.id.sipUri);
|
||||
TextView unreadMessages = (TextView) view.findViewById(R.id.unreadMessages);
|
||||
CheckBox select = (CheckBox) view.findViewById(R.id.delete);
|
||||
CheckBox select = (CheckBox) view.findViewById(R.id.delete_chatroom);
|
||||
ImageView contactPicture = (ImageView) view.findViewById(R.id.contact_picture);
|
||||
|
||||
LinphoneChatRoom chatRoom = LinphoneManager.getLc().getChatRoom(address);
|
||||
|
|
@ -492,7 +432,13 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
|
||||
/*if(contact != null){
|
||||
LinphoneUtils.setImagePictureFromUri(view.getContext(), contactPicture, contact.getPhotoUri(), contact.getThumbnailUri());
|
||||
<<<<<<< HEAD
|
||||
}*/
|
||||
=======
|
||||
} else {
|
||||
contactPicture.setImageResource(R.drawable.avatar);
|
||||
}
|
||||
>>>>>>> linphone-android/master
|
||||
|
||||
if (unreadMessagesCount > 0) {
|
||||
unreadMessages.setVisibility(View.VISIBLE);
|
||||
|
|
@ -542,7 +488,6 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
|||
unreadMessages.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
return view;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,20 +17,15 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.linphone.compatibility.Compatibility;
|
||||
import org.linphone.core.LinphoneCore;
|
||||
import org.linphone.core.LinphoneProxyConfig;
|
||||
import org.linphone.mediastream.Log;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
import android.content.ContentProviderOperation;
|
||||
import android.content.DialogInterface;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.os.Bundle;
|
||||
import android.provider.ContactsContract;
|
||||
import android.app.Fragment;
|
||||
|
|
@ -96,14 +91,13 @@ public class ContactDetailsFragment extends Fragment implements OnClickListener
|
|||
displayChatAddressOnly = getArguments().getBoolean("ChatAddressOnly");
|
||||
}
|
||||
|
||||
ImageView back = (ImageView) view.findViewById(R.id.back);
|
||||
back.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
getFragmentManager().popBackStackImmediate();
|
||||
}
|
||||
});
|
||||
|
||||
back = (ImageView) view.findViewById(R.id.back);
|
||||
if(getResources().getBoolean(R.bool.isTablet)){
|
||||
back.setVisibility(View.INVISIBLE);
|
||||
} else {
|
||||
back.setOnClickListener(this);
|
||||
}
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
|
|
@ -245,7 +239,10 @@ public class ContactDetailsFragment extends Fragment implements OnClickListener
|
|||
@Override
|
||||
public void onClick(View v) {
|
||||
int id = v.getId();
|
||||
|
||||
|
||||
if (id == R.id.back) {
|
||||
getFragmentManager().popBackStackImmediate();
|
||||
}
|
||||
}
|
||||
|
||||
private void deleteExistingContact() {
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ import android.view.LayoutInflater;
|
|||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.WindowManager;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageView;
|
||||
|
|
@ -65,7 +66,7 @@ import android.widget.LinearLayout;
|
|||
|
||||
public class ContactEditorFragment extends Fragment {
|
||||
private View view;
|
||||
private ImageView back, edit, ok;
|
||||
private ImageView cancel, deleteContact, ok;
|
||||
private ImageView addNumber, addSipAddress, contactPicture;
|
||||
private EditText firstName, lastName;
|
||||
private LayoutInflater inflater;
|
||||
|
|
@ -110,14 +111,16 @@ public class ContactEditorFragment extends Fragment {
|
|||
|
||||
view = inflater.inflate(R.layout.contact_edit, container, false);
|
||||
|
||||
ImageView back = (ImageView) view.findViewById(R.id.back);
|
||||
back.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
getFragmentManager().popBackStackImmediate();
|
||||
}
|
||||
});
|
||||
|
||||
deleteContact = (ImageView) view.findViewById(R.id.delete_contact);
|
||||
|
||||
cancel = (ImageView) view.findViewById(R.id.cancel);
|
||||
cancel.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
getFragmentManager().popBackStackImmediate();
|
||||
}
|
||||
});
|
||||
|
||||
ok = (ImageView) view.findViewById(R.id.ok);
|
||||
ok.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
|
|
@ -221,8 +224,10 @@ public class ContactEditorFragment extends Fragment {
|
|||
lastName.setText(contact.getName());
|
||||
firstName.setText("");
|
||||
}
|
||||
} else {
|
||||
deleteContact.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
|
||||
|
||||
contactPicture = (ImageView) view.findViewById(R.id.contact_picture);
|
||||
if (contact != null && contact.getPhotoUri() != null) {
|
||||
InputStream input = Compatibility.getContactPictureInputStream(getActivity().getContentResolver(), contact.getID());
|
||||
|
|
@ -271,6 +276,9 @@ public class ContactEditorFragment extends Fragment {
|
|||
if(LinphoneActivity.isInstanciated()){
|
||||
LinphoneActivity.instance().hideTabBar(false);
|
||||
}
|
||||
|
||||
// Force hide keyboard
|
||||
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
|
||||
}
|
||||
|
||||
private void pickImage() {
|
||||
|
|
|
|||
|
|
@ -45,8 +45,8 @@ import android.widget.BaseAdapter;
|
|||
import android.widget.CheckBox;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ListView;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.SectionIndexer;
|
||||
import android.widget.TextView;
|
||||
|
||||
|
|
@ -59,7 +59,8 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
|
|||
private ListView contactsList;
|
||||
private TextView noSipContact, noContact;
|
||||
private boolean onlyDisplayLinphoneContacts, isEditMode;
|
||||
private RelativeLayout allContactsSelected, linphoneContactsSelected, editList, topbar;
|
||||
private View allContactsSelected, linphoneContactsSelected;
|
||||
private LinearLayout editList, topbar;
|
||||
private int lastKnownPosition;
|
||||
private AlphabetIndexer indexer;
|
||||
private boolean editOnClick = false, editConsumed = false, onlyDisplayChatAddress = false;
|
||||
|
|
@ -97,8 +98,8 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
|
|||
contactsList = (ListView) view.findViewById(R.id.contactsList);
|
||||
contactsList.setOnItemClickListener(this);
|
||||
|
||||
editList = (RelativeLayout) view.findViewById(R.id.edit_list);
|
||||
topbar = (RelativeLayout) view.findViewById(R.id.top_bar);
|
||||
editList = (LinearLayout) view.findViewById(R.id.edit_list);
|
||||
topbar = (LinearLayout) view.findViewById(R.id.top_bar);
|
||||
|
||||
clearSearchField = (ImageView) view.findViewById(R.id.clearSearchField);
|
||||
clearSearchField.setOnClickListener(this);
|
||||
|
|
@ -192,6 +193,17 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
|
|||
editList.setVisibility(View.GONE);
|
||||
topbar.setVisibility(View.VISIBLE);
|
||||
invalidate();
|
||||
if(getResources().getBoolean(R.bool.isTablet)){
|
||||
displayFirstContact();
|
||||
}
|
||||
}
|
||||
|
||||
public void displayFirstContact(){
|
||||
if(contactsList.getAdapter().getCount() > 0) {
|
||||
LinphoneActivity.instance().displayContact((Contact) contactsList.getAdapter().getItem(0), false);
|
||||
} else {
|
||||
LinphoneActivity.instance().displayEmptyFragment();
|
||||
}
|
||||
}
|
||||
|
||||
private void searchContacts() {
|
||||
|
|
@ -211,7 +223,6 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
|
|||
if(LinphoneActivity.instance().getResources().getBoolean(R.bool.use_linphone_friend)) {
|
||||
searchCursor = ContactsManager.getInstance().searchFriends(search);
|
||||
indexer = new AlphabetIndexer(searchCursor, Compatibility.getCursorDisplayNameColumnIndex(searchCursor), " ABCDEFGHIJKLMNOPQRSTUVWXYZ");
|
||||
Log.w("Search indexer" + indexer.getSections().length);
|
||||
contactsList.setAdapter(new ContactsListAdapter(ContactsManager.getInstance().getSearchContacts(), searchCursor));
|
||||
} else{
|
||||
if (onlyDisplayLinphoneContacts) {
|
||||
|
|
@ -242,7 +253,6 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
|
|||
|
||||
if(LinphoneActivity.instance().getResources().getBoolean(R.bool.use_linphone_friend)) {
|
||||
indexer = new AlphabetIndexer(allContactsCursor, Compatibility.getCursorDisplayNameColumnIndex(allContactsCursor), " ABCDEFGHIJKLMNOPQRSTUVWXYZ");
|
||||
Log.w("Contact indexer" + indexer.getSections().length);
|
||||
contactsList.setChoiceMode(AbsListView.CHOICE_MODE_MULTIPLE);
|
||||
contactsList.setAdapter(new ContactsListAdapter(ContactsManager.getInstance().getAllContacts(), allContactsCursor));
|
||||
} else {
|
||||
|
|
@ -250,19 +260,23 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
|
|||
if (sipContactsCursor != null && sipContactsCursor.getCount() == 0) {
|
||||
noSipContact.setVisibility(View.VISIBLE);
|
||||
contactsList.setVisibility(View.GONE);
|
||||
} else {
|
||||
//edit.setEnabled(false);
|
||||
} else if (sipContactsCursor != null) {
|
||||
indexer = new AlphabetIndexer(sipContactsCursor, Compatibility.getCursorDisplayNameColumnIndex(sipContactsCursor), " ABCDEFGHIJKLMNOPQRSTUVWXYZ");
|
||||
contactsList.setChoiceMode(AbsListView.CHOICE_MODE_MULTIPLE);
|
||||
contactsList.setAdapter(new ContactsListAdapter(ContactsManager.getInstance().getSIPContacts(), sipContactsCursor));
|
||||
//edit.setEnabled(true);
|
||||
}
|
||||
} else {
|
||||
if (allContactsCursor != null && allContactsCursor.getCount() == 0) {
|
||||
noContact.setVisibility(View.VISIBLE);
|
||||
contactsList.setVisibility(View.GONE);
|
||||
} else {
|
||||
//edit.setEnabled(false);
|
||||
} else if (allContactsCursor != null) {
|
||||
indexer = new AlphabetIndexer(allContactsCursor, Compatibility.getCursorDisplayNameColumnIndex(allContactsCursor), " ABCDEFGHIJKLMNOPQRSTUVWXYZ");
|
||||
contactsList.setChoiceMode(AbsListView.CHOICE_MODE_MULTIPLE);
|
||||
contactsList.setAdapter(new ContactsListAdapter(ContactsManager.getInstance().getAllContacts(), allContactsCursor));
|
||||
//edit.setEnabled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ public class ContactsManager {
|
|||
accountManager.addAccountExplicitly(newAccount, null, null);
|
||||
mAccount = newAccount;
|
||||
} catch (Exception e) {
|
||||
Log.e(e);
|
||||
mAccount = null;
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ public class DialerFragment extends Fragment {
|
|||
mAddress.setPictureUri(Uri.parse(photo));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
|
|
@ -154,7 +154,7 @@ public class DialerFragment extends Fragment {
|
|||
}
|
||||
|
||||
boolean isOrientationLandscape = getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE;
|
||||
if(isOrientationLandscape) {
|
||||
if(isOrientationLandscape && !getResources().getBoolean(R.bool.isTablet)) {
|
||||
((LinearLayout) numpad).setVisibility(View.GONE);
|
||||
} else {
|
||||
((LinearLayout) numpad).setVisibility(View.VISIBLE);
|
||||
|
|
|
|||
40
src/org/linphone/EmptyFragment.java
Normal file
40
src/org/linphone/EmptyFragment.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package org.linphone;
|
||||
/*
|
||||
AboutFragment.java
|
||||
Copyright (C) 2012 Belledonne Communications, Grenoble, France
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.app.Fragment;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
/**
|
||||
* @author Sylvain Berfini
|
||||
*/
|
||||
public class EmptyFragment extends Fragment {
|
||||
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
|
||||
View view = inflater.inflate(R.layout.empty_fragment, container, false);
|
||||
return view;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
public enum FragmentsAvailable {
|
||||
UNKNOW,
|
||||
DIALER,
|
||||
EMPTY,
|
||||
HISTORY_LIST,
|
||||
HISTORY_DETAIL,
|
||||
CONTACTS_LIST,
|
||||
|
|
|
|||
|
|
@ -60,7 +60,11 @@ public class HistoryDetailFragment extends Fragment implements OnClickListener {
|
|||
dialBack.setOnClickListener(this);
|
||||
|
||||
back = (ImageView) view.findViewById(R.id.back);
|
||||
back.setOnClickListener(this);
|
||||
if(getResources().getBoolean(R.bool.isTablet)){
|
||||
back.setVisibility(View.INVISIBLE);
|
||||
} else {
|
||||
back.setOnClickListener(this);
|
||||
}
|
||||
|
||||
chat = (ImageView) view.findViewById(R.id.chat);
|
||||
chat.setOnClickListener(this);
|
||||
|
|
|
|||
|
|
@ -38,9 +38,6 @@ import android.view.LayoutInflater;
|
|||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.Animation.AnimationListener;
|
||||
import android.view.animation.AnimationUtils;
|
||||
import android.widget.AbsListView;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.AdapterView.OnItemClickListener;
|
||||
|
|
@ -51,7 +48,6 @@ import android.widget.CompoundButton;
|
|||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ListView;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
/**
|
||||
|
|
@ -62,7 +58,7 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
|||
private LayoutInflater mInflater;
|
||||
private TextView noCallHistory, noMissedCallHistory;
|
||||
private ImageView missedCalls, allCalls, edit, selectAll, deselectAll, delete, cancel;
|
||||
private RelativeLayout editList, topBar;
|
||||
private LinearLayout editList, topBar;
|
||||
private boolean onlyDisplayMissedCalls, isEditMode;
|
||||
private List<LinphoneCallLog> mLogs;
|
||||
|
||||
|
|
@ -81,8 +77,8 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
|||
delete = (ImageView) view.findViewById(R.id.delete);
|
||||
delete.setOnClickListener(this);
|
||||
|
||||
editList = (RelativeLayout) view.findViewById(R.id.edit_list);
|
||||
topBar = (RelativeLayout) view.findViewById(R.id.top_bar);
|
||||
editList = (LinearLayout) view.findViewById(R.id.edit_list);
|
||||
topBar = (LinearLayout) view.findViewById(R.id.top_bar);
|
||||
|
||||
cancel = (ImageView) view.findViewById(R.id.cancel);
|
||||
cancel.setOnClickListener(this);
|
||||
|
|
@ -119,6 +115,19 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
|||
}
|
||||
}
|
||||
|
||||
public void displayFirstLog(){
|
||||
if(mLogs.size() > 0){
|
||||
LinphoneCallLog log = mLogs.get(0);
|
||||
if (log.getDirection() == CallDirection.Incoming) {
|
||||
LinphoneActivity.instance().displayHistoryDetail(mLogs.get(0).getFrom().toString(), mLogs.get(0));
|
||||
} else {
|
||||
LinphoneActivity.instance().displayHistoryDetail(mLogs.get(0).getTo().toString(), mLogs.get(0));
|
||||
}
|
||||
} else {
|
||||
LinphoneActivity.instance().displayEmptyFragment();
|
||||
}
|
||||
}
|
||||
|
||||
private void removeCallLogs(){
|
||||
int size = historyList.getAdapter().getCount();
|
||||
for(int i=0; i<size; i++) {
|
||||
|
|
@ -232,7 +241,7 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
|||
}
|
||||
|
||||
final Dialog dialog = LinphoneActivity.instance().displayDialog(getString(R.string.delete_text));
|
||||
Button delete = (Button) dialog.findViewById(R.id.delete);
|
||||
Button delete = (Button) dialog.findViewById(R.id.delete_button);
|
||||
Button cancel = (Button) dialog.findViewById(R.id.cancel);
|
||||
|
||||
delete.setOnClickListener(new OnClickListener() {
|
||||
|
|
@ -316,6 +325,9 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
|||
historyList.setChoiceMode(AbsListView.CHOICE_MODE_MULTIPLE);
|
||||
historyList.setAdapter(new CallHistoryAdapter(getActivity().getApplicationContext()));
|
||||
}
|
||||
if(getResources().getBoolean(R.bool.isTablet)){
|
||||
displayFirstLog();
|
||||
}
|
||||
}
|
||||
|
||||
class CallHistoryAdapter extends BaseAdapter {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package org.linphone;
|
|||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
import static android.content.Intent.ACTION_MAIN;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -77,6 +76,8 @@ import android.view.animation.AnimationUtils;
|
|||
import android.widget.AdapterView;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.BaseAdapter;
|
||||
import android.widget.Button;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ListView;
|
||||
|
|
@ -102,7 +103,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
private RelativeLayout history, chat;
|
||||
private FragmentsAvailable currentFragment, nextFragment;
|
||||
private List<FragmentsAvailable> fragmentsHistory;
|
||||
private Fragment dialerFragment, messageListFragment;
|
||||
private Fragment dialerFragment, chatListFragment, historyListFragment, contactListFragment;
|
||||
private ChatFragment chatFragment;
|
||||
private Fragment.SavedState dialerSavedState;
|
||||
private boolean newProxyConfig;
|
||||
|
|
@ -131,9 +132,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
if (isTablet() && getRequestedOrientation() != ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) {
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
||||
} else if (getResources().getBoolean(R.bool.orientation_portrait_only)) {
|
||||
if (getResources().getBoolean(R.bool.orientation_portrait_only)) {
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
||||
}
|
||||
|
||||
|
|
@ -159,6 +158,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
//TODO rework
|
||||
if (getResources().getBoolean(R.bool.use_linphone_tag)) {
|
||||
ContactsManager.getInstance().initializeSyncAccount(getApplicationContext(), getContentResolver());
|
||||
|
|
@ -191,8 +191,8 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
cr.markAsRead();
|
||||
}
|
||||
displayMissedChats(getUnreadMessageCount());
|
||||
if (messageListFragment != null && messageListFragment.isVisible()) {
|
||||
((ChatListFragment) messageListFragment).refresh();
|
||||
if (chatListFragment != null && chatListFragment.isVisible()) {
|
||||
((ChatListFragment) chatListFragment).refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -290,8 +290,8 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
cr.markAsRead();
|
||||
}
|
||||
displayMissedChats(getUnreadMessageCount());
|
||||
if (messageListFragment != null && messageListFragment.isVisible()) {
|
||||
((ChatListFragment) messageListFragment).refresh();
|
||||
if (chatListFragment != null && chatListFragment.isVisible()) {
|
||||
((ChatListFragment) chatListFragment).refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -384,7 +384,6 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
}
|
||||
|
||||
findViewById(R.id.status).setVisibility(View.GONE);
|
||||
findViewById(R.id.fragmentContainer).setPadding(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
public void showStatusBar() {
|
||||
|
|
@ -424,12 +423,14 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
switch (newFragmentType) {
|
||||
case HISTORY_LIST:
|
||||
newFragment = new HistoryListFragment();
|
||||
historyListFragment = newFragment;
|
||||
break;
|
||||
case HISTORY_DETAIL:
|
||||
newFragment = new HistoryDetailFragment();
|
||||
break;
|
||||
case CONTACTS_LIST:
|
||||
newFragment = new ContactsListFragment();
|
||||
contactListFragment = newFragment;
|
||||
break;
|
||||
case CONTACT_DETAIL:
|
||||
newFragment = new ContactDetailsFragment();
|
||||
|
|
@ -455,7 +456,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
break;
|
||||
case CHAT_LIST:
|
||||
newFragment = new ChatListFragment();
|
||||
messageListFragment = newFragment;
|
||||
chatListFragment = newFragment;
|
||||
break;
|
||||
case CHAT:
|
||||
newFragment = new ChatFragment();
|
||||
|
|
@ -528,16 +529,24 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
if (newFragmentType.shouldAddItselfToTheRightOf(currentFragment)) {
|
||||
ll.setVisibility(View.VISIBLE);
|
||||
|
||||
transaction.addToBackStack(newFragmentType.toString());
|
||||
if(newFragmentType == FragmentsAvailable.CONTACT_EDITOR){
|
||||
transaction.addToBackStack(newFragmentType.toString());
|
||||
}
|
||||
transaction.replace(R.id.fragmentContainer2, newFragment);
|
||||
} else {
|
||||
if(newFragmentType == FragmentsAvailable.EMPTY) {
|
||||
ll.setVisibility(View.VISIBLE);
|
||||
transaction.replace(R.id.fragmentContainer2, new EmptyFragment());
|
||||
}
|
||||
|
||||
if (newFragmentType == FragmentsAvailable.DIALER
|
||||
|| newFragmentType == FragmentsAvailable.ABOUT
|
||||
|| newFragmentType == FragmentsAvailable.SETTINGS
|
||||
|| newFragmentType == FragmentsAvailable.ACCOUNT_SETTINGS) {
|
||||
ll.setVisibility(View.GONE);
|
||||
} else {
|
||||
ll.setVisibility(View.INVISIBLE);
|
||||
ll.setVisibility(View.VISIBLE);
|
||||
transaction.replace(R.id.fragmentContainer2, new EmptyFragment());
|
||||
}
|
||||
|
||||
if (!withoutAnimation && !isAnimationDisabled && currentFragment.shouldAnimate()) {
|
||||
|
|
@ -614,6 +623,10 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
}
|
||||
}
|
||||
|
||||
public void displayEmptyFragment(){
|
||||
changeCurrentFragment(FragmentsAvailable.HISTORY_LIST, new Bundle());
|
||||
}
|
||||
|
||||
@SuppressLint("SimpleDateFormat")
|
||||
private String secondsToDisplayableString(int secs) {
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
|
||||
|
|
@ -689,62 +702,66 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
return;
|
||||
}
|
||||
|
||||
if(sipUri == null) {
|
||||
Bundle extras = new Bundle();
|
||||
changeCurrentFragment(FragmentsAvailable.CHAT, extras);
|
||||
} else {
|
||||
LinphoneAddress lAddress;
|
||||
String pictureUri = null;
|
||||
String thumbnailUri = null;
|
||||
String displayName = null;
|
||||
|
||||
LinphoneAddress lAddress = null;
|
||||
if(sipUri != null) {
|
||||
try {
|
||||
lAddress = LinphoneManager.getLc().interpretUrl(sipUri);
|
||||
} catch (LinphoneCoreException e) {
|
||||
//TODO display error message
|
||||
Log.e("Cannot display chat",e);
|
||||
Log.e("Cannot display chat", e);
|
||||
return;
|
||||
}
|
||||
Contact contact = ContactsManager.getInstance().findContactWithAddress(getContentResolver(), lAddress);
|
||||
String displayName = contact != null ? contact.getName() : null;
|
||||
displayName = contact != null ? contact.getName() : null;
|
||||
|
||||
String pictureUri = null;
|
||||
String thumbnailUri = null;
|
||||
if(contact != null && contact.getPhotoUri() != null){
|
||||
if (contact != null && contact.getPhotoUri() != null) {
|
||||
pictureUri = contact.getPhotoUri().toString();
|
||||
thumbnailUri = contact.getThumbnailUri().toString();
|
||||
}
|
||||
}
|
||||
|
||||
if (currentFragment == FragmentsAvailable.CHAT_LIST || currentFragment == FragmentsAvailable.CHAT) {
|
||||
Fragment fragment2 = getFragmentManager().findFragmentById(R.id.fragmentContainer2);
|
||||
if (fragment2 != null && fragment2.isVisible() && currentFragment == FragmentsAvailable.CHAT) {
|
||||
ChatFragment chatFragment = (ChatFragment) fragment2;
|
||||
chatFragment.changeDisplayedChat(sipUri, displayName, pictureUri);
|
||||
} else {
|
||||
Bundle extras = new Bundle();
|
||||
extras.putString("SipUri", sipUri);
|
||||
if (lAddress.getDisplayName() != null) {
|
||||
extras.putString("DisplayName", displayName);
|
||||
extras.putString("PictureUri", pictureUri);
|
||||
extras.putString("ThumbnailUri", thumbnailUri);
|
||||
}
|
||||
changeCurrentFragment(FragmentsAvailable.CHAT, extras);
|
||||
}
|
||||
if (currentFragment == FragmentsAvailable.CHAT_LIST || currentFragment == FragmentsAvailable.CHAT) {
|
||||
Fragment fragment2 = getFragmentManager().findFragmentById(R.id.fragmentContainer2);
|
||||
if (fragment2 != null && fragment2.isVisible() && currentFragment == FragmentsAvailable.CHAT) {
|
||||
ChatFragment chatFragment = (ChatFragment) fragment2;
|
||||
chatFragment.changeDisplayedChat(sipUri, displayName, pictureUri);
|
||||
} else {
|
||||
Bundle extras = new Bundle();
|
||||
extras.putString("SipUri", sipUri);
|
||||
if (lAddress.getDisplayName() != null) {
|
||||
if (sipUri != null && lAddress.getDisplayName() != null) {
|
||||
extras.putString("DisplayName", displayName);
|
||||
extras.putString("PictureUri", pictureUri);
|
||||
extras.putString("ThumbnailUri", thumbnailUri);
|
||||
}
|
||||
changeCurrentFragment(FragmentsAvailable.CHAT, extras);
|
||||
}
|
||||
|
||||
if (messageListFragment != null && messageListFragment.isVisible()) {
|
||||
((ChatListFragment) messageListFragment).refresh();
|
||||
} else {
|
||||
if(isTablet()){
|
||||
changeCurrentFragment(FragmentsAvailable.CHAT_LIST, null);
|
||||
displayChat(sipUri);
|
||||
} else {
|
||||
Bundle extras = new Bundle();
|
||||
extras.putString("SipUri", sipUri);
|
||||
if (sipUri != null && lAddress.getDisplayName() != null) {
|
||||
extras.putString("DisplayName", displayName);
|
||||
extras.putString("PictureUri", pictureUri);
|
||||
extras.putString("ThumbnailUri", thumbnailUri);
|
||||
}
|
||||
changeCurrentFragment(FragmentsAvailable.CHAT, extras);
|
||||
}
|
||||
|
||||
LinphoneService.instance().resetMessageNotifCount();
|
||||
LinphoneService.instance().removeMessageNotification();
|
||||
displayMissedChats(getUnreadMessageCount());
|
||||
}
|
||||
|
||||
if (chatListFragment != null && chatListFragment.isVisible()) {
|
||||
((ChatListFragment) chatListFragment).refresh();
|
||||
}
|
||||
|
||||
LinphoneService.instance().resetMessageNotifCount();
|
||||
LinphoneService.instance().removeMessageNotification();
|
||||
displayMissedChats(getUnreadMessageCount());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -755,12 +772,27 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
changeCurrentFragment(FragmentsAvailable.HISTORY_LIST, null);
|
||||
LinphoneManager.getLc().resetMissedCallsCount();
|
||||
displayMissedCalls(0);
|
||||
if(isTablet()) {
|
||||
if (historyListFragment != null && historyListFragment.isVisible()) {
|
||||
((HistoryListFragment) historyListFragment).displayFirstLog();
|
||||
}
|
||||
}
|
||||
} else if (id == R.id.contacts) {
|
||||
changeCurrentFragment(FragmentsAvailable.CONTACTS_LIST, null);
|
||||
if(isTablet()) {
|
||||
if (contactListFragment != null && contactListFragment.isVisible()) {
|
||||
((ContactsListFragment) contactListFragment).displayFirstContact();
|
||||
}
|
||||
}
|
||||
} else if (id == R.id.dialer) {
|
||||
changeCurrentFragment(FragmentsAvailable.DIALER, null);
|
||||
} else if (id == R.id.chat) {
|
||||
changeCurrentFragment(FragmentsAvailable.CHAT_LIST, null);
|
||||
if(isTablet()) {
|
||||
if (chatListFragment != null && chatListFragment.isVisible()) {
|
||||
((ChatListFragment) chatListFragment).displayFirstChat();
|
||||
}
|
||||
}
|
||||
} else if (id == R.id.cancel){
|
||||
hideTopBar();
|
||||
displayDialer();
|
||||
|
|
@ -824,7 +856,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
}
|
||||
|
||||
public void updateChatListFragment(ChatListFragment fragment) {
|
||||
messageListFragment = fragment;
|
||||
chatListFragment = fragment;
|
||||
}
|
||||
|
||||
public void updateStatusFragment(StatusFragment fragment) {
|
||||
|
|
@ -885,8 +917,8 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
|
||||
public int onMessageSent(String to, String message) {
|
||||
getChatStorage().deleteDraft(to);
|
||||
if (messageListFragment != null && messageListFragment.isVisible()) {
|
||||
((ChatListFragment) messageListFragment).refresh();
|
||||
if (chatListFragment != null && chatListFragment.isVisible()) {
|
||||
((ChatListFragment) chatListFragment).refresh();
|
||||
}
|
||||
|
||||
return getChatStorage().saveTextMessage("", to, message, System.currentTimeMillis());
|
||||
|
|
@ -913,6 +945,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
missedCalls.startAnimation(AnimationUtils.loadAnimation(LinphoneActivity.this, R.anim.bounce));
|
||||
}
|
||||
} else {
|
||||
LinphoneManager.getLc().resetMissedCallsCount();
|
||||
missedCalls.clearAnimation();
|
||||
missedCalls.setVisibility(View.GONE);
|
||||
}
|
||||
|
|
@ -956,7 +989,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
Drawable d = new ColorDrawable(getResources().getColor(R.color.colorC));
|
||||
d.setAlpha(200);
|
||||
dialog.setContentView(R.layout.dialog);
|
||||
dialog.getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT,WindowManager.LayoutParams.MATCH_PARENT);
|
||||
dialog.getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT);
|
||||
dialog.getWindow().setBackgroundDrawable(d);
|
||||
|
||||
TextView customText = (TextView) dialog.findViewById(R.id.customText);
|
||||
|
|
@ -964,6 +997,42 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
return dialog;
|
||||
}
|
||||
|
||||
public Dialog displayWrongPasswordDialog(final String username, final String realm, final String domain){
|
||||
final Dialog dialog = new Dialog(this);
|
||||
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
Drawable d = new ColorDrawable(getResources().getColor(R.color.colorC));
|
||||
d.setAlpha(200);
|
||||
dialog.setContentView(R.layout.input_dialog);
|
||||
dialog.getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT);
|
||||
dialog.getWindow().setBackgroundDrawable(d);
|
||||
|
||||
TextView customText = (TextView) dialog.findViewById(R.id.customText);
|
||||
customText.setText(getString(R.string.error_bad_credentials));
|
||||
|
||||
Button retry = (Button) dialog.findViewById(R.id.retry);
|
||||
Button cancel = (Button) dialog.findViewById(R.id.cancel);
|
||||
|
||||
retry.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
String newPassword = ((EditText) dialog.findViewById(R.id.password)).getText().toString();
|
||||
LinphoneAuthInfo authInfo = LinphoneCoreFactory.instance().createAuthInfo(username, null, newPassword, null, realm, domain);
|
||||
LinphoneManager.getLc().addAuthInfo(authInfo);
|
||||
LinphoneManager.getLc().refreshRegisters();
|
||||
dialog.dismiss();
|
||||
}
|
||||
});
|
||||
|
||||
cancel.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
dialog.dismiss();
|
||||
}
|
||||
});
|
||||
|
||||
return dialog;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAddresGoToDialerAndCall(String number, String name, Uri photo) {
|
||||
// Bundle extras = new Bundle();
|
||||
|
|
@ -1128,12 +1197,12 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
Bundle extras = new Bundle();
|
||||
extras.putSerializable("Contact", contact);
|
||||
extras.putSerializable("NewSipAdress", sipAddress);
|
||||
changeCurrentFragment(FragmentsAvailable.CONTACT_EDITOR, extras);
|
||||
changeCurrentFragment(FragmentsAvailable.CONTACT_EDITOR, extras);
|
||||
}
|
||||
|
||||
public void quit() {
|
||||
finish();
|
||||
stopService(new Intent(ACTION_MAIN).setClass(this, LinphoneService.class));
|
||||
stopService(new Intent(Intent.ACTION_MAIN).setClass(this, LinphoneService.class));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -1177,7 +1246,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
protected void onResume() {
|
||||
super.onResume();
|
||||
if (!LinphoneService.isReady()) {
|
||||
startService(new Intent(ACTION_MAIN).setClass(this, LinphoneService.class));
|
||||
startService(new Intent(Intent.ACTION_MAIN).setClass(this, LinphoneService.class));
|
||||
}
|
||||
|
||||
ContactsManager.getInstance().prepareContactsInBackground();
|
||||
|
|
@ -1332,8 +1401,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
|
||||
public void initSideMenu() {
|
||||
sideMenu = (DrawerLayout) findViewById(R.id.side_menu);
|
||||
//sideMenuItems = getResources().getStringArray(R.array.side_menu_item);
|
||||
sideMenuItems = new String[]{getString(R.string.about)};
|
||||
sideMenuItems = new String[]{getString(R.string.menu_about)};
|
||||
sideMenuContent = (RelativeLayout) findViewById(R.id.side_menu_content);
|
||||
sideMenuItemList = (ListView)findViewById(R.id.item_list);
|
||||
menu = (ImageView) findViewById(R.id.side_menu_button);
|
||||
|
|
@ -1342,13 +1410,13 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
sideMenuItemList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
||||
@Override
|
||||
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
|
||||
if(sideMenuItemList.getAdapter().getItem(i).toString().equals("Settings")){
|
||||
if(sideMenuItemList.getAdapter().getItem(i).toString().equals(getString(R.string.menu_settings))){
|
||||
LinphoneActivity.instance().displaySettings();
|
||||
}
|
||||
if(sideMenuItemList.getAdapter().getItem(i).toString().equals(getString(R.string.about))){
|
||||
if(sideMenuItemList.getAdapter().getItem(i).toString().equals(getString(R.string.menu_about))){
|
||||
LinphoneActivity.instance().displayAbout();
|
||||
}
|
||||
if(sideMenuItemList.getAdapter().getItem(i).toString().equals("Assistant")){
|
||||
if(sideMenuItemList.getAdapter().getItem(i).toString().equals(getString(R.string.menu_assistant))){
|
||||
LinphoneActivity.instance().displayAssistant();
|
||||
}
|
||||
openOrCloseSideMenu(false);
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue