]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/account_summary_row.xml
fix handling the click on the account expander image
[mobile-ledger.git] / app / src / main / res / layout / account_summary_row.xml
index e97640305c9af3556ea89a600b95cb3d9a584814..ca88fe86eaf6a1af7e3c0405b86694963257199a 100644 (file)
@@ -44,6 +44,7 @@
         android:layout_weight="1"
         android:gravity="center_vertical"
         android:onClick="onAccountSummaryRowViewClicked"
+        android:longClickable="true"
         android:paddingStart="8dp"
         android:text="Account name, a really long one. A very very very long one. It may even spawn on more than two lines -- three, four or more."
         app:layout_constraintBottom_toBottomOf="parent"
@@ -67,7 +68,9 @@
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             android:layout_margin="8dp"
-            android:background="@drawable/ic_expand_less_black_24dp" />
+            android:background="@drawable/ic_expand_less_black_24dp"
+            android:clickable="true"
+            android:onClick="onAccountSummaryRowViewClicked" />
     </FrameLayout>
 
     <TextView