* @Author: luozheng 1732036298@qq.com
* @Date: 2024-03-28 14:28:03
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-09-27 15:35:26
+ * @LastEditTime: 2024-10-05 17:39:04
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/languagecode/src/LanguageSwitchListitemView.cpp
*/
#include "languagecode/include/LanguageSwitchListitemView.h"
m_LabelButtonExt.SetFont(itemInfo.fontname, 30);
languae_Image.SetSrc(itemInfo.path);
//m_LabelButtonExt
+ if(strcmp(itemInfo.code,"az") == 0)
+ {
+ SetHeight(160);
+ }
+ else
+ {
+ SetHeight(120);
+ }
}
void LanguageSwitchListitemView::SetUpChild()
{\r
bool state = SettingModel::GetInstance().GetEarPhoneConnectStatus();\r
bluetoothHeadsetConnectState->SetTextId(state ? STR_CONNECTED : STR_DISCONNECTED);\r
- bluetoothHeadsetConnectState->SetTextId(state ? STR_CONNECTED : STR_DISCONNECTED);\r
bluetoothHeadsetConnectState->SetTextColor(state ? Color::GetColorFromRGBA(0x4f, 0xc3, 0x4c, 0xff) : Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0x7f));\r
bluetoothHeadsetConnectState->Invalidate();\r
}\r