2019-12-19 23:15:02 +01:00
|
|
|
package com.example.lookifyv2;
|
2019-12-06 00:23:53 +01:00
|
|
|
|
|
|
|
import androidx.appcompat.app.AppCompatActivity;
|
|
|
|
import android.os.Bundle;
|
2020-02-26 00:10:05 +01:00
|
|
|
import android.text.method.ScrollingMovementMethod;
|
|
|
|
import android.widget.TextView;
|
2019-12-06 00:23:53 +01:00
|
|
|
|
|
|
|
public class Help extends AppCompatActivity {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
setContentView(R.layout.activity_help);
|
2020-02-25 00:05:03 +01:00
|
|
|
|
2020-02-26 00:10:05 +01:00
|
|
|
TextView text = findViewById(R.id.help);
|
|
|
|
text.setMovementMethod(new ScrollingMovementMethod());
|
|
|
|
|
2020-06-20 00:58:53 +02:00
|
|
|
//Do strzałki powrotu w górnej części ekranu.
|
2020-02-25 00:05:03 +01:00
|
|
|
assert getSupportActionBar() != null;
|
|
|
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
|
|
|
}
|
|
|
|
|
2020-06-20 00:58:53 +02:00
|
|
|
//Kliknięcie strzałki powrotu kończy activity.
|
2020-02-25 00:05:03 +01:00
|
|
|
@Override
|
|
|
|
public boolean onSupportNavigateUp(){
|
|
|
|
finish();
|
|
|
|
return true;
|
2019-12-06 00:23:53 +01:00
|
|
|
}
|
|
|
|
}
|