Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.design.widget.CollapsingToolbarLayout
- android:id="@+id/toolbar_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- app:contentScrim="?attr/colorPrimary"
- app:layout_scrollFlags="scroll|exitUntilCollapsed">
- <ImageView
- android:id="@+id/bg_header"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scaleType="centerCrop"
- android:fitsSystemWindows="true"
- tools:src="@drawable/login_bg"
- app:layout_collapseMode="pin" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- app:layout_collapseMode="pin"
- android:background="@color/transparent_80">
- <ImageView
- android:layout_width="110dp"
- android:layout_height="110dp"
- android:id="@+id/radar_image_view"
- android:src="@drawable/radar"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="70dp"/>
- </RelativeLayout>
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:layout_collapseMode="pin"
- app:popupTheme="@style/AppTheme.PopupOverlay"
- app:contentInsetLeft="0dp"
- app:contentInsetStart="0dp"
- app:contentInsetRight="0dp"
- app:contentInsetEnd="0dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <Button
- android:id="@+id/back_button"
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:layout_gravity="center_vertical"
- android:background="@drawable/close"
- android:layout_alignParentStart="true"
- android:layout_marginStart="8dp"
- android:layout_centerVertical="true"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/title_label"
- android:layout_centerInParent="true"
- android:layout_marginStart="24dp"
- android:layout_marginEnd="16dp"
- android:layout_marginBottom="24dp"
- android:text="TZ Sensor Finder"
- android:textStyle="bold"
- android:textSize="20sp"
- android:textColor="@color/white"/>
- <Button
- android:id="@+id/rescan_button"
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:layout_marginEnd="12dp"
- android:layout_centerVertical="true"
- android:layout_alignParentEnd="true"
- android:background="@drawable/ic_rescan"
- android:layout_marginTop="12dp"/>
- </RelativeLayout>
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.CollapsingToolbarLayout>
Add Comment
Please, Sign In to add comment