Guest User

Untitled

a guest
May 29th, 2012
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.56 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:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:orientation="vertical" >
  6.  
  7.     <ScrollView
  8.        android:layout_width="match_parent"
  9.        android:layout_height="0dp"
  10.        android:layout_weight="1"
  11.        android:orientation="vertical" >
  12.  
  13.         <RelativeLayout
  14.            android:layout_width="match_parent"
  15.            android:layout_height="wrap_content" >
  16.  
  17.             <TextView
  18.                android:id="@+id/alarm_detail_name_lbl"
  19.                android:layout_width="match_parent"
  20.                android:layout_height="wrap_content"
  21.                android:layout_marginBottom="3sp"
  22.                android:layout_marginTop="10sp"
  23.                android:text="new_alarm_name_label"
  24.                android:textSize="15sp" />
  25.  
  26.             <EditText
  27.                android:id="@+id/alarm_detail_name_edit_text"
  28.                android:layout_width="match_parent"
  29.                android:layout_height="wrap_content"
  30.                android:layout_below="@id/alarm_detail_name_lbl"
  31.                android:hint="new_alarm_name_hint"
  32.                android:inputType="textCapSentences|textAutoCorrect"
  33.                android:textSize="15sp" />
  34.  
  35.             <TextView
  36.                android:id="@+id/alarm_detail_time_lbl"
  37.                android:layout_width="match_parent"
  38.                android:layout_height="wrap_content"
  39.                android:layout_below="@id/alarm_detail_name_edit_text"
  40.                android:layout_marginBottom="3sp"
  41.                android:layout_marginTop="10sp"
  42.                android:text="new_alarm_time_label"
  43.                android:textSize="15sp" />
  44.  
  45.             <TextView
  46.                android:id="@+id/alarm_detail_time_text_view"
  47.                android:layout_width="match_parent"
  48.                android:layout_height="wrap_content"
  49.                android:layout_below="@id/alarm_detail_time_lbl"
  50.                android:maxLength="30"
  51.                android:textSize="15sp" />
  52.  
  53.             <TextView
  54.                android:id="@+id/alarm_detail_first_run_lbl"
  55.                android:layout_width="match_parent"
  56.                android:layout_height="wrap_content"
  57.                android:layout_below="@id/alarm_detail_time_text_view"
  58.                android:layout_marginBottom="3sp"
  59.                android:layout_marginTop="10sp"
  60.                android:text="new_alarm_date_label"
  61.                android:textSize="15sp" />
  62.  
  63.             <TextView
  64.                android:id="@+id/alarm_detail_first_run_text_view"
  65.                android:layout_width="match_parent"
  66.                android:layout_height="wrap_content"
  67.                android:layout_below="@id/alarm_detail_first_run_lbl"
  68.                android:maxLength="30"
  69.                android:textSize="15sp" />
  70.  
  71.             <TextView
  72.                android:id="@+id/alarm_detail_interval_lbl"
  73.                android:layout_width="match_parent"
  74.                android:layout_height="wrap_content"
  75.                android:layout_below="@id/alarm_detail_first_run_text_view"
  76.                android:layout_marginBottom="3sp"
  77.                android:layout_marginTop="10sp"
  78.                android:text="new_alarm_interval_label"
  79.                android:textSize="15sp" />
  80.  
  81.             <Spinner
  82.                android:id="@+id/alarm_detail_interval_spinner"
  83.                android:layout_width="match_parent"
  84.                android:layout_height="wrap_content"
  85.                android:layout_below="@id/alarm_detail_interval_lbl" />
  86.  
  87.             <TextView
  88.                android:id="@+id/alarm_detail_description_lbl"
  89.                android:layout_width="match_parent"
  90.                android:layout_height="wrap_content"
  91.                android:layout_below="@id/alarm_detail_interval_spinner"
  92.                android:layout_marginBottom="3sp"
  93.                android:layout_marginTop="10sp"
  94.                android:text="new_alarm_description_label"
  95.                android:textSize="15sp" />
  96.  
  97.             <EditText
  98.                android:id="@+id/alarm_detail_description_edit_text"
  99.                android:layout_width="match_parent"
  100.                android:layout_height="wrap_content"
  101.                android:layout_below="@id/alarm_detail_description_lbl"
  102.                android:hint="new_alarm_description_hint"
  103.                android:maxLength="100"
  104.                android:textSize="15sp" />
  105.         </RelativeLayout>
  106.     </ScrollView>
  107.  
  108.     <LinearLayout
  109.        android:id="@+id/alarm_details_buttons_layout"
  110.        android:layout_width="match_parent"
  111.        android:layout_height="wrap_content"
  112.        android:layout_gravity="bottom" >
  113.  
  114.         <Button
  115.            android:id="@+id/alarm_details_return_to_list_button"
  116.            android:layout_width="0dp"
  117.            android:layout_height="wrap_content"
  118.            android:layout_gravity="bottom"
  119.            android:layout_weight="1"
  120.            android:text="@android:string/ok"
  121.            android:textSize="15sp"
  122.            android:width="100sp" />
  123.  
  124.         <Button
  125.            android:id="@+id/alarm_details_update_button"
  126.            android:layout_width="0dp"
  127.            android:layout_height="wrap_content"
  128.            android:layout_gravity="bottom"
  129.            android:layout_weight="1"
  130.            android:state_enabled="false"
  131.            android:text="update"
  132.            android:textSize="15sp"
  133.            android:width="100sp" />
  134.     </LinearLayout>
  135.  
  136. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment