|
@@ -18,15 +18,14 @@
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
-->
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:fab="http://schemas.android.com/apk/res-auto"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
- xmlns:fab="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:id="@+id/list_fragment_layout">
|
|
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
android:id="@+id/swipe_containing_list"
|
|
@@ -80,18 +79,20 @@
|
|
|
</ScrollView>
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
|
|
+
|
|
|
</FrameLayout>
|
|
|
+
|
|
|
<com.getbase.floatingactionbutton.FloatingActionsMenu
|
|
|
android:id="@+id/fab_main"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
+ android:layout_above="@+id/bottom_navigation_view"
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_alignParentEnd="true"
|
|
|
- fab:fab_addButtonColorNormal="@color/primary_button_background_color"
|
|
|
- fab:fab_addButtonColorPressed="@color/owncloud_blue"
|
|
|
- fab:fab_addButtonPlusIconColor="@color/white"
|
|
|
- fab:fab_labelStyle="@style/menu_labels_style"
|
|
|
+ app:fab_addButtonColorNormal="@color/primary_button_background_color"
|
|
|
+ app:fab_addButtonColorPressed="@color/owncloud_blue"
|
|
|
+ app:fab_addButtonPlusIconColor="@color/white"
|
|
|
+ app:fab_labelStyle="@style/menu_labels_style"
|
|
|
android:layout_marginBottom="@dimen/standard_margin"
|
|
|
android:layout_marginRight="@dimen/standard_margin"
|
|
|
android:layout_marginEnd="@dimen/standard_margin"
|
|
@@ -101,31 +102,45 @@
|
|
|
android:id="@+id/fab_upload"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- fab:fab_size="mini"
|
|
|
- fab:fab_icon="@drawable/ic_action_upload"
|
|
|
- fab:fab_colorNormal="@color/primary_button_background_color"
|
|
|
- fab:fab_colorPressed="@color/owncloud_blue"
|
|
|
- fab:fab_title=""/>
|
|
|
+ app:fab_size="mini"
|
|
|
+ app:fab_icon="@drawable/ic_action_upload"
|
|
|
+ app:fab_colorNormal="@color/primary_button_background_color"
|
|
|
+ app:fab_colorPressed="@color/owncloud_blue"
|
|
|
+ app:fab_title=""/>
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
|
|
android:id="@+id/fab_upload_from_app"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- fab:fab_size="mini"
|
|
|
- fab:fab_icon="@drawable/ic_import"
|
|
|
- fab:fab_colorNormal="@color/primary_button_background_color"
|
|
|
- fab:fab_colorPressed="@color/owncloud_blue"
|
|
|
- fab:fab_title=""/>
|
|
|
+ app:fab_size="mini"
|
|
|
+ app:fab_icon="@drawable/ic_import"
|
|
|
+ app:fab_colorNormal="@color/primary_button_background_color"
|
|
|
+ app:fab_colorPressed="@color/owncloud_blue"
|
|
|
+ app:fab_title=""/>
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
|
|
android:id="@+id/fab_mkdir"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- fab:fab_size="mini"
|
|
|
- fab:fab_icon="@drawable/ic_action_create_dir"
|
|
|
- fab:fab_colorNormal="@color/primary_button_background_color"
|
|
|
- fab:fab_colorPressed="@color/owncloud_blue"
|
|
|
- fab:fab_title=""/>
|
|
|
+ app:fab_size="mini"
|
|
|
+ app:fab_icon="@drawable/ic_action_create_dir"
|
|
|
+ app:fab_colorNormal="@color/primary_button_background_color"
|
|
|
+ app:fab_colorPressed="@color/owncloud_blue"
|
|
|
+ app:fab_title=""/>
|
|
|
|
|
|
</com.getbase.floatingactionbutton.FloatingActionsMenu>
|
|
|
+
|
|
|
+ <android.support.design.widget.BottomNavigationView
|
|
|
+ android:id="@+id/bottom_navigation_view"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ app:itemBackground="@color/primary_button_background_color"
|
|
|
+ app:itemIconTint="@color/primary_button_text_color"
|
|
|
+ app:itemTextColor="@color/primary_button_text_color"
|
|
|
+ app:menu="@menu/navigation_bar_menu"/>
|
|
|
+
|
|
|
+
|
|
|
</RelativeLayout>
|