Advertisement
rahat14

homepage

May 4th, 2019
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.95 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v4.widget.DrawerLayout 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/home_page_DrawerLayout"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    android:orientation="vertical">
  9.  
  10.     <!--<LinearLayout
  11.        android:layout_width="match_parent"
  12.        android:layout_height="match_parent"
  13.        android:orientation="vertical"
  14.        android:weightSum="12">
  15.  
  16.        <LinearLayout
  17.            android:layout_width="match_parent"
  18.            android:layout_height="0dp"
  19.            android:layout_weight="12">
  20.  
  21.            <ScrollView
  22.                android:layout_width="match_parent"
  23.                android:layout_height="wrap_content">-->
  24.  
  25.     <android.support.v4.widget.NestedScrollView
  26.        android:layout_width="match_parent"
  27.        android:layout_height="match_parent">
  28.  
  29.                 <LinearLayout
  30.                    android:layout_width="match_parent"
  31.                    android:layout_height="wrap_content"
  32.                    android:orientation="vertical">
  33.  
  34.  
  35.                     <android.support.design.card.MaterialCardView
  36.                        android:layout_width="match_parent"
  37.                        android:layout_height="0dp"
  38.                        android:layout_weight="12"
  39.                        android:padding="4dp"
  40.                        app:cardElevation="2dp">
  41.  
  42.                         <LinearLayout
  43.                            android:layout_width="match_parent"
  44.                            android:layout_height="wrap_content"
  45.                            android:orientation="vertical">
  46.  
  47.                             <TextView
  48.                                android:layout_width="wrap_content"
  49.                                android:layout_height="wrap_content"
  50.                                android:layout_margin="4dp"
  51.                                android:text="Trending!!! 🔥"
  52.                                android:fontFamily="@font/mallanana"
  53.                                android:textColor="@color/colorRed_900"
  54.                                android:textSize="16sp"
  55.                                android:textStyle="bold" />
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                             <android.support.v7.widget.RecyclerView
  62.                                android:id="@+id/horizontalRecyclerView"
  63.                                android:layout_width="match_parent"
  64.                                android:layout_height="wrap_content"
  65.  
  66.                                android:layout_marginBottom="8dp"
  67.                                android:orientation="horizontal">
  68.  
  69.                             </android.support.v7.widget.RecyclerView>
  70.  
  71.  
  72.                         </LinearLayout>
  73.                     </android.support.design.card.MaterialCardView>
  74.  
  75.                     <Space
  76.                        android:layout_width="match_parent"
  77.                        android:layout_height="4dp" />
  78.                    
  79.                     <FrameLayout
  80.                        android:layout_width="match_parent"
  81.                        android:layout_height="match_parent">
  82.                        
  83.                         <com.github.ybq.android.spinkit.SpinKitView
  84.                            xmlns:app="http://schemas.android.com/apk/res-auto"
  85.                            android:id="@+id/spin_kit"
  86.                            style="@style/SpinKitView.Circle"
  87.                            android:layout_width="wrap_content"
  88.                            android:layout_height="wrap_content"
  89.                            android:layout_gravity="center"
  90.                            app:SpinKit_Color="@color/colorAccent" />
  91.  
  92.                        
  93.                     <android.support.v7.widget.RecyclerView
  94.                        android:id="@+id/verticalRecyclerView"
  95.                        android:layout_width="match_parent"
  96.                        android:layout_height="match_parent"
  97.                        android:orientation="vertical">
  98.  
  99.                     </android.support.v7.widget.RecyclerView>
  100.  
  101.  
  102.                     </FrameLayout>
  103.                 </LinearLayout>
  104.     </android.support.v4.widget.NestedScrollView>
  105.             <!--</ScrollView>
  106.  
  107.        </LinearLayout>
  108.  
  109.  
  110.    </LinearLayout>-->
  111.  
  112.  
  113.     <android.support.design.widget.NavigationView
  114.            android:id="@+id/hompage_navBar"
  115.            app:headerLayout="@layout/drawer_header"
  116.            android:layout_width="wrap_content"
  117.            android:layout_height="match_parent"
  118.            android:layout_gravity="start"
  119.            android:background="#fff"
  120.            app:itemIconTint="@color/colorPrimary"
  121.            app:itemTextColor="@color/black"
  122.            app:menu="@menu/drawer_menu">
  123.  
  124.         </android.support.design.widget.NavigationView>
  125.  
  126. </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement