Skip to content

Commit

Permalink
feat | splash, 시작 페이지 (#5)
Browse files Browse the repository at this point in the history
* chore | 폰트스타일, color, logo 설정

* feat | splash페이지

* feat | start페이지, dialog

* chore | 변수명 수정

* Update app/src/main/res/layout/activity_start.xml

Co-authored-by: Bokyeom <79684339+k-kbk@users.noreply.github.com>

* Update app/src/main/res/layout/dialog_select_goal.xml

Co-authored-by: Bokyeom <79684339+k-kbk@users.noreply.github.com>

* Update app/src/main/res/values/strings.xml

Co-authored-by: Bokyeom <79684339+k-kbk@users.noreply.github.com>

* Update app/src/main/res/values/font_style.xml

Co-authored-by: Bokyeom <79684339+k-kbk@users.noreply.github.com>

* Update app/src/main/res/values/strings.xml

Co-authored-by: Bokyeom <79684339+k-kbk@users.noreply.github.com>

* Update app/src/main/res/drawable/dialog_round.xml

Co-authored-by: Bokyeom <79684339+k-kbk@users.noreply.github.com>

* Update app/src/main/java/com/example/jaringobi/StartDialog.kt

Co-authored-by: Bokyeom <79684339+k-kbk@users.noreply.github.com>

---------

Co-authored-by: Bokyeom <79684339+k-kbk@users.noreply.github.com>
  • Loading branch information
HamBeomJoon and k-kbk authored May 23, 2024
1 parent 9263f32 commit ac75af5
Show file tree
Hide file tree
Showing 21 changed files with 411 additions and 10 deletions.
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ android {
}
buildFeatures {
viewBinding = true
dataBinding = true
}
}

Expand Down
14 changes: 12 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,25 @@
android:supportsRtl="true"
android:theme="@style/Theme.Jaringobi"
tools:targetApi="31">

<activity
android:name=".MainActivity"
android:name=".SplashActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name=".StartActivity"
android:exported="true">
</activity>

<activity
android:name=".MainActivity"
android:exported="true">
</activity>
</application>

</manifest>
10 changes: 7 additions & 3 deletions app/src/main/java/com/example/jaringobi/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
package com.example.jaringobi

import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.example.jaringobi.databinding.ActivityMainBinding
import com.example.jaringobi.db.DBHelper

@Suppress("DEPRECATION")
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding
private lateinit var dbHelper: DBHelper
// private lateinit var dbHelper: DBHelper

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

binding = ActivityMainBinding.inflate(layoutInflater)
setContentView(binding.root)

dbHelper = DBHelper(this)
val monthGoal = intent.getStringExtra("monthGoal")
Log.d("MainActivity", "Month Goal: $monthGoal")

// dbHelper = DBHelper(this)
}
}
5 changes: 5 additions & 0 deletions app/src/main/java/com/example/jaringobi/OnGoalSetListener.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.example.jaringobi

interface OnGoalSetListener {
fun onGoalSet(monthGoal: String)
}
31 changes: 31 additions & 0 deletions app/src/main/java/com/example/jaringobi/SplashActivity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package com.example.jaringobi

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import androidx.appcompat.app.AppCompatActivity
import com.example.jaringobi.databinding.ActivitySplashBinding

@Suppress("CustomSplashScreen")
class SplashActivity : AppCompatActivity() {
private lateinit var binding: ActivitySplashBinding

override fun onCreate(savedInstanceState: Bundle?) {
binding = ActivitySplashBinding.inflate(layoutInflater)
super.onCreate(savedInstanceState)
setContentView(binding.root)

// 저장된 정보 있으면 메인으로, 아니면 시작 페이지로
moveActivity(StartActivity())
}

private fun moveActivity(p: Activity) {
Handler(Looper.getMainLooper()).postDelayed({
val intent = Intent(this, p::class.java)
startActivity(intent)
finish()
}, 1000)
}
}
39 changes: 39 additions & 0 deletions app/src/main/java/com/example/jaringobi/StartActivity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package com.example.jaringobi

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.example.jaringobi.databinding.ActivityStartBinding

class StartActivity : AppCompatActivity(), OnGoalSetListener {
private lateinit var binding: ActivityStartBinding

override fun onCreate(savedInstanceState: Bundle?) {
binding = ActivityStartBinding.inflate(layoutInflater)
super.onCreate(savedInstanceState)
setContentView(binding.root)

binding.btnSelectGoal.setOnClickListener {
val dialog = StartDialog()
dialog.listener = this // 리스너 설정
dialog.show(supportFragmentManager, "StartDialog")
}

binding.btnStart.setOnClickListener {
moveActivity(MainActivity())
}
}

private fun moveActivity(p: Activity) {
val intent = Intent(this, p::class.java)
startActivity(intent)
finish()
}

override fun onGoalSet(monthGoal: String) {
val intent = Intent(this, MainActivity::class.java)
intent.putExtra("monthGoal", monthGoal)
startActivity(intent)
}
}
62 changes: 62 additions & 0 deletions app/src/main/java/com/example/jaringobi/StartDialog.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
package com.example.jaringobi

import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.DialogFragment
import com.example.jaringobi.databinding.DialogSelectGoalBinding
import com.example.jaringobi.utils.GetDisplayUtil

@Suppress("DEPRECATION")
class StartDialog : DialogFragment() {
var listener: OnGoalSetListener? = null
private var mbinding: DialogSelectGoalBinding? = null
private val binding get() = mbinding!!

override fun onStart() {
super.onStart()

val size = GetDisplayUtil.getSize(requireContext())
val width = (size.first * 0.8).toInt()

dialog?.window?.setLayout(width, ViewGroup.LayoutParams.WRAP_CONTENT)
dialog?.window?.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))

isCancelable = false
}

override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?,
): View {
mbinding = DialogSelectGoalBinding.inflate(inflater, container, false)
val view = binding.root

// 확인 버튼
binding.btnSelectOk.setOnClickListener {
val monthGoal = binding.etMonthGoal.text.toString()
if (monthGoal.isBlank()) {
Toast.makeText(requireContext(), "목표 금액을 입력해 주세요", Toast.LENGTH_SHORT).show()
} else {
listener?.onGoalSet(monthGoal)
}
dismiss()
}

// 취소 버튼
binding.btnSelectNo.setOnClickListener {
dismiss()
}
return view
}

override fun onDestroyView() {
super.onDestroyView()
mbinding = null
}
}
1 change: 0 additions & 1 deletion app/src/main/java/com/example/jaringobi/db/DBHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class DBHelper(context: Context) : SQLiteOpenHelper(
db?.execSQL(ExpenseEntry.DROP_TABLE)
db?.execSQL(GoalEntry.DROP_TABLE)
}.start()

onCreate(db)
}
}
45 changes: 45 additions & 0 deletions app/src/main/java/com/example/jaringobi/utils/GetDisplayUtil.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package com.example.jaringobi.utils

import android.content.Context
import android.os.Build
import android.util.DisplayMetrics
import android.view.WindowInsets
import android.view.WindowManager

object GetDisplayUtil {
fun getSize(context: Context): Pair<Int, Int> {
val width = getScreenWidth(context)
val height = getScreenHeight(context)
return Pair(width, height)
}

private fun getScreenWidth(context: Context): Int {
val wm = context.getSystemService(Context.WINDOW_SERVICE) as WindowManager
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
val windowMetrics = wm.currentWindowMetrics
val insets =
windowMetrics.windowInsets
.getInsetsIgnoringVisibility(WindowInsets.Type.systemBars())
windowMetrics.bounds.width() - insets.left - insets.right
} else {
val displayMetrics = DisplayMetrics()
wm.defaultDisplay.getMetrics(displayMetrics)
displayMetrics.widthPixels
}
}

private fun getScreenHeight(context: Context): Int {
val wm = context.getSystemService(Context.WINDOW_SERVICE) as WindowManager
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
val windowMetrics = wm.currentWindowMetrics
val insets =
windowMetrics.windowInsets
.getInsetsIgnoringVisibility(WindowInsets.Type.systemBars())
windowMetrics.bounds.height() - insets.bottom - insets.top
} else {
val displayMetrics = DisplayMetrics()
wm.defaultDisplay.getMetrics(displayMetrics)
displayMetrics.heightPixels
}
}
}
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/dialog_round.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white" />
<corners android:radius="8dp" />
</shape>
21 changes: 21 additions & 0 deletions app/src/main/res/drawable/logo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="213dp"
android:height="50dp"
android:viewportWidth="213"
android:viewportHeight="50">
<path
android:pathData="M61.05,14.88C60.06,14.88 59.21,14.53 58.49,13.84C57.79,13.12 57.45,12.27 57.45,11.28C57.45,10.27 57.79,9.41 58.49,8.72C59.21,8.03 60.06,7.68 61.05,7.68C62.03,7.68 62.87,8.03 63.57,8.72C64.29,9.41 64.65,10.27 64.65,11.28C64.65,12.27 64.29,13.12 63.57,13.84C62.87,14.53 62.03,14.88 61.05,14.88ZM56.45,44.44H52.97V39.64H55.33C56.37,39.64 57.06,39.55 57.41,39.36C57.78,39.17 57.97,38.75 57.97,38.08V18.16H64.05V38.96C64.05,40.45 63.71,41.6 63.05,42.4C62.38,43.2 61.47,43.73 60.33,44C59.21,44.29 57.91,44.44 56.45,44.44ZM72.72,38.48C71.46,38.48 70.32,38.24 69.28,37.76C68.24,37.28 67.41,36.61 66.8,35.76C66.18,34.88 65.88,33.84 65.88,32.64C65.88,31.01 66.44,29.72 67.56,28.76C68.7,27.8 70.26,27.08 72.24,26.6C74.21,26.12 76.48,25.79 79.04,25.6C79.04,24.19 78.81,23.19 78.36,22.6C77.9,22.01 77.02,21.72 75.72,21.72C74.89,21.72 74.16,21.92 73.52,22.32C72.9,22.69 72.49,23.28 72.28,24.08L67.16,22.24C67.82,20.91 68.93,19.8 70.48,18.92C72.05,18.04 73.97,17.6 76.24,17.6C79.06,17.6 81.24,18.23 82.76,19.48C84.28,20.73 85.04,22.87 85.04,25.88V30.24C85.04,31.09 85.06,32.01 85.12,33C85.17,33.99 85.25,34.92 85.36,35.8C85.46,36.68 85.58,37.41 85.72,38H80.08L79.36,35.6C78.61,36.64 77.66,37.39 76.52,37.84C75.4,38.27 74.13,38.48 72.72,38.48ZM74.96,34.32C76.16,34.32 77.16,34 77.96,33.36C78.76,32.72 79.16,31.49 79.16,29.68V29.2C77.05,29.39 75.36,29.68 74.08,30.08C72.8,30.45 72.16,31.16 72.16,32.2C72.16,32.84 72.42,33.36 72.96,33.76C73.49,34.13 74.16,34.32 74.96,34.32ZM87.83,38V18.16H92.63L93.71,21.8C94.32,20.2 95.16,19.08 96.23,18.44C97.29,17.8 98.59,17.52 100.11,17.6V23.68C99.79,23.63 99.51,23.6 99.27,23.6C99.03,23.57 98.76,23.56 98.47,23.56C97,23.56 95.87,23.91 95.07,24.6C94.29,25.29 93.91,26.43 93.91,28V38H87.83ZM107.9,14.88C106.91,14.88 106.06,14.53 105.34,13.84C104.64,13.12 104.3,12.27 104.3,11.28C104.3,10.27 104.64,9.41 105.34,8.72C106.06,8.03 106.91,7.68 107.9,7.68C108.91,7.68 109.76,8.03 110.46,8.72C111.15,9.41 111.5,10.27 111.5,11.28C111.5,12.27 111.15,13.12 110.46,13.84C109.76,14.53 108.91,14.88 107.9,14.88ZM104.82,38V22.8H101.06V18.16H110.94V38H104.82ZM113.51,38V18.16H118.83L119.59,20.8C120.05,20.05 120.79,19.33 121.83,18.64C122.9,17.95 124.19,17.6 125.71,17.6C128.27,17.6 130.02,18.32 130.95,19.76C131.91,21.17 132.39,23.23 132.39,25.92V38H126.31V27.44C126.31,26.51 126.26,25.65 126.15,24.88C126.05,24.11 125.78,23.49 125.35,23.04C124.95,22.56 124.26,22.32 123.27,22.32C121.99,22.32 121.06,22.79 120.47,23.72C119.89,24.63 119.59,25.99 119.59,27.8V38H113.51ZM144.92,46.12C143.83,46.12 142.72,45.97 141.6,45.68C140.48,45.41 139.44,44.93 138.48,44.24C137.52,43.55 136.74,42.6 136.12,41.4L141.08,39.6C141.46,40.32 141.99,40.81 142.68,41.08C143.38,41.35 144.07,41.48 144.76,41.48C146.04,41.48 147.07,41.17 147.84,40.56C148.62,39.97 149,39.03 149,37.72V34.16C148.15,35.23 147.16,36.01 146.04,36.52C144.95,37.03 143.84,37.28 142.72,37.28C141.28,37.28 139.91,36.89 138.6,36.12C137.3,35.35 136.23,34.24 135.4,32.8C134.58,31.36 134.16,29.64 134.16,27.64C134.16,25.32 134.58,23.43 135.4,21.96C136.23,20.47 137.28,19.36 138.56,18.64C139.84,17.92 141.16,17.56 142.52,17.56C143.78,17.56 144.98,17.84 146.12,18.4C147.3,18.96 148.26,19.79 149,20.88L149.8,18.16H155.04V36.52C155.04,39.83 154.15,42.25 152.36,43.8C150.58,45.35 148.1,46.12 144.92,46.12ZM144.88,32.56C145.68,32.56 146.4,32.41 147.04,32.12C147.71,31.8 148.24,31.27 148.64,30.52C149.04,29.77 149.24,28.76 149.24,27.48C149.24,25.53 148.8,24.19 147.92,23.44C147.07,22.69 146.06,22.32 144.88,22.32C143.68,22.32 142.64,22.72 141.76,23.52C140.91,24.32 140.48,25.59 140.48,27.32C140.48,29.08 140.91,30.4 141.76,31.28C142.64,32.13 143.68,32.56 144.88,32.56ZM167.35,38.48C165.51,38.48 163.79,38.11 162.19,37.36C160.59,36.61 159.3,35.47 158.31,33.92C157.32,32.35 156.83,30.37 156.83,28C156.83,25.6 157.32,23.64 158.31,22.12C159.3,20.57 160.59,19.44 162.19,18.72C163.79,17.97 165.51,17.6 167.35,17.6C169.16,17.6 170.87,17.97 172.47,18.72C174.07,19.44 175.36,20.57 176.35,22.12C177.34,23.64 177.83,25.6 177.83,28C177.83,30.37 177.34,32.35 176.35,33.92C175.36,35.47 174.07,36.61 172.47,37.36C170.87,38.11 169.16,38.48 167.35,38.48ZM167.35,33.76C168.58,33.76 169.59,33.32 170.39,32.44C171.22,31.56 171.63,30.08 171.63,28C171.63,25.89 171.2,24.43 170.35,23.6C169.52,22.75 168.52,22.32 167.35,22.32C166.15,22.32 165.12,22.75 164.27,23.6C163.44,24.43 163.03,25.89 163.03,28C163.03,30.08 163.44,31.56 164.27,32.44C165.1,33.32 166.12,33.76 167.35,33.76ZM191.72,38.48C190.65,38.48 189.53,38.23 188.36,37.72C187.21,37.21 186.32,36.41 185.68,35.32L184.92,38H179.6V11.28H185.68V20.88C186.32,19.79 187.21,18.97 188.36,18.44C189.53,17.88 190.65,17.6 191.72,17.6C193.43,17.6 194.93,18.01 196.24,18.84C197.57,19.67 198.61,20.85 199.36,22.4C200.11,23.92 200.48,25.76 200.48,27.92C200.48,30.08 200.11,31.96 199.36,33.56C198.61,35.13 197.57,36.35 196.24,37.2C194.93,38.05 193.43,38.48 191.72,38.48ZM189.8,33.76C190.97,33.76 191.99,33.25 192.84,32.24C193.72,31.2 194.16,29.76 194.16,27.92C194.16,26.11 193.72,24.72 192.84,23.76C191.99,22.8 190.97,22.32 189.8,22.32C188.6,22.32 187.56,22.77 186.68,23.68C185.83,24.56 185.4,26.01 185.4,28.04C185.4,30.09 185.83,31.56 186.68,32.44C187.56,33.32 188.6,33.76 189.8,33.76ZM208.03,14.88C207.04,14.88 206.19,14.53 205.47,13.84C204.78,13.12 204.43,12.27 204.43,11.28C204.43,10.27 204.78,9.41 205.47,8.72C206.19,8.03 207.04,7.68 208.03,7.68C209.04,7.68 209.9,8.03 210.59,8.72C211.28,9.41 211.63,10.27 211.63,11.28C211.63,12.27 211.28,13.12 210.59,13.84C209.9,14.53 209.04,14.88 208.03,14.88ZM204.95,38V22.8H201.19V18.16H211.07V38H204.95Z"
android:fillColor="#2B2B2B"/>
<path
android:pathData="M39.05,15.36C39.05,15.67 39.05,15.91 39.09,16.16C39.05,16.61 38.96,17.16 38.86,17.73C38.73,18.25 38.53,18.75 38.3,19.23C38.11,19.58 37.88,19.93 37.65,20.2C37.29,20.63 36.9,21.02 36.47,21.36C36.09,21.71 35.66,22.02 35.24,22.3C34.79,22.62 34.26,22.89 33.74,23.11C33.35,23.32 32.93,23.49 32.47,23.59C31.95,23.77 31.39,23.87 30.83,23.94C30.44,23.98 30.05,24.01 29.67,23.98C29.53,23.98 29.46,23.91 29.44,23.81C29.44,23.69 29.43,23.63 29.5,23.56C29.6,23.41 29.69,23.28 29.76,23.17L31.91,20.42L23.99,21.12C23.36,21.19 22.75,21.19 22.13,21.05C21.61,20.98 21.12,20.84 20.63,20.59C20.08,20.32 19.43,19.97 18.8,19.62L16.37,26.63C15.62,26.84 14.83,27.08 14.08,27.33C14.25,27.25 13.43,27.57 12.59,27.89C11.71,28.24 11.11,28.52 10.53,28.82C9.39,29.42 8.28,30.09 7.2,30.86C6.65,31.24 6.06,31.69 5.45,32.15C5.08,32.46 4.69,32.81 4.27,33.2L3.05,34.45C2.44,35.07 1.86,35.81 1.4,36.57C1.63,36.64 1.86,36.72 2.08,36.79C2.15,36.82 2.24,36.86 2.35,36.89C2.9,37.06 3.29,37.17 3.66,37.31C3.91,37.41 4.17,37.51 4.43,37.62C5.03,37.91 5.61,38.14 6.17,38.43C6.38,38.53 6.61,38.64 6.84,38.78C6.94,38.84 7.08,38.91 7.17,38.98C7.17,39.03 7.2,39.02 7.2,39.05C7.2,39.05 7.24,39.09 7.24,39.13C7.27,39.16 7.27,39.2 7.27,39.2C7.27,39.3 7.2,39.38 7.15,39.41C6.75,39.51 6.33,39.58 5.94,39.61C5.31,39.72 4.73,39.85 4.14,40C3.55,40.13 2.96,40.35 2.41,40.55C2.02,40.66 1.59,40.83 1.21,40.97C0.84,41.12 0.49,41.25 0.17,41.35C0.07,41.39 0,41.42 0,41.49C0,41.57 0.07,41.6 0.09,41.6C0.12,41.6 0.12,41.6 0.12,41.6L8.87,42.26C8.97,42.26 9.06,42.3 9.16,42.3C9.32,42.3 9.48,42.26 9.64,42.26C10.2,42.19 10.73,42.05 11.22,41.82C11.87,41.5 12.43,41.08 12.95,40.6C13.41,40.1 13.83,39.61 14.18,39.05C14.5,38.53 14.74,37.96 14.93,37.38C15.13,36.86 15.25,36.26 15.32,35.7C15.39,35.25 15.42,34.77 15.42,34.3C17.59,34.1 19.71,33.82 21.83,33.5C25.04,32.91 28.2,31.73 31.16,30.04C31.97,29.59 32.79,29.14 33.58,28.65C34.1,28.35 34.68,27.95 35.24,27.5C35.73,27.08 36.18,26.67 36.6,26.28C37.07,25.83 37.51,25.31 37.95,24.74C38.72,23.74 39.28,22.54 39.63,21.25C39.77,20.67 39.86,20.07 39.96,19.45C39.96,19.23 40,19.02 40,18.78C40,18.5 39.96,18.18 39.94,17.91C39.84,17.34 39.7,16.82 39.51,16.29C39.37,15.99 39.21,15.67 39.05,15.36ZM6.63,33.04C7.24,33.04 7.74,33.59 7.74,34.26C7.74,34.94 7.24,35.48 6.63,35.48C6.02,35.48 5.51,34.94 5.51,34.26C5.51,33.59 6.02,33.04 6.63,33.04Z"
android:fillColor="#26B772"/>
<path
android:pathData="M30.97,38.04C27.7,40.1 24.08,41.47 20.29,42.06L17.66,42.3L14.97,42.47L12.13,42.44C12.88,41.95 13.56,41.37 14.15,40.7L14.74,39.97C15.23,39.3 15.62,38.6 15.88,37.83C16,37.34 16.11,36.89 16.2,36.41L16.37,35.29L19.19,34.97L21.41,34.67L22.9,34.42C23.76,34.24 24.6,34 25.45,33.72L28.18,32.67L30.3,31.66L32.46,30.51L34.49,29.32L36.08,28.17L38.1,26.15L39.61,23.94L39.51,24.78C39.12,27.5 38.17,30.12 36.77,32.46C35.82,34.07 34.61,35.42 33.21,36.47L32.46,37.03L30.97,38.04Z"
android:fillColor="#26B772"/>
<path
android:pathData="M36.29,11.58C35.67,11.1 35.02,10.68 34.3,10.33L22.59,5.13L22.4,5.03C22.36,5.03 22.33,5 22.29,5C22.26,5 22.19,5.03 22.17,5.07C22.1,5.13 22.1,5.2 22.1,5.28C22.1,5.35 22.1,5.42 22.17,5.45L25.43,9.99L26.15,11.03C26.31,11.38 26.38,11.73 26.41,12.08C26.41,12.12 26.41,12.15 26.41,12.18C26.41,12.5 26.34,12.85 26.24,13.17L25.89,13.97L25.56,14.49C26.27,14.35 26.92,14.22 27.61,14.1C28.5,13.92 29.43,13.79 30.41,13.75C31.23,13.72 31.99,13.69 32.76,13.69C33.35,13.72 34,13.75 34.65,13.82C35.08,13.9 35.47,13.97 35.86,14.07C36.16,14.17 36.46,14.35 36.71,14.52C37.14,14.84 37.46,15.26 37.65,15.74C37.81,16.13 37.92,16.58 37.95,17.01C38.09,16.61 38.14,16.24 38.14,15.81C38.14,15.74 38.14,15.71 38.14,15.64C38.11,15.12 38.05,14.62 37.92,14.1C37.72,13.55 37.46,13.02 37.16,12.57C36.9,12.22 36.62,11.9 36.32,11.63C36.32,11.58 36.29,11.58 36.29,11.58Z"
android:fillColor="#26B772"/>
<path
android:pathData="M27.71,41.03C28.32,40.76 28.9,40.45 29.46,40.1C29.53,40.13 29.62,40.13 29.69,40.13C30.09,40.13 30.48,40.1 30.86,40.03C32,39.93 33.14,39.75 34.26,39.53C33.05,40.41 31.91,41.35 30.86,42.37C29.95,43.2 29.14,44.11 28.32,45C28.09,45 27.9,44.93 27.74,44.87C27.02,44.52 26.36,44.14 25.71,43.72C25.09,43.34 24.54,42.89 24.08,42.37C24.44,42.22 24.8,42.09 25.16,41.98C26.04,41.74 26.88,41.42 27.71,41.03Z"
android:fillColor="#26B772"/>
</vector>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable/round_rectangle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<solid android:color="#04CD7F" />

<size
android:width="280dp"
android:height="48dp" />
<corners android:radius="8dp" />
</shape>
Loading

0 comments on commit ac75af5

Please sign in to comment.