Rounder buttons

Stephen Paul Weber created

Change summary

src/cheogram/res/drawable/pill.xml         | 1 +
src/cheogram/res/layout/command_button.xml | 6 +++++-
src/main/res/layout/message_content.xml    | 4 ++++
3 files changed, 10 insertions(+), 1 deletion(-)

Detailed changes

src/cheogram/res/drawable/pill.xml 🔗

@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
 	<corners android:radius="50dp" />
+	<solid android:color="?color_background_tertiary" />
 </shape>

src/cheogram/res/layout/command_button.xml 🔗

@@ -4,5 +4,9 @@
     android:id="@+id/command"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
-    style="?android:attr/buttonStyleSmall" />
+    style="?android:attr/buttonStyleSmall"
+    android:background="@drawable/pill"
+    android:paddingLeft="10dp"
+    android:paddingRight="10dp"
+    />
 </layout>

src/main/res/layout/message_content.xml 🔗

@@ -4,6 +4,10 @@
     <Button
         android:id="@+id/download_button"
         style="?android:attr/buttonStyleSmall"
+        android:background="@drawable/pill"
+        android:paddingLeft="10dp"
+        android:paddingRight="10dp"
+        android:layout_marginBottom="5dp"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:longClickable="true"