bendotgimbal

activity_sendticket

Aug 13th, 2019
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.63 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    android:orientation="vertical"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    android:background="@drawable/background_gradient"
  9.    tools:context="com.hrs.sinarmas.activity.SendTicketActivity">
  10.  
  11.     <LinearLayout
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="50dp"
  14.        android:layout_marginTop="10dp"
  15.        android:orientation="horizontal">
  16.         <TextView
  17.            android:id="@+id/tv_header_subject"
  18.            android:layout_width="75dp"
  19.            android:layout_height="wrap_content"
  20.            android:layout_marginLeft="20dp"
  21.            android:layout_marginTop="10dp"
  22.            android:text="Subject:"
  23.            android:textColor="#000000"
  24.            android:textSize="15dp" />
  25.         <android.support.v7.widget.CardView
  26.            android:id="@+id/rvSubject"
  27.            android:layout_width="250dp"
  28.            android:layout_height="40dp"
  29.            android:elevation="1dp"
  30.            app:cardCornerRadius="20dp"
  31.            android:innerRadius="0dp"
  32.            android:shape="ring"
  33.            android:thicknessRatio="1.9">
  34.             <Spinner
  35.                android:id="@+id/sp_subject"
  36.                android:layout_width="wrap_content"
  37.                android:layout_height="match_parent"
  38.                android:paddingLeft="10dp"
  39.                android:text="Subject"/>
  40.         </android.support.v7.widget.CardView>
  41.         <!--<Spinner-->
  42.             <!--android:id="@+id/sp_subject"-->
  43.             <!--android:layout_width="wrap_content"-->
  44.             <!--android:layout_height="match_parent"-->
  45.             <!--android:paddingLeft="10dp"-->
  46.             <!--android:text="Subject"/>-->
  47.     </LinearLayout>
  48.  
  49.     <LinearLayout
  50.        android:layout_width="wrap_content"
  51.        android:layout_height="50dp"
  52.        android:layout_marginTop="10dp"
  53.        android:orientation="horizontal">
  54.         <TextView
  55.            android:id="@+id/tv_subject"
  56.            android:layout_width="75dp"
  57.            android:layout_height="wrap_content"
  58.            android:layout_marginLeft="20dp"
  59.            android:layout_marginTop="10dp"
  60.            android:text="Sub Subject:"
  61.            android:textColor="#000000"
  62.            android:textSize="15dp" />
  63.         <android.support.v7.widget.CardView
  64.            android:id="@+id/rvSubSubject"
  65.            android:layout_width="250dp"
  66.            android:layout_height="40dp"
  67.            android:elevation="1dp"
  68.            app:cardCornerRadius="20dp"
  69.            android:innerRadius="0dp"
  70.            android:shape="ring"
  71.            android:thicknessRatio="1.9">
  72.             <Spinner
  73.                android:id="@+id/sp_sub_subject"
  74.                android:layout_width="wrap_content"
  75.                android:layout_height="match_parent"
  76.                android:paddingLeft="10dp"
  77.                android:text="Subject"/>
  78.         </android.support.v7.widget.CardView>
  79.     </LinearLayout>
  80.  
  81.     <LinearLayout
  82.        android:layout_width="wrap_content"
  83.        android:layout_height="50dp"
  84.        android:layout_marginTop="10dp"
  85.        android:orientation="horizontal">
  86.         <TextView
  87.            android:id="@+id/tv_priority"
  88.            android:layout_width="75dp"
  89.            android:layout_height="wrap_content"
  90.            android:layout_marginLeft="20dp"
  91.            android:layout_marginTop="10dp"
  92.            android:text="Priority:"
  93.            android:textColor="#000000"
  94.            android:textSize="15dp" />
  95.         <android.support.v7.widget.CardView
  96.            android:id="@+id/rvPriority"
  97.            android:layout_width="wrap_content"
  98.            android:layout_height="40dp"
  99.            android:elevation="1dp"
  100.            app:cardCornerRadius="20dp"
  101.            android:innerRadius="0dp"
  102.            android:shape="ring"
  103.            android:thicknessRatio="1.9">
  104.             <Spinner
  105.                android:id="@+id/sp_Priority"
  106.                android:layout_width="wrap_content"
  107.                android:layout_height="match_parent"
  108.                android:paddingLeft="10dp"
  109.                android:text="Priority"/>
  110.         </android.support.v7.widget.CardView>
  111.     </LinearLayout>
  112.  
  113.     <LinearLayout
  114.        android:layout_width="fill_parent"
  115.        android:layout_height="45dp"
  116.        android:layout_marginLeft="9dp"
  117.        android:layout_marginRight="9dp"
  118.        android:layout_marginTop="100dp"
  119.        android:orientation="horizontal">
  120.  
  121.         <Button
  122.            android:id="@+id/btnProses"
  123.            android:layout_width="wrap_content"
  124.            android:layout_height="fill_parent"
  125.            android:layout_weight="1"
  126.            android:onClick="OnProses"
  127.            android:text="Proses" />
  128.  
  129.         <Button
  130.            android:id="@+id/btnReset"
  131.            android:layout_width="wrap_content"
  132.            android:layout_height="fill_parent"
  133.            android:layout_weight="1"
  134.            android:text="Reset Data" />
  135.     </LinearLayout>
  136.  
  137. </LinearLayout>
  138.  
  139. <!--<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"-->
  140.     <!--xmlns:app="http://schemas.android.com/apk/res-auto"-->
  141.     <!--xmlns:tools="http://schemas.android.com/tools"-->
  142.     <!--android:layout_width="match_parent"-->
  143.     <!--android:layout_height="match_parent"-->
  144.     <!--android:paddingTop="16dp"-->
  145.     <!--android:paddingRight="8dp"-->
  146.     <!--android:paddingLeft="8dp"-->
  147.     <!--android:orientation="vertical"-->
  148.     <!--tools:context="OpenTicketActivity">-->
  149.  
  150.     <!--<Button-->
  151.         <!--android:id="@+id/btnTambahTicket"-->
  152.         <!--android:layout_width="match_parent"-->
  153.         <!--android:layout_height="wrap_content"-->
  154.         <!--android:text="tambah matkul"-->
  155.         <!--android:visibility="gone"/>-->
  156.  
  157.     <!--<TextView-->
  158.         <!--android:id="@+id/tvBelumTicket"-->
  159.         <!--android:layout_width="wrap_content"-->
  160.         <!--android:layout_height="wrap_content"-->
  161.         <!--android:visibility="gone"-->
  162.         <!--android:layout_marginTop="16dp"-->
  163.         <!--android:text="Belum mengisi ticket, Silahkan isi ticket terlebih dahulu"/>-->
  164.  
  165.     <!--<android.support.v7.widget.RecyclerView-->
  166.         <!--android:id="@+id/rvSubject"-->
  167.         <!--android:layout_width="match_parent"-->
  168.         <!--android:layout_height="wrap_content"-->
  169.         <!--android:layout_marginTop="16dp">-->
  170.     <!--</android.support.v7.widget.RecyclerView>-->
  171. <!--</LinearLayout>-->
Add Comment
Please, Sign In to add comment