Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.

Commit 812538a

Browse files
committed
Enable editing customer details
1 parent 210b759 commit 812538a

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

app/src/main/res/layout/activity_checkout.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@
1616

1717
<include layout="@layout/content_appbar" />
1818

19+
<TextView
20+
android:id="@+id/textView2"
21+
android:layout_width="wrap_content"
22+
android:layout_height="wrap_content"
23+
android:layout_marginStart="8dp"
24+
android:layout_marginTop="8dp"
25+
android:alpha=".87"
26+
android:text="Customer details"
27+
android:textColor="@android:color/black"
28+
app:layout_constraintStart_toStartOf="parent"
29+
app:layout_constraintTop_toBottomOf="@+id/toolbar" />
30+
1931
<android.support.design.widget.TextInputLayout
2032
android:id="@+id/tilName"
2133
android:layout_width="0dp"
@@ -25,14 +37,13 @@
2537
app:layout_constraintHorizontal_bias="0.0"
2638
app:layout_constraintLeft_toLeftOf="parent"
2739
app:layout_constraintRight_toRightOf="parent"
28-
app:layout_constraintTop_toBottomOf="@+id/toolbar">
40+
app:layout_constraintTop_toBottomOf="@+id/textView2">
2941

3042
<EditText
3143
android:id="@+id/etName"
3244
android:layout_width="match_parent"
3345
android:layout_height="match_parent"
3446
android:ems="10"
35-
android:enabled="false"
3647
android:hint="@string/name"
3748
android:inputType="textPersonName"
3849
android:textSize="14sp" />
@@ -56,7 +67,6 @@
5667
android:layout_width="match_parent"
5768
android:layout_height="match_parent"
5869
android:ems="10"
59-
android:enabled="false"
6070
android:hint="@string/phone_number"
6171
android:inputType="none|phone"
6272
android:textSize="14sp" />

0 commit comments

Comments
 (0)