|
@@ -89,7 +89,7 @@ public class MainActivity extends WpadActivity {
|
|
|
|
|
|
|
|
|
private WpadImageView TopBackground;
|
|
|
- private WpadTextView TopTitle;
|
|
|
+ private WpadTextView TopTitle, TOP_METERCHECKDATE;
|
|
|
private WpadImageView TopHomeBtn,TopBackBtn, TopMenuBtn, TopSetTargetBtn;
|
|
|
private WpadImageView Hide1Btn, Hide2Btn;
|
|
|
private TextButton EnergyResetBtn;
|
|
@@ -326,6 +326,10 @@ public class MainActivity extends WpadActivity {
|
|
|
TopTitle = new WpadTextView(this, false, 247+100, 80, Gravity.LEFT, Color.WHITE, Common.fontsize._44, true, ID.main.text.TITLE);
|
|
|
ViewRegistration(TopLayout, TopTitle, 133, 15);
|
|
|
|
|
|
+ TOP_METERCHECKDATE = new WpadTextView(this, false, 320, 70, Gravity.BOTTOM, Color.LTGRAY, Common.fontsize._22, true, ID.main.text.SUB_TITLE);
|
|
|
+ ViewRegistration(TopLayout, TOP_METERCHECKDATE, 480, 15);
|
|
|
+ TOP_METERCHECKDATE.setText("검침 기준일: 전월 12일 ~ 당월 11일");
|
|
|
+
|
|
|
TopHomeBtn = new WpadImageView(this, TOUCH_KIND.BUTTON, 110, 110, R.drawable.topbar_icon_home_normal, R.drawable.topbar_icon_home_pressed, ID.main.button.HOME);
|
|
|
ViewRegistration(TopLayout, TopHomeBtn, 1145, 0);
|
|
|
|
|
@@ -1190,10 +1194,11 @@ public class MainActivity extends WpadActivity {
|
|
|
* 상단 타이틀 텍스트 수정
|
|
|
* @param SetText 수정할 타이틀 이름
|
|
|
* **/
|
|
|
- private void SetTitleText(String SetText)
|
|
|
- {
|
|
|
- if(SetText != null)
|
|
|
- {
|
|
|
+ private void SetTitleText(String SetText) {
|
|
|
+ if (SetText != null) {
|
|
|
+ if (SetText.equals(API_Menu.SubMenuEnergy.Name_RemoteMeter)) TOP_METERCHECKDATE.setVisibility(View.VISIBLE);
|
|
|
+ else TOP_METERCHECKDATE.setVisibility(View.INVISIBLE);
|
|
|
+
|
|
|
TopTitle.setText(SetText);
|
|
|
}
|
|
|
}
|
|
@@ -1204,16 +1209,13 @@ public class MainActivity extends WpadActivity {
|
|
|
|
|
|
* 메뉴 레이아웃 생성
|
|
|
* **/
|
|
|
- private void OpenMenuLayout()
|
|
|
- {
|
|
|
- if(MenuOpen == true)
|
|
|
- {
|
|
|
+ private void OpenMenuLayout() {
|
|
|
+ if (MenuOpen == true) {
|
|
|
Log.d(TAG, "MenuOpen == true");
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if(menueListDataClass == null)
|
|
|
- {
|
|
|
+ if (menueListDataClass == null) {
|
|
|
Log.d(TAG, "menueListDataClass = null");
|
|
|
return;
|
|
|
}
|