Mohan Shiwakoti
1 year ago
30 changed files with 1407 additions and 414 deletions
-
5.idea/assetWizardSettings.xml
-
1app/build.gradle
-
19app/src/main/java/com/remit/jmecustomer/features/beneficiaryDetail/BeneficiaryDetailActivity.kt
-
65app/src/main/java/com/remit/jmecustomer/features/homeV3/adpaters/BannerViewAdapter.kt
-
19app/src/main/java/com/remit/jmecustomer/features/homeV3/adpaters/SendTypeAdapter.kt
-
3app/src/main/java/com/remit/jmecustomer/features/homeV3/models/BannerModel.kt
-
13app/src/main/java/com/remit/jmecustomer/features/homeV3/view/HomeActivityV3.kt
-
576app/src/main/java/com/remit/jmecustomer/features/homeV3/view/HomeFragmentV3.kt
-
11app/src/main/java/com/remit/jmecustomer/features/myTransfers/adapters/MyBeneficiariesAdapter.kt
-
24app/src/main/java/com/remit/jmecustomer/features/myTransfers/view/MyTransfersFragment.kt
-
110app/src/main/java/com/remit/jmecustomer/features/userprofile/view/ProfileFragment.kt
-
13app/src/main/res/drawable/banner_round_bg.xml
-
12app/src/main/res/drawable/blue_dot.xml
-
8app/src/main/res/drawable/circle_bullet.xml
-
40app/src/main/res/drawable/fingerprint_24px.xml
-
10app/src/main/res/drawable/grey_border_dark_indicator.xml
-
24app/src/main/res/drawable/ic_language.xml
-
BINapp/src/main/res/drawable/ico_profile.png
-
17app/src/main/res/drawable/phonelink_lock_24px.xml
-
25app/src/main/res/drawable/round_help_24px.xml
-
23app/src/main/res/drawable/round_perm_phone_msg_24px.xml
-
14app/src/main/res/drawable/round_person_24px.xml
-
27app/src/main/res/layout/banner_item.xml
-
35app/src/main/res/layout/banner_view_layout.xml
-
36app/src/main/res/layout/fragment_home_new.xml
-
632app/src/main/res/layout/fragment_profile.xml
-
1app/src/main/res/layout/row_fragment_beneficiaries.xml
-
3app/src/main/res/values/colors.xml
-
1app/src/main/res/values/strings.xml
-
10app/src/main/res/values/styles.xml
@ -0,0 +1,65 @@ |
|||
package com.remit.jmecustomer.features.homeV3.adpaters |
|||
|
|||
import android.content.Context |
|||
import android.util.DisplayMetrics |
|||
import android.view.LayoutInflater |
|||
import android.view.ViewGroup |
|||
import androidx.recyclerview.widget.RecyclerView |
|||
import com.bumptech.glide.Glide |
|||
import com.bumptech.glide.load.engine.DiskCacheStrategy |
|||
import com.bumptech.glide.load.resource.bitmap.CenterCrop |
|||
import com.bumptech.glide.load.resource.bitmap.RoundedCorners |
|||
import com.bumptech.glide.request.RequestOptions |
|||
import com.remit.jmecustomer.databinding.BannerItemBinding |
|||
import com.remit.jmecustomer.features.homeV3.models.BannerModel |
|||
|
|||
class BannerViewAdapter( |
|||
data: List<BannerModel>, |
|||
) : |
|||
RecyclerView.Adapter<BannerViewAdapter.BannerItemViewHolder>() { |
|||
var data: List<BannerModel> |
|||
var mContext: Context? = null |
|||
|
|||
init { |
|||
this.data = data |
|||
} |
|||
|
|||
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): BannerItemViewHolder { |
|||
val binding = BannerItemBinding.inflate( |
|||
LayoutInflater.from(parent.context), |
|||
parent, |
|||
false |
|||
) |
|||
mContext = parent.context |
|||
return BannerItemViewHolder(binding) |
|||
} |
|||
|
|||
override fun onBindViewHolder(holder: BannerItemViewHolder, position: Int) { |
|||
val imageURl: String = data[position].bannerIcon |
|||
Glide.with(mContext!!) |
|||
.load(imageURl).diskCacheStrategy(DiskCacheStrategy.ALL) |
|||
.transform(CenterCrop(), RoundedCorners(dpToPx(8, mContext!!))) |
|||
.into(holder.bindings.offerItemImgView) |
|||
} |
|||
|
|||
|
|||
override fun getItemCount(): Int { |
|||
return data.size |
|||
} |
|||
|
|||
private fun dpToPx(dp: Int, context: Context): Int { |
|||
val displayMetrics = context.resources.displayMetrics |
|||
return Math.round( |
|||
dp * (displayMetrics.xdpi / |
|||
DisplayMetrics.DENSITY_DEFAULT) |
|||
) |
|||
} |
|||
|
|||
class BannerItemViewHolder(private val binding: BannerItemBinding) : |
|||
RecyclerView.ViewHolder(binding.root) { |
|||
val bindings: BannerItemBinding = binding |
|||
fun bind(item: String) { |
|||
|
|||
} |
|||
} |
|||
} |
@ -0,0 +1,3 @@ |
|||
package com.remit.jmecustomer.features.homeV3.models |
|||
|
|||
class BannerModel(var bannerIcon : String) |
@ -0,0 +1,110 @@ |
|||
package com.remit.jmecustomer.features.userprofile.view |
|||
|
|||
import android.content.Intent |
|||
import android.os.Bundle |
|||
import android.view.LayoutInflater |
|||
import android.view.View |
|||
import android.view.ViewGroup |
|||
import com.remit.jmecustomer.R |
|||
import com.remit.jmecustomer.base.BaseFragment |
|||
import com.remit.jmecustomer.common.customwidgets.common.GenericPromptDialog |
|||
import com.remit.jmecustomer.common.customwidgets.common.GenericPromptDialog.GenericDialogPromptListener |
|||
import com.remit.jmecustomer.databinding.FragmentProfileBinding |
|||
import com.remit.jmecustomer.features.aboutscreen.view.AboutJMERemit |
|||
import com.remit.jmecustomer.features.customersupport.view.CustomerSupportFragment |
|||
import com.remit.jmecustomer.features.depositinfo.view.DepositInfo |
|||
import com.remit.jmecustomer.features.homeV3.view.HomeActivityV3 |
|||
import com.remit.jmecustomer.features.homeV3.view.HomeFragmentV3 |
|||
import com.remit.jmecustomer.features.loyaltypoints.view.LoyaltyPointsActivity |
|||
import com.remit.jmecustomer.features.mynotifications.view.MyNotificationActivity |
|||
import com.remit.jmecustomer.features.settings.view.SettingsView |
|||
import com.remit.jmecustomer.features.walletstatement.view.WalletStatementV2Activity |
|||
|
|||
class ProfileFragment : BaseFragment(), View.OnClickListener { |
|||
private var _binding: FragmentProfileBinding? = null |
|||
private val binding get() = _binding!! |
|||
|
|||
override fun onCreateView( |
|||
inflater: LayoutInflater, |
|||
container: ViewGroup?, |
|||
savedInstanceState: Bundle? |
|||
): View? { |
|||
_binding = FragmentProfileBinding.inflate(inflater, container, false) |
|||
init() |
|||
return binding.root |
|||
} |
|||
|
|||
fun init() { |
|||
binding.llPaymentLayout.setOnClickListener(this) |
|||
binding.llAboutUsLayout.setOnClickListener(this) |
|||
binding.llFaqLayout.setOnClickListener(this) |
|||
binding.rlLogout.setOnClickListener(this) |
|||
} |
|||
|
|||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
|||
super.onViewCreated(view, savedInstanceState) |
|||
} |
|||
|
|||
override fun onClick(view: View) { |
|||
when (view.id) { |
|||
R.id.ll_faq_layout -> { |
|||
val newFragment = CustomerSupportFragment.newInstance() |
|||
newFragment.show(requireActivity().supportFragmentManager, "dialog") |
|||
} |
|||
R.id.ll_about_us_layout -> startActivity( |
|||
Intent( |
|||
requireActivity(), |
|||
AboutJMERemit::class.java |
|||
) |
|||
) |
|||
R.id.view_setting -> startActivity(Intent(requireActivity(), SettingsView::class.java)) |
|||
R.id.rl_logout -> { |
|||
showLogoutConfirmationDialog() |
|||
} |
|||
R.id.view_account_statement -> startActivity( |
|||
Intent( |
|||
requireActivity(), |
|||
WalletStatementV2Activity::class.java |
|||
) |
|||
) |
|||
R.id.iv_notification -> startActivity( |
|||
Intent( |
|||
requireActivity(), |
|||
MyNotificationActivity::class.java |
|||
) |
|||
) |
|||
R.id.ll_payment_layout -> startActivity( |
|||
Intent( |
|||
requireActivity(), |
|||
DepositInfo::class.java |
|||
) |
|||
) |
|||
R.id.view_loyalty_points -> startActivity( |
|||
Intent( |
|||
requireActivity(), |
|||
LoyaltyPointsActivity::class.java |
|||
) |
|||
) |
|||
} |
|||
} |
|||
|
|||
private fun showLogoutConfirmationDialog() { |
|||
val genericPromptDialog = GenericPromptDialog() |
|||
genericPromptDialog.setTitleMessage(getString(R.string.logout_text)) |
|||
genericPromptDialog.setBodyMessage(getString(R.string.logout_confirmation_text)) |
|||
genericPromptDialog.setIconsRes(-1) |
|||
genericPromptDialog.setCancellable(true) |
|||
genericPromptDialog.setPositiveBtnString(getString(R.string.yes_text)) |
|||
genericPromptDialog.setNegativeBtnString(getString(R.string.no_text)) |
|||
genericPromptDialog.setListener(object : GenericDialogPromptListener { |
|||
override fun onNegativeBtnPressed() {} |
|||
override fun onPositiveBtnPressed() { |
|||
(requireActivity() as HomeActivityV3).performLogout() |
|||
} |
|||
}) |
|||
if (!genericPromptDialog.isAdded) genericPromptDialog.show( |
|||
requireActivity().supportFragmentManager, |
|||
"PROMPTSENDMONEY" |
|||
) |
|||
} |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
|||
|
|||
<item> |
|||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> |
|||
|
|||
<stroke android:width="1dp" android:color="#F4F4F4" /> |
|||
|
|||
<corners android:radius="@dimen/_6sdp" /> |
|||
|
|||
</shape> |
|||
</item> |
|||
</selector> |
@ -0,0 +1,12 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<shape xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:dither="true" |
|||
android:shape="oval" |
|||
android:useLevel="true"> |
|||
|
|||
<size |
|||
android:width="10dp" |
|||
android:height="10dp" /> |
|||
|
|||
<solid android:color="@color/light_blue" /> |
|||
</shape> |
@ -0,0 +1,8 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
|||
<item> |
|||
<shape android:shape="oval"> |
|||
<solid android:color="@color/colorPrimary"/> |
|||
</shape> |
|||
</item> |
|||
</selector> |
@ -0,0 +1,40 @@ |
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:width="24dp" |
|||
android:height="24dp" |
|||
android:viewportWidth="24" |
|||
android:viewportHeight="24"> |
|||
<path |
|||
android:pathData="M12,21a1,1 0,0 1,-1 -1V17a1,1 0,0 1,2 0v3A1,1 0,0 1,12 21Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M12,15a1,1 0,0 1,-1 -1V12a1,1 0,0 1,2 0v2A1,1 0,0 1,12 15Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M8,21a1,1 0,0 1,-1 -1V14a1,1 0,0 1,2 0v6A1,1 0,0 1,8 21Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M16,15a1,1 0,0 1,-1 -1V12a3,3 0,0 0,-5.812 -1.047,1 1,0 0,1 -1.875,-0.7A5,5 0,0 1,17 12v2A1,1 0,0 1,16 15Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M16,21a1,1 0,0 1,-1 -1V17a1,1 0,0 1,2 0v3A1,1 0,0 1,16 21Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M4,20a1,1 0,0 1,-1 -1V16a1,1 0,0 1,2 0v3A1,1 0,0 1,4 20Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M4,14a1,1 0,0 1,-1 -1V12a9.01,9.01 0,0 1,9 -9,8.9 8.9,0 0,1 4.039,0.955 1,1 0,1 1,-0.9 1.787A6.926,6.926 0,0 0,12 5a7.009,7.009 0,0 0,-7 7v1A1,1 0,0 1,4 14Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M20,20a1,1 0,0 1,-1 -1V12a6.949,6.949 0,0 0,-1.348 -4.131A1,1 0,1 1,19.267 6.69,8.936 8.936,0 0,1 21,12v7A1,1 0,0 1,20 20Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
</vector> |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
|||
<item> |
|||
<shape android:shape="oval"> |
|||
<stroke android:width="@dimen/_1sdp" android:color="@color/black_opacity_38" /> |
|||
<corners android:radius="@dimen/_2sdp" /> |
|||
<solid android:color="@color/black_opacity_38" /> |
|||
</shape> |
|||
</item> |
|||
</selector> |
@ -0,0 +1,24 @@ |
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:width="24dp" |
|||
android:height="24dp" |
|||
android:viewportWidth="24" |
|||
android:viewportHeight="24"> |
|||
<path |
|||
android:pathData="M16,8V4a2,2 0,0 0,-2 -2H4A2,2 0,0 0,2 4V14a2,2 0,0 0,2 2H8Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M15.993,18.373l-0.17,-0.728L14.074,17.645l-0.17,0.728a0.843,0.843 0,0 1,-0.829 0.639h0A0.826,0.826 0,0 1,12.25 18l1.376,-5.455a1.4,1.4 0,0 1,1.365 -1.034h0a1.4,1.4 0,0 1,1.366 1.035L17.725,18a0.826,0.826 0,0 1,-0.826 1.01h-0.078A0.844,0.844 0,0 1,15.993 18.373ZM14.976,13.143h-0.044l-0.659,3.188L15.6,16.331Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M14.976,13.143l0.627,3.188L14.272,16.331l0.659,-3.188ZM22,10L22,20a2,2 0,0 1,-2 2L10,22a2,2 0,0 1,-2 -2L8,16l8,-8h4A2,2 0,0 1,22 10ZM17.726,18 L16.358,12.546a1.418,1.418 0,0 0,-2.731 0L12.251,18a0.826,0.826 0,0 0,0.826 1.011,0.843 0.843,0 0,0 0.829,-0.639l0.17,-0.728h1.749l0.17,0.728a0.843,0.843 0,0 0,0.829 0.639L16.9,19.011A0.826,0.826 0,0 0,17.726 18Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M11.09,6.941L9.829,6.941v5.708L9.145,12.649L9.145,9.257L7.306,9.257a0.148,0.148 0,0 0,-0.148 0.078,0.5 0.5,0 0,0 -0.038,0.214v0.4a0.467,0.467 0,0 1,-0.01 0.073,0.336 0.336,0 0,1 -0.045,0.111 0.319,0.319 0,0 1,-0.1 0.1,0.318 0.318,0 0,1 -0.176,0.043 0.831,0.831 0,0 1,-0.3 -0.063,1.744 1.744,0 0,1 -0.322,-0.168A2.321,2.321 0,0 1,5.857 9.8a2.254,2.254 0,0 1,-0.264 -0.291A1.561,1.561 0,0 1,5.41 9.2a0.726,0.726 0,0 1,-0.068 -0.294,0.332 0.332,0 0,1 0.093,-0.241 0.373,0.373 0,0 1,0.279 -0.1L9.145,8.565L9.145,6.941L5,6.941v-0.683L11.09,6.258ZM9.17,6.313a4.969,4.969 0,0 0,-0.214 -0.824,2.976 2.976,0 0,0 -0.369,-0.729 1.924,1.924 0,0 0,-0.535 -0.52,1.278 1.278,0 0,0 -0.706,-0.2 1.985,1.985 0,0 0,-0.337 0.028,2.058 2.058,0 0,0 -0.382,0.113l-0.236,-0.668a2.4,2.4 0,0 1,0.45 -0.123,2.889 2.889,0 0,1 0.48,-0.038 1.9,1.9 0,0 1,0.869 0.2,2.269 2.269,0 0,1 0.721,0.588 3.649,3.649 0,0 1,0.548 0.932,6.007 6.007,0 0,1 0.354,1.236Z" |
|||
android:strokeWidth="1" |
|||
android:fillColor="#2e89ff" |
|||
android:strokeColor="#2e89ff"/> |
|||
</vector> |
After Width: 319 | Height: 319 | Size: 20 KiB |
@ -0,0 +1,17 @@ |
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:width="24dp" |
|||
android:height="24dp" |
|||
android:viewportWidth="24" |
|||
android:viewportHeight="24"> |
|||
<path |
|||
android:pathData="M12,15m-9,0a9,9 0,1 1,18 0a9,9 0,1 1,-18 0" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M12,13a2,2 0,1 0,2 2A2,2 0,0 0,12 13Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M8.006,6.944a3.994,3.994 0,0 1,7.988 0A9.023,9.023 0,0 1,18 8.3L18,7A6,6 0,0 0,6 7L6,8.3A9.023,9.023 0,0 1,8.006 6.944Z" |
|||
android:fillColor="#2e89ff"/> |
|||
</vector> |
@ -0,0 +1,25 @@ |
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:width="24dp" |
|||
android:height="24dp" |
|||
android:viewportWidth="24" |
|||
android:viewportHeight="24"> |
|||
<path |
|||
android:pathData="M20,11l-0,10l-8,0l-0,-10z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M15.942,13.74l-0.677,3.4h1.367l-0.644,-3.4Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M19,10H13a3,3 0,0 0,-3 3v6a3,3 0,0 0,3 3h6a3,3 0,0 0,3 -3V13A3,3 0,0 0,19 10ZM17.964,20h-0.08a0.874,0.874 0,0 1,-0.852 -0.681l-0.175,-0.776h-1.8l-0.175,0.776a0.872,0.872 0,1 1,-1.7 -0.4L14.6,13.1a1.443,1.443 0,0 1,2.8 0l1.405,5.818A0.873,0.873 0,0 1,17.964 20Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M2,11V5A3,3 0,0 1,5 2h6a3,3 0,0 1,3 3v6a3,3 0,0 1,-3 3H5A3,3 0,0 1,2 11Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M7.938,12C5.069,12 5,8.677 5,8.06S5.134,4 7.993,4c2.827,0 2.972,3.389 2.972,3.983a3.5,3.5 0,0 1,-0.847 2.5v0.044l0.471,-0.017a0.745,0.745 0,0 1,0.772 0.745h0a0.746,0.746 0,0 1,-0.746 0.746ZM9.192,8.066c0,-0.331 -0.044,-2.339 -1.189,-2.339s-1.2,2 -1.2,2.339 0.011,2.349 1.2,2.349S9.192,8.389 9.192,8.066Z" |
|||
android:fillColor="#2e89ff"/> |
|||
</vector> |
@ -0,0 +1,23 @@ |
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:width="24dp" |
|||
android:height="24dp" |
|||
android:viewportWidth="24" |
|||
android:viewportHeight="24"> |
|||
<path |
|||
android:pathData="M9.501,2A7.488,7.488 0,0 0,2.783 12.82l-0.754,3.014a0.937,0.937 0,0 0,1.137 1.137l3.014,-0.754A7.5,7.5 0,1 0,9.501 2Z" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M20.851,16.35l1.121,4.484a0.937,0.937 0,0 1,-1.137 1.137L16.351,20.85Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M16.678,7.323a7.5,7.5 0,0 1,-9.354 9.354,7.5 7.5,0 1,0 9.354,-9.354Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M13.001,9L7.001,9A1,1 0,0 1,7.001 7h6a1,1 0,0 1,0 2Z" |
|||
android:fillColor="#2e89ff"/> |
|||
<path |
|||
android:pathData="M11.001,13L7.001,13a1,1 0,0 1,0 -2h4a1,1 0,0 1,0 2Z" |
|||
android:fillColor="#2e89ff"/> |
|||
</vector> |
@ -0,0 +1,14 @@ |
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:width="24dp" |
|||
android:height="24dp" |
|||
android:viewportWidth="24" |
|||
android:viewportHeight="24"> |
|||
<path |
|||
android:pathData="M12,8m-5,0a5,5 0,1 1,10 0a5,5 0,1 1,-10 0" |
|||
android:strokeAlpha="0.35" |
|||
android:fillColor="#2e89ff" |
|||
android:fillAlpha="0.35"/> |
|||
<path |
|||
android:pathData="M18,16L6,16a3,3 0,0 0,0 6L18,22a3,3 0,0 0,0 -6Z" |
|||
android:fillColor="#2e89ff"/> |
|||
</vector> |
@ -0,0 +1,27 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|||
xmlns:tools="http://schemas.android.com/tools" |
|||
android:id="@+id/offerItemImgViewParent" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="@dimen/_85sdp" |
|||
android:layout_marginLeft="@dimen/_3ssp" |
|||
android:layout_marginRight="@dimen/_3ssp" |
|||
android:background="@drawable/banner_round_bg" |
|||
android:elevation="0dp" |
|||
android:outlineProvider="background" |
|||
android:padding="0dp" |
|||
tools:ignore="UnusedAttribute"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/offerItemImgView" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
android:layout_marginTop="1dp" |
|||
android:layout_marginBottom="1dp" |
|||
android:clickable="true" |
|||
android:focusable="true" |
|||
android:scaleType="fitXY" |
|||
> |
|||
<!--1:0.3 Aspect Ratio used--> |
|||
</ImageView> |
|||
</LinearLayout> |
@ -0,0 +1,35 @@ |
|||
<?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="wrap_content" |
|||
android:layout_marginTop="@dimen/_4sdp" |
|||
android:gravity="center_horizontal" |
|||
android:orientation="vertical"> |
|||
|
|||
<androidx.recyclerview.widget.RecyclerView xmlns:app="http://schemas.android.com/apk/res-auto" |
|||
android:id="@+id/offerTabRecyclerView" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
android:layout_gravity="center_horizontal" |
|||
android:orientation="horizontal" |
|||
android:paddingLeft="@dimen/_5sdp" |
|||
android:paddingRight="@dimen/_5sdp" |
|||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" /> |
|||
|
|||
<me.relex.circleindicator.CircleIndicator2 |
|||
android:id="@+id/indicator" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="@dimen/_16sdp" |
|||
android:gravity="center" |
|||
android:paddingBottom="@dimen/_4sdp" |
|||
app:ci_drawable="@drawable/circle_bullet" |
|||
app:ci_drawable_unselected="@drawable/grey_border_dark_indicator" /> |
|||
<!-- <com.swifttechnology.imepay.Views.Components.BannerView |
|||
android:id="@+id/offerTabRecyclerView" |
|||
android:layout_width="wrap_content" |
|||
|
|||
android:layout_height="wrap_content" />--> |
|||
|
|||
</LinearLayout> |
@ -0,0 +1,632 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout 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:id="@+id/swipeRefreshLayout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent"> |
|||
|
|||
<ScrollView |
|||
android:id="@+id/scrollView" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
android:fillViewport="true" |
|||
android:scrollbars="none"> |
|||
|
|||
<RelativeLayout |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="@dimen/_13sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<androidx.constraintlayout.widget.ConstraintLayout |
|||
android:id="@+id/fl_profile_image" |
|||
android:layout_width="@dimen/_80sdp" |
|||
android:layout_height="@dimen/_80sdp" |
|||
android:layout_centerHorizontal="true"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/iv_profile_image" |
|||
android:layout_width="@dimen/_80sdp" |
|||
android:layout_height="@dimen/_80sdp" |
|||
android:src="@drawable/ico_profile" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintHorizontal_bias="0.0" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" /> |
|||
|
|||
|
|||
<ImageView |
|||
android:visibility="gone" |
|||
android:id="@+id/iv_edit_profile_image" |
|||
android:layout_width="@dimen/_30sdp" |
|||
android:layout_height="@dimen/_30sdp" |
|||
android:layout_gravity="bottom|center" |
|||
android:padding="@dimen/_6sdp" |
|||
app:layout_constraintBottom_toBottomOf="parent" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:srcCompat="@drawable/ic_edit" /> |
|||
|
|||
|
|||
</androidx.constraintlayout.widget.ConstraintLayout> |
|||
|
|||
<androidx.constraintlayout.widget.ConstraintLayout |
|||
android:id="@+id/ll_customerName" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@+id/fl_profile_image" |
|||
android:layout_marginTop="@dimen/_12sdp" |
|||
android:layout_marginBottom="@dimen/_2sdp"> |
|||
|
|||
<TextView |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
android:id="@+id/customerName" |
|||
style="@style/TextStyle.SemiBold20" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:gravity="center" |
|||
android:textAlignment="center" |
|||
android:textColor="@color/black_opacity_87" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
tools:text="Test Name" /> |
|||
|
|||
<ImageView |
|||
android:id="@+id/iv_kycStatus" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="bottom|center" |
|||
android:layout_marginLeft="@dimen/_4sdp" |
|||
android:layout_marginTop="@dimen/_1sdp" |
|||
app:layout_constraintBottom_toBottomOf="@+id/customerName" |
|||
app:layout_constraintStart_toEndOf="@+id/customerName" |
|||
app:layout_constraintTop_toTopOf="@+id/customerName" |
|||
app:srcCompat="@drawable/ic_verified_doc" /> |
|||
</androidx.constraintlayout.widget.ConstraintLayout> |
|||
|
|||
<LinearLayout |
|||
android:id="@+id/ll_phone_email_layout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@+id/ll_customerName" |
|||
android:gravity="center" |
|||
android:orientation="horizontal"> |
|||
|
|||
<TextView |
|||
android:id="@+id/customerMsisdn" |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:textAlignment="center" |
|||
android:textColor="@color/black_opacity_60" |
|||
tools:text="CS12345678" /> |
|||
|
|||
<TextView |
|||
android:id="@+id/divider" |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginLeft="@dimen/_4sdp" |
|||
android:layout_marginRight="@dimen/_4sdp" |
|||
android:text="|" |
|||
android:textAlignment="center" |
|||
android:textColor="@color/black_opacity_60" |
|||
android:visibility="gone" /> |
|||
|
|||
<TextView |
|||
android:id="@+id/customerEmail" |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:ellipsize="end" |
|||
android:singleLine="true" |
|||
android:textAlignment="center" |
|||
android:textColor="@color/black_opacity_60" |
|||
tools:text="test@swifttech.com.np" /> |
|||
|
|||
<ImageView |
|||
android:id="@+id/iv_imageEmailVerified" |
|||
android:layout_width="@dimen/_12sdp" |
|||
android:layout_height="@dimen/_12sdp" |
|||
android:src="@drawable/ic_kyc_non_verified_userstatus" |
|||
android:visibility="gone" /> |
|||
|
|||
</LinearLayout> |
|||
|
|||
<LinearLayout |
|||
android:layout_below="@+id/ll_phone_email_layout" |
|||
android:orientation="vertical" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content"> |
|||
|
|||
|
|||
<View |
|||
android:layout_marginTop="@dimen/_20sdp" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="@dimen/_6sdp" |
|||
android:background="#F5F5F5" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" /> |
|||
|
|||
<TextView |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="@dimen/_12sdp" |
|||
android:layout_marginLeft="@dimen/_12sdp" |
|||
android:layout_marginTop="@dimen/_6sdp" |
|||
android:text="Account" |
|||
android:textColor="#969696" /> |
|||
|
|||
<RelativeLayout |
|||
android:id="@+id/ll_payment_layout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:gravity="center" |
|||
android:orientation="horizontal" |
|||
android:padding="@dimen/_13sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/ic_nominee" |
|||
android:layout_width="@dimen/_20sdp" |
|||
android:layout_height="@dimen/_20sdp" |
|||
app:srcCompat="@drawable/round_person_24px" /> |
|||
|
|||
<LinearLayout |
|||
android:layout_toEndOf="@+id/ic_nominee" |
|||
android:layout_toRightOf="@+id/ic_nominee" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:orientation="vertical" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content"> |
|||
<TextView |
|||
style="@style/TextStyle.SemiBold16" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:text="Payment Information" |
|||
android:textColor="@color/black_opacity_87" /> |
|||
|
|||
<TextView |
|||
android:id="@+id/tv_applockDesc" |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="@dimen/_4sdp" |
|||
android:layout_marginRight="@dimen/_2sdp" |
|||
android:layout_toEndOf="@+id/ic_lock_app" |
|||
android:layout_toRightOf="@+id/ic_lock_app" |
|||
android:text="View orupdate linked cards" |
|||
|
|||
android:textColor="@color/black_opacity_60" /> |
|||
|
|||
</LinearLayout> |
|||
<TextView |
|||
android:id="@+id/tv_add_nominee" |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentEnd="true" |
|||
android:layout_alignParentRight="true" |
|||
android:layout_centerVertical="true" |
|||
android:paddingLeft="@dimen/_5sdp" |
|||
android:paddingRight="@dimen/_5sdp" |
|||
android:textAllCaps="true" |
|||
android:textColor="@color/colorPrimary" /> |
|||
|
|||
|
|||
</RelativeLayout> |
|||
|
|||
<RelativeLayout |
|||
android:id="@+id/ll_language" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:gravity="center" |
|||
android:orientation="horizontal" |
|||
android:padding="@dimen/_13sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/ic_language" |
|||
android:layout_width="@dimen/_20sdp" |
|||
android:layout_height="@dimen/_20sdp" |
|||
app:srcCompat="@drawable/ic_language" /> |
|||
|
|||
<LinearLayout |
|||
android:layout_toEndOf="@+id/ic_language" |
|||
android:layout_toRightOf="@+id/ic_language" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:orientation="vertical" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content"> |
|||
<TextView |
|||
style="@style/TextStyle.SemiBold16" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:text="Language Selection" |
|||
android:textColor="@color/black_opacity_87" /> |
|||
|
|||
\ |
|||
</LinearLayout> |
|||
</RelativeLayout> |
|||
|
|||
<RelativeLayout |
|||
android:id="@+id/ll_change_pin" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:gravity="center" |
|||
android:orientation="horizontal" |
|||
android:padding="@dimen/_13sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/ic_change_pin" |
|||
android:layout_width="@dimen/_20sdp" |
|||
android:layout_height="@dimen/_20sdp" |
|||
app:srcCompat="@drawable/round_person_24px" /> |
|||
|
|||
<LinearLayout |
|||
android:layout_toEndOf="@+id/ic_change_pin" |
|||
android:layout_toRightOf="@+id/ic_change_pin" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:orientation="vertical" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content"> |
|||
<TextView |
|||
style="@style/TextStyle.SemiBold16" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:text="Change Account Pin" |
|||
android:textColor="@color/black_opacity_87" /> |
|||
|
|||
</LinearLayout> |
|||
</RelativeLayout> |
|||
|
|||
|
|||
<RelativeLayout |
|||
android:id="@+id/enableLockScreenLayout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:gravity="center" |
|||
android:orientation="horizontal" |
|||
android:paddingLeft="@dimen/_13sdp" |
|||
android:paddingTop="@dimen/_13sdp" |
|||
android:paddingBottom="@dimen/_10sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/ic_lock_app" |
|||
android:layout_width="@dimen/_20sdp" |
|||
android:layout_height="@dimen/_20sdp" |
|||
android:layout_centerVertical="true" |
|||
app:srcCompat="@drawable/phonelink_lock_24px" /> |
|||
|
|||
|
|||
<TextView |
|||
android:id="@+id/tv_title" |
|||
style="@style/TextStyle.VolteSemiBold16" |
|||
|
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:layout_toEndOf="@+id/ic_lock_app" |
|||
android:layout_toRightOf="@+id/ic_lock_app" |
|||
android:text="Lock app" |
|||
android:textColor="@color/black_opacity_87" /> |
|||
|
|||
<TextView |
|||
android:id="@+id/tv_applockDetail" |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
|
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/tv_title" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:layout_marginTop="@dimen/_4sdp" |
|||
android:layout_marginRight="@dimen/_2sdp" |
|||
android:layout_toEndOf="@+id/ic_lock_app" |
|||
android:layout_toRightOf="@+id/ic_lock_app" |
|||
android:text="Ask verification for opening" |
|||
|
|||
android:textColor="@color/black_opacity_60" /> |
|||
|
|||
<androidx.appcompat.widget.SwitchCompat |
|||
android:id="@+id/enableLock" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentRight="true" |
|||
android:layout_centerInParent="true" |
|||
android:layout_marginRight="@dimen/_4sdp" |
|||
|
|||
android:layout_toRightOf="@id/tv_applockDetail" |
|||
android:checked="false" |
|||
android:textAppearance="?android:attr/textAppearanceMedium" |
|||
android:theme="@style/SwitchTheme" /> |
|||
|
|||
</RelativeLayout> |
|||
|
|||
<androidx.constraintlayout.widget.ConstraintLayout |
|||
android:id="@+id/fingerprintLockScreen" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:gravity="center" |
|||
android:orientation="horizontal" |
|||
android:paddingLeft="@dimen/_13sdp" |
|||
android:paddingTop="@dimen/_13sdp" |
|||
android:paddingBottom="@dimen/_10sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/ic_fingerPrint" |
|||
android:layout_width="@dimen/_20sdp" |
|||
android:layout_height="@dimen/_20sdp" |
|||
android:layout_centerVertical="true" |
|||
app:layout_constraintBottom_toBottomOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
app:srcCompat="@drawable/fingerprint_24px" /> |
|||
|
|||
|
|||
<TextView |
|||
android:id="@+id/textView11" |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/tv_title_1" |
|||
android:layout_marginTop="@dimen/_3sdp" |
|||
android:layout_marginEnd="@dimen/_3sdp" |
|||
android:layout_toStartOf="@+id/enableFingerPrint" |
|||
android:layout_toLeftOf="@+id/enableFingerPrint" |
|||
android:layout_toEndOf="@+id/ic_fingerPrint" |
|||
android:layout_toRightOf="@+id/ic_fingerPrint" |
|||
android:text="Use fingerprint for payment" |
|||
android:textColor="@color/black_opacity_60" |
|||
app:layout_constraintBottom_toBottomOf="parent" |
|||
app:layout_constraintEnd_toStartOf="@+id/enableFingerPrint" |
|||
app:layout_constraintHorizontal_bias="0.5" |
|||
app:layout_constraintStart_toStartOf="@+id/tv_title_1" |
|||
app:layout_constraintTop_toBottomOf="@+id/tv_title_1" /> |
|||
|
|||
<TextView |
|||
android:id="@+id/tv_title_1" |
|||
style="@style/TextStyle.VolteSemiBold16" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_toEndOf="@+id/ic_fingerPrint" |
|||
android:layout_toRightOf="@+id/ic_fingerPrint" |
|||
android:text="Enable Biometrics" |
|||
android:textColor="@color/black_opacity_87" |
|||
app:layout_constraintBottom_toTopOf="@+id/textView11" |
|||
app:layout_constraintEnd_toStartOf="@+id/enableFingerPrint" |
|||
app:layout_constraintHorizontal_bias="0.5" |
|||
app:layout_constraintStart_toEndOf="@+id/ic_fingerPrint" |
|||
app:layout_constraintTop_toTopOf="parent" /> |
|||
|
|||
<androidx.appcompat.widget.SwitchCompat |
|||
android:id="@+id/enableFingerPrint" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentRight="true" |
|||
android:layout_centerInParent="true" |
|||
android:checked="false" |
|||
android:textAppearance="?android:attr/textAppearanceMedium" |
|||
android:theme="@style/SwitchTheme" |
|||
app:layout_constraintBottom_toBottomOf="@+id/ic_fingerPrint" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintTop_toTopOf="@+id/ic_fingerPrint" /> |
|||
|
|||
</androidx.constraintlayout.widget.ConstraintLayout> |
|||
|
|||
<View |
|||
android:layout_width="match_parent" |
|||
android:layout_height="@dimen/_6sdp" |
|||
android:background="#F5F5F5" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" /> |
|||
|
|||
<TextView |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="@dimen/_12sdp" |
|||
android:layout_marginLeft="@dimen/_12sdp" |
|||
android:layout_marginTop="@dimen/_6sdp" |
|||
android:text="Support" |
|||
android:textColor="#969696" /> |
|||
|
|||
|
|||
<!-- FAQs Layout Start --> |
|||
<RelativeLayout |
|||
android:id="@+id/ll_faq_layout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:orientation="horizontal" |
|||
android:padding="@dimen/_13sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/ic_profile_faq" |
|||
android:layout_width="@dimen/_20sdp" |
|||
android:layout_height="@dimen/_20sdp" |
|||
app:srcCompat="@drawable/round_help_24px" /> |
|||
|
|||
|
|||
<TextView |
|||
style="@style/TextStyle.SemiBold16" |
|||
|
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:layout_toEndOf="@+id/ic_profile_faq" |
|||
android:layout_toRightOf="@+id/ic_profile_faq" |
|||
android:text="Faqs" |
|||
android:textColor="@color/black_opacity_87" /> |
|||
|
|||
|
|||
</RelativeLayout> |
|||
<!-- FAQs Layout End --> |
|||
<View |
|||
android:layout_width="match_parent" |
|||
android:layout_height="1dp" |
|||
android:layout_marginStart="@dimen/_60sdp" |
|||
android:layout_marginLeft="@dimen/_60sdp" |
|||
android:background="@color/grey_stripe" |
|||
android:visibility="gone" /> |
|||
|
|||
<!-- Contact Us Layout Start --> |
|||
<RelativeLayout |
|||
android:id="@+id/ll_contact_us_layout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:orientation="horizontal" |
|||
android:padding="@dimen/_13sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/ic_profile_contact_us" |
|||
android:layout_width="@dimen/_20sdp" |
|||
android:layout_height="@dimen/_20sdp" |
|||
app:srcCompat="@drawable/round_help_24px" /> |
|||
|
|||
|
|||
<TextView |
|||
style="@style/TextStyle.VolteSemiBold16" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:layout_toEndOf="@+id/ic_profile_contact_us" |
|||
android:layout_toRightOf="@+id/ic_profile_contact_us" |
|||
android:text="Contact us" |
|||
android:textColor="@color/black_opacity_87" /> |
|||
|
|||
|
|||
</RelativeLayout> |
|||
<!-- Contact Us Layout End --> |
|||
<View |
|||
android:layout_width="match_parent" |
|||
android:layout_height="1dp" |
|||
android:layout_marginStart="@dimen/_60sdp" |
|||
android:layout_marginLeft="@dimen/_60sdp" |
|||
android:background="@color/grey_stripe" |
|||
android:visibility="gone" /> |
|||
|
|||
<!-- About Us Layout Start --> |
|||
<RelativeLayout |
|||
android:id="@+id/ll_about_us_layout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="center" |
|||
android:orientation="horizontal" |
|||
android:padding="@dimen/_13sdp" |
|||
android:visibility="visible"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/ic_information" |
|||
android:layout_width="@dimen/_20sdp" |
|||
android:layout_height="@dimen/_20sdp" |
|||
app:srcCompat="@drawable/sm_about_gme" /> |
|||
|
|||
|
|||
<TextView |
|||
style="@style/TextStyle.VolteSemiBold16" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:layout_toEndOf="@+id/ic_information" |
|||
android:layout_toRightOf="@+id/ic_information" |
|||
android:text="About Us" |
|||
android:textColor="@color/black_opacity_87" /> |
|||
|
|||
|
|||
</RelativeLayout> |
|||
<!-- Contact Us Layout End --> |
|||
<View |
|||
android:layout_width="match_parent" |
|||
android:layout_height="4dp" |
|||
android:background="@color/grey_stripe" /> |
|||
|
|||
<RelativeLayout |
|||
android:id="@+id/rl_logout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:padding="@dimen/_13sdp"> |
|||
|
|||
<TextView |
|||
android:id="@+id/tv_logout" |
|||
style="@style/TextStyle.VolteSemiBold14" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_centerInParent="true" |
|||
android:layout_marginStart="@dimen/_26sdp" |
|||
android:layout_marginLeft="@dimen/_26sdp" |
|||
android:text="Log out" |
|||
android:textAllCaps="true" |
|||
android:textColor="@color/colorPrimary" /> |
|||
</RelativeLayout> |
|||
|
|||
<!-- Privacy Policy Layout Start --> |
|||
<RelativeLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="@dimen/_63sdp" |
|||
android:layout_gravity="center" |
|||
android:background="@color/profile_background_color" |
|||
android:gravity="center" |
|||
android:paddingTop="@dimen/_10sdp"> |
|||
|
|||
<TextView |
|||
android:id="@+id/tv_privacy_policy" |
|||
style="@style/TextStyle.VolteSemiBold12" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="match_parent" |
|||
android:layout_marginEnd="@dimen/_6sdp" |
|||
android:layout_marginRight="@dimen/_6sdp" |
|||
android:layout_toStartOf="@+id/dot_layout" |
|||
android:layout_toLeftOf="@+id/dot_layout" |
|||
android:text="Privacy Policy" |
|||
android:textColor="@color/black_opacity_60" /> |
|||
|
|||
<ImageView |
|||
android:id="@+id/dot_layout" |
|||
android:layout_width="@dimen/_8sdp" |
|||
android:layout_height="@dimen/_8sdp" |
|||
android:layout_centerHorizontal="true" |
|||
android:layout_marginTop="@dimen/_4sdp" |
|||
android:src="@drawable/blue_dot" /> |
|||
|
|||
<TextView |
|||
android:id="@+id/tv_term_and_condition" |
|||
style="@style/TextStyle.VolteSemiBold12" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="match_parent" |
|||
android:layout_marginStart="@dimen/_6sdp" |
|||
android:layout_marginLeft="@dimen/_6sdp" |
|||
android:layout_toEndOf="@+id/dot_layout" |
|||
android:layout_toRightOf="@+id/dot_layout" |
|||
android:text="@string/terms_of_service_new" |
|||
android:textColor="@color/black_opacity_60" /> |
|||
|
|||
</RelativeLayout> |
|||
<!-- Privacy Policy Layout Start --> |
|||
|
|||
</LinearLayout> |
|||
</RelativeLayout> |
|||
</ScrollView> |
|||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue