- Bug fixes

This commit is contained in:
rafalense 2015-11-20 10:54:47 +01:00
parent f1cce707bd
commit b0436c0971
21 changed files with 38 additions and 33 deletions

View File

@ -89,7 +89,7 @@ android {
applicationId "org.telegram.plus"
minSdkVersion 8
targetSdkVersion 23
versionCode 660
versionCode 661
versionName "3.2.6.2"
}
}

View File

@ -1966,8 +1966,9 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
mentionListView.setVisibility(View.VISIBLE);
}
//plus
if (mentionListView != null) {
int height = AndroidUtilities.dp(37 * Math.min(10/(AndroidUtilities.displaySize.y / size), mentionsAdapter.getCount()));
if (mentionListView != null && size > 0) {
int y = AndroidUtilities.displaySize.y / size;
int height = AndroidUtilities.dp(37 * Math.min(10/y, mentionsAdapter.getCount()));//puede haber java.lang.ArithmeticException: divide by zero
FrameLayout.LayoutParams layoutParams3 = (FrameLayout.LayoutParams) mentionListView.getLayoutParams();
if(height != layoutParams3.height) {
layoutParams3.height = height;
@ -2744,10 +2745,12 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
}
}
} else {
//replyIconImageView.setImageResource(R.drawable.link);
Drawable link = getParentActivity().getResources().getDrawable(R.drawable.link);
link.setColorFilter(iColor, PorterDuff.Mode.SRC_IN);
replyIconImageView.setImageDrawable(link);
replyIconImageView.setImageResource(R.drawable.link);
if(getParentActivity() != null ) {
Drawable link = getParentActivity().getResources().getDrawable(R.drawable.link);
link.setColorFilter(iColor, PorterDuff.Mode.SRC_IN);
replyIconImageView.setImageDrawable(link);
}
replyNameTextView.setTextColor(iColor);//
if (webPage instanceof TLRPC.TL_webPagePending) {
replyNameTextView.setText(LocaleController.getString("GettingLinkInfo", R.string.GettingLinkInfo));

View File

@ -715,7 +715,10 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
frameLayout.addView(shadowView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, 3));
avatarImage = new BackupImageView(context);
avatarImage.setRoundRadius(AndroidUtilities.dp(21));
//avatarImage.setRoundRadius(AndroidUtilities.dp(21));
//Plus: user profile avatar
int radius = AndroidUtilities.dp(themePrefs.getInt("profileAvatarRadius", 32));
avatarImage.setRoundRadius(radius);
ViewProxy.setPivotX(avatarImage, 0);
ViewProxy.setPivotY(avatarImage, 0);
frameLayout.addView(avatarImage, LayoutHelper.createFrame(42, 42, Gravity.TOP | Gravity.LEFT, 64, 0, 0, 0));

View File

@ -977,7 +977,7 @@
<string name="formatDateAtTime">%1$s الساعة %2$s</string>
<!--update text-->
<string name="updateText">تم تحديث تيليجرام على الأندرويد. الجديد في النسخة رقم 3.2.6:\n\n- تحسين للواجهة البصرية للتطبيق\n- دعم للإيموجي الجديدة\n- تحسينات أخرى وإصلاح للثغرات</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText"></string>-->
<string name="TelegramForAndroid">بلاس مسنجر للأندرويد</string>

View File

@ -982,7 +982,7 @@ Si no us interessa, us suggerim crear un canal privat.</string>
- Animacions noves i moltes millores visuals
- Compatibilitat amb els emojis nous
- Altres millores i correcció d\'errors</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText">

View File

@ -974,7 +974,7 @@
<string name="formatDateAtTime">%1$s um %2$s</string>
<!--update text-->
<string name="updateText">Plus Messenger für Android wurde aktualisiert. Neu in Version 3.2.6:\n\n- Neue Animationen und optische Verbesserungen\n- Neue Emoji\n- Sonstige Verbesserungen und Fehlerbehebungen</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText">\n\nNeu in Version 3.2.6.2:\n\n- Now header gets color in android recent apps list\n- Mention list size increased in chat screen\n- Now also channels can be muted from main screen\n- Added mod to set header avatar radius in chat screen\n- Added mod to set typing text color in chat header\n- Fehlerbeseitigungen</string>-->
<string name="TelegramForAndroid">Plus Messenger für Android</string>

View File

@ -974,7 +974,7 @@
<string name="formatDateAtTime">%1$s a las %2$s</string>
<!--update text-->
<string name="updateText">Plus Messenger para Android ha sido actualizada. Novedades en la versión 3.2.6:\n\n- Nuevas animaciones y muchas mejoras visuales\n- Soporte para los nuevos emojis\n- Soporte para Android 6.0 (Now on Tap - Direct Share - Soporte para huella digital en el código de acceso)\n- Otras mejoras y correcciones de errores</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+-->
<string name="updatePlusText">\n\nNovedades en 3.2.6.2:\n\n- Cabecera en lista de apps recientes ya toma color de cabecera principal (a partir de lollipop)\n- Tamaño de lista de menciones en pantalla chat aumentado\n- Ahora los canales también se pueden silenciar desde la pantalla principal\n- Añadido mod para ajustar radio de avatar de cabecera en pantalla chat\n- Añadido mod para cambiar color de texto \'escribiendo\' en pantalla chat\n- Corrección de errores</string>
<string name="TelegramForAndroid">Plus Messenger para Android</string>

View File

@ -974,7 +974,7 @@
<string name="formatDateAtTime">%1$s à %2$s</string>
<!--update text-->
<string name="updateText">Telegram pour Android a été mis à jour. Nouveau dans la version 3.2.6:\n\n- De nouvelles animations et de nombreuses améliorations visuelles.\n- Support pour de nouveaux emoji\n- Autres améliorations et corrections de bogues.</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+-->
<string name="TelegramForAndroid">Plus Messenger pour Android</string>
<string name="Theming">Thème</string>

View File

@ -975,7 +975,7 @@ e introduce o teu número.</string>
<string name="formatDateAtTime">%1$s ás %2$s</string>
<!--update text-->
<string name="updateText">Telegram para Android foi actualizada. Novidades na versión 3.2.6:\n\n- Novas animacións e moitas melloras visuais\n- Soporte para os novos emoji\n- Outras melloras e correccións de erros</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText">\n\nNovidades en 3.2.6.2:\n\n- Engadido mod para a cor do comando na pantalla de conversa\n- Engadido mod para o fondo do contador para conversas/grupos/canles silenciadas na pantalla principal\n- Engadido mod para a cor do resaltado da busca na pantalla principal\n- Corrección de erros</string>-->
<string name="TelegramForAndroid">Plus Messenger para Android</string>

View File

@ -515,7 +515,7 @@
<string name="formatDateAtTime">%1$s पर %2$s</string>
<!--update text--><!--
<string name="updateText">Plus Messenger for Android has been updated. New in Version 3.0:\n\n\n\n- Dedicated tabs for each one of your custom sticker sets in the sticker panel. Add custom stickers like https://telegram.me/addstickers/Animals\n- New bot API, free for everyone. If you\'re an engineer, create your own bots for games, services or integrations. Learn more at https://telegram.org/blog/bot-revolution\n https://play.google.com/store/apps/details?id=es.rafalense.themes</string>-->
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText"></string>-->
<string name="TelegramForAndroid">Android के लिए प्लस मैसेंजर</string>

View File

@ -750,7 +750,7 @@
<string name="formatterDay12H">h:mm a</string>
<string name="formatDateAtTime">%1$s u %2$s</string>
<!--update text-->
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+-->
<string name="TelegramForAndroid">Plus Messenger za Android</string>
<string name="Theming">Izrada teme</string>

View File

@ -974,7 +974,7 @@
<string name="formatDateAtTime">%1$s alle %2$s</string>
<!--update text-->
<string name="updateText">Plus Messenger per Android si è aggiornato. Nuovo nella versione 3.2.6:\n\n- Nuove animazioni e miglioramenti di interfaccia\n- Supporto per le nuove emoji\n- Altri miglioramenti e risoluzione di problemi</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText">
\n\nNovità nella versione 3.2.6.2:\n\n- Aggiunta mod per il colore del comando nella schermata della chat\n- Aggiunta mod per il colore dello sfondo del contatore di chat/gruppi/canali mutati nella schermata principale\n- Aggiunta mod per il colore dell\'evidenziazione della ricerca nella schermata principale\n- Correzioni bug</string>-->

View File

@ -977,5 +977,5 @@
<string name="formatDateAtTime">%1$s %2$s</string>
<!--update text-->
<string name="updateText">텔레그램 안드로이드 버전이 업데이트 되었습니다. 새로운 버전은 3.2.6 입니다:\n\n- 새로운 애니메이션 및 다양한 비쥬얼 향상\n- 신규 이모티콘 지원\n- 기타 기능 향상 및 버그 수정</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
</resources>

View File

@ -974,7 +974,7 @@
<string name="formatDateAtTime">%1$s om %2$s</string>
<!--update text-->
<string name="updateText">Plus Messenger voor Android is bijgewerkt. Nieuw in versie 3.2.6:\n\n- Nieuwe animaties en andere visuele verbeteringen\n- Ondersteuning voor nieuwe Emoji\n-Tijdsaanduiding voor laatst gezien gelijk aan iOS\n-Probleemoplossing en andere verbeteringen</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText"></string>-->
<string name="TelegramForAndroid">Plus Messenger voor Android</string>

View File

@ -974,10 +974,9 @@
<string name="formatDateAtTime">%1$s às %2$s</string>
<!--update text-->
<string name="updateText">Plus Messenger para Android foi atualizado. Novidades na versão 3.2.6:\n\n- Novas animações e melhorias no visual\n- Suporte para novos emojis\n- Outras melhorias e resoluções de bugs</string>
<string name="updateBuild">660</string>
<!--Telegram+--><!--
<string name="updatePlusText">
\n\nNovidades na versão 3.2.6.2:\n\n- Adicionada mod para cor de comando na tela de chat\n- Adicionada mod para cor de fundo do contador para chat/grupo/canal silenciado na tela principal\n- Adicionada mod para cor destaque de busca na tela principal\n- Correções de erros</string>-->
<string name="updateBuild">661</string>
<!--Telegram+-->
<string name="updatePlusText">\n\nNovidades na versão 3.2.6.2:\n\n- Agora o cabeçalho adquire cor do tema na lista de Apps Recentes do Android\n- Tamanho da Lista de Menção aumentado na tela de chat\n- Agora canais também podem ser silenciados diretamente pela tela principal\n- Adicionada mod para definir raio do avatar no cabeçalho da tela de chat\n- Adicionada mod mod para definir cor do texto de digitação no cabeçalho da tela de chat\n- Correções de erros</string>
<string name="TelegramForAndroid">Plus Messenger para Android</string>
<string name="Theming">Personalização</string>
<string name="colorHexInvalid">Código de cor HEX inválido!</string>
@ -1048,7 +1047,7 @@
<string name="FloatingPencilColor">Cor do Lápis Flutuante</string>
<string name="FloatingBGColor">Cor do Botão Flutuante</string>
<string name="Community">Comunidade no G+</string>
<string name="TypingColor">Cor do \"digitando\"</string>
<string name="TypingColor">Cor do Texto \"Escrevendo\"</string>
<string name="EditTextIconsColor">Cor dos Ícones na Caixa de Texto</string>
<string name="NavigationDrawer">Menu de Navegação</string>
<string name="OptionsList">Lista de Opções</string>
@ -1065,7 +1064,7 @@
<string name="HeaderTitleColor">Cor do Título do Cabeçalho</string>
<string name="HeaderIconsColor">Cor dos Ícones do Cabeçalho</string>
<string name="DividerColor">Cor das Linhas Divisórias</string>
<string name="AvatarRadius">Arredondamento do Avatar</string>
<string name="AvatarRadius">Raio do Avatar</string>
<string name="SetMemberColor">Definir Cor do Membro</string>
<string name="ForwardNameColor">Cor do Nome ao Encaminhar</string>
<string name="HeaderTitle">Título do Cabeçalho</string>
@ -1114,7 +1113,7 @@
<string name="OwnAvatarAlignTop">Alinhar Avatar Próprio no Topo</string>
<string name="DialogColor">Cor do Título/Botão de Diálogo</string>
<string name="ShowUsername">Exibir Nome de Usuário</string>
<string name="DisableAudioStop">Não Parar Áudio</string>
<string name="DisableAudioStop">Desativar Sensor de Proximidade</string>
<string name="ListDividerColor">Cor do Divisor de Lista</string>
<string name="CenterAvatar">Centralizar Avatar, Nome e Número</string>
<string name="RowGradient">Degradê</string>

View File

@ -977,7 +977,7 @@
<string name="formatDateAtTime">%1$s às %2$s</string>
<!--update text-->
<string name="updateText">Plus Messenger para Android foi atualizado. Novidades na versão 3.2.6:\n\n- Novas animações e melhorias no visual\n- Suporte para novos emojis\n- Outras melhorias e resoluções de bugs</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+-->
<string name="TelegramForAndroid">Plus Messenger para Android</string>
<string name="Theming">Temas</string>

View File

@ -974,7 +974,7 @@
<string name="formatDateAtTime">%1$s в %2$s</string>
<!--update text-->
<string name="updateText">Telegram для Android обновлён. Новое в версии 3.2.6:\n\n- Новые анимации и множество визуальных усовершенствований\n- Поддержка новых эмодзи\n- Прочие улучшения и исправления ошибок</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+-->
<string name="updatePlusText">\n\nНовое в версии 3.2.6.2:\n\n- Теперь заголовок берёт цвет в списке недавних приложений Andriod\n- Увеличен размер списка упоминаний на экране чата\n- Теперь каналы можно перевести в беззвучный режим из основного экранаn\n- Добавлена настройка закругления аватара в заголовке экрана чата\n- Добавлена настройка цвета для уведомления печати в заголовке чата\n- Исправление ошибок</string>
<string name="TelegramForAndroid">Plus Messenger для Android</string>

View File

@ -830,7 +830,7 @@
<string name="formatDateAtTime">%1$s %2$s</string>
<!--update text--><!--
<string name="updateText">Plus Messenger için temalar indirin ve uygulayın. Hergün yeni temalar ekleniyor:\n https://play.google.com/store/apps/details?id=es.rafalense.themes</string>-->
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText">
\n\n3.2.2.1\'deki Yenilikler:\n\n- Artık duvarkağıdı direkt olarak sohbet ekranından değişebiliyor\n- Tema duvarkağıtlarının uygulama yönteminde geliştirmeler yapıldı\n- Eğer profil ekranında işaretlenmişse kullanıcı adı kopyalanabilir\n- Hata düzeltmeleri</string>-->

View File

@ -897,7 +897,7 @@
<string name="formatDateAtTime">%1$s 的 %2$s</string>
<!--update text--><!--
<string name="updateText">Android 版的 Plus Messenger 已更新。最新版本 3.1 的新增功能有:\n\n- 在特定聊天中搜索消息内容。\n- 全新设计的附件选择菜单。从附件选择菜单中直接发送联系人资料或语音文件。\n- 改进的程序内媒体播放功能 YouTube, Vimoe, Soundcloud 等), 新播放器适用于大型语音文件。\n\n更多更新请查看\nhttps://telegram.org/blog/search-and-media</string>-->
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+--><!--
<string name="updatePlusText">\n\n在 3.2.6.2 版的新功能:\n\n- 添加设置使用手机字体选项\n- 添加聊天/群组聊天内搜索聊天记录选项\n- 在设置/主题调整界面里添加标头颜色、标题颜色和标头图标颜色的设置\n- 添加主界面群组图标颜色的设置\n- 添加导航栏中头像大小的设置\n- 错误修复</string>-->
<string name="TelegramForAndroid">Plus Messenger for Android</string>

View File

@ -947,7 +947,7 @@
<string name="formatDateAtTime">於時間 %1$s %2$s</string>
<!--update text--><!--
<string name="updateText">Android 版的 Telegram 已經更新。在版本 3.2.0 中的新功能:\n\n- 引進頻道 用來將您的訊息向無限觀眾廣播的新方式 (取代舊式的廣播)。\n\n了解更多https://telegram.org/blog/channels</string>
<string name="updateBuild">660</string>-->
<string name="updateBuild">661</string>-->
<!--Telegram+--><!--
<string name="updatePlusText">
\n\n在 3.2.6.2 版的新功能:\n\n- 新的模組在聊天畫面顯示擁有的大頭照\n- 加入新的泡泡邊緣 (感謝 Edwin Macalopu)\n- 錯誤修復</string>-->

View File

@ -978,9 +978,9 @@
<string name="formatDateAtTime">%1$s at %2$s</string>
<!--update text-->
<string name="updateText">Plus Messenger for Android has been updated. New in version 3.2.6:\n\n- New animations and many visual improvements\n- Support for new emoji\n- Android 6.0 support (Now on Tap - Direct Share - Fingerprint support for Passcodes)\n- Other improvements and bug fixes</string>
<string name="updateBuild">660</string>
<string name="updateBuild">661</string>
<!--Telegram+-->
<string name="updatePlusText">\n\nNew in version 3.2.6.2:\n\n- Now header gets color in android recent apps list (lollipop and up)\n- Mention list size increased in chat screen\n- Now also channels can be muted from main screen\n- Added mod to set header avatar radius in chat screen\n- Added mod to set typing text color in chat header\n- Bug fixes</string>
<string name="updatePlusText">\n\nNew in version 3.2.6.2:\n\n- Now header gets color in android recent apps list (lollipop and up)\n- Mention list size increased in chat screen\n- Now also channels can be muted from main screen\n- Added mod to set header avatar radius in chat screen\n- Added mod to set \'typing\' text color in chat header\n- Bug fixes</string>
<string name="TelegramForAndroid">Plus Messenger for Android</string>
<string name="Theming">Theming</string>
<string name="colorHexInvalid">Invalid color hex code!</string>