Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Additional diagnostics work
- Loading branch information
1 parent
1c1cc49
commit 2711f7b
Showing
20 changed files
with
168 additions
and
65 deletions.
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,20 +1,41 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:card_view="http://schemas.android.com/apk/res-auto" | ||
android:orientation="vertical" android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="8dp"> | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<android.support.v7.widget.CardView | ||
android:id="@+id/card_view" | ||
android:layout_gravity="center" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
card_view:cardCornerRadius="4dp" | ||
android:layout_margin="16dp"> | ||
<TextView | ||
android:id="@+id/message_action" | ||
android:layout_margin="16dp" | ||
android:layout_margin="8dp"> | ||
<LinearLayout | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
android:layout_height="wrap_content"> | ||
<TextView android:id="@+id/action_title" | ||
android:background="#C62828" | ||
android:padding="8dp" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center_vertical|start" | ||
android:layout_weight="1" | ||
android:textSize="14sp" | ||
android:textStyle="bold" | ||
android:textColor="@android:color/white" /> | ||
<TextView android:id="@+id/action_message" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="bottom" | ||
android:textSize="14sp" | ||
android:textColor="@android:color/black" | ||
android:background="@android:color/white" | ||
android:padding="12dp"> | ||
</TextView> | ||
</LinearLayout> | ||
</android.support.v7.widget.CardView> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<android.support.v7.widget.RecyclerView | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/list_view" | ||
android:scrollbars="vertical" | ||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
android:layout_height="match_parent"> | ||
<android.support.v7.widget.RecyclerView | ||
android:id="@+id/list_view" | ||
android:scrollbars="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
<TextView android:id="@+id/message_no_diagnostics" | ||
android:text="@string/message_no_diagnostic_actions" | ||
android:gravity="center" | ||
android:textSize="14sp" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
</FrameLayout> |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<menu xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" > | ||
<item android:id="@+id/action_diagnostics" | ||
android:title="@string/action_diagnostics" | ||
app:showAsAction="never" /> | ||
</menu> |
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,7 +1,19 @@ | ||
<resources> | ||
<string name="diagnostic_missing_msft_band_client">Unable to connect to Microsoft Band.</string> | ||
<string name="diagnostic_missing_msft_band_client_title">Microsoft Band App Not Installed</string> | ||
<string name="diagnostic_missing_msft_band_client">Unable to connect to Microsoft Band. Please install the app and try again.</string> | ||
|
||
<string name="diagnostic_missing_msft_band_auth_title">Microsoft Band Permission Required</string> | ||
<string name="diagnostic_missing_msft_band_auth">Please grant the app sensor access on the Microsoft Band.</string> | ||
<string name="diagnostic_missing_location_permission">Please grant the app permission to access location services on this device.</string> | ||
|
||
<string name="diagnostic_missing_activity_recognition_permission_title">Activity Recognition Permission Required</string> | ||
<string name="diagnostic_missing_activity_recognition_permission">Please grant the app permission to recognize your activity using data from this device.</string> | ||
|
||
<string name="diagnostic_call_log_permission_required_title">Call Log Permission Required</string> | ||
<string name="diagnostic_call_log_permission_required">Please grant the app permission to access the phone call logs on this device.</string> | ||
|
||
<string name="diagnostic_sms_log_permission_required_title">Text Messaging Permission Required</string> | ||
<string name="diagnostic_sms_log_permission_required">Please all the app permission to access your text messages to gather and report your messaging activity statistics.</string> | ||
|
||
<string name="diagnostic_missing_location_permission_title">Location Permission Required</string> | ||
<string name="diagnostic_missing_location_permission">Please grant the app permission to access location services on this device.</string> | ||
</resources> |
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
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.