Advertisement
sandipmjadhav

XML code

Apr 10th, 2012
695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 21.17 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="fill_parent"
  4.    android:layout_height="fill_parent"
  5.    android:background="#FFFFFF" >
  6.  
  7.     <ScrollView
  8.        android:id="@+id/postadscroll"
  9.        android:layout_width="fill_parent"
  10.        android:layout_height="wrap_content"
  11.        android:fillViewport="true" >
  12.  
  13.         <RelativeLayout
  14.            android:layout_width="fill_parent"
  15.            android:layout_height="wrap_content" >
  16.  
  17.             <TextView
  18.                android:id="@+id/title"
  19.                android:layout_width="fill_parent"
  20.                android:layout_height="wrap_content"
  21.                android:background="@layout/button4"
  22.                android:padding="10sp"
  23.                android:text="Post an Ad"
  24.                android:textColor="#000000"
  25.                android:textSize="20sp" />
  26.  
  27.             <TextView
  28.                android:id="@+id/txtnoticetitle"
  29.                android:layout_width="wrap_content"
  30.                android:layout_height="wrap_content"
  31.                android:layout_below="@+id/title"
  32.                android:layout_centerHorizontal="true"
  33.                android:layout_marginTop="10sp"
  34.                android:text="NOTICE"
  35.                android:textColor="#030303"
  36.                android:textSize="16sp"
  37.                android:textStyle="bold" />
  38.  
  39.             <TextView
  40.                android:id="@+id/txtnoticetitle1"
  41.                android:layout_width="wrap_content"
  42.                android:layout_height="wrap_content"
  43.                android:layout_below="@+id/txtnoticetitle"
  44.                android:layout_centerHorizontal="true"
  45.                android:layout_margin="5sp"
  46.                android:text="If you continue with this posting, you understand and agree that:"
  47.                android:textColor="#030303"
  48.                android:textSize="14sp"
  49.                android:textStyle="bold" />
  50.  
  51.             <LinearLayout
  52.                android:id="@+id/txtnoticetitle2"
  53.                android:layout_width="wrap_content"
  54.                android:layout_height="wrap_content"
  55.                android:layout_below="@+id/txtnoticetitle1"
  56.                android:layout_centerHorizontal="true"
  57.                android:layout_margin="5sp"
  58.                android:background="@layout/button2"
  59.                android:orientation="vertical" >
  60.  
  61.                 <TextView
  62.                    android:layout_width="wrap_content"
  63.                    android:layout_height="wrap_content"
  64.                    android:layout_below="@+id/txtnoticetitle"
  65.                    android:layout_margin="5sp"
  66.                    android:text="- I will not post any material on the app that exploits minors in any way;"
  67.                    android:textColor="#030303"
  68.                    android:textSize="14sp"
  69.                    android:textStyle="bold" />
  70.  
  71.                 <TextView
  72.                    android:layout_width="wrap_content"
  73.                    android:layout_height="wrap_content"
  74.                    android:layout_below="@+id/txtnoticetitle"
  75.                    android:layout_margin="5sp"
  76.                    android:text="- I am at least 18 years of age or older and not considered to be minor in my state of residence"
  77.                    android:textColor="#030303"
  78.                    android:textSize="14sp"
  79.                    android:textStyle="bold" />
  80.  
  81.                 <TextView
  82.                    android:layout_width="wrap_content"
  83.                    android:layout_height="wrap_content"
  84.                    android:layout_below="@+id/txtnoticetitle"
  85.                    android:layout_margin="5sp"
  86.                    android:text="- Ads can be maximum length of 450 characters"
  87.                    android:textColor="#030303"
  88.                    android:textSize="14sp"
  89.                    android:textStyle="bold" />
  90.  
  91.                 <TextView
  92.                    android:layout_width="wrap_content"
  93.                    android:layout_height="wrap_content"
  94.                    android:layout_below="@+id/txtnoticetitle"
  95.                    android:layout_margin="5sp"
  96.                    android:text="- Do not post content which advertises an illegal service"
  97.                    android:textColor="#030303"
  98.                    android:textSize="14sp"
  99.                    android:textStyle="bold" />
  100.  
  101.                 <TextView
  102.                    android:layout_width="wrap_content"
  103.                    android:layout_height="wrap_content"
  104.                    android:layout_below="@+id/txtnoticetitle"
  105.                    android:layout_margin="5sp"
  106.                    android:text="- I understand my postings  are subject to removal if they do not comply with terms of use"
  107.                    android:textColor="#030303"
  108.                    android:textSize="14sp"
  109.                    android:textStyle="bold" />
  110.             </LinearLayout>
  111.  
  112.             <TextView
  113.                android:id="@+id/txtnoticetitle3"
  114.                android:layout_width="wrap_content"
  115.                android:layout_height="wrap_content"
  116.                android:layout_below="@+id/txtnoticetitle2"
  117.                android:layout_centerHorizontal="true"
  118.                android:layout_margin="5sp"
  119.                android:text="The cost for posting a personal is $3.00"
  120.                android:textColor="#030303"
  121.                android:textSize="14sp"
  122.                android:textStyle="bold" />
  123.  
  124.             <RelativeLayout
  125.                android:id="@+id/txtnoticetitle4"
  126.                android:layout_width="fill_parent"
  127.                android:layout_height="wrap_content"
  128.                android:layout_below="@+id/txtnoticetitle3" >
  129.  
  130.                 <LinearLayout
  131.                    android:id="@+id/txtpostaddtitle"
  132.                    android:layout_width="fill_parent"
  133.                    android:layout_height="wrap_content"
  134.                    android:layout_toLeftOf="@+id/txtpostaddage"
  135.                    android:orientation="vertical" >
  136.  
  137.                     <TextView
  138.                        android:layout_width="wrap_content"
  139.                        android:layout_height="wrap_content"
  140.                        android:layout_marginLeft="10sp"
  141.                        android:text="Title:"
  142.                        android:textColor="#000000" />
  143.  
  144.                     <EditText
  145.                        android:id="@+id/edtpostaddtitle"
  146.                        android:layout_width="fill_parent"
  147.                        android:layout_height="wrap_content"
  148.                        android:focusable="true"
  149.                        android:inputType="text"
  150.                        android:singleLine="true" />
  151.                 </LinearLayout>
  152.  
  153.                 <LinearLayout
  154.                    android:id="@+id/txtpostaddage"
  155.                    android:layout_width="wrap_content"
  156.                    android:layout_height="wrap_content"
  157.                    android:layout_alignParentRight="true"
  158.                    android:orientation="vertical" >
  159.  
  160.                     <TextView
  161.                        android:layout_width="wrap_content"
  162.                        android:layout_height="wrap_content"
  163.                        android:text="Your Age:"
  164.                        android:textColor="#000000" />
  165.  
  166.                     <EditText
  167.                        android:id="@+id/edtpostaddage"
  168.                        android:layout_width="60sp"
  169.                        android:layout_height="wrap_content"
  170.                        android:inputType="number"
  171.                        android:singleLine="true" />
  172.                 </LinearLayout>
  173.             </RelativeLayout>
  174.  
  175.             <TextView
  176.                android:id="@+id/txtdesc"
  177.                android:layout_width="wrap_content"
  178.                android:layout_height="wrap_content"
  179.                android:layout_below="@+id/txtnoticetitle4"
  180.                android:layout_marginLeft="10sp"
  181.                android:text="Description:"
  182.                android:textColor="#000000" />
  183.  
  184.             <EditText
  185.                android:id="@+id/edtDescription"
  186.                android:layout_width="fill_parent"
  187.                android:layout_height="wrap_content"
  188.                android:layout_below="@+id/txtdesc"
  189.                android:gravity="left|top"
  190.                android:inputType="text"
  191.                android:lines="15"
  192.                android:singleLine="false" />
  193.  
  194.             <RelativeLayout
  195.                android:id="@+id/txtnoticetitle5"
  196.                android:layout_width="wrap_content"
  197.                android:layout_height="wrap_content"
  198.                android:layout_below="@+id/edtDescription" >
  199.  
  200.                 <LinearLayout
  201.                    android:id="@+id/txtpostaddlocation"
  202.                    android:layout_width="fill_parent"
  203.                    android:layout_height="wrap_content"
  204.                    android:layout_toLeftOf="@+id/txtpostaddzip"
  205.                    android:orientation="vertical" >
  206.  
  207.                     <TextView
  208.                        android:layout_width="wrap_content"
  209.                        android:layout_height="wrap_content"
  210.                        android:layout_marginLeft="10sp"
  211.                        android:text="Location:"
  212.                        android:textColor="#000000" />
  213.  
  214.                     <EditText
  215.                        android:id="@+id/edtpostaddLocation"
  216.                        android:layout_width="fill_parent"
  217.                        android:layout_height="wrap_content"
  218.                        android:inputType="text" />
  219.                 </LinearLayout>
  220.  
  221.                 <LinearLayout
  222.                    android:id="@+id/txtpostaddzip"
  223.                    android:layout_width="wrap_content"
  224.                    android:layout_height="wrap_content"
  225.                    android:layout_alignParentRight="true"
  226.                    android:orientation="vertical" >
  227.  
  228.                     <TextView
  229.                        android:layout_width="wrap_content"
  230.                        android:layout_height="wrap_content"
  231.                        android:text="ZIP code"
  232.                        android:textColor="#000000" />
  233.  
  234.                     <EditText
  235.                        android:id="@+id/edtpostaddzip"
  236.                        android:layout_width="60sp"
  237.                        android:layout_height="wrap_content"
  238.                        android:inputType="number"
  239.                        android:singleLine="true" />
  240.                 </LinearLayout>
  241.             </RelativeLayout>
  242.  
  243.             <TextView
  244.                android:id="@+id/txtemail"
  245.                android:layout_width="wrap_content"
  246.                android:layout_height="wrap_content"
  247.                android:layout_below="@+id/txtnoticetitle5"
  248.                android:layout_marginLeft="10sp"
  249.                android:text="Your email address"
  250.                android:textColor="#000000" />
  251.  
  252.             <EditText
  253.                android:id="@+id/edtemailid"
  254.                android:layout_width="fill_parent"
  255.                android:layout_height="wrap_content"
  256.                android:layout_below="@+id/txtemail"
  257.                android:inputType="textEmailAddress" />
  258.  
  259.             <TextView
  260.                android:id="@+id/txtemailconfrm"
  261.                android:layout_width="wrap_content"
  262.                android:layout_height="wrap_content"
  263.                android:layout_below="@+id/edtemailid"
  264.                android:layout_marginLeft="10sp"
  265.                android:text="Confirm email address"
  266.                android:textColor="#000000" />
  267.  
  268.             <EditText
  269.                android:id="@+id/edtemailidconfirm"
  270.                android:layout_width="fill_parent"
  271.                android:layout_height="wrap_content"
  272.                android:layout_below="@+id/txtemailconfrm"
  273.                android:inputType="textEmailAddress" />
  274.  
  275.             <TextView
  276.                android:id="@+id/txtuploadimgs"
  277.                android:layout_width="wrap_content"
  278.                android:layout_height="wrap_content"
  279.                android:layout_below="@+id/edtemailidconfirm"
  280.                android:layout_marginLeft="10sp"
  281.                android:layout_marginTop="10sp"
  282.                android:text="Upload Images:(Images must be in jpg,gif or png format)"
  283.                android:textColor="#000000" />
  284.  
  285.             <LinearLayout
  286.                android:id="@+id/layuplaodimg1"
  287.                android:layout_width="fill_parent"
  288.                android:layout_height="wrap_content"
  289.                android:layout_below="@+id/txtuploadimgs"
  290.                android:gravity="center_vertical" >
  291.  
  292.                 <EditText
  293.                    android:id="@+id/edtpostaddpic1"
  294.                    android:layout_width="fill_parent"
  295.                    android:layout_height="wrap_content"
  296.                    android:layout_weight="0.20"
  297.                    android:editable="false"
  298.                    android:inputType="text" />
  299.  
  300.                 <Button
  301.                    android:id="@+id/btnpostaddpic1"
  302.                    android:layout_width="fill_parent"
  303.                    android:layout_height="wrap_content"
  304.                    android:layout_weight="0.80"
  305.                    android:text="ADD" />
  306.             </LinearLayout>
  307.  
  308.             <LinearLayout
  309.                android:id="@+id/layuplaodimg2"
  310.                android:layout_width="fill_parent"
  311.                android:layout_height="wrap_content"
  312.                android:layout_below="@+id/layuplaodimg1"
  313.                android:gravity="center_vertical" >
  314.  
  315.                 <EditText
  316.                    android:id="@+id/edtpostaddpic2"
  317.                    android:layout_width="fill_parent"
  318.                    android:layout_height="wrap_content"
  319.                    android:layout_weight="0.20"
  320.                    android:editable="false"
  321.                    android:inputType="text" />
  322.  
  323.                 <Button
  324.                    android:id="@+id/btnpostaddpic2"
  325.                    android:layout_width="fill_parent"
  326.                    android:layout_height="wrap_content"
  327.                    android:layout_weight="0.80"
  328.                    android:text="ADD" />
  329.             </LinearLayout>
  330.  
  331.             <LinearLayout
  332.                android:id="@+id/layuplaodimg3"
  333.                android:layout_width="fill_parent"
  334.                android:layout_height="wrap_content"
  335.                android:layout_below="@+id/layuplaodimg2"
  336.                android:gravity="center_vertical" >
  337.  
  338.                 <EditText
  339.                    android:id="@+id/edtpostaddpic3"
  340.                    android:layout_width="fill_parent"
  341.                    android:layout_height="wrap_content"
  342.                    android:layout_weight="0.20"
  343.                    android:editable="false"
  344.                    android:inputType="text" />
  345.  
  346.                 <Button
  347.                    android:id="@+id/btnpostaddpic3"
  348.                    android:layout_width="fill_parent"
  349.                    android:layout_height="wrap_content"
  350.                    android:layout_weight="0.80"
  351.                    android:text="ADD" />
  352.             </LinearLayout>
  353.  
  354.             <LinearLayout
  355.                android:id="@+id/layuplaodimg4"
  356.                android:layout_width="fill_parent"
  357.                android:layout_height="wrap_content"
  358.                android:layout_below="@+id/layuplaodimg3"
  359.                android:gravity="center_vertical" >
  360.  
  361.                 <EditText
  362.                    android:id="@+id/edtpostaddpic4"
  363.                    android:layout_width="fill_parent"
  364.                    android:layout_height="wrap_content"
  365.                    android:layout_weight="0.20"
  366.                    android:editable="false"
  367.                    android:inputType="text" />
  368.  
  369.                 <Button
  370.                    android:id="@+id/btnpostaddpic4"
  371.                    android:layout_width="fill_parent"
  372.                    android:layout_height="wrap_content"
  373.                    android:layout_weight="0.80"
  374.                    android:text="ADD" />
  375.             </LinearLayout>
  376.  
  377.             <TextView
  378.                android:id="@+id/txtuploadvids"
  379.                android:layout_width="wrap_content"
  380.                android:layout_height="wrap_content"
  381.                android:layout_below="@+id/layuplaodimg4"
  382.                android:layout_marginLeft="10sp"
  383.                android:layout_marginTop="10sp"
  384.                android:text="Upload Videos:"
  385.                android:textColor="#000000" />
  386.  
  387.             <TextView
  388.                android:id="@+id/txtuploadvids1"
  389.                android:layout_width="wrap_content"
  390.                android:layout_height="wrap_content"
  391.                android:layout_below="@+id/txtuploadvids"
  392.                android:layout_marginLeft="10sp"
  393.                android:layout_marginTop="10sp"
  394.                android:text="Each video uploaded will be an additional $4.00 to your current order."
  395.                android:textColor="#000000" />
  396.  
  397.             <LinearLayout
  398.                android:id="@+id/layuplaodvid1"
  399.                android:layout_width="fill_parent"
  400.                android:layout_height="wrap_content"
  401.                android:layout_below="@+id/txtuploadvids1"
  402.                android:gravity="center_vertical" >
  403.  
  404.                 <EditText
  405.                    android:id="@+id/edtpostaddvid1"
  406.                    android:layout_width="fill_parent"
  407.                    android:layout_height="wrap_content"
  408.                    android:layout_weight="0.20"
  409.                    android:editable="false"
  410.                    android:inputType="text" />
  411.  
  412.                 <Button
  413.                    android:id="@+id/btnpostaddvid1"
  414.                    android:layout_width="fill_parent"
  415.                    android:layout_height="wrap_content"
  416.                    android:layout_weight="0.80"
  417.                    android:text="ADD" />
  418.             </LinearLayout>
  419.  
  420.             <LinearLayout
  421.                android:id="@+id/layuplaodvid2"
  422.                android:layout_width="fill_parent"
  423.                android:layout_height="wrap_content"
  424.                android:layout_below="@+id/layuplaodvid1"
  425.                android:gravity="center_vertical" >
  426.  
  427.                 <EditText
  428.                    android:id="@+id/edtpostaddvid2"
  429.                    android:layout_width="fill_parent"
  430.                    android:layout_height="wrap_content"
  431.                    android:layout_weight="0.20"
  432.                    android:editable="false"
  433.                    android:inputType="text" />
  434.  
  435.                 <Button
  436.                    android:id="@+id/btnpostaddvid2"
  437.                    android:layout_width="fill_parent"
  438.                    android:layout_height="wrap_content"
  439.                    android:layout_weight="0.80"
  440.                    android:text="ADD" />
  441.             </LinearLayout>
  442.  
  443.             <LinearLayout
  444.                android:id="@+id/layuplaodvid3"
  445.                android:layout_width="fill_parent"
  446.                android:layout_height="wrap_content"
  447.                android:layout_below="@+id/layuplaodvid2"
  448.                android:gravity="center_vertical" >
  449.  
  450.                 <EditText
  451.                    android:id="@+id/edtpostaddvid3"
  452.                    android:layout_width="fill_parent"
  453.                    android:layout_height="wrap_content"
  454.                    android:layout_weight="0.20"
  455.                    android:editable="false"
  456.                    android:inputType="text" />
  457.  
  458.                 <Button
  459.                    android:id="@+id/btnpostaddvid3"
  460.                    android:layout_width="fill_parent"
  461.                    android:layout_height="wrap_content"
  462.                    android:layout_weight="0.80"
  463.                    android:text="ADD" />
  464.             </LinearLayout>
  465.  
  466.             <LinearLayout
  467.                android:id="@+id/layuplaodvid4"
  468.                android:layout_width="fill_parent"
  469.                android:layout_height="wrap_content"
  470.                android:layout_below="@+id/layuplaodvid3"
  471.                android:gravity="center_vertical" >
  472.  
  473.                 <EditText
  474.                    android:id="@+id/edtpostaddvid4"
  475.                    android:layout_width="fill_parent"
  476.                    android:layout_height="wrap_content"
  477.                    android:layout_weight="0.20"
  478.                    android:editable="false"
  479.                    android:inputType="text" />
  480.  
  481.                 <Button
  482.                    android:id="@+id/btnpostaddvid4"
  483.                    android:layout_width="fill_parent"
  484.                    android:layout_height="wrap_content"
  485.                    android:layout_weight="0.80"
  486.                    android:text="ADD" />
  487.             </LinearLayout>
  488.  
  489.             <Button
  490.                android:id="@+id/btnpostaddcontinue"
  491.                android:layout_width="fill_parent"
  492.                android:layout_height="wrap_content"
  493.                android:layout_below="@+id/layuplaodvid4"
  494.                android:layout_marginTop="20sp"
  495.                android:text="CONTINUE"
  496.                android:textSize="20sp"
  497.                android:textStyle="bold" />
  498.         </RelativeLayout>
  499.     </ScrollView>
  500.  
  501. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement