mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-03 07:01:05 +01:00
Update new story text to be a small button.
This commit is contained in:
committed by
Cody Henthorne
parent
c47a724654
commit
07d9e29e7c
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:viewBindingIgnore="true"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="48dp"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="horizontal"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/section_header"
|
||||
@@ -20,20 +20,18 @@
|
||||
android:textAppearance="@style/Signal.Text.TitleSmall"
|
||||
tools:text="Section Header" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/section_header_action"
|
||||
style="@style/Widget.Signal.Button.Small"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?selectableItemBackground"
|
||||
android:drawablePadding="4dp"
|
||||
android:paddingStart="@dimen/dsl_settings_gutter"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingEnd="@dimen/dsl_settings_gutter"
|
||||
android:paddingBottom="12dp"
|
||||
android:textAppearance="@style/Signal.Text.TitleSmall"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="@dimen/dsl_settings_gutter"
|
||||
android:layout_marginEnd="@dimen/dsl_settings_gutter"
|
||||
android:visibility="gone"
|
||||
app:drawableStartCompat="@drawable/ic_plus_20"
|
||||
app:drawableTint="@color/signal_inverse_primary"
|
||||
app:icon="@drawable/ic_plus_12"
|
||||
app:iconSize="12dp"
|
||||
app:materialThemeOverlay="@style/ThemeOverlay.Signal.Button.Surface2"
|
||||
tools:text="New Story"
|
||||
tools:visibility="visible" />
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user