├── app ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── font │ │ │ ├── cabin.ttf │ │ │ ├── rubik.ttf │ │ │ ├── alegreya.ttf │ │ │ ├── nunito.ttf │ │ │ ├── pacifico.ttf │ │ │ ├── quicksand.ttf │ │ │ ├── ibmplexsans.ttf │ │ │ ├── inconsolata.ttf │ │ │ ├── merriweather.ttf │ │ │ └── quattrocento.ttf │ │ ├── drawable │ │ │ ├── nobglogo.png │ │ │ ├── circle.xml │ │ │ ├── ic_circle.xml │ │ │ ├── ic_check.xml │ │ │ ├── settings_watch_face_preview_background.xml │ │ │ ├── ic_capitalisationp.xml │ │ │ ├── ic_infop.xml │ │ │ ├── ic_complicationp.xml │ │ │ ├── ic_miscp.xml │ │ │ ├── ic_fontp.xml │ │ │ ├── ic_datep.xml │ │ │ ├── ic_showhidep.xml │ │ │ ├── ic_colorp.xml │ │ │ ├── ic_languagep.xml │ │ │ └── custom_complication_styles.xml │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── drawable-hdpi │ │ │ ├── add_complication.png │ │ │ └── added_complication.png │ │ ├── drawable-nodpi │ │ │ ├── preview_digital.png │ │ │ └── preview_digital_circular.png │ │ ├── xml │ │ │ └── watch_face.xml │ │ ├── values │ │ │ ├── ic_launcher_background.xml │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ └── styles.xml │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ └── layout │ │ │ ├── wearablerecyclerview_activity.xml │ │ │ ├── textview_item.xml │ │ │ ├── imageview_and_textview_item.xml │ │ │ ├── switch_and_textview_item.xml │ │ │ ├── font_size_info_activity.xml │ │ │ ├── about_screen.xml │ │ │ ├── font_size_activity.xml │ │ │ └── activity_config.xml │ │ ├── ic_launcher-web.png │ │ ├── java │ │ └── com │ │ │ └── layoutxml │ │ │ └── twelveish │ │ │ ├── WordClockListener.java │ │ │ ├── objects │ │ │ ├── StringOption.java │ │ │ ├── IntegerOption.java │ │ │ ├── FontOption.java │ │ │ ├── BooleanOption.java │ │ │ ├── WordClockTaskWrapper.java │ │ │ └── ActivityOption.java │ │ │ └── activities │ │ │ ├── AboutActivity.java │ │ │ ├── FontSizeInfoActivity.java │ │ │ ├── FontSizeActivity.java │ │ │ └── list_activities │ │ │ ├── IntegerTextViewOptionsActivity.java │ │ │ ├── ActivityTextViewActivity.java │ │ │ ├── FontTextViewActivity.java │ │ │ └── ActivityImageViewActivity.java │ │ └── AndroidManifest.xml ├── release │ └── output.json ├── proguard-rules.pro └── build.gradle ├── phone ├── .gitignore ├── src │ └── main │ │ ├── ic_launcher-web.png │ │ ├── res │ │ ├── font │ │ │ ├── cabin.ttf │ │ │ ├── nunito.ttf │ │ │ ├── rubik.ttf │ │ │ ├── alegreya.ttf │ │ │ ├── pacifico.ttf │ │ │ ├── ibmplexsans.ttf │ │ │ ├── inconsolata.ttf │ │ │ ├── quicksand.ttf │ │ │ ├── merriweather.ttf │ │ │ └── quattrocento.ttf │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── drawable │ │ │ ├── ic_launcher_web.png │ │ │ ├── ic_send.xml │ │ │ ├── ic_active.xml │ │ │ ├── ic_save.xml │ │ │ ├── ic_inactive.xml │ │ │ └── ic_launcher_background.xml │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ ├── ic_launcher_round.png │ │ │ └── ic_launcher_foreground.png │ │ ├── values │ │ │ ├── ic_launcher_background.xml │ │ │ ├── colors.xml │ │ │ └── styles.xml │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── drawable-xhdpi │ │ │ └── circle.xml │ │ ├── layout │ │ │ ├── color_selection_activity.xml │ │ │ ├── preview_fragment.xml │ │ │ ├── imageview_and_textview_item.xml │ │ │ ├── switch_and_textview_item.xml │ │ │ ├── shared_settings_fragment.xml │ │ │ ├── complication_settings_fragment.xml │ │ │ ├── textview_item.xml │ │ │ ├── top_settings_fragment.xml │ │ │ ├── home_screen.xml │ │ │ ├── install_activity.xml │ │ │ ├── customize_screen.xml │ │ │ └── about_screen.xml │ │ └── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ └── com │ │ │ └── layoutxml │ │ │ └── twelveish │ │ │ ├── WordClockListener.java │ │ │ ├── dagger │ │ │ ├── PerCustomization.java │ │ │ ├── App.java │ │ │ ├── CommunicatorComponent.java │ │ │ ├── SettingsManagerComponent.java │ │ │ └── SettingsManagerModule.java │ │ │ ├── PreviewTransition.java │ │ │ ├── activities │ │ │ ├── AboutActivityP.java │ │ │ ├── InstallActivity.java │ │ │ └── ColorSelectionActivity.java │ │ │ ├── objects │ │ │ └── WordClockTaskWrapper.java │ │ │ ├── fragments │ │ │ ├── PreviewFragment.java │ │ │ ├── ComplicationSettingsFragment.java │ │ │ ├── SharedSettingsFragment.java │ │ │ └── MainTextSettingsFragment.java │ │ │ ├── adapters │ │ │ ├── OptionsPagerAdapter.java │ │ │ ├── TextviewRecyclerViewAdapter.java │ │ │ ├── ImageRecyclerViewAdapter.java │ │ │ └── SwitchRecyclerViewAdapter.java │ │ │ ├── HomeScreen.java │ │ │ ├── SettingsManager.java │ │ │ └── CustomizationScreen.java │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── screenshots ├── Twelveish-1.png ├── Twelveish-2.png ├── Twelveish-3.png ├── Twelveish-4.png ├── Twelveish-5.png ├── Twelveish-Logo.png └── Twelveish-FeatureGraphic.png ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── encodings.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── jarRepositories.xml ├── misc.xml └── codeStyles │ └── Project.xml ├── gradle.properties ├── .gitignore ├── gradlew.bat ├── gradlew └── README.md /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /phone/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':phone' 2 | -------------------------------------------------------------------------------- /screenshots/Twelveish-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/screenshots/Twelveish-1.png -------------------------------------------------------------------------------- /screenshots/Twelveish-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/screenshots/Twelveish-2.png -------------------------------------------------------------------------------- /screenshots/Twelveish-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/screenshots/Twelveish-3.png -------------------------------------------------------------------------------- /screenshots/Twelveish-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/screenshots/Twelveish-4.png -------------------------------------------------------------------------------- /screenshots/Twelveish-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/screenshots/Twelveish-5.png -------------------------------------------------------------------------------- /app/src/main/res/font/cabin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/cabin.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/rubik.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/rubik.ttf -------------------------------------------------------------------------------- /screenshots/Twelveish-Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/screenshots/Twelveish-Logo.png -------------------------------------------------------------------------------- /app/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /app/src/main/res/font/alegreya.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/alegreya.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/nunito.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/nunito.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/pacifico.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/pacifico.ttf -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /phone/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /phone/src/main/res/font/cabin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/cabin.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/nunito.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/nunito.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/rubik.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/rubik.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/quicksand.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/quicksand.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/alegreya.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/alegreya.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/pacifico.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/pacifico.ttf -------------------------------------------------------------------------------- /app/src/main/res/drawable/nobglogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/drawable/nobglogo.png -------------------------------------------------------------------------------- /app/src/main/res/font/ibmplexsans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/ibmplexsans.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/inconsolata.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/inconsolata.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/merriweather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/merriweather.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/quattrocento.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/font/quattrocento.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/ibmplexsans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/ibmplexsans.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/inconsolata.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/inconsolata.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/quicksand.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/quicksand.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/merriweather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/merriweather.ttf -------------------------------------------------------------------------------- /phone/src/main/res/font/quattrocento.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/font/quattrocento.ttf -------------------------------------------------------------------------------- /screenshots/Twelveish-FeatureGraphic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/screenshots/Twelveish-FeatureGraphic.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /phone/src/main/res/drawable/ic_launcher_web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/drawable/ic_launcher_web.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/add_complication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/drawable-hdpi/add_complication.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-nodpi/preview_digital.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/drawable-nodpi/preview_digital.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/xml/watch_face.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/added_complication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/drawable-hdpi/added_complication.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-nodpi/preview_digital_circular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/app/src/main/res/drawable-nodpi/preview_digital_circular.png -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutXML/Twelveish/HEAD/phone/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #2196F3 4 | -------------------------------------------------------------------------------- /phone/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #2196F3 4 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #000000 4 | #ffffff 5 | 6 | -------------------------------------------------------------------------------- /app/release/output.json: -------------------------------------------------------------------------------- 1 | [{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":266,"versionName":"2.3.2","enabled":true,"outputFile":"phone-release.apk","fullName":"release","baseName":"release"},"path":"phone-release.apk","properties":{}}] -------------------------------------------------------------------------------- /app/src/main/java/com/layoutxml/twelveish/WordClockListener.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish; 2 | 3 | import com.layoutxml.twelveish.objects.WordClockTaskWrapper; 4 | 5 | public interface WordClockListener { 6 | void wordClockListener(WordClockTaskWrapper wordClockTaskWrapper); 7 | } 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Jun 02 22:38:46 EEST 2020 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip 7 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/WordClockListener.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish; 2 | 3 | import com.layoutxml.twelveish.objects.WordClockTaskWrapper; 4 | 5 | public interface WordClockListener { 6 | void wordClockListener(WordClockTaskWrapper wordClockTaskWrapper); 7 | } 8 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /phone/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | -------------------------------------------------------------------------------- /phone/src/main/res/drawable/ic_send.xml: -------------------------------------------------------------------------------- 1 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 11 | 12 | -------------------------------------------------------------------------------- /phone/src/main/res/drawable-xhdpi/circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_check.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 40sp 4 | 45sp 5 | 15dp 6 | 25dp 7 | 90dp 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/settings_watch_face_preview_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 11 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/dagger/PerCustomization.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.dagger; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.Retention; 5 | 6 | import javax.inject.Scope; 7 | 8 | import static java.lang.annotation.RetentionPolicy.RUNTIME; 9 | 10 | @Scope 11 | @Documented 12 | @Retention(RUNTIME) 13 | public @interface PerCustomization { 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_capitalisationp.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_infop.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/PreviewTransition.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish; 2 | 3 | import android.transition.Transition; 4 | import android.transition.TransitionValues; 5 | 6 | public class PreviewTransition extends Transition { 7 | @Override 8 | public void captureStartValues(TransitionValues transitionValues) { 9 | 10 | } 11 | 12 | @Override 13 | public void captureEndValues(TransitionValues transitionValues) { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /phone/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | #2196f3 10 | #2196f3 11 | #b2b2b2 12 | #2196f3 13 | #212121 14 | #FAFAFA 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/wearablerecyclerview_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /phone/src/main/res/drawable/ic_active.xml: -------------------------------------------------------------------------------- 1 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /phone/src/main/res/drawable/ic_save.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_complicationp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_miscp.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_fontp.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_datep.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/dagger/App.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.dagger; 2 | 3 | import android.app.Application; 4 | 5 | public class App extends Application { 6 | 7 | private CommunicatorComponent component; 8 | 9 | @Override 10 | public void onCreate() { 11 | super.onCreate(); 12 | 13 | component = DaggerCommunicatorComponent.factory() 14 | .create(getApplicationContext()); 15 | } 16 | 17 | public CommunicatorComponent getCommunicatorComponent() { 18 | return component; 19 | } 20 | 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/dagger/CommunicatorComponent.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.dagger; 2 | 3 | import android.content.Context; 4 | 5 | import com.layoutxml.twelveish.Communicator; 6 | 7 | import javax.inject.Singleton; 8 | 9 | import dagger.BindsInstance; 10 | import dagger.Component; 11 | 12 | @Singleton 13 | @Component 14 | public interface CommunicatorComponent { 15 | 16 | Communicator getCommunicator(); 17 | 18 | @Component.Factory 19 | interface Factory { 20 | CommunicatorComponent create(@BindsInstance Context context); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_showhidep.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/dagger/SettingsManagerComponent.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.dagger; 2 | 3 | import android.content.Context; 4 | 5 | import com.layoutxml.twelveish.SettingsManager; 6 | 7 | import dagger.BindsInstance; 8 | import dagger.Component; 9 | 10 | @PerCustomization 11 | @Component(modules = SettingsManagerModule.class) 12 | public interface SettingsManagerComponent { 13 | 14 | SettingsManager getSettingsManager(); 15 | 16 | @Component.Factory 17 | interface Factory { 18 | SettingsManagerComponent create(@BindsInstance Context context); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /phone/src/main/res/layout/color_selection_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/layoutxml/twelveish/objects/StringOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018. LayoutXML 3 | * Created by LayoutXML. 4 | * 5 | */ 6 | 7 | package com.layoutxml.twelveish.objects; 8 | 9 | public class StringOption { 10 | 11 | public String name; 12 | public String symbol; 13 | 14 | public String getSymbol() { 15 | return symbol; 16 | } 17 | 18 | public void setSymbol(String symbol) { 19 | this.symbol = symbol; 20 | } 21 | 22 | public String getName() { 23 | return name; 24 | } 25 | 26 | public void setName(String name) { 27 | this.name = name; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/com/layoutxml/twelveish/objects/IntegerOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018. LayoutXML 3 | * Created by LayoutXML. 4 | * 5 | */ 6 | 7 | package com.layoutxml.twelveish.objects; 8 | 9 | public class IntegerOption { 10 | private String name; 11 | private Integer integer; 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | 21 | public Integer getInteger() { 22 | return integer; 23 | } 24 | 25 | public void setInteger(Integer integer) { 26 | this.integer = integer; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/dagger/SettingsManagerModule.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.dagger; 2 | 3 | import android.content.Context; 4 | 5 | import com.layoutxml.twelveish.SettingsManager; 6 | 7 | import dagger.Module; 8 | import dagger.Provides; 9 | 10 | @Module 11 | public class SettingsManagerModule { 12 | 13 | @PerCustomization 14 | @Provides 15 | SettingsManager provideSettingsManager(Context context) { 16 | SettingsManager sm = new SettingsManager(context); 17 | sm.initializeDefaultBooleans(); 18 | sm.initializeDefaultIntegers(); 19 | sm.initializeDefaultStrings(); 20 | return sm; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/java/com/layoutxml/twelveish/objects/FontOption.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.objects; 2 | 3 | import android.graphics.Typeface; 4 | 5 | public class FontOption { 6 | 7 | private String name; 8 | private String key; 9 | private Typeface typeface; 10 | 11 | public Typeface getTypeface() { 12 | return typeface; 13 | } 14 | 15 | public void setTypeface(Typeface typeface) { 16 | this.typeface = typeface; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | 27 | public String getKey() { 28 | return key; 29 | } 30 | 31 | public void setKey(String key) { 32 | this.key = key; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/res/layout/textview_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 23 | 24 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The activityOption is particularly useful for tweaking memory settings. 9 | android.enableJetifier=true 10 | android.useAndroidX=true 11 | org.gradle.jvmargs=-Xmx1536m 12 | # When configured, Gradle will run in incubating parallel mode. 13 | # This option should only be used with decoupled projects. More details, visit 14 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 15 | # org.gradle.parallel=true 16 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles activityOption in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /phone/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles activityOption in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /phone/src/main/res/drawable/ic_inactive.xml: -------------------------------------------------------------------------------- 1 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_colorp.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/layoutxml/twelveish/activities/AboutActivity.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.activities; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.widget.TextView; 6 | 7 | import com.layoutxml.twelveish.BuildConfig; 8 | import com.layoutxml.twelveish.R; 9 | 10 | public class AboutActivity extends Activity{ 11 | 12 | @Override 13 | public void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | setContentView(R.layout.about_screen); 16 | 17 | int versionCode = BuildConfig.VERSION_CODE; 18 | String versionName = BuildConfig.VERSION_NAME; 19 | 20 | TextView License2 = findViewById(R.id.license2); 21 | License2.setText("Version name: "+versionName); 22 | 23 | TextView License3 = findViewById(R.id.license3); 24 | License3.setText("Version code: "+versionCode); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/activities/AboutActivityP.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.activities; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.widget.TextView; 6 | 7 | import com.layoutxml.twelveish.BuildConfig; 8 | import com.layoutxml.twelveish.R; 9 | 10 | public class AboutActivityP extends Activity{ 11 | 12 | @Override 13 | public void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | setContentView(R.layout.about_screen); 16 | 17 | int versionCode = BuildConfig.VERSION_CODE; 18 | String versionName = BuildConfig.VERSION_NAME; 19 | 20 | TextView License2 = findViewById(R.id.license2); 21 | License2.setText("Version name: "+versionName); 22 | 23 | TextView License3 = findViewById(R.id.license3); 24 | License3.setText("Version code: "+versionCode); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /phone/src/main/res/layout/preview_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 18 | 19 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/activities/InstallActivity.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.activities; 2 | 3 | import android.app.Activity; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.view.View; 7 | import android.widget.Button; 8 | 9 | import androidx.annotation.Nullable; 10 | 11 | import com.layoutxml.twelveish.R; 12 | 13 | public class InstallActivity extends Activity { 14 | 15 | @Override 16 | protected void onCreate(@Nullable Bundle savedInstanceState) { 17 | super.onCreate(savedInstanceState); 18 | setContentView(R.layout.install_activity); 19 | 20 | Button aboutButton = findViewById(R.id.about); 21 | aboutButton.setOnClickListener(new View.OnClickListener() { 22 | @Override 23 | public void onClick(View v) { 24 | Intent intent = new Intent(getApplicationContext(), AboutActivityP.class); 25 | startActivity(intent); 26 | } 27 | }); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/res/layout/imageview_and_textview_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 21 | 22 | 30 | 31 | -------------------------------------------------------------------------------- /app/src/main/java/com/layoutxml/twelveish/objects/BooleanOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018. LayoutXML 3 | * Created by LayoutXML. 4 | * 5 | */ 6 | 7 | package com.layoutxml.twelveish.objects; 8 | 9 | public class BooleanOption { 10 | 11 | private String name; 12 | private String key; 13 | private Boolean bool; 14 | private Boolean defaultOption; 15 | 16 | public Boolean getDefaultOption() { 17 | return defaultOption; 18 | } 19 | 20 | public void setDefaultOption(Boolean defaultOption) { 21 | this.defaultOption = defaultOption; 22 | } 23 | 24 | public String getKey() { 25 | return key; 26 | } 27 | 28 | public void setKey(String key) { 29 | this.key = key; 30 | } 31 | 32 | public Boolean getBool() { 33 | return bool; 34 | } 35 | 36 | public void setBool(Boolean bool) { 37 | this.bool = bool; 38 | } 39 | 40 | public String getName() { 41 | return name; 42 | } 43 | 44 | public void setName(String name) { 45 | this.name = name; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/src/main/res/layout/switch_and_textview_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 22 | 23 | 31 | 32 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 29 5 | defaultConfig { 6 | applicationId "com.layoutxml.twelveish" 7 | minSdkVersion 23 8 | targetSdkVersion 29 9 | versionCode 267 10 | versionName "2.3.2" 11 | multiDexEnabled true 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled true 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | implementation fileTree(dir: 'libs', include: ['*.jar']) 23 | implementation 'com.google.android.support:wearable:2.7.0' 24 | implementation 'com.google.android.gms:play-services-wearable:17.0.0' 25 | implementation 'androidx.percentlayout:percentlayout:1.0.0' 26 | implementation 'androidx.legacy:legacy-support-v4:1.0.0' 27 | implementation 'androidx.recyclerview:recyclerview:1.2.0-alpha03' 28 | implementation 'androidx.wear:wear:1.0.0' 29 | compileOnly 'com.google.android.wearable:wearable:2.7.0' 30 | implementation "androidx.constraintlayout:constraintlayout:1.1.3" 31 | } 32 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/objects/WordClockTaskWrapper.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.objects; 2 | 3 | public class WordClockTaskWrapper { 4 | 5 | private String text; 6 | private float basey; 7 | private float textSize; 8 | private float x; 9 | 10 | public WordClockTaskWrapper(String text, float basey, float textSize, float x) { 11 | this.text = text; 12 | this.basey = basey; 13 | this.textSize = textSize; 14 | this.x = x; 15 | } 16 | 17 | public float getX() { 18 | return x; 19 | } 20 | 21 | public void setX(float x) { 22 | this.x = x; 23 | } 24 | 25 | public float getTextSize() { 26 | return textSize; 27 | } 28 | 29 | public void setTextSize(float textSize) { 30 | this.textSize = textSize; 31 | } 32 | 33 | public String getText() { 34 | return text; 35 | } 36 | 37 | public void setText(String text) { 38 | this.text = text; 39 | } 40 | 41 | public float getBasey() { 42 | return basey; 43 | } 44 | 45 | public void setBasey(float basey) { 46 | this.basey = basey; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/java/com/layoutxml/twelveish/objects/WordClockTaskWrapper.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.objects; 2 | 3 | import com.layoutxml.twelveish.WordClockListener; 4 | 5 | public class WordClockTaskWrapper { 6 | 7 | private String text; 8 | private float basey; 9 | private float textSize; 10 | private float x; 11 | 12 | public WordClockTaskWrapper(String text, float basey, float textSize, float x) { 13 | this.text = text; 14 | this.basey = basey; 15 | this.textSize = textSize; 16 | this.x = x; 17 | } 18 | 19 | public float getX() { 20 | return x; 21 | } 22 | 23 | public void setX(float x) { 24 | this.x = x; 25 | } 26 | 27 | public float getTextSize() { 28 | return textSize; 29 | } 30 | 31 | public void setTextSize(float textSize) { 32 | this.textSize = textSize; 33 | } 34 | 35 | public String getText() { 36 | return text; 37 | } 38 | 39 | public void setText(String text) { 40 | this.text = text; 41 | } 42 | 43 | public float getBasey() { 44 | return basey; 45 | } 46 | 47 | public void setBasey(float basey) { 48 | this.basey = basey; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /phone/src/main/res/layout/imageview_and_textview_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 22 | 23 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_languagep.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /phone/src/main/res/layout/switch_and_textview_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /phone/src/main/res/layout/shared_settings_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 14 | 15 | 20 | 21 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /phone/src/main/res/layout/complication_settings_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 14 | 15 | 20 | 21 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the ART/Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | out/ 15 | 16 | # Gradle files 17 | .gradle/ 18 | build/ 19 | 20 | # Local configuration file (sdk path, etc) 21 | local.properties 22 | 23 | # Proguard folder generated by Eclipse 24 | proguard/ 25 | 26 | # Log Files 27 | *.log 28 | 29 | # Android Studio Navigation editor temp files 30 | .navigation/ 31 | 32 | # Android Studio captures folder 33 | captures/ 34 | 35 | # IntelliJ 36 | *.iml 37 | .idea/workspace.xml 38 | .idea/tasks.xml 39 | .idea/gradle.xml 40 | .idea/assetWizardSettings.xml 41 | .idea/dictionaries 42 | .idea/libraries 43 | .idea/caches 44 | 45 | # Keystore files 46 | # Uncomment the following line if you do not want to check your keystore files in. 47 | #*.jks 48 | 49 | # External native build folder generated in Android Studio 2.2 and later 50 | .externalNativeBuild 51 | 52 | # Google Services (e.g. APIs or Firebase) 53 | google-services.json 54 | 55 | # Freeline 56 | freeline.py 57 | freeline/ 58 | freeline_project_description.json 59 | 60 | # fastlane 61 | fastlane/report.xml 62 | fastlane/Preview.html 63 | fastlane/screenshots 64 | fastlane/test_output 65 | fastlane/readme.md 66 | .idea/workspace.xml___jb_old___ 67 | .idea/misc.xml 68 | .idea/misc.xml 69 | -------------------------------------------------------------------------------- /app/src/main/java/com/layoutxml/twelveish/objects/ActivityOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018. LayoutXML 3 | * Created by LayoutXML. 4 | * 5 | */ 6 | 7 | package com.layoutxml.twelveish.objects; 8 | 9 | public class ActivityOption { 10 | private String name; 11 | private Integer icon; 12 | private Class activity; 13 | private String extra; 14 | private String extra2; 15 | 16 | public ActivityOption() { 17 | extra = ""; 18 | extra2 = ""; 19 | } 20 | 21 | public String getExtra2() { 22 | return extra2; 23 | } 24 | 25 | public void setExtra2(String extra2) { 26 | this.extra2 = extra2; 27 | } 28 | 29 | public String getExtra() { 30 | return extra; 31 | } 32 | 33 | public void setExtra(String extra) { 34 | this.extra = extra; 35 | } 36 | 37 | public Class getActivity() { 38 | return activity; 39 | } 40 | 41 | public void setActivity(Class activity) { 42 | this.activity = activity; 43 | } 44 | 45 | public String getName() { 46 | return name; 47 | } 48 | 49 | public void setName(String name) { 50 | this.name = name; 51 | } 52 | 53 | public Integer getIcon() { 54 | return icon; 55 | } 56 | 57 | public void setIcon(Integer icon) { 58 | this.icon = icon; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /phone/src/main/res/layout/textview_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 26 | 27 | 36 | 37 | -------------------------------------------------------------------------------- /phone/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/fragments/PreviewFragment.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.fragments; 2 | 3 | import android.os.Bundle; 4 | import android.util.Log; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import androidx.annotation.NonNull; 10 | import androidx.annotation.Nullable; 11 | import androidx.fragment.app.Fragment; 12 | 13 | import com.layoutxml.twelveish.CustomizationScreen; 14 | import com.layoutxml.twelveish.R; 15 | import com.layoutxml.twelveish.objects.WatchPreviewView; 16 | 17 | public class PreviewFragment extends Fragment implements CustomizationScreen.AmoledChange { 18 | 19 | private WatchPreviewView previewView; 20 | private static final String TAG = "PreviewFragment"; 21 | 22 | @Nullable 23 | @Override 24 | public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { 25 | View view = inflater.inflate(R.layout.preview_fragment,container,false); 26 | 27 | previewView = view.findViewById(R.id.viewWatch); 28 | 29 | return view; 30 | } 31 | 32 | @Override 33 | public void ambientModeChange(boolean value) { 34 | previewView.changeAmbientMode(value); 35 | Log.d(TAG, "ambientModeChange: "+value); 36 | } 37 | 38 | public void invalidate() { 39 | previewView.invalidate(); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/custom_complication_styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 27 | 28 | 35 | -------------------------------------------------------------------------------- /phone/build.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018. LayoutXML 3 | * Created by LayoutXML. 4 | * 5 | */ 6 | 7 | apply plugin: 'com.android.application' 8 | 9 | android { 10 | compileSdkVersion 29 11 | 12 | defaultConfig { 13 | applicationId "com.layoutxml.twelveish" 14 | minSdkVersion 21 15 | targetSdkVersion 29 16 | versionCode 266 17 | versionName "2.3.2" 18 | 19 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 20 | 21 | } 22 | 23 | buildTypes { 24 | release { 25 | minifyEnabled true 26 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 27 | } 28 | } 29 | 30 | } 31 | 32 | dependencies { 33 | implementation fileTree(dir: 'libs', include: ['*.jar']) 34 | implementation 'androidx.appcompat:appcompat:1.3.0-alpha01' 35 | implementation 'androidx.constraintlayout:constraintlayout:1.1.3' 36 | testImplementation 'junit:junit:4.12' 37 | androidTestImplementation 'androidx.test:runner:1.2.0' 38 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' 39 | implementation 'androidx.recyclerview:recyclerview:1.2.0-alpha03' 40 | wearApp project(':app') 41 | implementation 'com.google.android.gms:play-services-wearable:17.0.0' 42 | implementation 'com.google.android.material:material:1.1.0' 43 | implementation 'com.google.dagger:dagger:2.22.1' 44 | annotationProcessor 'com.google.dagger:dagger-compiler:2.22.1' 45 | } -------------------------------------------------------------------------------- /phone/src/main/res/layout/top_settings_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 14 | 15 | 20 | 21 | 26 | 27 | 28 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /phone/src/main/java/com/layoutxml/twelveish/adapters/OptionsPagerAdapter.java: -------------------------------------------------------------------------------- 1 | package com.layoutxml.twelveish.adapters; 2 | 3 | import androidx.annotation.NonNull; 4 | import androidx.annotation.Nullable; 5 | import androidx.fragment.app.Fragment; 6 | import androidx.fragment.app.FragmentManager; 7 | import androidx.fragment.app.FragmentStatePagerAdapter; 8 | 9 | import com.layoutxml.twelveish.fragments.ComplicationSettingsFragment; 10 | import com.layoutxml.twelveish.fragments.MainTextSettingsFragment; 11 | import com.layoutxml.twelveish.fragments.SharedSettingsFragment; 12 | import com.layoutxml.twelveish.fragments.TopSettingsFragment; 13 | 14 | public class OptionsPagerAdapter extends FragmentStatePagerAdapter { 15 | 16 | public OptionsPagerAdapter(@NonNull FragmentManager fm, int behavior) { 17 | super(fm, behavior); 18 | } 19 | 20 | @NonNull 21 | @Override 22 | public Fragment getItem(int position) { 23 | switch (position) { 24 | default: 25 | return new ComplicationSettingsFragment(); 26 | case 0: 27 | return new ComplicationSettingsFragment(); 28 | case 1: 29 | return new TopSettingsFragment(); 30 | case 2: 31 | return new MainTextSettingsFragment(); 32 | case 3: 33 | return new SharedSettingsFragment(); 34 | } 35 | } 36 | 37 | @Override 38 | public int getCount() { 39 | return 4; 40 | } 41 | 42 | @Nullable 43 | @Override 44 | public CharSequence getPageTitle(int position) { 45 | switch (position) { 46 | default: 47 | return null; 48 | case 0: 49 | return "Complications"; 50 | case 1: 51 | return "Top"; 52 | case 2: 53 | return "Main text"; 54 | case 3: 55 | return "Shared"; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /phone/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 25 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /phone/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 13 | 18 | 19 | 25 | 28 | 31 | 32 | 33 | 34 | 40 | 41 | -------------------------------------------------------------------------------- /app/src/main/res/layout/font_size_info_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 17 | 18 | 22 | 23 | 31 | 32 |