Merge branch 'shapeable-view-warnings' of git.sr.ht:~hdasch/cheogram-android

Stephen Paul Weber created

* 'shapeable-view-warnings' of git.sr.ht:~hdasch/cheogram-android:
  Resolve "Failed to inflate ..." warnings.

Change summary

src/main/res/layout/account_row.xml              | 1 +
src/main/res/layout/activity_edit_account.xml    | 1 +
src/main/res/layout/activity_manage_accounts.xml | 2 ++
src/main/res/layout/activity_muc_details.xml     | 1 +
src/main/res/layout/activity_rtp_session.xml     | 1 +
src/main/res/layout/contact.xml                  | 1 +
src/main/res/layout/conversation_list_row.xml    | 1 +
src/main/res/layout/message_received.xml         | 1 +
src/main/res/layout/message_sent.xml             | 1 +
src/main/res/layout/message_status.xml           | 1 +
src/main/res/layout/search_result_item.xml       | 1 +
11 files changed, 12 insertions(+)

Detailed changes

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

@@ -16,6 +16,7 @@
             android:layout_height="48dp"
             android:layout_alignParentLeft="true"
             android:contentDescription="@string/account_image_description"
+            app:strokeColor="@color/custom_theme_accent"
             app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
         <LinearLayout

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

@@ -45,6 +45,7 @@
                             android:layout_alignParentTop="true"
                             android:layout_marginRight="@dimen/avatar_item_distance"
                             android:contentDescription="@string/account_image_description"
+                            app:strokeColor="@color/custom_theme_accent"
                             app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
                         <LinearLayout

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

@@ -33,6 +33,7 @@
             android:layout_alignParentLeft="true"
             android:src="@drawable/ic_call_white_48dp"
             android:background="@color/yeller"
+            app:strokeColor="@color/custom_theme_accent"
             app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
         <LinearLayout
@@ -66,6 +67,7 @@
             android:layout_centerVertical="true"
             android:paddingRight="16dp"
             android:src="?attr/icon_settings"
+            app:strokeColor="@null"
             app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
     </RelativeLayout>
 

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

@@ -47,6 +47,7 @@
                                 android:layout_width="@dimen/avatar_on_details_screen_size"
                                 android:layout_height="@dimen/avatar_on_details_screen_size"
                                 android:layout_alignParentStart="true"
+                                app:strokeColor="@color/custom_theme_accent"
                                 app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo"
                                 android:layout_marginEnd="@dimen/avatar_item_distance"
                                 android:layout_alignParentLeft="true"

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

@@ -104,6 +104,7 @@
                 android:layout_width="@dimen/publish_avatar_size"
                 android:layout_height="@dimen/publish_avatar_size"
                 android:layout_centerInParent="true"
+                app:strokeColor="@color/custom_theme_accent"
                 app:shapeAppearance="@style/ShapeAppearanceOverlay.IncomingCall" />
 
         </RelativeLayout>

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

@@ -14,6 +14,7 @@
             android:layout_height="48dp"
             android:layout_alignParentLeft="true"
             android:scaleType="centerCrop"
+            app:strokeColor="@color/custom_theme_accent"
             app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
         <LinearLayout

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

@@ -25,6 +25,7 @@
                     android:layout_height="56dp"
                     android:layout_alignParentLeft="true"
                     android:scaleType="centerCrop"
+                    app:strokeColor="@color/custom_theme_accent"
                     app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
                 <RelativeLayout

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

@@ -17,6 +17,7 @@
         android:layout_alignParentLeft="true"
         android:layout_alignParentTop="true"
         android:scaleType="fitXY"
+        app:strokeColor="@color/custom_theme_accent"
         app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
     <LinearLayout

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

@@ -28,6 +28,7 @@
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
                 android:scaleType="fitXY"
+                app:strokeColor="@color/custom_theme_accent"
                 app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
             <View

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

@@ -28,6 +28,7 @@
         android:layout_marginRight="-1.5dp"
         android:padding="0dp"
         android:scaleType="fitXY"
+        app:strokeColor="@color/custom_theme_accent"
         app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
     <TextView

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

@@ -15,6 +15,7 @@
             android:layout_height="48dp"
             android:layout_alignParentLeft="true"
             android:scaleType="centerCrop"
+            app:strokeColor="@color/custom_theme_accent"
             app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
 
         <RelativeLayout