<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/content_account_summary_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".AccountSummary"
- tools:showIn="@layout/app_bar_latest_transactions">
+ tools:showIn="@layout/app_bar_account_summary">
<TextView
android:id="@+id/textProgress"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
+ app:layout_constraintStart_toStartOf="parent"
+ tools:ignore="HardcodedText" />
<ProgressBar
android:id="@+id/progressBar"
app:layout_constraintStart_toStartOf="parent" />
<ScrollView
+ android:id="@+id/account_root_scroller"
android:layout_width="match_parent"
- android:layout_height="325dp"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="40dp"
+ android:layout_height="match_parent"
app:layout_constraintBottom_toTopOf="@+id/textProgress"
app:layout_constraintTop_toTopOf="parent">
<LinearLayout
+ android:id="@+id/account_root"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
- <ScrollView
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/textView"
+ style="@style/account_summary_account_name"
+ 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." />
+
+ <TextView
+ android:id="@+id/textView2"
+ style="@style/account_summary_amounts"
+ android:text="123,45\n678,90" />
+ </LinearLayout>
+
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingLeft="@dimen/activity_horizontal_margin">
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
+ <TextView
+ android:id="@+id/textView3"
+ style="@style/account_summary_account_name"
+ android:text="TextView" />
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingLeft="@dimen/activity_horizontal_margin">
+ <TextView
+ android:id="@+id/textView4"
+ style="@style/account_summary_amounts"
+ android:text="123,45\n678,90" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" />
- </ScrollView>
- </LinearLayout>
- </ScrollView>
+ </LinearLayout>
</LinearLayout>
</ScrollView>