tweak alt button

This commit is contained in:
sk 2023-01-21 02:35:46 +01:00 committed by LucasGGamerM
parent b63c0010a9
commit b36b1b2a28
2 changed files with 8 additions and 7 deletions

View File

@ -17,22 +17,21 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="start|bottom" android:layout_gravity="start|bottom"
android:layout_marginLeft="16dp" android:layout_margin="12dp"
android:layout_marginRight="16dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:importantForAccessibility="noHideDescendants" android:importantForAccessibility="noHideDescendants"
android:background="@drawable/bg_image_alt_overlay"> android:background="@drawable/bg_image_alt_overlay">
<TextView <TextView
android:id="@+id/alt_button" android:id="@+id/alt_button"
android:layout_width="40dp" android:layout_width="wrap_content"
android:layout_height="22dp" android:layout_height="wrap_content"
android:textAppearance="@style/m3_label_large" android:textAppearance="@style/m3_label_large"
android:textColor="#FFF" android:textColor="#FFF"
android:gravity="center" android:gravity="center"
android:includeFontPadding="false" android:includeFontPadding="false"
android:text="ALT"/> android:paddingHorizontal="5dp"
android:paddingVertical="1dp"
android:text="@string/sk_alt_button"/>
<ImageButton <ImageButton
android:id="@+id/alt_text_close" android:id="@+id/alt_text_close"
@ -47,6 +46,7 @@
android:id="@+id/alt_text_scroller" android:id="@+id/alt_text_scroller"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="40dp"> android:layout_marginEnd="40dp">
<LinearLayout <LinearLayout

View File

@ -170,4 +170,5 @@
<string name="sk_icon_star">Star</string> <string name="sk_icon_star">Star</string>
<string name="sk_edit_timeline">Edit timeline</string> <string name="sk_edit_timeline">Edit timeline</string>
<string name="sk_edit_timelines">Edit timelines</string> <string name="sk_edit_timelines">Edit timelines</string>
<string name="sk_alt_button">ALT</string>
</resources> </resources>