박지환

Update android dday and project architecture image

......@@ -4,7 +4,7 @@
<option name="filePathToZoomLevelMap">
<map>
<entry key="..\:/Workspaces/teamPARK/holiday-counter-recommend-activity/android/app/src/main/res/drawable/circle.xml" value="0.2925" />
<entry key="..\:/Workspaces/teamPARK/holiday-counter-recommend-activity/android/app/src/main/res/layout/activity_main.xml" value="3.0" />
<entry key="..\:/Workspaces/teamPARK/holiday-counter-recommend-activity/android/app/src/main/res/layout/activity_main.xml" value="0.33" />
<entry key="..\:/Workspaces/teamPARK/holiday-counter-recommend-activity/android/app/src/main/res/layout/circle.xml" value="0.34782608695652173" />
</map>
</option>
......
No preview for this file type
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.example.holidaycounter",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
}
\ No newline at end of file
package com.example.holidaycounter;
import androidx.annotation.Dimension;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
......@@ -23,7 +24,7 @@ public class MainActivity extends AppCompatActivity {
TextView locDate;
TextView leftDate;
TextView title;
String url = "http://www.holiday-counter.tk:8080/app";
String url = "http://www.holidaycounter.ml:8080/app";
String msg;
final Bundle bundle = new Bundle();
......@@ -56,7 +57,15 @@ public class MainActivity extends AppCompatActivity {
todayDate.setText(data[0]);
dateName.setText(data[1]);
locDate.setText(data[2].substring(0, 4) + "년 " + data[2].substring(4, 6) + "월 " + data[2].substring(6) + "일");
leftDate.setText("D-" + data[3]);
if(data[3].equals("0")) {
leftDate.setTextSize(Dimension.SP, 70);
leftDate.setText("D - DAY");
}
else {
leftDate.setTextSize(Dimension.SP, 90);
leftDate.setText("D - " + data[3]);
}
}
};
......
......@@ -23,7 +23,6 @@
android:layout_height="104dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/gowundodum"
android:letterSpacing="0.2"
android:text="D-0"
android:textAlignment="center"
android:textColor="@color/tomato"
......

311 KB | W: | H:

310 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin