tools:context=".AccountSummary"
tools:showIn="@layout/app_bar_account_summary">
- <TextView
- android:id="@+id/textProgress"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="TextView"
- android:visibility="gone"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- tools:ignore="HardcodedText" />
-
- <ProgressBar
- android:id="@+id/progressBar"
- style="?android:attr/progressBarStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="16dp"
- android:visibility="gone"
- app:layout_constraintBottom_toTopOf="@+id/textProgress"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
-
- <ScrollView
- android:id="@+id/account_root_scroller"
+ <android.support.v4.widget.SwipeRefreshLayout
+ android:id="@+id/account_swiper"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingStart="@dimen/activity_horizontal_margin"
- android:paddingEnd="@dimen/activity_horizontal_margin"
- app:layout_constraintBottom_toTopOf="@+id/textProgress"
- app:layout_constraintTop_toTopOf="parent">
+ android:layout_height="match_parent">
- <LinearLayout
+ <android.support.v7.widget.RecyclerView
android:id="@+id/account_root"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:choiceMode="multipleChoice"
+ android:drawSelectorOnTop="true"
android:orientation="vertical">
- <TableLayout style="@style/account_summary_account_entry_table">
-
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/table_row_even_bg">
-
- <TextView
- android:id="@+id/textView"
- style="@style/account_summary_account_name"
- android:text="TextView" />
-
- <TextView
- android:id="@+id/textView2"
- style="@style/account_summary_amounts"
- android:text="123.45" />
- </TableRow>
-
- </TableLayout>
- </LinearLayout>
- </ScrollView>
-
+ </android.support.v7.widget.RecyclerView>
+ </android.support.v4.widget.SwipeRefreshLayout>
</android.support.constraint.ConstraintLayout>
\ No newline at end of file