* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.tizenopensource.org/license
+ * http://floralicense.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
static void __msg_ui_composer_change_to_mms(MSG_COMPOSER_VIEW_DATA_S *cd)
{
D_ENTER;
-
if (!cd) {
MSG_UI_DEBUG(MSG_UI_LEVEL_ASSERT, "[ASSERT] composer data is NULL");
return;
bool ret = msg_ui_composer_common_is_send_possible(cd);
msg_ui_composer_body_update_send_btn_icon(cd, !ret);
+ if (cd->msg_type == COMPOSER_MSG_TYPE_SMS && cd->msg_ug_mode != MSG_UG_MODE_BUBBLE_COMPOSER)
+ elm_object_disabled_set(cd->more_btn, EINA_TRUE);
+ else if (cd->msg_type == COMPOSER_MSG_TYPE_MMS)
+ elm_object_disabled_set(cd->more_btn, EINA_FALSE);
+
D_LEAVE;
return COMPOSER_RETURN_SUCCESS;
}
D_LEAVE;
}
+void msg_ui_composer_naviframe_size_hints_changed(void *data, Evas *e, Evas_Object *obj, void *event_info)
+{
+ D_ENTER;
+ D_MSG_RETM_IF(data == NULL, "Composer Data is NULL");
+ MSG_COMPOSER_VIEW_DATA_S *cd = (MSG_COMPOSER_VIEW_DATA_S *)data;
+ Evas_Display_Mode dispmode;
+
+ dispmode = evas_object_size_hint_display_mode_get(obj);
+ if (dispmode == EVAS_DISPLAY_MODE_COMPRESS) {
+ D_MSG("dispmode = EVAS_DISPLAY_MODE_COMPRESS");
+ cd->is_keypad_show = true;
+ } else if (dispmode == EVAS_DISPLAY_MODE_NONE) {
+ D_MSG("dispmode = EVAS_DISPLAY_MODE_NONE");
+ cd->is_keypad_show = false;
+ }
+ D_LEAVE;
+}
+