Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:card_view="http://schemas.android.com/apk/res-auto"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.v7.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- card_view:cardCornerRadius="3dp"
- card_view:contentPadding="20dp"
- card_view:cardElevation="7dp"
- card_view:cardMaxElevation="10dp"
- android:layout_margin="10dp">
- <android.support.constraint.ConstraintLayout
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.constraint.Guideline
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:orientation="horizontal"
- app:layout_constraintGuide_percent="0.86"
- android:id="@+id/top_from_lang_guideline" />
- <TextView
- android:id="@+id/name_label"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:scaleType="centerCrop"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintVertical_chainStyle="packed"
- android:text="@string/offer_full_name"
- android:textSize="@dimen/labels_text_size"/>
- <RadioGroup
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/name_label"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- android:id="@+id/radio_group"
- android:layout_marginTop="10dp">
- <RadioButton
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:checked="true"
- android:text="Someone Else"/>
- <RadioButton
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Use another Name for this order"/>
- </RadioGroup>
- <EditText
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/radio_group"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- android:id="@+id/name_input"/>
- <!--<TextView-->
- <!--android:id="@+id/supporting_text"-->
- <!--android:layout_width="0dp"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginTop="16dp"-->
- <!--android:layout_marginStart="16dp"-->
- <!--android:layout_marginEnd="16dp"-->
- <!--android:layout_marginBottom="16dp"-->
- <!--android:textAppearance="@style/TextAppearance.AppCompat.Body1"-->
- <!--android:textColor="#DE000000"-->
- <!--android:lineSpacingExtra="8dp"-->
- <!--app:layout_constraintTop_toBottomOf="@+id/media_image"-->
- <!--app:layout_constraintStart_toStartOf="parent"-->
- <!--app:layout_constraintEnd_toEndOf="parent"-->
- <!--app:layout_constraintBottom_toBottomOf="parent"/>-->
- </android.support.constraint.ConstraintLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- card_view:cardCornerRadius="3dp"
- card_view:contentPadding="20dp"
- card_view:cardElevation="7dp"
- card_view:cardMaxElevation="10dp"
- android:layout_margin="10dp">
- <android.support.constraint.ConstraintLayout
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/from_lang_label"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:scaleType="centerCrop"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintVertical_chainStyle="packed"
- android:text="@string/offer_language_from"
- android:textSize="@dimen/labels_text_size"/>
- </android.support.constraint.ConstraintLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement