Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- repositories {
- jcenter()
- }
- dependencies {
- classpath 'org.javafxports:jfxmobile-plugin:1.2.0'
- }
- }
- apply plugin :'org.javafxports.jfxmobile'
- repositories {
- jcenter()
- maven {
- url 'http://nexus.gluonhq.com/nexus/content/repositories/releases'
- }
- }
- mainClassName = 'com.sample.Main'
- dependencies {
- compile 'com.gluonhq:charm:4.2.0'
- compile 'com.jfoenix:jfoenix:1.0.0'
- //compile files('lib/jfoenix-0.0.0-SNAPSHOT-retrolambda.jar')
- }
- jfxmobile {
- downConfig {
- version = '3.1.0'
- // Do not edit the line below. Use Gluon Mobile Settings in your project context menu instead
- plugins 'display', 'lifecycle', 'statusbar', 'storage'
- }
- android {
- manifest = 'src/android/AndroidManifest.xml'
- }
- ios {
- infoPList = file('src/ios/Default-Info.plist')
- forceLinkClasses = [
- 'com.gluonhq.**.*',
- 'javax.annotations.**.*',
- 'javax.inject.**.*',
- 'javax.json.**.*',
- 'org.glassfish.json.**.*'
- ]
- }
- <?xml version="1.0" encoding="UTF-8"?>
- <?language javascript?>
- <?import com.jfoenix.controls.JFXDatePicker?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.control.ToggleButton?>
- <?import javafx.scene.control.ToggleGroup?>
- <?import javafx.scene.image.Image?>
- <?import javafx.scene.image.ImageView?>
- <?import javafx.scene.layout.AnchorPane?>
- <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="620.0" prefWidth="360.0" style="-fx-background-color: linear-gradient(#c3361d,fuchsia);" stylesheets="@Next.css" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.android.scheduler.Next">
- <children>
- <Label text="Now ,You can Schedule Wifi" AnchorPane.leftAnchor="70.0" />
- <ToggleButton fx:id="ON" layoutX="152.0" layoutY="68.0" mnemonicParsing="false" onAction="#ON" text="On">
- <toggleGroup>
- <ToggleGroup fx:id="select" />
- </toggleGroup>
- </ToggleButton>
- <ToggleButton fx:id="OFF" layoutX="195.0" layoutY="68.0" mnemonicParsing="false" onAction="#OFF" text="Off" toggleGroup="$select" />
- <Label layoutX="49.0" layoutY="66.0" text="Action:" /> <Label fx:id="scheduled" layoutX="76.0" layoutY="107.0" text="Choose between Any one" />
- <Label layoutX="5.0" layoutY="202.0" text="Start Time:" />
- <Label layoutX="6.0" layoutY="283.0" text="End Time :" />
- <Button defaultButton="true" layoutX="129.0" layoutY="354.0" mnemonicParsing="false" text="Schedule" textAlignment="CENTER">
- <graphic>
- <ImageView>
- <image>
- <Image url="@reminders-24.png" />
- </image>
- </ImageView>
- </graphic>
- </Button>
- <Button layoutX="113.0" layoutY="436.0" mnemonicParsing="false" onAction="#gotoHome" text="Back to Home">
- <graphic>
- <ImageView>
- <image>
- <Image url="@home-24.png" />
- </image>
- </ImageView>
- </graphic>
- </Button>
- <Label layoutX="195.0" layoutY="247.0" text="to" />
- <Label layoutX="110.0" layoutY="155.0" text="Hours" />
- <Label layoutX="184.0" layoutY="155.0" text="Minutes" />
- <JFXDatePicker fx:id="start" defaultColor="#b2dbee" layoutX="139.0" layoutY="210.0" showTime="true" />
- <JFXDatePicker fx:id="end" defaultColor="#b2dbee" layoutX="139.0" layoutY="287.0" showTime="true" />
- </children>
- </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement