File tree Expand file tree Collapse file tree 10 files changed +308
-0
lines changed
fastlane/metadata/android/en-US/images Expand file tree Collapse file tree 10 files changed +308
-0
lines changed Original file line number Diff line number Diff line change 9
9
xmlns : android =" http://schemas.android.com/apk/res/android"
10
10
xmlns : tools =" http://schemas.android.com/tools" >
11
11
12
+ <uses-feature android : name =" android.hardware.touchscreen" android : required =" false" />
12
13
<uses-feature android : name =" android.hardware.wifi" android : required =" false" />
14
+ <uses-feature android : name =" android.software.leanback" android : required =" false" />
13
15
14
16
<uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
15
17
<uses-permission android : name =" android.permission.ACCESS_WIFI_STATE" />
38
40
-->
39
41
<application
40
42
android : allowBackup =" true"
43
+ android : banner =" @drawable/banner"
41
44
android : fullBackupContent =" true"
42
45
android : icon =" @mipmap/launcher_icon"
43
46
android : label =" @string/app_name"
57
60
<intent-filter >
58
61
<action android : name =" android.intent.action.MAIN" />
59
62
<category android : name =" android.intent.category.LAUNCHER" />
63
+ <category android : name =" android.intent.category.LEANBACK_LAUNCHER" />
60
64
</intent-filter >
61
65
<intent-filter tools : ignore =" AppLinkUrlError" >
62
66
<action android : name =" android.intent.action.VIEW" />
Original file line number Diff line number Diff line change 18
18
<item name =" android:colorBackground" >?colorSurface</item >
19
19
<item name =" dropDownListViewStyle" >@style/Widget.MaterialFiles.ListView.DropDown</item >
20
20
<item name =" windowActionBar" >false</item >
21
+ <!-- https://developer.android.com/training/tv/start/start#transition-color -->
22
+ <item name =" android:windowAllowEnterTransitionOverlap" >true</item >
23
+ <item name =" android:windowAllowReturnTransitionOverlap" >true</item >
21
24
<item name =" windowNoTitle" >true</item >
22
25
23
26
<item name =" colorPrimary" >@color/color_primary</item >
67
70
<item name =" android:colorBackground" >?colorSurface</item >
68
71
<item name =" dropDownListViewStyle" >@style/Widget.MaterialFiles.ListView.DropDown</item >
69
72
<item name =" windowActionBar" >false</item >
73
+ <!-- https://developer.android.com/training/tv/start/start#transition-color -->
74
+ <item name =" android:windowAllowEnterTransitionOverlap" >true</item >
75
+ <item name =" android:windowAllowReturnTransitionOverlap" >true</item >
70
76
<item name =" android:windowBackground" >@android:color/black</item >
71
77
<item name =" windowNoTitle" >true</item >
72
78
Original file line number Diff line number Diff line change 18
18
<item name =" android:colorBackground" >?colorSurface</item >
19
19
<item name =" dropDownListViewStyle" >@style/Widget.MaterialFiles.ListView.DropDown</item >
20
20
<item name =" windowActionBar" >false</item >
21
+ <!-- https://developer.android.com/training/tv/start/start#transition-color -->
22
+ <item name =" android:windowAllowEnterTransitionOverlap" >true</item >
23
+ <item name =" android:windowAllowReturnTransitionOverlap" >true</item >
21
24
<item name =" windowNoTitle" >true</item >
22
25
23
26
<item name =" colorAccent" >?colorPrimary</item >
71
74
<item name =" android:colorBackground" >?colorSurface</item >
72
75
<item name =" dropDownListViewStyle" >@style/Widget.MaterialFiles.ListView.DropDown</item >
73
76
<item name =" windowActionBar" >false</item >
77
+ <!-- https://developer.android.com/training/tv/start/start#transition-color -->
78
+ <item name =" android:windowAllowEnterTransitionOverlap" >true</item >
79
+ <item name =" android:windowAllowReturnTransitionOverlap" >true</item >
74
80
<item name =" android:windowBackground" >@android:color/black</item >
75
81
<item name =" windowNoTitle" >true</item >
76
82
Original file line number Diff line number Diff line change @@ -13,3 +13,6 @@ for shortcut in directory downloads file ftp_server; do
13
13
cp " ${shortcut} _shortcut_icon-${dpi} .png" " ../app/src/main/res/mipmap-${dpi} /${shortcut} _shortcut_icon.png"
14
14
done
15
15
done
16
+
17
+ cp banner-xhdpi.png ../app/src/main/res/drawable-xhdpi/banner.png
18
+ cp banner-play.png ../fastlane/metadata/android/en-US/images/tvBanner.png
Original file line number Diff line number Diff line change @@ -29,3 +29,6 @@ for shortcut in directory downloads file ftp_server; do
29
29
inkscape -o " ${shortcut} _shortcut_icon-xxhdpi.png" --export-area=15:15:93:93 -w 144 -h 144 " ${shortcut} _shortcut_icon.svg"
30
30
inkscape -o " ${shortcut} _shortcut_icon-xxxhdpi.png" --export-area=15:15:93:93 -w 192 -h 192 " ${shortcut} _shortcut_icon.svg"
31
31
done
32
+
33
+ inkscape -o banner-xhdpi.png --export-area=0:0:320:180 -w 320 -h 180 banner.svg
34
+ inkscape -o banner-play.png --export-area=0:0:320:180 -w 1280 -h 720 banner.svg
You can’t perform that action at this time.
0 commit comments