SDL: fixed service notification text color
This commit is contained in:
@@ -67,7 +67,7 @@ SdlVideoResizeKeepAspect=n
|
||||
InhibitSuspend=n
|
||||
|
||||
# Create Android service, so the app is less likely to be killed while in background
|
||||
CreateService=
|
||||
CreateService=y
|
||||
|
||||
# Application does not call SDL_Flip() or SDL_UpdateRects() appropriately, or draws from non-main thread -
|
||||
# enabling the compatibility mode will force screen update every 100 milliseconds, which is laggy and inefficient (y) or (n)
|
||||
|
||||
Submodule project/jni/application/ninslash/src updated: ecead9bf0e...85e3307059
@@ -1 +0,0 @@
|
||||
../drawable/rectangle.png
|
||||
@@ -1 +0,0 @@
|
||||
../drawable/rectangle.png
|
||||
@@ -1 +0,0 @@
|
||||
../drawable/rectangle.png
|
||||
@@ -1 +0,0 @@
|
||||
../drawable/rectangle.png
|
||||
@@ -1 +0,0 @@
|
||||
../drawable/rectangle.png
|
||||
@@ -1 +0,0 @@
|
||||
../drawable/rectangle.png
|
||||
@@ -1 +0,0 @@
|
||||
../layout/main.xml
|
||||
@@ -1 +0,0 @@
|
||||
../layout/main.xml
|
||||
@@ -1 +0,0 @@
|
||||
../layout/main.xml
|
||||
49
project/res/layout-v21/notification.xml
Normal file
49
project/res/layout-v21/notification.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:id="@+id/notificationView"
|
||||
android:clickable="true"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/notificationIcon"
|
||||
android:gravity="center_vertical"
|
||||
android:src="@drawable/icon"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:clickable="true"
|
||||
android:scaleType="centerInside"
|
||||
android:adjustViewBounds="true"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_toRightOf="@id/notificationIcon"
|
||||
android:id="@+id/notificationText"
|
||||
android:text="App is running"
|
||||
android:textAppearance="@android:style/TextAppearance.Material.Notification.Title"
|
||||
android:gravity="center_vertical"
|
||||
android:clickable="true"
|
||||
android:paddingLeft="10dp"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/notificationStop"
|
||||
android:text="@string/notification_stop"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:textAlignment="center"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1 +0,0 @@
|
||||
../layout/main.xml
|
||||
@@ -1 +0,0 @@
|
||||
../layout/main.xml
|
||||
@@ -1 +0,0 @@
|
||||
../layout/main.xml
|
||||
@@ -19,7 +19,7 @@
|
||||
android:src="@drawable/icon"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:clickable="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:scaleType="centerInside"
|
||||
android:adjustViewBounds="true"
|
||||
/>
|
||||
|
||||
@@ -35,10 +35,6 @@
|
||||
android:paddingLeft="10dp"
|
||||
/>
|
||||
|
||||
<!--
|
||||
android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
|
||||
-->
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
|
||||
Reference in New Issue
Block a user