Showing
4 changed files
with
41 additions
and
32 deletions
... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' | ... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' |
2 | 2 | ||
3 | ext { | 3 | ext { |
4 | PUBLISH_GROUP_ID = 'ly.warp' | 4 | PUBLISH_GROUP_ID = 'ly.warp' |
5 | - PUBLISH_VERSION = '4.5.4-cosbeta92' | 5 | + PUBLISH_VERSION = '4.5.4-cosbeta93' |
6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' | 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' |
7 | } | 7 | } |
8 | 8 | ... | ... |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | android:name="ly.warp.sdk.activities.GiftsForYouActivity" | 51 | android:name="ly.warp.sdk.activities.GiftsForYouActivity" |
52 | android:exported="false" | 52 | android:exported="false" |
53 | android:screenOrientation="portrait" | 53 | android:screenOrientation="portrait" |
54 | - android:theme="@style/SDKAppTheme" /> | 54 | + android:theme="@style/GFYAppTheme" /> |
55 | 55 | ||
56 | <activity | 56 | <activity |
57 | android:name="ly.warp.sdk.activities.MoreForYouActivity" | 57 | android:name="ly.warp.sdk.activities.MoreForYouActivity" | ... | ... |
... | @@ -25,6 +25,7 @@ import java.io.Serializable; | ... | @@ -25,6 +25,7 @@ import java.io.Serializable; |
25 | import java.util.ArrayList; | 25 | import java.util.ArrayList; |
26 | import java.util.HashSet; | 26 | import java.util.HashSet; |
27 | import java.util.LinkedHashSet; | 27 | import java.util.LinkedHashSet; |
28 | +import java.util.Objects; | ||
28 | import java.util.Set; | 29 | import java.util.Set; |
29 | 30 | ||
30 | import io.github.inflationx.viewpump.ViewPumpContextWrapper; | 31 | import io.github.inflationx.viewpump.ViewPumpContextWrapper; |
... | @@ -76,6 +77,7 @@ public class GiftsForYouActivity extends AppCompatActivity implements View.OnCli | ... | @@ -76,6 +77,7 @@ public class GiftsForYouActivity extends AppCompatActivity implements View.OnCli |
76 | @Override | 77 | @Override |
77 | public void onCreate(Bundle savedInstanceState) { | 78 | public void onCreate(Bundle savedInstanceState) { |
78 | super.onCreate(savedInstanceState); | 79 | super.onCreate(savedInstanceState); |
80 | +// Objects.requireNonNull(getSupportActionBar()).hide(); | ||
79 | setContentView(R.layout.activity_gifts_for_you); | 81 | setContentView(R.layout.activity_gifts_for_you); |
80 | mSecondsHandler = new Handler(); | 82 | mSecondsHandler = new Handler(); |
81 | 83 | ... | ... |
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <resources> | 2 | <resources> |
3 | 3 | ||
4 | - <style name="AppCompatAlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert"> | 4 | + <style name="AppCompatAlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert"> |
5 | - <item name="android:layout_gravity">right</item> | 5 | + <item name="android:layout_gravity">right</item> |
6 | - <!--<item name="colorAccent">#23a890</item>--> | 6 | + <!--<item name="colorAccent">#23a890</item>--> |
7 | - <item name="colorAccent">@color/colorAccent</item> | 7 | + <item name="colorAccent">@color/colorAccent</item> |
8 | - <item name="android:textColorPrimary">@android:color/black</item> | 8 | + <item name="android:textColorPrimary">@android:color/black</item> |
9 | - <item name="android:background">@android:color/white</item> | 9 | + <item name="android:background">@android:color/white</item> |
10 | - </style> | 10 | + </style> |
11 | - | 11 | + |
12 | - <style name="InAppButtonsStyle" parent="@android:style/Widget.TextView"> | 12 | + <style name="InAppButtonsStyle" parent="@android:style/Widget.TextView"> |
13 | - <item name="android:textSize">18sp</item> | 13 | + <item name="android:textSize">18sp</item> |
14 | - <item name="android:textStyle">bold</item> | 14 | + <item name="android:textStyle">bold</item> |
15 | - </style> | 15 | + </style> |
16 | - | 16 | + |
17 | - <style name="BottomNavigationView" parent="Widget.Design.BottomNavigationView"> | 17 | + <style name="BottomNavigationView" parent="Widget.Design.BottomNavigationView"> |
18 | - <item name="android:textSize">14sp</item> | 18 | + <item name="android:textSize">14sp</item> |
19 | - </style> | 19 | + </style> |
20 | - | 20 | + |
21 | - <style name="SpinnerTheme" parent="android:Widget.Spinner"> | 21 | + <style name="SpinnerTheme" parent="android:Widget.Spinner"> |
22 | - <item name="android:background">@drawable/selector_spinner_arrow</item> | 22 | + <item name="android:background">@drawable/selector_spinner_arrow</item> |
23 | - </style> | 23 | + </style> |
24 | - | 24 | + |
25 | - <style name="PopUpDialog" parent="Base.Theme.AppCompat.Dialog"> | 25 | + <style name="PopUpDialog" parent="Base.Theme.AppCompat.Dialog"> |
26 | - <item name="android:windowMinWidthMajor">90%</item> | 26 | + <item name="android:windowMinWidthMajor">90%</item> |
27 | - <item name="android:windowMinWidthMinor">90%</item> | 27 | + <item name="android:windowMinWidthMinor">90%</item> |
28 | - </style> | 28 | + </style> |
29 | - | 29 | + |
30 | - <style name="SDKAppTheme" parent="Theme.AppCompat.Light"> | 30 | + <style name="SDKAppTheme" parent="Theme.AppCompat.Light"> |
31 | - <item name="android:statusBarColor">@android:color/white</item> | 31 | + <item name="android:statusBarColor">@android:color/white</item> |
32 | - <item name="android:windowLightStatusBar">true</item> | 32 | + <item name="android:windowLightStatusBar">true</item> |
33 | - </style> | 33 | + </style> |
34 | + | ||
35 | + <style name="GFYAppTheme" parent="Theme.AppCompat.Light"> | ||
36 | + <item name="android:statusBarColor">@android:color/white</item> | ||
37 | + <item name="android:windowLightStatusBar">true</item> | ||
38 | + <item name="windowActionBar">false</item> | ||
39 | + <item name="windowNoTitle">true</item> | ||
40 | + </style> | ||
34 | 41 | ||
35 | </resources> | 42 | </resources> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment