Reyaz | fix offer acceptance fragment layout and made animation infinite
This commit is contained in:
@@ -54,13 +54,12 @@ class SplashScreenActivity : AppCompatActivity() {
|
||||
|
||||
@SuppressLint("MissingPermission")
|
||||
private fun getImei(): String {
|
||||
return "12121212232323"
|
||||
// val telephonyManager = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager
|
||||
// return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
// telephonyManager.imei
|
||||
// } else {
|
||||
// telephonyManager.deviceId
|
||||
// }
|
||||
val telephonyManager = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager
|
||||
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
telephonyManager.imei
|
||||
} else {
|
||||
telephonyManager.deviceId
|
||||
}
|
||||
}
|
||||
|
||||
override fun onRequestPermissionsResult(
|
||||
|
||||
@@ -18,7 +18,6 @@ import com.navi.medici.androidCustomerApp.R
|
||||
import com.navi.medici.androidCustomerApp.adapters.LoanDetailsTabAdapter
|
||||
import com.navi.medici.androidCustomerApp.databinding.OfferAcceptFragmentBinding
|
||||
import com.navi.medici.androidCustomerApp.preferences.PreferenceManager
|
||||
import com.navi.medici.androidCustomerApp.preferences.PreferenceNames
|
||||
import com.navi.medici.androidCustomerApp.ui.activities.BottomNavigationActivity
|
||||
import com.navi.medici.androidCustomerApp.viewModels.OfferAcceptViewModel
|
||||
|
||||
@@ -62,7 +61,7 @@ class OfferAcceptFragment : Fragment() {
|
||||
if (binding.checkbox.isChecked) {
|
||||
viewModel.onSubmitOfferAccept(PreferenceManager.getPersonId(activity))
|
||||
} else {
|
||||
var errorMessage = Toast.makeText(
|
||||
val errorMessage = Toast.makeText(
|
||||
activity,
|
||||
getString(R.string.accept_loan_details_and_emi),
|
||||
Toast.LENGTH_SHORT
|
||||
@@ -86,7 +85,7 @@ class OfferAcceptFragment : Fragment() {
|
||||
startActivity(intent)
|
||||
}
|
||||
|
||||
fun animateLoanApproval() {
|
||||
private fun animateLoanApproval() {
|
||||
binding.fireworkImage11.startAnimation(buildAnimation(200))
|
||||
binding.fireworkImage12.startAnimation(buildAnimation(400))
|
||||
binding.fireworkImage13.startAnimation(buildAnimation(600))
|
||||
@@ -96,12 +95,10 @@ class OfferAcceptFragment : Fragment() {
|
||||
binding.fireworkImage23.startAnimation(buildAnimation(600))
|
||||
}
|
||||
|
||||
fun buildAnimation(startOffet: Long): Animation {
|
||||
val aniSlide =
|
||||
AnimationUtils.loadAnimation(context, R.anim.zoom_in)
|
||||
aniSlide.startOffset = startOffet
|
||||
aniSlide.duration = 2000
|
||||
return aniSlide
|
||||
private fun buildAnimation(startOffset: Long): Animation {
|
||||
return AnimationUtils.loadAnimation(context, R.anim.zoom_in).apply {
|
||||
this.startOffset = startOffset
|
||||
}
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/linear_interpolator">
|
||||
<scale
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="1000"
|
||||
android:fromXScale="0.2"
|
||||
android:fromYScale="0.2"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:repeatCount="infinite"
|
||||
android:repeatMode="reverse"
|
||||
android:toXScale="1"
|
||||
android:toYScale="1" >
|
||||
</scale>
|
||||
android:toYScale="1" />
|
||||
</set>
|
||||
@@ -3,250 +3,221 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
android:layout_margin="10sp"
|
||||
android:gravity="center"
|
||||
tools:context="com.navi.medici.androidCustomerApp.loan_application.OfferAcceptActivity">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/scrollview_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="100dp">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10sp"
|
||||
android:gravity="center">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/firework_layout1"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="40dp"
|
||||
app:layout_constraintRight_toLeftOf="@+id/tick_mark_image"
|
||||
android:layout_marginRight="20dp"
|
||||
app:layout_constraintTop_toTopOf="parent" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image1_1"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:src="@drawable/firework" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image1_2"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_toRightOf="@id/firework_image1_1"
|
||||
android:src="@drawable/firework" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image1_3"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_below="@id/firework_image1_1"
|
||||
android:src="@drawable/firework"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/tick_mark_image"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="120dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:src="@drawable/tick_mark"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/firework_layout2"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="40dp"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tick_mark_image"
|
||||
android:layout_marginLeft="20dp"
|
||||
app:layout_constraintTop_toTopOf="parent" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image2_1"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_toRightOf="@id/firework_image2_2"
|
||||
android:src="@drawable/firework" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image2_2"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:src="@drawable/firework" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image2_3"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_below="@id/firework_image2_1"
|
||||
android:layout_toRightOf="@id/firework_image2_2"
|
||||
android:src="@drawable/firework"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/congratulations_label_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="Congratulations"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toTopOf="@+id/loan_approved_label_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.498"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tick_mark_image"
|
||||
app:layout_constraintVertical_bias="0.592" />
|
||||
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/loan_approved_label_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="Your loan got approved"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.498"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/congratulations_label_text" />
|
||||
|
||||
|
||||
|
||||
<androidx.cardview.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/loan_details_card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:elevation="10dp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="1.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/loan_approved_label_text"
|
||||
card_view:cardCornerRadius="4dp"
|
||||
tools:layout_editor_absoluteX="1dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/relativeLayout1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tab_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#ffffff"></com.google.android.material.tabs.TabLayout>
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/offer_accept_viewpager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_below="@+id/tab_layout"
|
||||
tools:layout_editor_absoluteX="8dp" />
|
||||
</RelativeLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="5dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.3"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/loan_details_card"
|
||||
app:layout_constraintVertical_bias="0.103">
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Invite friends to vouch for you to get discount" />
|
||||
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="#494968"
|
||||
android:text="Invite"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/checkbox_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:clickable="true"
|
||||
app:layout_constraintBottom_toTopOf="@id/accept_offer_btn"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10sp"
|
||||
android:text="I accept that I have seen the loan details and EMI schedule" />
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/accept_offer_btn"
|
||||
<RelativeLayout
|
||||
android:id="@+id/firework_layout1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorRed"
|
||||
android:paddingLeft="30dp"
|
||||
android:paddingRight="30dp"
|
||||
android:text="Accept and Proceed"
|
||||
android:textAllCaps="false"
|
||||
android:layout_margin="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="1dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tick_mark_image"
|
||||
app:layout_constraintEnd_toStartOf="@+id/tick_mark_image"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/tick_mark_image">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image1_1"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:src="@drawable/firework" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image1_2"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_toEndOf="@id/firework_image1_1"
|
||||
android:src="@drawable/firework" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image1_3"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_below="@id/firework_image1_1"
|
||||
android:layout_marginTop="5dp"
|
||||
android:src="@drawable/firework"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/tick_mark_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/tick_mark"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintEnd_toEndOf="@id/guideline_2"
|
||||
app:layout_constraintStart_toStartOf="@id/guideline_1"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/firework_layout2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="16dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tick_mark_image"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tick_mark_image"
|
||||
app:layout_constraintStart_toEndOf="@+id/tick_mark_image"
|
||||
app:layout_constraintTop_toTopOf="@+id/tick_mark_image">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image2_1"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_toEndOf="@id/firework_image2_2"
|
||||
android:src="@drawable/firework" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image2_2"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/firework" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/firework_image2_3"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_below="@id/firework_image2_1"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_toEndOf="@id/firework_image2_2"
|
||||
android:src="@drawable/firework"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/congratulations_label_text"
|
||||
style="@style/largeCustomFontStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/congratulations"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tick_mark_image" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/loan_approved_label_text"
|
||||
style="@style/paragraphCustomFontStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/your_loan_got_approved"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/congratulations_label_text" />
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/loan_details_card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:elevation="8dp"
|
||||
android:orientation="horizontal"
|
||||
app:cardCornerRadius="4dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/loan_approved_label_text">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/relativeLayout1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tab_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorWhite"
|
||||
app:tabIndicatorColor="@color/colorRed" />
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/offer_accept_viewpager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_below="@+id/tab_layout" />
|
||||
</RelativeLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/invite_friends_text"
|
||||
style="@style/paragraphCustomFontStyle"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:text="@string/invite_friends"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintEnd_toStartOf="@+id/button"
|
||||
app:layout_constraintStart_toStartOf="@+id/loan_details_card"
|
||||
app:layout_constraintTop_toBottomOf="@+id/loan_details_card" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorGray"
|
||||
android:minWidth="0dp"
|
||||
android:minHeight="0dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:text="@string/invite"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/invite_friends_text"
|
||||
app:layout_constraintEnd_toEndOf="@+id/loan_details_card"
|
||||
app:layout_constraintTop_toTopOf="@+id/invite_friends_text" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/i_accept_text"
|
||||
android:textColor="@color/colorGray"
|
||||
app:layout_constraintBottom_toTopOf="@+id/accept_offer_btn"
|
||||
app:layout_constraintEnd_toEndOf="@+id/loan_details_card"
|
||||
app:layout_constraintStart_toStartOf="@+id/loan_details_card" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/accept_offer_btn"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:text="@string/accept_and_proceed"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="16sp"
|
||||
android:layout_margin="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/guideline_1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintGuide_percent="0.3" />
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/guideline_2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintGuide_percent="0.7" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
||||
|
||||
Reference in New Issue
Block a user