mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Improve QR code error text styling to match app design
- Add proper margins (20dp start/end) for better spacing - Center the text alignment for better visual balance - Use full width (0dp) with constraints for consistent layout - Match the styling patterns used elsewhere in the app - Improves readability and visual consistency when QR code is too large
This commit is contained in:
@@ -39,15 +39,18 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/text_qr"
|
android:id="@+id/text_qr"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/scan_to_import"
|
android:text="@string/scan_to_import"
|
||||||
android:fontFamily="@font/inter_light"
|
android:fontFamily="@font/inter_light"
|
||||||
android:textSize="32dp"
|
android:textSize="32dp"
|
||||||
|
android:textAlignment="center"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
|
android:layout_marginStart="20dp"
|
||||||
|
android:layout_marginEnd="20dp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/image_qr"
|
app:layout_constraintTop_toBottomOf="@id/image_qr"
|
||||||
app:layout_constraintLeft_toLeftOf="@id/image_qr"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="@id/image_qr" />
|
app:layout_constraintRight_toRightOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/text_qr_hint"
|
android:id="@+id/text_qr_hint"
|
||||||
|
|||||||
Reference in New Issue
Block a user