Advertisement
Guest User

Untitled

a guest
May 26th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.65 KB | None | 0 0
  1. activity_detail.xml
  2.  
  3. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    xmlns:tools="http://schemas.android.com/tools"
  6.    android:id="@+id/main_content"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent">
  9.  
  10.     <android.support.design.widget.CollapsingToolbarLayout
  11.        android:id="@+id/collapsing_toolbar"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="match_parent"
  14.        android:fitsSystemWindows="true"
  15.        app:contentScrim="?attr/colorPrimary"
  16.        app:expandedTitleMarginEnd="64dp"
  17.        app:expandedTitleMarginStart="48dp"
  18.        app:layout_scrollFlags="scroll|exitUntilCollapsed">
  19.  
  20.         <android.support.v7.widget.Toolbar
  21.            android:id="@+id/toolbar"
  22.            android:layout_width="match_parent"
  23.            android:layout_height="?attr/actionBarSize"
  24.            app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
  25.  
  26.         <ImageView
  27.            android:id="@+id/imageView"
  28.            android:layout_width="match_parent"
  29.            android:layout_height="wrap_content"
  30.            android:layout_below="@+id/toolbar"
  31.            android:layout_marginTop="32dp"
  32.            tools:ignore="ContentDescription" />
  33.  
  34.         <WebView
  35.            android:id="@+id/webView"
  36.            android:layout_width="match_parent"
  37.            android:layout_height="wrap_content"
  38.            android:layout_below="@+id/imageView" />
  39.     </android.support.design.widget.CollapsingToolbarLayout>
  40. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement