]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/res/layout/account_summary_row.xml
remove long unused items from account list
[mobile-ledger-staging.git] / app / src / main / res / layout / account_summary_row.xml
index 2ff3b4e6621b25d77d28f4c92f1e1fcf41f67ec3..0dc4816e3c94cdbfc57fd7f7881dcd13a775f394 100644 (file)
     xmlns:tools="http://schemas.android.com/tools"
     android:id="@+id/account_summary_row"
     android:layout_width="match_parent"
+    android:longClickable="true"
     android:layout_height="wrap_content">
 
-    <CheckBox
-        android:id="@+id/account_row_check"
-        android:layout_width="wrap_content"
-        android:layout_height="match_parent"
-        android:button="@drawable/checkbox_star_black"
-        android:onClick="onAccountSummaryRowViewClicked"
-        app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintStart_toStartOf="parent"
-        app:layout_constraintTop_toTopOf="parent" />
-
     <TextView
         android:id="@+id/account_row_acc_name"
         style="@style/account_summary_account_name"
         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_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toTopOf="parent"
         tools:ignore="HardcodedText" />
 
@@ -66,7 +59,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
         android:layout_marginEnd="8dp"
         android:layout_weight="0"
         android:gravity="center_vertical"
+        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"
         tools:ignore="HardcodedText" />
 
+    <FrameLayout
+        android:id="@+id/account_row_amounts_expander_container"
+        android:layout_width="0dp"
+        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">
+
+    </FrameLayout>
+
     <View
         android:id="@+id/account_summary_trailer"
         android:layout_width="match_parent"