Skip to content

Commit c0cf359

Browse files
authored
apk/manifest: Add android:colorMode attribute to Activity (#112)
This currently only has 3 predefined values, and will be converted to an integer (enum) by the resource compiler: https://developer.android.com/reference/android/R.attr#colorMode https://developer.android.com/guide/topics/manifest/activity-element#colormode
1 parent f308f20 commit c0cf359

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apk/src/manifest.rs

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ pub struct Activity {
111111
#[serde(rename(serialize = "intent-filter"))]
112112
#[serde(default)]
113113
pub intent_filters: Vec<IntentFilter>,
114+
#[serde(rename(serialize = "android:colorMode"))]
115+
pub color_mode: Option<String>,
114116
}
115117

116118
/// Android [intent filter element](https://developer.android.com/guide/topics/manifest/intent-filter-element).

0 commit comments

Comments
 (0)