View bacini.JSON
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
{ | |
"nome_bacino": { | |
"stazioni": [{ | |
"nome_stazione": "xxxxx", | |
"sensori": { | |
"pluviometro": { | |
"api_pluviometro": "yyyy", | |
"id_sensore": 1234 | |
}, | |
"idrometro": { |
View bottomappbar-example-1.txt
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
implementation 'com.android.support:appcompat-v7:28.0.0' | |
implementation 'com.android.support:design:28.0.0' |
View bottomappbar-example-2.txt
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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 28 | |
defaultConfig { | |
applicationId "it.x.test" | |
minSdkVersion 23 | |
targetSdkVersion 28 | |
versionCode 1 | |
versionName "1.0" |
View bottomappbar-example-3.txt
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
<resources> | |
<!-- Base application theme. --> | |
<style name="AppTheme" parent="Theme.MaterialComponents"> | |
<!-- Customize your theme here. --> | |
<item name="colorPrimary">@color/colorPrimary</item> | |
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> | |
<item name="colorAccent">@color/colorAccent</item> | |
</style> |
View bottomappbar-example-4
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
<android.support.design.bottomappbar.BottomAppBar | |
android:id="@+id/bar" | |
android:layout_gravity="bottom" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
app:navigationIcon="@drawable/ic_menu_3"> | |
</android.support.design.bottomappbar.BottomAppBar> |
View bottombappbar-example-5
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
<android.support.design.widget.FloatingActionButton | |
android:id="@+id/fav" | |
android:elevation="8dp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_anchor="@id/bar" | |
android:src="@drawable/ic_add"/> |
View bottomappbar-example-6
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
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<android.support.design.bottomappbar.BottomAppBar | |
android:id="@+id/bar" |
View widget_layout.xml
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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" > | |
<!-- ListView to be shown on widget --> | |
<ListView | |
android:id="@+id/widget_layout_listview" | |
android:layout_width="match_parent" |
View widget_list_item.xml
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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" | |
android:background="@color/white"> | |
<TextView | |
android:id="@+id/widget_list_item_message" | |
android:layout_width="match_parent" |
View .eslintrc
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
{ | |
"extends": "react-app", | |
"rules": { | |
"no-console": "warn" | |
} | |
} |
OlderNewer