Center text vertically below QR code and fix Please Pay string.
This commit is contained in:
parent
4beec4e66a
commit
e3bea9f475
3 changed files with 33 additions and 22 deletions
|
@ -13,6 +13,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:elevation="4dp"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark" />
|
||||
|
||||
<fragment
|
||||
|
|
|
@ -89,12 +89,20 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_marginTop="@dimen/spacing_different_topic"
|
||||
android:layout_marginBottom="@dimen/spacing_different_topic"
|
||||
android:background="@drawable/camera_view_background"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintTop_toBottomOf="@id/tilAsset"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvPleasePay"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tilAsset"
|
||||
app:layout_constraintBottom_toTopOf="@+id/llText"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/ivQR">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvPleasePay"
|
||||
|
@ -116,4 +124,6 @@
|
|||
android:textAlignment="center"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -54,7 +54,7 @@
|
|||
<string name="text__memo">Memo</string>
|
||||
<string name="text__scan_qr">Scan QR</string>
|
||||
<string name="text__asset">Asset</string>
|
||||
<string name="template__please_pay">Please pay: %1$s %2$s</string>
|
||||
<string name="template__please_pay">Please Pay: %1$s %2$s</string>
|
||||
<string name="template__to">To: %1$s</string>
|
||||
|
||||
<!-- Settings -->
|
||||
|
|
Loading…
Reference in a new issue