diff options
Diffstat (limited to 'SamsungPrinterRecommendation/app/src/main/res/layout')
3 files changed, 38 insertions, 0 deletions
diff --git a/SamsungPrinterRecommendation/app/src/main/res/layout/activity_device_list2.xml b/SamsungPrinterRecommendation/app/src/main/res/layout/activity_device_list2.xml new file mode 100644 index 0000000..62f06d2 --- /dev/null +++ b/SamsungPrinterRecommendation/app/src/main/res/layout/activity_device_list2.xml @@ -0,0 +1,20 @@ +<?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:layout_width="match_parent" + android:layout_height="match_parent" android:fitsSystemWindows="true" + tools:context="com.example.android.discovery.recommendation.DeviceList"> + + <android.support.design.widget.AppBarLayout android:layout_height="wrap_content" + android:layout_width="match_parent" android:theme="@style/AppTheme.AppBarOverlay"> + + <android.support.v7.widget.Toolbar android:id="@+id/toolbar" + android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" + android:background="?attr/colorPrimary" app:popupTheme="@style/AppTheme.PopupOverlay" /> + + </android.support.design.widget.AppBarLayout> + + <include layout="@layout/content_device_list" /> + +</android.support.design.widget.CoordinatorLayout> diff --git a/SamsungPrinterRecommendation/app/src/main/res/layout/content_device_list.xml b/SamsungPrinterRecommendation/app/src/main/res/layout/content_device_list.xml new file mode 100644 index 0000000..67e13ed --- /dev/null +++ b/SamsungPrinterRecommendation/app/src/main/res/layout/content_device_list.xml @@ -0,0 +1,7 @@ +<fragment xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/fragment" + android:name="com.example.android.discovery.recommendation.DeviceListFragment" android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" + tools:layout="@layout/fragment_device_list" /> diff --git a/SamsungPrinterRecommendation/app/src/main/res/layout/fragment_device_list.xml b/SamsungPrinterRecommendation/app/src/main/res/layout/fragment_device_list.xml new file mode 100644 index 0000000..f6820da --- /dev/null +++ b/SamsungPrinterRecommendation/app/src/main/res/layout/fragment_device_list.xml @@ -0,0 +1,11 @@ +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" + android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:paddingBottom="@dimen/activity_vertical_margin" + tools:showIn="@layout/activity_device_list2" + tools:context="com.example.android.discovery.recommendation.DeviceListFragment"> + + +</RelativeLayout> |