var [bla1, bla2];
? <div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a href="#" class="nav-link">Главная</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Профайлы</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">О нас</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Контакты</a>
</li>
</ul>
</div>
package org.dendibaev.com.xodjelitaxi;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class ShareActivity extends AppCompatActivity {
private Button startvk;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_share);
}
public void addListenerOnButton () {
startvk = (Button)findViewById(R.id.startvk);
startvk.setOnClickListener(
new View.OnClickListener() {
@Override
public void onClick (View v) {
Intent browsergo = new Intent(Intent.ACTION_VIEW);
browsergo.setData(Uri.parse("http://googl.com"));
startActivity(browsergo);
}
}
);
}
}