Quellcode durchsuchen

[알림][Common] 알람 없을 때 페이지 구현

Hasemi vor 7 Jahren
Ursprung
Commit
2455853d2f

Datei-Diff unterdrückt, da er zu groß ist
+ 15 - 10
app/src/main/res/drawable/icon_notice.xml


+ 50 - 0
app/src/main/res/layout/noti_nothing.xml

@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.constraint.ConstraintLayout
+  xmlns:android="http://schemas.android.com/apk/res/android"
+  xmlns:app="http://schemas.android.com/apk/res-auto"
+  xmlns:tools="http://schemas.android.com/tools"
+  android:layout_width="match_parent"
+  android:layout_height="match_parent">
+
+  <ImageView
+    android:id="@+id/image_view_notice"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:layout_marginTop="106dp"
+    android:layout_marginEnd="8dp"
+    app:layout_constraintEnd_toEndOf="parent"
+
+    app:layout_constraintStart_toStartOf="parent"
+    app:layout_constraintTop_toTopOf="parent"
+    app:srcCompat="@drawable/icon_notice"/>
+
+  <TextView
+    android:id="@+id/text_view_title"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:layout_marginTop="23dp"
+    android:layout_marginEnd="8dp"
+    android:gravity="center_horizontal"
+    android:lineSpacingExtra="8sp"
+    android:textColor="@color/C000000"
+    android:textSize="19sp"
+    app:layout_constraintEnd_toEndOf="parent"
+    app:layout_constraintStart_toStartOf="parent"
+    app:layout_constraintTop_toBottomOf="@+id/image_view_notice"
+    tools:text="@string/current_notice_nothing"/>
+
+  <TextView
+    android:id="@+id/text_view_contents"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:layout_marginTop="12dp"
+    android:layout_marginEnd="8dp"
+    android:gravity="center_horizontal"
+    android:lineSpacingExtra="6sp"
+    android:textColor="@color/C999999"
+    android:textSize="14sp"
+    app:layout_constraintEnd_toEndOf="parent"
+    app:layout_constraintStart_toStartOf="parent"
+    app:layout_constraintTop_toBottomOf="@+id/text_view_title"
+    tools:text="@string/current_notice_nothing_detail"/>
+</android.support.constraint.ConstraintLayout>

+ 2 - 0
app/src/main/res/values/strings.xml

@@ -405,6 +405,8 @@
   <string name="event_contents">이벤트에 참여해주시는 분들이 많아지는만큼, 관련하여\n문의 사항도 많으실 것이라 생각되어 아래와 같이\n연락하시기 편한 메일 주소를 안내드립니다.</string>
   <string name="notification">알림</string>
   <string name="point_confirm">포인트 내역 확인</string>
+  <string name="current_notice_nothing">최근 소식이 없습니다</string>
+  <string name="current_notice_nothing_detail">나와 관련된 알림을 한번에 모아서\n확인할 수 있습니다.</string>