]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/account_summary_row.xml
use a fixed app background, helps the fading gradient
[mobile-ledger.git] / app / src / main / res / layout / account_summary_row.xml
index e97640305c9af3556ea89a600b95cb3d9a584814..addf2a2a169a14beff63de29a96160e53fd6ab37 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
     <FrameLayout
         android:id="@+id/account_row_amounts_expander_container"
         android:layout_width="0dp"
-        android:layout_height="12sp"
+        android:layout_height="18sp"
         app:layout_constraintStart_toStartOf="@id/account_row_acc_amounts"
         app:layout_constraintEnd_toEndOf="@id/account_row_acc_amounts"
         app:layout_constraintBottom_toBottomOf="@id/account_row_acc_amounts"
         android:background="@drawable/fade_down_white">
 
         <!--<ImageView-->
-            <!--android:layout_gravity="center_vertical|end"-->
-            <!--android:id="@+id/account_row_amounts_expander"-->
-            <!--android:layout_width="20dp"-->
-            <!--android:layout_height="20dp"-->
-            <!--android:background="@drawable/ic_expand_more_black_24dp" />-->
+        <!--android:layout_gravity="center_vertical|end"-->
+        <!--android:id="@+id/account_row_amounts_expander"-->
+        <!--android:layout_width="20dp"-->
+        <!--android:layout_height="20dp"-->
+        <!--android:background="@drawable/ic_expand_more_black_24dp" />-->
 
     </FrameLayout>