Skip to content

Commit

Permalink
Merge pull request #441 from Countly/35actionbar
Browse files Browse the repository at this point in the history
fix: action bar issue
  • Loading branch information
turtledreams authored Jan 13, 2025
2 parents f1d25a5 + 49a4f81 commit 8e7bd6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## XX.XX.XX
* Mitigated an issue where, the action bar was overlapping with the content display.

## 24.7.8
* Added a config option to content (setZoneTimerInterval) to set content zone timer. (Experimental!)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ public class TransparentActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
Log.d(Countly.TAG, "[TransparentActivity] onCreate, content received, showing it");

// there is a stripe at the top of the screen for contents
// we eliminate it with no action bar full screen and this adds more smoothness
// the stripe is because of our transparency
setTheme(android.R.style.Theme_DeviceDefault_NoActionBar_Fullscreen);
super.onCreate(savedInstanceState);
overridePendingTransition(0, 0);

Expand Down

0 comments on commit 8e7bd6f

Please sign in to comment.