Switch activities to AppCompat and adapt themes
No longer uses fullscreen, statusbar shall be visible to check connection status Closes #57
This commit is contained in:
parent
cde4606760
commit
d92c3beb3e
5 changed files with 31 additions and 41 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package btools.routingapp;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.database.Cursor;
|
||||
import android.net.Uri;
|
||||
|
|
@ -12,6 +11,7 @@ import android.widget.EditText;
|
|||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
|
|
@ -20,7 +20,7 @@ import java.io.IOException;
|
|||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
|
||||
public class BImportActivity extends Activity {
|
||||
public class BImportActivity extends AppCompatActivity {
|
||||
// profile size is generally < 30 kb, so set max size to 100 kb
|
||||
private static final int MAX_PROFILE_SIZE = 100000;
|
||||
private EditText mTextFilename;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue