Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from audaciouscode/cjk_withings_device_integration
Withings device integration
- Loading branch information
Showing
113 changed files
with
6,579 additions
and
253 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
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.
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.
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
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.
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.
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?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="#424242" | ||
android:padding="8dp" | ||
android:baselineAligned="false"> | ||
<ImageView android:src="@drawable/ic_pdk_app_events" | ||
android:layout_width="24dp" | ||
android:layout_height="24dp" | ||
android:layout_marginRight="8dp" /> | ||
<TextView android:text="@string/generator_app_events" | ||
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> | ||
<FrameLayout android:id="@+id/card_content" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<include layout="@layout/card_generator_app_event_page" | ||
android:id="@+id/card_sizer" /> | ||
<android.support.v4.view.ViewPager | ||
android:id="@+id/content_pager" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
</android.support.v4.view.ViewPager> | ||
</FrameLayout> | ||
<TextView android:id="@+id/card_empty" | ||
android:text="@string/message_generator_device_app_event_empty" | ||
android:layout_width="wrap_content" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,186 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<LinearLayout android:id="@+id/app_event_row_0" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<TextView android:id="@+id/app_event_row_event_name" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
<TextView android:id="@+id/app_event_row_event_when" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
</LinearLayout> | ||
<LinearLayout android:id="@+id/app_event_row_1" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="#F5F5F5"> | ||
<TextView android:id="@+id/app_event_row_event_name" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
<TextView android:id="@+id/app_event_row_event_when" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
</LinearLayout> | ||
<LinearLayout android:id="@+id/app_event_row_2" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<TextView android:id="@+id/app_event_row_event_name" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
<TextView android:id="@+id/app_event_row_event_when" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
</LinearLayout> | ||
<LinearLayout android:id="@+id/app_event_row_3" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="#F5F5F5"> | ||
<TextView android:id="@+id/app_event_row_event_name" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
<TextView android:id="@+id/app_event_row_event_when" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
</LinearLayout> | ||
<LinearLayout android:id="@+id/app_event_row_4" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<TextView android:id="@+id/app_event_row_event_name" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
<TextView android:id="@+id/app_event_row_event_when" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
</LinearLayout> | ||
<LinearLayout android:id="@+id/app_event_row_5" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="#F5F5F5"> | ||
<TextView android:id="@+id/app_event_row_event_name" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
<TextView android:id="@+id/app_event_row_event_when" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
</LinearLayout> | ||
<LinearLayout android:id="@+id/app_event_row_6" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<TextView android:id="@+id/app_event_row_event_name" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
<TextView android:id="@+id/app_event_row_event_when" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
</LinearLayout> | ||
<LinearLayout android:id="@+id/app_event_row_7" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="#F5F5F5"> | ||
<TextView android:id="@+id/app_event_row_event_name" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:text="-" /> | ||
<TextView android:id="@+id/app_event_row_event_when" | ||
android:paddingLeft="8dp" | ||
android:paddingRight="8dp" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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"> | ||
<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/label_generator" | ||
android:layout_margin="16dp" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
</android.support.v7.widget.CardView> | ||
</LinearLayout> |
Oops, something went wrong.