press item above deactivated icon tap icon to the left of the google fit turn on the icon next to google fit
{"activity_name": "com.withings.wiscale2/com.withings.wiscale2.partner.ui.GoogleFitPartnerActivity", "activity": {"root": {"scrollable-horizontal": false, "draw": true, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 0, 1440, 2560], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1440, 2560], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 0, 1440, 2392], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1440, 2392], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "android:id/action_mode_bar_stub", "adapter-view": false, "pointer": "bab5e6e", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": true, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "android.view.ViewStub", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [0, 0, 0, 0], "pressed": "not_pressed", "scrollable-vertical": false}, {"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 84, 1440, 2392], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 84, 1440, 2392], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "com.withings.wiscale2:id/action_bar_root", "adapter-view": false, "pointer": "18ffd9c", "children": [{"resource-id": "android:id/content", "adapter-view": false, "pointer": "c3cb3a5", "children": [{"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 84, 1440, 687], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1440, 603], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "com.withings.wiscale2:id/toolbar", "adapter-view": false, "pointer": "53d072b", "children": [{"text": "Google Fit", "scrollable-vertical": false, "adapter-view": false, "pointer": "96d5788", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [252, 51, 569, 144], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "default", "class": "android.widget.TextView", "visible-to-user": true, "enabled": true, "bounds": [252, 135, 569, 228], "pressed": "not_pressed"}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.widget.ImageView", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 84, 196, 280], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 196, 196], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "f69e521", "class": "android.widget.ImageButton", "visible-to-user": true}, {"scrollable-horizontal": false, "draw": true, "ancestors": ["android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [1440, 84, 1440, 280], "visibility": "visible", "content-desc": [null], "rel-bounds": [1440, 0, 1440, 196], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "c6ccd46", "class": "android.support.v7.widget.ActionMenuView", "visible-to-user": false}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 196], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.v7.widget.Toolbar", "visible-to-user": true, "package": "com.withings.wiscale2", "enabled": true, "bounds": [0, 84, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 280, 1440, 448], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 196, 1440, 364], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Deactivated", "resource-id": "android:id/text1", "adapter-view": false, "pointer": "2446434", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 42, 1218, 126], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "default", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [56, 322, 1218, 406], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "", "resource-id": "com.withings.wiscale2:id/activate", "adapter-view": false, "pointer": "1deb25d", "scrollable-horizontal": false, "ancestors": ["android.widget.CompoundButton", "android.widget.Button", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1218, 36, 1384, 131], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "font-family": "default", "class": "android.support.v7.widget.SwitchCompat", "visible-to-user": true, "package": "com.withings.wiscale2", "enabled": true, "bounds": [1218, 316, 1384, 411], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "b02eb07", "class": "android.widget.LinearLayout", "visible-to-user": true}, {"text": "Google Fit allows you to store and manage your health and fitness data as well as share it with other apps.", "scrollable-vertical": false, "adapter-view": false, "pointer": "71877d2", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 364, 1440, 599], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "default", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": true, "enabled": true, "bounds": [0, 448, 1440, 683], "pressed": "not_pressed"}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 683, 1440, 687], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 599, 1440, 603], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "85930a3", "class": "android.view.View", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "b32f37a", "class": "android.widget.LinearLayout", "visible-to-user": true}], "scrollable-horizontal": false, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 2308], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.v7.widget.ContentFrameLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 84, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.withings.wiscale2:id/action_mode_bar_stub", "adapter-view": false, "pointer": "bdd8fa0", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": true, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.v7.widget.ViewStubCompat", "visible-to-user": false, "package": "com.withings.wiscale2", "enabled": true, "bounds": [0, 84, 0, 84], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": false, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 2308], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.v7.widget.FitWindowsFrameLayout", "visible-to-user": true, "package": "com.withings.wiscale2", "enabled": true, "bounds": [0, 84, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "5d0e90f", "class": "android.widget.FrameLayout", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "840e1e9", "class": "android.widget.LinearLayout", "visible-to-user": true}, {"resource-id": "android:id/navigationBarBackground", "adapter-view": false, "pointer": "4d91759", "scrollable-horizontal": false, "ancestors": ["java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 2392, 1440, 2560], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.view.View", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 2392, 1440, 2560], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/statusBarBackground", "adapter-view": false, "pointer": "d623f1e", "scrollable-horizontal": false, "ancestors": ["java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 84], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.view.View", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 0, 1440, 84], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "cd2aa70", "class": "com.android.internal.policy.PhoneWindow$DecorView", "visible-to-user": true}, "added_fragments": [], "active_fragments": []}, "is_keyboard_deployed": false, "request_id": "1020"}
{"ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "class": "com.android.internal.policy.PhoneWindow$DecorView", "bounds": [0, 0, 1440, 2560], "clickable": false, "children": [{"resource-id": "com.withings.wiscale2:id/toolbar", "children": [{"text": "Google Fit", "ancestors": ["android.view.View", "java.lang.Object"], "clickable": false, "class": "android.widget.TextView", "bounds": [252, 135, 569, 228], "componentLabel": "Text"}, {"iconClass": "arrow_backward", "ancestors": ["android.widget.ImageView", "android.view.View", "java.lang.Object"], "bounds": [0, 84, 196, 280], "clickable": true, "class": "android.widget.ImageButton", "componentLabel": "Icon"}], "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.Toolbar", "bounds": [0, 84, 1440, 280], "componentLabel": "Toolbar"}, {"text": "Google Fit allows you to store and manage your health and fitness data as well as share it with other apps.", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [0, 448, 1440, 683], "componentLabel": "Text"}, {"text": "Deactivated", "resource-id": "android:id/text1", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [56, 322, 1218, 406], "componentLabel": "Text"}, {"text": "", "resource-id": "com.withings.wiscale2:id/activate", "ancestors": ["android.widget.CompoundButton", "android.widget.Button", "android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.support.v7.widget.SwitchCompat", "bounds": [1218, 316, 1384, 411], "componentLabel": "Input"}]}