- Fix crash when fields in the Record activity are field with unexpected infos - Fix soft buttons being overlapped by some activities - Fix NaN bug displayed in the drawer when hiding balance while having 0$ - Fix activities action bar not being displayed properly
117 lines
4.9 KiB
XML
117 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.design.widget.CoordinatorLayout 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/coordinatorLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="com.herbron.moodl.Activities.HomeActivity">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:id="@+id/app_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/app_bar_height"
|
|
android:theme="@style/AppTheme.AppBarOverlay"
|
|
android:background="@drawable/gradient_background">
|
|
|
|
<android.support.design.widget.CollapsingToolbarLayout
|
|
android:id="@+id/toolbar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed"
|
|
app:toolbarId="@+id/toolbar"
|
|
app:collapsedTitleGravity="center"
|
|
app:expandedTitleGravity="center"
|
|
app:titleEnabled="true">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_collapseMode="pin"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay"
|
|
android:layout_marginStart="-30dp"
|
|
android:layout_marginRight="-30dp">
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
<TextView
|
|
android:id="@+id/toolbarSubtitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center|bottom"
|
|
android:layout_marginBottom="20dp"
|
|
android:gravity="center"
|
|
android:textSize="20sp"
|
|
app:layout_collapseMode="parallax"/>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_collapseMode="pin"
|
|
android:layout_margin="10dp">
|
|
|
|
<ImageButton
|
|
android:id="@+id/drawer_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/action_settings"
|
|
android:background="@drawable/ic_drawer_white_24dp"
|
|
android:visibility="visible"
|
|
android:layout_gravity="start|center_vertical"
|
|
android:contentDescription="@string/drawer"/>
|
|
|
|
</FrameLayout>
|
|
|
|
</android.support.design.widget.CollapsingToolbarLayout>
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@+id/swiperefreshsummary"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
android:background="@color/summary_background">
|
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
android:id="@+id/nestedScrollViewLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginTop="10dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/currencyListLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonAddTransaction"
|
|
android:text="@string/add_transaction"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/button_dashed_background"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:textColor="@color/separationColor"
|
|
style="@style/Widget.AppCompat.Button.Borderless"/>
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="10dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |