|
|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
<androidx.constraintlayout.widget.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/container" |
|
|
|
|
@ -16,45 +17,25 @@ |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent"> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
<com.google.android.material.tabs.TabLayout |
|
|
|
|
android:id="@+id/tabs" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="center" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
android:padding="8dp"> |
|
|
|
|
app:tabMode="fixed"> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.ChipGroup |
|
|
|
|
android:id="@+id/filters" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
app:chipSpacing="8dp" |
|
|
|
|
app:singleSelection="true"> |
|
|
|
|
|
|
|
|
|
<!-- |
|
|
|
|
<com.google.android.material.chip.Chip |
|
|
|
|
android:id="@+id/filterAll" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:checked="true" |
|
|
|
|
android:text="@string/all" /> |
|
|
|
|
--> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip |
|
|
|
|
<com.google.android.material.tabs.TabItem |
|
|
|
|
android:id="@+id/filterSessions" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:checked="true" |
|
|
|
|
android:text="@string/sessions" /> |
|
|
|
|
android:text="@string/sessions"/> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip |
|
|
|
|
<com.google.android.material.tabs.TabItem |
|
|
|
|
android:id="@+id/filterTransactions" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:text="@string/operations" /> |
|
|
|
|
|
|
|
|
|
</com.google.android.material.chip.ChipGroup> |
|
|
|
|
android:text="@string/operations"/> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
</com.google.android.material.tabs.TabLayout> |
|
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout> |
|
|
|
|
|
|
|
|
|
@ -66,7 +47,7 @@ |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/appBar" |
|
|
|
|
tools:listitem="@layout/row_feed_session" /> |
|
|
|
|
tools:listitem="@layout/row_feed_session"/> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView |
|
|
|
|
android:id="@+id/noSessionFound" |
|
|
|
|
@ -85,7 +66,7 @@ |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintVertical_bias="0.5" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
tools:visibility="visible"/> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton |
|
|
|
|
android:id="@+id/addButton" |
|
|
|
|
@ -99,7 +80,7 @@ |
|
|
|
|
android:transitionName="floating_action_button" |
|
|
|
|
app:fabSize="normal" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" /> |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"/> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat |
|
|
|
|
android:id="@+id/disclaimerContainer" |
|
|
|
|
@ -121,7 +102,7 @@ |
|
|
|
|
android:layout_marginBottom="8dp" |
|
|
|
|
android:text="@string/disclaimer" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
tools:visibility="visible"/> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton |
|
|
|
|
android:id="@+id/disclaimerDismiss" |
|
|
|
|
@ -131,7 +112,7 @@ |
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/iunderstand" /> |
|
|
|
|
android:text="@string/iunderstand"/> |
|
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat> |
|
|
|
|
|
|
|
|
|
|