|
|
|
|
@ -1,6 +1,5 @@ |
|
|
|
|
<?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" |
|
|
|
|
@ -17,6 +16,15 @@ |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent"> |
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar |
|
|
|
|
android:id="@+id/toolbar" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="?attr/actionBarSize" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:title="@string/feed" /> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabLayout |
|
|
|
|
android:id="@+id/tabs" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
@ -27,13 +35,13 @@ |
|
|
|
|
android:id="@+id/filterSessions" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:text="@string/sessions"/> |
|
|
|
|
android:text="@string/sessions" /> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem |
|
|
|
|
android:id="@+id/filterTransactions" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:text="@string/operations"/> |
|
|
|
|
android:text="@string/operations" /> |
|
|
|
|
|
|
|
|
|
</com.google.android.material.tabs.TabLayout> |
|
|
|
|
|
|
|
|
|
@ -47,7 +55,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" |
|
|
|
|
@ -66,7 +74,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" |
|
|
|
|
@ -80,16 +88,16 @@ |
|
|
|
|
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" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:background="@color/green_darker" |
|
|
|
|
android:elevation="8dp" |
|
|
|
|
android:orientation="vertical" |
|
|
|
|
android:padding="24dp" |
|
|
|
|
android:elevation="8dp" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent"> |
|
|
|
|
@ -102,7 +110,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" |
|
|
|
|
@ -112,7 +120,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> |
|
|
|
|
|
|
|
|
|
|