Skip to content

Commit c9325dd

Browse files
authored
Merge pull request #34 from gitig/master
add ScreenOrientation for AppActivity
2 parents 492d2f4 + b4df217 commit c9325dd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

apk/apkxml.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ type ActivityIntentFilter struct {
3030

3131
// AppActivity is an activity in an application.
3232
type AppActivity struct {
33-
Theme androidbinary.String `xml:"http://schemas.android.com/apk/res/android theme,attr"`
34-
Name androidbinary.String `xml:"http://schemas.android.com/apk/res/android name,attr"`
35-
Label androidbinary.String `xml:"http://schemas.android.com/apk/res/android label,attr"`
36-
IntentFilters []ActivityIntentFilter `xml:"intent-filter"`
33+
Theme androidbinary.String `xml:"http://schemas.android.com/apk/res/android theme,attr"`
34+
Name androidbinary.String `xml:"http://schemas.android.com/apk/res/android name,attr"`
35+
Label androidbinary.String `xml:"http://schemas.android.com/apk/res/android label,attr"`
36+
ScreenOrientation androidbinary.String `xml:"http://schemas.android.com/apk/res/android screenOrientation,attr"`
37+
IntentFilters []ActivityIntentFilter `xml:"intent-filter"`
3738
}
3839

3940
// AppActivityAlias https://developer.android.com/guide/topics/manifest/activity-alias-element

0 commit comments

Comments
 (0)