Center align button text (#1569)
This commit is contained in:
parent
8668d73a2d
commit
2356e622c1
|
|
@ -28,8 +28,8 @@
|
|||
style="?materialCardViewElevatedStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="16dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="16dp"
|
||||
android:minHeight="148dp"
|
||||
android:outlineAmbientShadowColor="@color/home_secondary_outline_ambient_shadow_color"
|
||||
android:outlineSpotShadowColor="@color/home_secondary_outline_spot_shadow_color"
|
||||
|
|
@ -49,10 +49,10 @@
|
|||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:paddingTop="8dp"
|
||||
android:orientation="vertical">
|
||||
android:layout_weight="1.0"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="8dp">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="?attr/textAppearanceHeadline5"
|
||||
|
|
@ -81,27 +81,31 @@
|
|||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
android:padding="8dp">
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
style="?attr/borderlessButtonStyle"
|
||||
android:id="@+id/send_logs"
|
||||
style="?attr/borderlessButtonStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:minWidth="0dp"
|
||||
android:text="@string/send_crash_info"
|
||||
android:textAlignment="center"
|
||||
android:tooltipText="@string/send_crash_info"
|
||||
app:icon="@drawable/ic_round_send_24" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
style="?attr/borderlessButtonStyle"
|
||||
android:id="@+id/report_issue"
|
||||
style="?attr/borderlessButtonStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:minWidth="0dp"
|
||||
android:text="@string/report_issue"
|
||||
android:textAlignment="center"
|
||||
android:tooltipText="@string/report_issue"
|
||||
app:icon="@drawable/ic_round_bug_report_24" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -208,7 +208,9 @@
|
|||
android:id="@+id/update_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/install" />
|
||||
android:hint="@string/install"
|
||||
android:text="@string/install"
|
||||
android:textAlignment="center" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
|
@ -325,7 +327,9 @@
|
|||
style="?borderlessButtonStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/copy" />
|
||||
android:text="@string/copy"
|
||||
android:textAlignment="center"
|
||||
android:tooltipText="@string/copy" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:text="@string/module_release_view_assets"
|
||||
android:textAlignment="center"
|
||||
android:tooltipText="@string/module_release_view_assets"
|
||||
app:icon="@drawable/ic_attach_file"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
@ -85,6 +86,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="6dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:textAlignment="center"
|
||||
android:tooltipText="@string/menu_open_in_browser"
|
||||
app:icon="@drawable/ic_open_in_browser"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
|||
Loading…
Reference in New Issue