Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/background_gradient"
- tools:context="com.hrs.sinarmas.activity.SendTicketActivity">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="50dp"
- android:layout_marginTop="10dp"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/tv_header_subject"
- android:layout_width="75dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_marginTop="10dp"
- android:text="Subject:"
- android:textColor="#000000"
- android:textSize="15dp" />
- <android.support.v7.widget.CardView
- android:id="@+id/rvSubject"
- android:layout_width="250dp"
- android:layout_height="40dp"
- android:elevation="1dp"
- app:cardCornerRadius="20dp"
- android:innerRadius="0dp"
- android:shape="ring"
- android:thicknessRatio="1.9">
- <Spinner
- android:id="@+id/sp_subject"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:paddingLeft="10dp"
- android:text="Subject"/>
- </android.support.v7.widget.CardView>
- <!--<Spinner-->
- <!--android:id="@+id/sp_subject"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="match_parent"-->
- <!--android:paddingLeft="10dp"-->
- <!--android:text="Subject"/>-->
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="50dp"
- android:layout_marginTop="10dp"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/tv_subject"
- android:layout_width="75dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_marginTop="10dp"
- android:text="Sub Subject:"
- android:textColor="#000000"
- android:textSize="15dp" />
- <android.support.v7.widget.CardView
- android:id="@+id/rvSubSubject"
- android:layout_width="250dp"
- android:layout_height="40dp"
- android:elevation="1dp"
- app:cardCornerRadius="20dp"
- android:innerRadius="0dp"
- android:shape="ring"
- android:thicknessRatio="1.9">
- <Spinner
- android:id="@+id/sp_sub_subject"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:paddingLeft="10dp"
- android:text="Subject"/>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="50dp"
- android:layout_marginTop="10dp"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/tv_priority"
- android:layout_width="75dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_marginTop="10dp"
- android:text="Priority:"
- android:textColor="#000000"
- android:textSize="15dp" />
- <android.support.v7.widget.CardView
- android:id="@+id/rvPriority"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:elevation="1dp"
- app:cardCornerRadius="20dp"
- android:innerRadius="0dp"
- android:shape="ring"
- android:thicknessRatio="1.9">
- <Spinner
- android:id="@+id/sp_Priority"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:paddingLeft="10dp"
- android:text="Priority"/>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="45dp"
- android:layout_marginLeft="9dp"
- android:layout_marginRight="9dp"
- android:layout_marginTop="100dp"
- android:orientation="horizontal">
- <Button
- android:id="@+id/btnProses"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:layout_weight="1"
- android:onClick="OnProses"
- android:text="Proses" />
- <Button
- android:id="@+id/btnReset"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:layout_weight="1"
- android:text="Reset Data" />
- </LinearLayout>
- </LinearLayout>
- <!--<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"-->
- <!--xmlns:app="http://schemas.android.com/apk/res-auto"-->
- <!--xmlns:tools="http://schemas.android.com/tools"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:paddingTop="16dp"-->
- <!--android:paddingRight="8dp"-->
- <!--android:paddingLeft="8dp"-->
- <!--android:orientation="vertical"-->
- <!--tools:context="OpenTicketActivity">-->
- <!--<Button-->
- <!--android:id="@+id/btnTambahTicket"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:text="tambah matkul"-->
- <!--android:visibility="gone"/>-->
- <!--<TextView-->
- <!--android:id="@+id/tvBelumTicket"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:visibility="gone"-->
- <!--android:layout_marginTop="16dp"-->
- <!--android:text="Belum mengisi ticket, Silahkan isi ticket terlebih dahulu"/>-->
- <!--<android.support.v7.widget.RecyclerView-->
- <!--android:id="@+id/rvSubject"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginTop="16dp">-->
- <!--</android.support.v7.widget.RecyclerView>-->
- <!--</LinearLayout>-->
Add Comment
Please, Sign In to add comment