Skip to content

Commit

Permalink
тут нечего комментить, просто фиксил анимации и тему экшнбара
Browse files Browse the repository at this point in the history
  • Loading branch information
tretdm committed Jul 21, 2023
1 parent 9f96564 commit 7a0a3e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ public void handleMessage(Message message) {
getActionBar().setDisplayShowHomeEnabled(true);
getActionBar().setDisplayHomeAsUpEnabled(true);
getActionBar().setTitle(getResources().getString(R.string.photo));
getActionBar().setBackgroundDrawable(
getResources().getDrawable(R.drawable.bg_actionbar_black_transparent));
getActionBar().hide();

} catch (Exception ex) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ public void onAnimationRepeat(Animator animation) {
public void run() {
animator.start();
}
}, 40);
}, 45);
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
getActionBar().hide();
}
Expand Down

0 comments on commit 7a0a3e3

Please sign in to comment.