diff --git a/app/build.gradle b/app/build.gradle index 9b0025d6..48323f1e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -127,6 +127,9 @@ dependencies { implementation 'com.github.bumptech.glide:glide:4.8.0' kapt 'com.github.bumptech.glide:compiler:4.8.0' + // Circle Image View + implementation 'de.hdodenhof:circleimageview:3.0.1' + //dbFlow for database kapt "com.github.Raizlabs.DBFlow:dbflow-processor:$rootProject.dbFlowVersion" implementation "com.github.Raizlabs.DBFlow:dbflow-core:$rootProject.dbFlowVersion" diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index db3b07b5..bf9cfa13 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -14,7 +14,12 @@ android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> - + + diff --git a/app/src/main/kotlin/org/mifos/mobile/cn/ui/mifos/amount/AmountActivity.kt b/app/src/main/kotlin/org/mifos/mobile/cn/ui/mifos/amount/AmountActivity.kt new file mode 100644 index 00000000..b2a1a7a1 --- /dev/null +++ b/app/src/main/kotlin/org/mifos/mobile/cn/ui/mifos/amount/AmountActivity.kt @@ -0,0 +1,13 @@ +package org.mifos.mobile.cn.ui.mifos.amount + +import androidx.appcompat.app.AppCompatActivity +import android.os.Bundle +import org.mifos.mobile.cn.R + +class AmountActivity : AppCompatActivity() { + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_amount) + } +} diff --git a/app/src/main/kotlin/org/mifos/mobile/cn/ui/mifos/transfer/TransferActivity.kt b/app/src/main/kotlin/org/mifos/mobile/cn/ui/mifos/transfer/TransferActivity.kt new file mode 100644 index 00000000..9f199b43 --- /dev/null +++ b/app/src/main/kotlin/org/mifos/mobile/cn/ui/mifos/transfer/TransferActivity.kt @@ -0,0 +1,13 @@ +package org.mifos.mobile.cn.ui.mifos.transfer + +import androidx.appcompat.app.AppCompatActivity +import android.os.Bundle +import org.mifos.mobile.cn.R + +class TransferActivity : AppCompatActivity() { + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_transfer) + } +} diff --git a/app/src/main/res/drawable-hdpi/pick_contact.png b/app/src/main/res/drawable-hdpi/pick_contact.png new file mode 100644 index 00000000..5cc9c54d Binary files /dev/null and b/app/src/main/res/drawable-hdpi/pick_contact.png differ diff --git a/app/src/main/res/drawable-hdpi/qrcode.png b/app/src/main/res/drawable-hdpi/qrcode.png new file mode 100644 index 00000000..64f0eed4 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/qrcode.png differ diff --git a/app/src/main/res/drawable-ldpi/pick_contact.png b/app/src/main/res/drawable-ldpi/pick_contact.png new file mode 100644 index 00000000..8e6dfcf0 Binary files /dev/null and b/app/src/main/res/drawable-ldpi/pick_contact.png differ diff --git a/app/src/main/res/drawable-ldpi/qrcode.png b/app/src/main/res/drawable-ldpi/qrcode.png new file mode 100644 index 00000000..1fae91bb Binary files /dev/null and b/app/src/main/res/drawable-ldpi/qrcode.png differ diff --git a/app/src/main/res/drawable-mdpi/pick_contact.png b/app/src/main/res/drawable-mdpi/pick_contact.png new file mode 100644 index 00000000..0a33393a Binary files /dev/null and b/app/src/main/res/drawable-mdpi/pick_contact.png differ diff --git a/app/src/main/res/drawable-mdpi/qrcode.png b/app/src/main/res/drawable-mdpi/qrcode.png new file mode 100644 index 00000000..c9fef9c3 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/qrcode.png differ diff --git a/app/src/main/res/drawable-xhdpi/pick_contact.png b/app/src/main/res/drawable-xhdpi/pick_contact.png new file mode 100644 index 00000000..a6634d74 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/pick_contact.png differ diff --git a/app/src/main/res/drawable-xhdpi/qrcode.png b/app/src/main/res/drawable-xhdpi/qrcode.png new file mode 100644 index 00000000..bf7564ea Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/qrcode.png differ diff --git a/app/src/main/res/drawable-xxhdpi/pick_contact.png b/app/src/main/res/drawable-xxhdpi/pick_contact.png new file mode 100644 index 00000000..24dd7ac7 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/pick_contact.png differ diff --git a/app/src/main/res/drawable-xxhdpi/qrcode.png b/app/src/main/res/drawable-xxhdpi/qrcode.png new file mode 100644 index 00000000..75eb3e93 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/qrcode.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/pick_contact.png b/app/src/main/res/drawable-xxxhdpi/pick_contact.png new file mode 100644 index 00000000..c304e727 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/pick_contact.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/qrcode.png b/app/src/main/res/drawable-xxxhdpi/qrcode.png new file mode 100644 index 00000000..66310e24 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/qrcode.png differ diff --git a/app/src/main/res/drawable/avatar.jpg b/app/src/main/res/drawable/avatar.jpg new file mode 100644 index 00000000..04bc354e Binary files /dev/null and b/app/src/main/res/drawable/avatar.jpg differ diff --git a/app/src/main/res/layout/activity_amount.xml b/app/src/main/res/layout/activity_amount.xml new file mode 100644 index 00000000..25c3b111 --- /dev/null +++ b/app/src/main/res/layout/activity_amount.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/activity_transfer.xml b/app/src/main/res/layout/activity_transfer.xml new file mode 100644 index 00000000..b06aba1f --- /dev/null +++ b/app/src/main/res/layout/activity_transfer.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 6f612736..45136959 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -11,6 +11,9 @@ #FF4081 #ffffff + #4C56C0 + #EBECF0 + #ff33b5e5 @@ -39,6 +42,7 @@ #33CCCCCC #0a46b1 + #AFADB5 #c9d8e9 diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index bf778ce8..14dca7f9 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,5 +1,6 @@ + -30dp 2dp 4dp 8dp @@ -10,9 +11,17 @@ 16dp 24dp 30dp + 35dp + 40dp 50dp + 54dp + 60dp 64dp 75dp + 180dp + 250dp + 550dp + 16dp 16dp @@ -28,6 +37,10 @@ 16sp 18sp 20sp + 22sp + 28sp + 30sp + 24sp 20sp @@ -37,7 +50,7 @@ 16dp 3dp 16dp - 4dp + 4dp 225dp 256dp diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6c055bf3..6178787d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -261,6 +261,8 @@ Expiration date Type Number + Mobile Number + Choose contact number Search product Share Profile Without write permission you will not be able to share the image. Are you sure you want to deny this @@ -311,5 +313,11 @@ https://openmf.github.io/privacy_policy_mifos_mobile.html Open Source licenses + + Nathaniel Harrington + 9910011158 + Enter Amount + OR + QR Code diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index d21617bc..aad116cd 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,7 +1,7 @@ - -