-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/check network state #111
Merged
Merged
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0698419
check network state
jonathanraes aa13e4d
show no network status and message when no network in splash
jonathanraes 07437d3
clean
jonathanraes 63cd748
Merge develop
jonathanraes b71c4ba
Merge pull request #130 from digital-voting-pass/develop
landgenoot 4fc47bc
use snackbar, only show it when no connection avail
jonathanraes a3c0a3b
Add download playstore button readme
landgenoot e3e11a3
fix alignment
landgenoot 5b66d77
Create README.md
landgenoot acdaab6
Create README.md
landgenoot 76ed22d
Merge pull request #134 from digital-voting-pass/feature/update-readm…
landgenoot f5ac2d2
Merge branch develop
jonathanraes 62a19f7
updated strings
jonathanraes b25a5c4
Merge remote-tracking branch 'origin' into feature/check_network_state
jonathanraes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
3 changes: 3 additions & 0 deletions
3
app/src/main/java/com/digitalvotingpass/blockchain/ProgressTracker.java
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,52 +1,58 @@ | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/splash_screen_layout" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
android:gravity="center" | ||
android:background="@color/govDarkBlue"> | ||
|
||
<TextView | ||
android:id="@+id/text_splash_screen" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
<LinearLayout | ||
android:orientation="vertical" | ||
android:gravity="center" | ||
android:text="@string/app_name" | ||
android:textColor="@color/govLightGray" | ||
android:paddingBottom="10dp" | ||
android:textSize="20sp" | ||
/> | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<ImageView | ||
android:id="@+id/splash_screen" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:src="@drawable/voting_pass_icon" | ||
android:contentDescription="@string/app_name" | ||
android:gravity="center" | ||
/> | ||
<TextView | ||
android:id="@+id/text_splash_screen" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:text="@string/app_name" | ||
android:textColor="@color/govLightGray" | ||
android:paddingBottom="10dp" | ||
android:textSize="20sp" | ||
/> | ||
|
||
<TextView | ||
android:id="@+id/progress_current_task" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:textColor="@color/govLightGray" | ||
android:textSize="20sp" | ||
android:text="@string/initializing_text" /> | ||
<ImageView | ||
android:id="@+id/splash_screen" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:contentDescription="@string/app_name" | ||
android:gravity="center" | ||
android:src="@drawable/voting_pass_icon" /> | ||
|
||
<ProgressBar | ||
android:id="@+id/download_progress_bar" | ||
style="?android:attr/progressBarStyleHorizontal" | ||
android:minHeight="30dp" | ||
android:layout_width="match_parent" | ||
android:gravity="center" | ||
android:layout_height="wrap_content" /> | ||
<TextView | ||
android:id="@+id/progress_current_task" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:textColor="@color/govLightGray" | ||
android:textSize="20sp" | ||
android:text="@string/initializing_text" /> | ||
|
||
<TextView | ||
android:id="@+id/download_progress_text" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:textColor="@color/govLightGray" | ||
android:textSize="20sp" /> | ||
</LinearLayout> | ||
<ProgressBar | ||
android:id="@+id/download_progress_bar" | ||
style="?android:attr/progressBarStyleHorizontal" | ||
android:minHeight="30dp" | ||
android:layout_width="match_parent" | ||
android:gravity="center" | ||
android:layout_height="wrap_content" /> | ||
|
||
<TextView | ||
android:id="@+id/download_progress_text" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:textColor="@color/govLightGray" | ||
android:textSize="20sp" /> | ||
</LinearLayout> | ||
</android.support.design.widget.CoordinatorLayout> |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to "WIFI SETTINGS" so it's more clear where the button will take the users.