hasnain_ahmad

RootElementToScreenshot

May 14th, 2018
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:id="@+id/rl_root"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    tools:context="pk.gop.irmnch.irmnch_otpapp.SyncUnsyncedReportActivity">
  9.  
  10.     <android.support.v7.widget.Toolbar
  11.        android:id="@+id/toolbar"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="56dp"
  14.        android:background="?attr/colorPrimary"
  15.        android:elevation="4dp"
  16.        android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
  17.        app:contentInsetLeft="0dp"
  18.        app:contentInsetStart="0dp"
  19.        app:contentInsetStartWithNavigation="0dp"
  20.        app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
  21.        app:titleTextColor="@color/white">
  22.  
  23.  
  24.         <TextView
  25.            android:id="@+id/tv_toolbar"
  26.            android:layout_width="wrap_content"
  27.            android:layout_height="wrap_content"
  28.            android:layout_centerVertical="true"
  29.            android:layout_gravity="end|center"
  30.            android:layout_marginEnd="16dp"
  31.            android:layout_marginRight="16dp"
  32.            android:textColor="@color/white" />
  33.  
  34.  
  35.     </android.support.v7.widget.Toolbar>
  36.  
  37.     <android.support.v4.widget.SwipeRefreshLayout
  38.        android:id="@+id/swipeContainer"
  39.        android:layout_width="match_parent"
  40.        android:layout_height="match_parent"
  41.        android:layout_below="@+id/toolbar">
  42.  
  43.         <ScrollView
  44.            android:id="@+id/scrollView"
  45.            android:layout_width="match_parent"
  46.            android:layout_height="wrap_content"
  47.            android:layout_marginTop="8dp">
  48.  
  49.  
  50.             <LinearLayout
  51.                android:layout_width="match_parent"
  52.                android:layout_height="wrap_content"
  53.                android:orientation="vertical">          
  54.                    
  55.             </LinearLayout>          
  56.  
  57.         </ScrollView>
  58.     </android.support.v4.widget.SwipeRefreshLayout>
  59.  
  60. </RelativeLayout>
Add Comment
Please, Sign In to add comment