1<?xml version="1.0" encoding="utf-8"?> 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:id="@+id/footerlayout" 4 android:layout_width="match_parent" 5 android:layout_height="@dimen/grid_item_btn_view_height" 6 android:layout_alignParentBottom="true" 7 android:layout_gravity="bottom" 8 android:layoutDirection="ltr" 9 android:orientation="vertical" 10 android:visibility="gone"> 11 12 <View 13 android:id="@+id/top_listDivider" 14 android:layout_width="match_parent" 15 android:layout_height="1dp" 16 android:background="?android:attr/listDivider"/> 17 18 <LinearLayout 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:layout_weight="1" 22 android:orientation="horizontal"> 23 24 <ImageButton 25 android:id="@+id/menu_prev_button" 26 android:layout_width="match_parent" 27 android:layout_height="match_parent" 28 android:layout_weight="1" 29 android:background="@drawable/footer_button_background_left" 30 android:contentDescription="@string/previous_button_content_description" 31 android:scaleType="centerInside" 32 android:src="@drawable/ic_arrow_back_24dp" 33 android:tint="@color/footer_icon_tint_color"/> 34 35 <View 36 android:layout_width="1dp" 37 android:layout_height="match_parent" 38 android:background="?android:attr/listDivider"/> 39 40 <ImageButton 41 android:id="@+id/menu_next_button" 42 android:layout_width="match_parent" 43 android:layout_height="match_parent" 44 android:layout_weight="1" 45 android:background="@drawable/footer_button_background_right" 46 android:contentDescription="@string/next_button_content_description" 47 android:scaleType="centerInside" 48 android:src="@drawable/ic_arrow_forward_24dp" 49 android:tint="@color/footer_icon_tint_color"/> 50 51 </LinearLayout> 52 53 <TextView 54 android:id="@+id/snackbar" 55 android:visibility="gone" 56 android:layout_width="match_parent" 57 android:layout_height="match_parent" 58 android:paddingStart="16dp" 59 android:paddingEnd="16dp" 60 android:gravity="center_vertical" 61 android:textColor="@color/colorControlNormal" 62 android:textSize="@dimen/label_text_size" 63 android:background="@color/snackbar_bg_color"/> 64 65 <View 66 android:id="@+id/bottom_listDivider" 67 android:layout_width="match_parent" 68 android:layout_height="1dp" 69 android:background="?android:attr/listDivider"/> 70 71</LinearLayout> 72