Created
September 27, 2017 17:31
-
-
Save flasher297/652aed22615f8b782dd067083b5b284c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout | |
| 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/fragment_qvikoffer_list_layout_root" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="@drawable/bg_base" | |
| android:orientation="vertical"> | |
| <include | |
| layout="@layout/widget_static_toolbar" | |
| android:layout_width="match_parent" | |
| android:layout_weight = "0" | |
| android:layout_height="?attr/actionBarSize" | |
| android:background="?attr/colorPrimary" | |
| android:minHeight="?attr/actionBarSize" /> | |
| <android.support.design.widget.CoordinatorLayout | |
| android:layout_weight = "1" | |
| android:id="@+id/fragment_qvikoffer_coordinator_layout" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <android.support.design.widget.AppBarLayout | |
| android:id="@+id/app_bar" | |
| android:stateListAnimator="@animator/appbar_always_elevated" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:background="@color/light_color" | |
| android:theme="@style/AppTheme.AppBarOverlay"> | |
| <LinearLayout | |
| app:layout_behavior="dk.q8.mobileapp.ui.FlingBehavior" | |
| app:layout_scrollFlags="scroll|exitUntilCollapsed|snap" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:orientation="vertical"> | |
| <dk.q8.mobileapp.core.ui.widgets.font.CustomFontTextView | |
| android:id="@+id/fragment_qvikOffer_list_text_top" | |
| style="@style/Collapsable.Header.Title.Dark.TextView" | |
| android:textSize="30sp" | |
| android:layout_marginTop="@dimen/padding_extra_huge" | |
| android:layout_marginBottom="@dimen/padding_extra_large" | |
| android:textStyle="bold" | |
| tools:text="Dine QvikOffer" /> | |
| <dk.q8.mobileapp.core.ui.widgets.font.CustomFontButton | |
| android:id="@+id/fragment_qvikOffer_list_header_button" | |
| style="@style/Widget.AppTheme.PrimaryButton" | |
| android:minWidth="200dp" | |
| android:layout_gravity="center" | |
| android:layout_width="wrap_content" | |
| android:textStyle="bold" | |
| android:layout_marginTop="0dp" | |
| android:layout_marginBottom="@dimen/padding_extra_medium" | |
| tools:text="btn" /> | |
| </LinearLayout> | |
| </android.support.design.widget.AppBarLayout> | |
| <FrameLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:layout_centerHorizontal="true" | |
| android:layout_centerVertical="true" | |
| app:layout_behavior="@string/appbar_scrolling_view_behavior"> | |
| <android.support.v4.widget.SwipeRefreshLayout | |
| android:id="@+id/fragment_qvikoffer_swipe_refresh_layout" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| app:layout_behavior="@string/appbar_scrolling_view_behavior" | |
| > | |
| <!--TODO base style for recycler--> | |
| <android.support.v7.widget.RecyclerView | |
| android:id="@+id/fragment_qvikoffer_recycler_list_qvikoffers" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="@drawable/bg_base" | |
| android:clipToPadding="false" | |
| android:paddingBottom="@dimen/padding_extra_medium" | |
| android:paddingLeft="@dimen/padding_large" | |
| android:paddingRight="@dimen/padding_large" | |
| android:paddingTop="@dimen/padding_extra_medium" | |
| android:scrollbarStyle="outsideOverlay" | |
| android:scrollbars="vertical" /> | |
| </android.support.v4.widget.SwipeRefreshLayout> | |
| <include | |
| android:layout_gravity="center" | |
| android:layout_marginBottom="100dp" | |
| android:gravity="center" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| tools:visibility="gone" | |
| layout="@layout/include_empty_list_error"/> | |
| <include | |
| android:layout_gravity="top" | |
| android:gravity="center" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_margin="@dimen/padding_extra_medium" | |
| android:visibility="gone" | |
| layout="@layout/include_empty_qvikoffer_list"/> | |
| <include layout="@layout/layout_shadow_container"/> | |
| <FrameLayout | |
| android:id="@+id/fragment_qvikOffer_list_blocking_loader" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="#8000" | |
| android:clickable="true" | |
| android:visibility="gone"> | |
| <ProgressBar | |
| android:id="@+id/fragment_qvikOffer_list_blocking_progress_bar" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_gravity="center" /> | |
| </FrameLayout> | |
| </FrameLayout> | |
| <!--<android.support.design.widget.FloatingActionButton--> | |
| <!--android:id="@+id/fragment_qvikoffer_list_fab"--> | |
| <!--style="@style/Floating_Action_Button"--> | |
| <!--android:layout_width="wrap_content"--> | |
| <!--android:layout_height="wrap_content"--> | |
| <!--android:layout_gravity="bottom"--> | |
| <!--app:layout_behavior="dk.q8.mobileapp.core.ui.widgets.fab.ScrollAwareFABBehavior"--> | |
| <!--app:elevation="@dimen/padding_huge"--> | |
| <!--app:borderWidth="0dp"--> | |
| <!--app:backgroundTint="@color/colorAccent"--> | |
| <!--app:rippleColor="@color/brand_text_color_dark"--> | |
| <!--app:pressedTranslationZ="12dp"--> | |
| <!--android:src="@drawable/ic_barcode" />--> | |
| </android.support.design.widget.CoordinatorLayout> | |
| <dk.q8.mobileapp.core.ui.widgets.font.CustomFontButton | |
| android:layout_weight = "0" | |
| android:drawableLeft="@drawable/ic_barcode" | |
| android:paddingLeft="70dp" | |
| android:gravity="center_horizontal|center_vertical" | |
| android:id="@+id/fragment_qvikoffer_list_fab" | |
| android:drawableRight="@null" | |
| style="@style/Widget.AppTheme.PrimaryButton" | |
| android:layout_gravity="center" | |
| android:layout_width="match_parent" | |
| android:textStyle="bold" | |
| android:textSize="@dimen/text_head" | |
| android:textAllCaps="false" | |
| android:paddingRight="70dp" | |
| android:layout_height="wrap_content" | |
| android:layout_marginTop="0dp" | |
| android:layout_marginBottom="0dp" | |
| tools:text="_scan offer" /> | |
| </LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment