Advertisement
minafaw3

fragment home .xml

Nov 13th, 2015
2,534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MPASM 3.99 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     android:orientation="vertical" android:layout_width="match_parent"
  4.     android:layout_height="match_parent"
  5.     android:background="@drawable/index_background">
  6.     <ScrollView
  7.         android:layout_width="wrap_content"
  8.         android:layout_height="wrap_content">
  9.     <RelativeLayout
  10.         android:layout_width="fill_parent"
  11.         android:layout_height="fill_parent">
  12.         <LinearLayout
  13.             android:id="@+id/row1"
  14.             android:layout_width="fill_parent"
  15.             android:layout_height="wrap_content"
  16.             android:background="@drawable/header"
  17.             android:layout_marginTop="15dp"
  18.             android:orientation="horizontal"
  19.             >
  20.             <ImageButton
  21.                 android:layout_width="wrap_content"
  22.                 android:layout_height="wrap_content"
  23.                 android:src="@drawable/arrow"
  24.                 android:layout_gravity="center_vertical"
  25.                 android:paddingLeft="20dp"
  26.                 android:background="@null"/>
  27.             <TextView
  28.                 android:id="@+id/mtitle"
  29.                 android:layout_width="wrap_content"
  30.                 android:layout_height="wrap_content"
  31.                 android:layout_gravity="center_vertical"
  32.                 android:padding="10dp"
  33.                 android:text="Home"
  34.                 android:textColor="@color/WHITE"
  35.                 />
  36.  
  37.         </LinearLayout>
  38.         <LinearLayout
  39.             android:id="@+id/row2"
  40.             android:layout_width="fill_parent"
  41.             android:layout_height="wrap_content"
  42.             android:layout_marginTop="5dp"
  43.             android:layout_below="@+id/row1"
  44.             android:orientation="horizontal"
  45.             android:gravity="center"
  46.             >
  47.  
  48.             <ImageView
  49.                 android:id="@+id/advertiseImg"
  50.                 android:layout_width="fill_parent"
  51.                 android:layout_height="wrap_content"
  52.                 android:background="@drawable/opin_bg"
  53.                 />
  54.  
  55.         </LinearLayout>
  56.         <LinearLayout
  57.             android:id="@+id/row3"
  58.             android:layout_width="fill_parent"
  59.             android:layout_height="wrap_content"
  60.             android:layout_below="@+id/row2"
  61.             android:orientation="horizontal"
  62.             android:gravity="left"
  63.             >
  64.  
  65.                 <com.tech4life.dogville.Controller.HorizontalListView
  66.                     android:id="@+id/listview"
  67.                     android:layout_width="fill_parent"
  68.                     android:layout_height="150dp">
  69.                     </com.tech4life.dogville.Controller.HorizontalListView>
  70.  
  71.         </LinearLayout>
  72.         <LinearLayout
  73.             android:id="@+id/row4"
  74.             android:layout_width="fill_parent"
  75.             android:layout_height="wrap_content"
  76.             android:layout_below="@+id/row3"
  77.             android:orientation="horizontal"
  78.             android:gravity="left"
  79.             >
  80.  
  81.             <com.tech4life.dogville.Controller.HorizontalListView
  82.                 android:id="@+id/listview2"
  83.                 android:layout_width="fill_parent"
  84.                 android:layout_height="150dp">
  85.             </com.tech4life.dogville.Controller.HorizontalListView>
  86.  
  87.         </LinearLayout>
  88.         <LinearLayout
  89.             android:id="@+id/row5"
  90.             android:layout_width="fill_parent"
  91.             android:layout_height="wrap_content"
  92.             android:layout_below="@+id/row4"
  93.             android:orientation="horizontal"
  94.             android:gravity="left"
  95.             >
  96.  
  97.             <com.tech4life.dogville.Controller.HorizontalListView
  98.                 android:id="@+id/listview3"
  99.                 android:layout_width="fill_parent"
  100.                 android:layout_height="150dp">
  101.             </com.tech4life.dogville.Controller.HorizontalListView>
  102.  
  103.         </LinearLayout>
  104.     </RelativeLayout>
  105.     </ScrollView>
  106. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement