]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/content_account_summary.xml
30a1d60f23b0b0c5d532c7ae040b9a9adbd065aa
[mobile-ledger.git] / app / src / main / res / layout / content_account_summary.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto"
4     xmlns:tools="http://schemas.android.com/tools"
5     android:id="@+id/content_account_summary_layout"
6     android:layout_width="match_parent"
7     android:layout_height="match_parent"
8     app:layout_behavior="@string/appbar_scrolling_view_behavior"
9     tools:context=".AccountSummary"
10     tools:showIn="@layout/app_bar_account_summary">
11
12     <TextView
13         android:id="@+id/textProgress"
14         android:layout_width="wrap_content"
15         android:layout_height="wrap_content"
16         android:text="TextView"
17         android:visibility="gone"
18         app:layout_constraintBottom_toBottomOf="parent"
19         app:layout_constraintEnd_toEndOf="parent"
20         app:layout_constraintStart_toStartOf="parent"
21         tools:ignore="HardcodedText" />
22
23     <ProgressBar
24         android:id="@+id/progressBar"
25         style="?android:attr/progressBarStyle"
26         android:layout_width="wrap_content"
27         android:layout_height="wrap_content"
28         android:layout_marginStart="8dp"
29         android:layout_marginEnd="8dp"
30         android:layout_marginBottom="16dp"
31         android:visibility="gone"
32         app:layout_constraintBottom_toTopOf="@+id/textProgress"
33         app:layout_constraintEnd_toEndOf="parent"
34         app:layout_constraintStart_toStartOf="parent" />
35
36     <ScrollView
37         android:id="@+id/account_root_scroller"
38         android:layout_width="match_parent"
39         android:layout_height="match_parent"
40         app:layout_constraintBottom_toTopOf="@+id/textProgress"
41         app:layout_constraintTop_toTopOf="parent">
42
43         <LinearLayout
44             android:id="@+id/account_root"
45             android:layout_width="match_parent"
46             android:layout_height="wrap_content"
47             android:orientation="vertical">
48
49             <TableLayout style="@style/account_summary_account_entry_table">
50
51                 <TableRow
52                     android:layout_width="match_parent"
53                     android:layout_height="match_parent"
54                     android:background="@color/table_row_even_bg"
55                     android:gravity="center"
56                     android:paddingStart="@dimen/activity_horizontal_margin"
57                     android:paddingEnd="@dimen/activity_horizontal_margin">
58
59                     <TextView
60                         android:id="@+id/textView"
61                         style="@style/account_summary_account_name"
62                         android:text="TextView" />
63
64                     <TextView
65                         android:id="@+id/textView2"
66                         style="@style/account_summary_amounts"
67                         android:text="123,45\n678,90" />
68                 </TableRow>
69
70             </TableLayout>
71         </LinearLayout>
72     </ScrollView>
73
74 </android.support.constraint.ConstraintLayout>