set_alarm.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. ** Copyright 2010, The Android Open Source Project
  5. **
  6. ** Licensed under the Apache License, Version 2.0 (the "License");
  7. ** you may not use this file except in compliance with the License.
  8. ** You may obtain a copy of the License at
  9. **
  10. ** http://www.apache.org/licenses/LICENSE-2.0
  11. **
  12. ** Unless required by applicable law or agreed to in writing, software
  13. ** distributed under the License is distributed on an "AS IS" BASIS,
  14. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ** See the License for the specific language governing permissions and
  16. ** limitations under the License.
  17. */
  18. -->
  19. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent"
  22. android:orientation="vertical">
  23. <ListView android:id="@android:id/list"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:layout_weight="1"
  27. android:drawSelectorOnTop="false"/>
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:orientation="horizontal"
  32. style="@android:style/ButtonBar">
  33. <Button android:id="@+id/alarm_save"
  34. android:focusable="true"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:layout_weight="1"
  38. android:text="@string/done"/>
  39. <Button android:id="@+id/alarm_revert"
  40. android:focusable="true"
  41. android:layout_width="match_parent"
  42. android:layout_height="match_parent"
  43. android:layout_weight="1"
  44. android:text="@string/revert"/>
  45. <Button android:id="@+id/alarm_delete"
  46. android:focusable="true"
  47. android:layout_width="match_parent"
  48. android:layout_height="match_parent"
  49. android:layout_weight="1"
  50. android:text="@string/delete"/>
  51. </LinearLayout>
  52. </LinearLayout>