-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved the ScLocationService class
- Loading branch information
paroca72
committed
Aug 7, 2016
1 parent
8d8420a
commit f96d7e9
Showing
12 changed files
with
359 additions
and
86 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,106 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:gravity="center_vertical|center_horizontal" | ||
android:orientation="vertical" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
tools:context="scapps.com.sccheckerdemo.MainActivity" | ||
android:orientation="vertical" | ||
android:gravity="center_vertical|center_horizontal"> | ||
android:paddingTop="@dimen/activity_vertical_margin"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Check every 1 seconds the ability to find the current location" | ||
android:layout_marginBottom="20dp" | ||
android:gravity="center_horizontal" | ||
android:layout_marginBottom="20dp"/> | ||
android:text="Check every 1 seconds the ability to find the current location" /> | ||
|
||
<TextView | ||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Network" | ||
/> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="OFF" | ||
android:textColor="#000000" | ||
android:textSize="30dp" | ||
android:id="@+id/txtNetwork" | ||
android:gravity="center_horizontal" | ||
android:layout_marginBottom="10dp"/> | ||
android:orientation="horizontal"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="GPS" | ||
/> | ||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:gravity="center_vertical|center_horizontal" | ||
android:orientation="vertical" | ||
android:layout_marginLeft="10dp" | ||
android:layout_marginRight="10dp"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="OFF" | ||
android:textColor="#000000" | ||
android:textSize="30dp" | ||
android:id="@+id/txtGPS" | ||
android:gravity="center_horizontal" | ||
android:layout_marginBottom="20dp"/> | ||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Network" /> | ||
|
||
<TextView | ||
<TextView | ||
android:id="@+id/txtNetwork" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="10dp" | ||
android:gravity="center_horizontal" | ||
android:text="OFF" | ||
android:textColor="#000000" | ||
android:textSize="30dp" /> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:gravity="center_vertical|center_horizontal" | ||
android:orientation="vertical" | ||
android:layout_marginLeft="10dp" | ||
android:layout_marginRight="10dp"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="GPS" /> | ||
|
||
<TextView | ||
android:id="@+id/txtGPS" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="20dp" | ||
android:gravity="center_horizontal" | ||
android:text="OFF" | ||
android:textColor="#000000" | ||
android:textSize="30dp" /> | ||
|
||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Current location available" | ||
/> | ||
android:gravity="center_vertical|center_horizontal" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="NO" | ||
android:textColor="#000000" | ||
android:textSize="30dp" | ||
android:id="@+id/txtAvailable" | ||
android:gravity="center_horizontal"/> | ||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Current location available" /> | ||
|
||
<TextView | ||
android:id="@+id/txtAvailable" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center_horizontal" | ||
android:text="NO" | ||
android:textColor="#000000" | ||
android:textSize="30dp" /> | ||
|
||
<TextView | ||
android:id="@+id/txtLocation" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="" /> | ||
|
||
</LinearLayout> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.