-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
138 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,145 +1,153 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="8dp" | ||
android:text="@string/summary" | ||
android:textAppearance="?android:attr/textAppearanceLarge" /> | ||
|
||
<TextView | ||
android:id="@+id/no_expenses" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:visibility="gone" | ||
android:text="@string/no_expenses" | ||
android:textAppearance="?android:attr/textAppearanceMedium" | ||
android:layout_marginLeft="16dp" | ||
android:layout_marginRight="16dp" | ||
android:layout_marginTop="8dp" /> | ||
|
||
<TableLayout | ||
android:id="@+id/summary_table" | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="16dp" | ||
android:layout_marginRight="16dp" | ||
android:layout_marginTop="8dp" > | ||
|
||
<TableRow | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/first_date" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/first_date" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
|
||
<TableRow | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/last_date" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/last_date" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
|
||
<TableRow | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/duration" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/duration" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="8dp" | ||
android:text="@string/summary" | ||
android:textAppearance="?android:attr/textAppearanceLarge" /> | ||
|
||
<TableRow | ||
<TextView | ||
android:id="@+id/no_expenses" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="16dp" | ||
android:layout_marginRight="16dp" | ||
android:layout_marginTop="8dp" | ||
android:text="@string/no_expenses" | ||
android:textAppearance="?android:attr/textAppearanceMedium" | ||
android:visibility="gone" /> | ||
|
||
<TableLayout | ||
android:id="@+id/summary_table" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/num_expenses" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/num_expenses" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="16dp" | ||
android:layout_marginRight="16dp" | ||
android:layout_marginTop="8dp" > | ||
|
||
<TableRow | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/first_date" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/first_date" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
|
||
<TableRow | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/last_date" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/last_date" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
|
||
<TableRow | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/duration" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/duration" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
|
||
<TableRow | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/num_expenses" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/num_expenses" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
|
||
<TableRow | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
|
||
<TableRow | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/total_amount" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
|
||
<TextView | ||
android:id="@+id/total_amount" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
</TableLayout> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/total_amount" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="16dp" | ||
android:text="@string/expenses_consumption" | ||
android:textAppearance="?android:attr/textAppearanceLarge" /> | ||
|
||
<TextView | ||
android:id="@+id/total_amount" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:gravity="right" | ||
android:textAppearance="?android:attr/textAppearanceMedium" /> | ||
</TableRow> | ||
</TableLayout> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="16dp" | ||
android:text="@string/expenses_consumption" | ||
android:textAppearance="?android:attr/textAppearanceLarge" /> | ||
<TableLayout | ||
android:id="@+id/results_table" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="16dp" | ||
android:layout_marginRight="16dp" | ||
android:layout_marginTop="8dp" > | ||
</TableLayout> | ||
|
||
<TableLayout | ||
android:id="@+id/results_table" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="16dp" | ||
android:layout_marginRight="16dp" | ||
android:layout_marginTop="8dp" > | ||
</TableLayout> | ||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
</ScrollView> |