diff options
author | Sergey Yakovlev <s.yakovlev@samsung.com> | 2016-05-23 13:05:53 +0300 |
---|---|---|
committer | Sergey Yakovlev <s.yakovlev@samsung.com> | 2016-05-23 13:05:53 +0300 |
commit | 784d18262da1ac00750f4f80b64a3edce7085506 (patch) | |
tree | b2bcd4c9cf646d3fa4db262a22db906fd72b0fb9 /SamsungPrinterRecommendation/app/src/main/res/layout | |
parent | 3a33ee20e99646f38127c7aeca5f0616d268a5ce (diff) | |
download | experimental-784d18262da1ac00750f4f80b64a3edce7085506.tar.gz |
Samsung Printer Recommendation plugin
Samsung Printer Recommendation plugin based on Printer Recommendation Example
Change-Id: I26a62f103bad959418fe717dbc1a519e7ebc1337
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> |