Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
62 changed files
with
811 additions
and
30 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
File renamed without changes
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?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.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="8dp"> | ||
<LinearLayout | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@color/generator_system_status_header" | ||
android:padding="8dp" | ||
android:baselineAligned="false"> | ||
<ImageView android:src="@drawable/ic_pdk_system_status" | ||
android:layout_width="24dp" | ||
android:layout_height="24dp" | ||
android:layout_marginRight="8dp" /> | ||
<TextView android:text="@string/generator_diagnostics_system_status" | ||
android:gravity="center_vertical|start" | ||
android:layout_width="0dp" | ||
android:layout_height="24dp" | ||
android:layout_weight="1" | ||
android:textSize="16sp" | ||
android:textStyle="bold" | ||
android:textColor="@android:color/white" /> | ||
<TextView android:id="@+id/generator_data_point_date" | ||
android:gravity="center_vertical" | ||
android:layout_width="wrap_content" | ||
android:layout_height="24dp" | ||
android:textSize="12sp" | ||
android:textColor="@android:color/white" | ||
android:layout_marginRight="8dp"/> | ||
</LinearLayout> | ||
<LinearLayout android:id="@+id/card_content" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:padding="0dp"> | ||
<com.github.mikephil.charting.charts.LineChart | ||
android:id="@+id/system_status_chart" | ||
android:layout_width="match_parent" | ||
android:layout_height="160dp" | ||
android:layout_marginBottom="0dp"/> | ||
<TextView android:id="@+id/system_status_runtime" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:textSize="12sp" | ||
android:textColor="@android:color/white" | ||
android:background="@color/generator_system_status_header" | ||
android:padding="8dp"/> | ||
</LinearLayout> | ||
<TextView android:id="@+id/card_empty" | ||
android:text="@string/message_generator_diagnostics_system_status_empty" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:padding="16dp" /> | ||
</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
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,13 +1,173 @@ | ||
<?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:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
<TextView android:id="@+id/content_info" | ||
android:text="TODO: BODY PAGE" | ||
android:layout_width="match_parent" | ||
<LinearLayout android:orientation="vertical" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="match_parent" | ||
android:gravity="center" | ||
android:padding="16dp" /> | ||
android:layout_margin="8dp"> | ||
<TextView android:layout_width="match_parent" | ||
android:textStyle="bold" | ||
android:gravity="center" | ||
android:layout_weight="1" | ||
android:layout_height="0dp" | ||
android:text="@string/generator_withings_body_title" | ||
android:layout_marginBottom="8dp"/> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1" | ||
android:layout_height="0dp"> | ||
<TextView android:id="@+id/label_body_one" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:textStyle="bold" | ||
android:gravity="right" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
<TextView android:id="@+id/value_body_one" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_marginLeft="8dp" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
</LinearLayout> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1" | ||
android:layout_height="0dp"> | ||
<TextView android:id="@+id/label_body_two" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:textStyle="bold" | ||
android:gravity="right" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
<TextView android:id="@+id/value_body_two" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_marginLeft="8dp" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
</LinearLayout> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1" | ||
android:layout_height="0dp"> | ||
<TextView android:id="@+id/label_body_three" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:textStyle="bold" | ||
android:gravity="right" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
<TextView android:id="@+id/value_body_three" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_marginLeft="8dp" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
</LinearLayout> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1" | ||
android:layout_height="0dp"> | ||
<TextView android:id="@+id/label_body_four" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:textStyle="bold" | ||
android:gravity="right" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
<TextView android:id="@+id/value_body_four" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_marginLeft="8dp" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
</LinearLayout> | ||
</LinearLayout> | ||
<LinearLayout android:orientation="vertical" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="match_parent"> | ||
<View android:layout_width="match_parent" | ||
android:textStyle="bold" | ||
android:layout_weight="1" | ||
android:layout_height="0dp" | ||
android:layout_marginBottom="8dp" /> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1" | ||
android:layout_height="0dp"> | ||
<TextView android:id="@+id/label_body_five" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:textStyle="bold" | ||
android:gravity="right" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
<TextView android:id="@+id/value_body_five" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_marginLeft="8dp" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
</LinearLayout> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1" | ||
android:layout_height="0dp"> | ||
<TextView android:id="@+id/label_body_six" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:textStyle="bold" | ||
android:gravity="right" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
<TextView android:id="@+id/value_body_six" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_marginLeft="8dp" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
</LinearLayout> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1" | ||
android:layout_height="0dp"> | ||
<TextView android:id="@+id/label_body_seven" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:textStyle="bold" | ||
android:gravity="right" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
<TextView android:id="@+id/value_body_seven" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_marginLeft="8dp" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
</LinearLayout> | ||
<LinearLayout android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1" | ||
android:layout_height="0dp"> | ||
<TextView android:id="@+id/label_body_eight" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:textStyle="bold" | ||
android:gravity="right" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
<TextView android:id="@+id/value_body_eight" | ||
android:layout_width="0dp" | ||
android:layout_marginLeft="8dp" | ||
android:layout_weight="1" | ||
android:layout_height="match_parent" | ||
android:text="@string/generator_withings_body_placeholder" /> | ||
</LinearLayout> | ||
</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
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.