diff --git a/app/src/main/res/layout-sw320dp/fragment_calendar.xml b/app/src/main/res/layout-sw320dp/fragment_calendar.xml index 7bb22310..e5673d6d 100644 --- a/app/src/main/res/layout-sw320dp/fragment_calendar.xml +++ b/app/src/main/res/layout-sw320dp/fragment_calendar.xml @@ -13,6 +13,15 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> + + + + - - + app:layout_constraintTop_toTopOf="parent" /> + + - + + + + app:layout_constraintTop_toTopOf="parent" + app:title="@string/feed" /> + android:id="@+id/tabs" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:tabMode="fixed"> + android:id="@+id/filterSessions" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/sessions" /> + android:id="@+id/filterTransactions" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/operations" /> + android:id="@+id/recyclerView" + android:layout_width="0dp" + android:layout_height="0dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/appBar" + tools:listitem="@layout/row_feed_session" /> + android:id="@+id/noSessionFound" + style="@style/PokerAnalyticsTheme.TextView.Header" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" + android:layout_marginEnd="8dp" + android:layout_marginBottom="8dp" + android:text="@string/no_sessions" + android:textSize="24sp" + android:visibility="gone" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.5" + tools:visibility="visible" /> + android:id="@+id/addButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|end" + android:layout_marginEnd="16dp" + android:layout_marginBottom="16dp" + android:src="@drawable/ic_add" + android:tint="@color/black" + android:transitionName="floating_action_button" + app:fabSize="normal" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" /> + 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" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent"> + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:layout_marginEnd="8dp" + android:layout_marginBottom="8dp" + android:text="@string/disclaimer" + android:textSize="18sp" + tools:visibility="visible" /> + android:id="@+id/disclaimerDismiss" + style="@style/PokerAnalyticsTheme.Button" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" + android:layout_marginEnd="16dp" + android:text="@string/iunderstand" /> diff --git a/app/src/main/res/layout/fragment_more.xml b/app/src/main/res/layout/fragment_more.xml index aaa1d704..aecbe709 100644 --- a/app/src/main/res/layout/fragment_more.xml +++ b/app/src/main/res/layout/fragment_more.xml @@ -1,18 +1,37 @@ - + - + + + app:layout_constraintTop_toTopOf="parent" + app:title="@string/more" /> + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_reports.xml b/app/src/main/res/layout/fragment_reports.xml index 461dce4c..f7a184d4 100644 --- a/app/src/main/res/layout/fragment_reports.xml +++ b/app/src/main/res/layout/fragment_reports.xml @@ -1,19 +1,37 @@ - + - + + + app:layout_constraintTop_toTopOf="parent" + app:title="@string/reports" /> + + + + - + + + + + + + - - - - - - - - - + app:layout_constraintTop_toBottomOf="@+id/appBar" /> \ No newline at end of file