diff --git a/onebusaway-android/src/main/res/layout/donation_view.xml b/onebusaway-android/src/main/res/layout/donation_view.xml index 815220a37..10b9fad30 100644 --- a/onebusaway-android/src/main/res/layout/donation_view.xml +++ b/onebusaway-android/src/main/res/layout/donation_view.xml @@ -1,87 +1,92 @@ + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/donationView" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:layout_marginTop="62dp" + android:layout_alignParentTop="true" + android:animateLayoutChanges="true" + android:layout_alignParentEnd="true" + android:layout_width="fill_parent" + android:visibility="visible" + android:background="@color/quantum_white_100" + app:cardCornerRadius="8dp" + android:layout_height="wrap_content"> + + - - + android:id="@+id/textView2" + style="@style/TextAppearance.MaterialComponents.Headline6" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="4dp" + android:layout_marginTop="4dp" + android:layout_marginEnd="4dp" + android:layout_weight="0" + android:text="@string/donation_view_title" + app:layout_constraintEnd_toStartOf="@+id/btnDonationViewClose" + app:layout_constraintHorizontal_bias="1.0" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> - - + android:id="@+id/btnDonationViewClose" + android:layout_width="40dp" + android:layout_height="40dp" + android:layout_marginTop="4dp" + android:layout_marginEnd="4dp" + android:background="@android:color/transparent" + android:src="@drawable/ic_close" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + android:text="@string/donation_view_body" + android:layout_width="match_parent" + android:layout_margin="4dp" + android:layout_height="wrap_content" + android:id="@+id/textView3" /> + android:layout_width="match_parent" + android:layout_height="@dimen/activity_vertical_margin" /> + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content">