Notifications are now automatically expanded, release number 1.2.5

This commit is contained in:
Deniz Düzgören
2019-05-03 19:03:19 +02:00
parent 00c893380e
commit d5b5803ba2
8 changed files with 55 additions and 23 deletions
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/notification_title"
style="@style/TextAppearance.Compat.Notification.Title"/>
<TextView
android:layout_below="@+id/notification_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/notification_textview"
style="@style/TextAppearance.Compat.Notification"/>
</RelativeLayout>
+11 -10
View File
@@ -21,18 +21,19 @@
android:paddingStart="24dp"
android:paddingEnd="24dp"
android:paddingBottom="4dp"
android:paddingTop="8dp"/>
<TextView
android:id="@+id/secrettext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?attr/colorText"
android:paddingStart="24dp"
android:paddingEnd="24dp"
android:textSize="3dp"
android:paddingTop="8dp"
android:layout_marginBottom="24dp"/>
<!--<TextView-->
<!--android:id="@+id/secrettext"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:textColor="?attr/colorText"-->
<!--android:paddingStart="24dp"-->
<!--android:paddingEnd="24dp"-->
<!--android:textSize="3dp"-->
<!--android:layout_marginBottom="24dp"/>-->
</LinearLayout>
</androidx.core.widget.NestedScrollView>