title: how do I define the or condition in android studio
body: <p>I'm new to programming and I am making a new simple app, but I'm struggling with something.</p>
  
  <p>The app I'm making is a sort of calculator. </p>
  
  <p><a href="https://i.stack.imgur.com/ztW9y.png" rel="nofollow">This is what it looks like</a></p>
  
  <p>So what is does now is you type a percentage and a number in and it gives you the answer when you press the calculate button(Bereken), but now I want it to give me the percentage when I type something in the answer textview and the number textview. </p>
  
  <p>I think that I have to make an "or" condition studio. I know that in Java you can use || to define "or", but how does it work in Android studio?</p>