Depcrecated EditAlarmActivity, moved some code to AlarmFragment and ExpandedAlarmViewHolder

This commit is contained in:
Phillip Hsu
2016-08-17 01:08:37 -07:00
parent e408a7467a
commit 3732246bb7
6 changed files with 188 additions and 63 deletions
+13 -13
View File
@@ -12,14 +12,15 @@
- Alternatively, just keep the CardView because that takes care of the non-transparent
- background issue for free.
-->
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardElevation="2dp"
app:cardCornerRadius="0dp"
android:foreground="?selectableItemBackground"
android:clickable="true"
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardElevation="2dp"
app:cardCornerRadius="0dp"
android:foreground="?selectableItemBackground"
android:clickable="true"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp">
@@ -128,6 +129,7 @@
android:layout_height="48dp"
android:hint="Add label"
android:layout_marginBottom="8dp"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"/>
<LinearLayout
@@ -169,9 +171,7 @@
</LinearLayout>
<View
android:id="@+id/divider"
style="@style/Divider.Horizontal"/>
<View style="@style/Divider.Horizontal"/>
<LinearLayout
android:layout_width="match_parent"
@@ -187,11 +187,11 @@
android:text="@string/delete"/>
<Button
android:id="@+id/save"
android:id="@+id/ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:text="@string/save"/>
android:text="@android:string/ok"/>
</LinearLayout>