Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.widget.CoordinatorLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="500dp"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:orientation="vertical">
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- app:titleTextColor="@android:color/black"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:popupTheme="@style/AppTheme.AppBarOverlay">
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="10dp"
- android:weightSum="20">
- <ImageView
- android:id="@+id/pageImage"
- android:layout_width="60dp"
- android:layout_height="60dp"
- android:scaleType="centerCrop"
- android:gravity="center"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:src="@drawable/ic_image_gray_opaque_24dp"/>
- <TextView
- android:id="@+id/pageTitle"
- android:layout_height="match_parent"
- android:layout_width="match_parent"
- android:layout_marginStart="5dp"
- android:textSize="20sp"
- android:fontFamily="sans-serif-medium"
- android:textColor="@android:color/black"
- android:layout_gravity="center"
- android:gravity="center|start"
- android:layout_weight="10"
- />
- <ImageButton
- android:id="@+id/button_menu"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/transparent"
- android:src="@drawable/menu"
- android:scaleType="fitCenter"
- android:layout_weight="5"
- />
- </LinearLayout>
- </android.support.v7.widget.Toolbar>
- <View
- android:layout_marginTop="10dp"
- android:layout_width="match_parent"
- android:layout_height="0.5dp"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- android:background="@color/gray" />
- <android.support.v4.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/pageDescription"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="15dp"
- android:layout_marginTop="10dp"
- android:layout_marginEnd="5dp"
- android:lineSpacingExtra="10dp"
- android:scrollbars="vertical"
- android:ellipsize="none"
- android:maxLines="100"
- android:textSize="16sp"/>
- <android.support.v7.widget.RecyclerView
- android:id="@+id/recycler_view"
- android:layout_width="wrap_content"
- android:layout_gravity="center"
- android:foregroundGravity="center"
- android:scaleType="centerCrop"
- android:layout_height="150dp"
- />
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- </LinearLayout>
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement