]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/res/layout/account_summary_row.xml
more material styles
[mobile-ledger-staging.git] / app / src / main / res / layout / account_summary_row.xml
index e97640305c9af3556ea89a600b95cb3d9a584814..08d18b98556003b6ff1be9b7c082d0e7754ab7b0 100644 (file)
         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."
+        android:textAppearance="@android:style/TextAppearance.Material.Medium"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintStart_toEndOf="@id/account_row_check"
         app:layout_constraintTop_toTopOf="parent"
@@ -67,7 +69,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
@@ -90,6 +94,7 @@
         android:minWidth="@dimen/thumb_row_height"
         android:onClick="onAccountSummaryRowViewClicked"
         android:text="123,45\n678,90"
+        android:textAppearance="@style/TextAppearance.AppCompat.Medium"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintTop_toTopOf="parent"
     <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>