Add @ and # helper buttons to compose activity (#1277)

Addresses #810
This commit is contained in:
Levi Bard 2019-06-24 10:33:05 +02:00 committed by Konrad Pozniak
commit ffb6c9a7a7
3 changed files with 54 additions and 1 deletions

View file

@ -21,6 +21,32 @@
android:padding="8dp"
tools:ignore="ContentDescription" />
<!--content description will be set in code -->
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/atButton"
style="?attr/image_button_style"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="end"
android:padding="8dp"
android:text="@string/at_symbol"
android:textStyle="bold"
android:textColor="?android:textColorTertiary"
android:textSize="?attr/status_text_large"
/>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/hashButton"
style="?attr/image_button_style"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="end"
android:padding="8dp"
android:text="@string/hash_symbol"
android:textStyle="bold"
android:textColor="?android:textColorTertiary"
android:textSize="?attr/status_text_large"
/>
</androidx.appcompat.widget.Toolbar>
<androidx.core.widget.NestedScrollView