push notification switch added

This commit is contained in:
cimenmus
2018-08-26 21:57:58 +03:00
parent 4e4cc40547
commit 75631479c6
9 changed files with 124 additions and 2 deletions

View File

@@ -187,6 +187,44 @@
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="16dp"
android:layout_marginStart="16dp"
android:layout_marginRight="16dp"
android:layout_marginEnd="16dp"
android:background="@color/black"/>
<RelativeLayout
android:id="@+id/enableNotificationsLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/enable_notifications"
android:layout_marginTop="4dp"
android:textColor="@color/black"
fontPath="fonts/Quicksand-Bold.ttf"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_toLeftOf="@+id/enableNotificationsSwitch"
android:layout_toStartOf="@+id/enableNotificationsSwitch"/>
<android.support.v7.widget.SwitchCompat
android:id="@+id/enableNotificationsSwitch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"