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
<vector xmlns:android="http://schemas.android.com/apk/res/android" | |
android:width="24dp" | |
android:height="24dp" | |
android:viewportWidth="24" | |
android:viewportHeight="24" | |
android:tint="?attr/colorControlNormal"> | |
<path | |
android:fillColor="#fff" | |
android:pathData="M4.8,12a7.2,7.2 0 0 0 14.4,0a7.2,7.2 0 0 0 -14.4,0zM8.4,12a3.6,3.6 0 0 1 7.2,0a3.6,3.6 0 0 1 -7.2,0z" /> | |
<path |
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
<uses-library android:name="com.google.android.things" android:required="false" /> | |
if (Utils.IS_IOT) { | |
// running Android Things | |
} | |
public class Utils { | |
public static final boolean IS_IOT = isIot(); |
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
/* | |
* Copyright 2016 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |