diff options
Diffstat (limited to 'samples/browseable/LNotifications/res/layout/activity_notification.xml')
-rw-r--r-- | samples/browseable/LNotifications/res/layout/activity_notification.xml | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/samples/browseable/LNotifications/res/layout/activity_notification.xml b/samples/browseable/LNotifications/res/layout/activity_notification.xml index cd0cd6878..8723923fd 100644 --- a/samples/browseable/LNotifications/res/layout/activity_notification.xml +++ b/samples/browseable/LNotifications/res/layout/activity_notification.xml @@ -14,14 +14,26 @@ limitations under the License. --> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout 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:orientation="vertical" android:id="@+id/container" 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:context="com.example.android.lnotifications.LNotificationActivity"> -</FrameLayout> + + <android.support.design.widget.TabLayout + android:id="@+id/tabs" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:tabMode="fixed" + app:tabGravity="fill" /> + + <android.support.v4.view.ViewPager + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/pager" + android:layout_width="match_parent" + android:layout_height="match_parent" > + </android.support.v4.view.ViewPager> +</LinearLayout> |