Browse Source

[설정][New] 스페셜 코드 등록 화면 추가 중

Hasemi 7 years ago
parent
commit
e427cb868f

+ 4 - 4
.idea/assetWizardSettings.xml

@@ -14,11 +14,11 @@
                         <option name="values">
                           <map>
                             <entry key="assetSourceType" value="FILE" />
-                            <entry key="height" value="20" />
-                            <entry key="outputName" value="ic_switch_on" />
+                            <entry key="height" value="57" />
+                            <entry key="outputName" value="icon_info_banefit" />
                             <entry key="overrideSize" value="true" />
-                            <entry key="sourceFile" value="C:\Users\Hasemi\Downloads\switch_on.svg" />
-                            <entry key="width" value="44" />
+                            <entry key="sourceFile" value="C:\Users\Hasemi\Downloads\icon_info_banefit.svg" />
+                            <entry key="width" value="57" />
                           </map>
                         </option>
                       </PersistentState>

+ 20 - 0
app/src/main/res/drawable/icon_info_banefit.xml

@@ -0,0 +1,20 @@
+<vector android:height="57dp" android:viewportHeight="228"
+    android:viewportWidth="228" android:width="57dp"
+    xmlns:aapt="http://schemas.android.com/aapt" xmlns:android="http://schemas.android.com/apk/res/android">
+    <path android:fillType="evenOdd" android:pathData="M51,56m-45,0a45,45 0,1 1,90 0a45,45 0,1 1,-90 0">
+        <aapt:attr name="android:fillColor">
+            <gradient android:endX="-11.5365" android:endY="3.0422"
+                android:startX="102.849" android:startY="101" android:type="linear">
+                <item android:color="#FFFF8D8D" android:offset="0"/>
+                <item android:color="#FFFF9423" android:offset="1"/>
+            </gradient>
+        </aapt:attr>
+    </path>
+    <path android:fillColor="#000" android:fillType="nonZero" android:pathData="M191,152.128L191,100a6,6 0,0 0,-6 -6L41,94a6,6 0,0 0,-6 6v105a6,6 0,0 0,6 6h144a6,6 0,0 0,6 -6v-33.838h-6L185,205L41,205L41,100h144v52.128h6z"/>
+    <path android:fillColor="#00000000" android:fillType="evenOdd"
+        android:pathData="M70.792,88.939c-8.233,-6.586 -9.503,-18.516 -2.836,-26.648 6.667,-8.133 18.746,-9.387 26.979,-2.801 5.488,4.39 11.07,16.982 16.748,37.777 -21.772,-1.162 -35.403,-3.938 -40.891,-8.328zM156.51,88.939c8.232,-6.586 9.502,-18.516 2.835,-26.648 -6.667,-8.133 -18.745,-9.387 -26.978,-2.801 -5.489,4.39 -11.072,16.982 -16.749,37.777 21.772,-1.162 35.403,-3.938 40.891,-8.328z"
+        android:strokeColor="#000" android:strokeLineCap="round"
+        android:strokeLineJoin="round" android:strokeWidth="6"/>
+    <path android:fillColor="#00000000" android:fillType="evenOdd"
+        android:pathData="M112.9,98.41v63" android:strokeColor="#000" android:strokeWidth="6"/>
+</vector>

+ 94 - 0
app/src/main/res/layout/layout_special_code_register.xml

@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+  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"
+  android:orientation="vertical">
+
+  <LinearLayout
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_marginTop="75dp"
+    android:orientation="vertical">
+
+    <ImageView
+      android:layout_width="57dp"
+      android:layout_height="57dp"
+      android:layout_gravity="center"
+      app:srcCompat="@drawable/icon_info_banefit"
+      />
+
+  </LinearLayout>
+
+  <LinearLayout
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_marginTop="23dp"
+    android:orientation="vertical"
+    >
+
+    <TextView
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:gravity="center_horizontal"
+      android:lineSpacingExtra="7sp"
+      android:text="@string/special_code_register_title"
+      android:textColor="@color/C000000"
+      android:textSize="18sp"
+      />
+  </LinearLayout>
+
+  <LinearLayout
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_marginTop="11dp"
+    android:orientation="vertical">
+
+    <TextView
+      android:layout_width="wrap_content"
+      android:layout_height="wrap_content"
+      android:layout_gravity="center"
+      android:lineSpacingExtra="6sp"
+      android:text="@string/special_code_register_detail"
+      android:textColor="@color/C999999"
+      android:textSize="14sp"
+      />
+  </LinearLayout>
+
+  <LinearLayout
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_marginStart="25dp"
+    android:layout_marginTop="82dp"
+    android:layout_marginBottom="2dp"
+    android:orientation="vertical">
+
+    <TextView
+      android:layout_width="wrap_content"
+      android:layout_height="wrap_content"
+      android:lineSpacingExtra="3.5sp"
+      android:text="@string/special_code"
+      android:textColor="#999999"
+      android:textSize="12sp"
+      />
+
+  </LinearLayout>
+
+  <LinearLayout
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_marginStart="25dp"
+    android:orientation="horizontal">
+
+    <EditText
+      android:layout_width="92dp"
+      android:layout_height="wrap_content"
+      tools:text="LIFE"
+      />
+
+  </LinearLayout>
+
+
+</LinearLayout>

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

@@ -214,6 +214,15 @@
   <string name="setting_menu4">약관/이용 안내</string>
 
 
+
+  <string name="special_code_register_title">회원님만을 위한 특별한 혜택</string>
+  <string name="special_code_register_detail">제공받은 스페셜 /추천인 코드를 입력해주세요.\n회원님을 위한 특별한 혜택을 드립니다.</string>
+  <string name="special_code">스페셜 코드</string>
+  <string name="special_code_characters">4자리</string>
+  <string name="special_code_input">지급받은 코드가 있는 경우 입력해주세요.</string>
+  <string name="recommender_code">추천인 코드</string>
+
+
   <!-- 임의 추가 문자열 -->
   <string name="undefined_error">알 수 없는 에러</string>
   <string name="pin_miss_match_error">간편암호가 일치하지 않습니다.</string>