All Projects β†’ battleent β†’ MaterialPreferences

battleent / MaterialPreferences

Licence: MIT license
πŸ‰ An Android library that lets you implement MaterialPreferences on Setting UI.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to MaterialPreferences

Materialpreferences
A highly flexible set of lovely looking views that provides functionality of preferences.
Stars: ✭ 495 (+2257.14%)
Mutual labels:  preferences, material-ui
Xui
A drop-in replacement for iOS Settings Bundle "Settings.bundle".
Stars: ✭ 60 (+185.71%)
Mutual labels:  settings, preferences
JsonSettings
This library simplifies creating configuration for your C# app/service by utilizing the serialization capabilities of Json.NET to serialize nested (custom) objects, dictionaries and lists as simply as by creating a POCO and inheriting JsonSettings class.
Stars: ✭ 59 (+180.95%)
Mutual labels:  settings, preferences
Mac
macOS Mojave v. 10.14 setup for developers.
Stars: ✭ 209 (+895.24%)
Mutual labels:  settings, preferences
Mac Setup
πŸ› οΈ Front end web development setup for macOS.
Stars: ✭ 265 (+1161.9%)
Mutual labels:  settings, preferences
Settings View
πŸ”§ Edit Atom settings
Stars: ✭ 226 (+976.19%)
Mutual labels:  settings, preferences
photoeditor
πŸ‘¨πŸ»β€πŸŽ¨ ReactJS Photo Editor
Stars: ✭ 26 (+23.81%)
Mutual labels:  material-ui
angular-material-starter-template
πŸ„ Angular 14 boilerplate that comes with Material-UI, Tailwind3, Purgecss, Jest & Cypress Support, Optimal project structure & Interceptor inspired from popular blogs, source map analyzer tools, husky, all pre-configured and much more...
Stars: ✭ 104 (+395.24%)
Mutual labels:  material-ui
Ararat
Ararat is the next-generation container/virtual machine control panel. It is your one-stop shop for single application containers, full system containers, and KVM instances
Stars: ✭ 21 (+0%)
Mutual labels:  material-ui
Octave
Music🎡 streaming web-app
Stars: ✭ 28 (+33.33%)
Mutual labels:  material-ui
AmazonPrime-ReactJS-Clone
Amazon Prime Clone in ReactJS. I have made a Amazon Prime Clone web version in ReactSJ. All the data is dynamic and even has the facility of Watching Trailers. Play around with the app. Link given in ReadMe
Stars: ✭ 45 (+114.29%)
Mutual labels:  material-ui
Bank-Account-Simulation
A Bank Account Simulation with JavaFX and SQLite back-end. Material UX|UI.
Stars: ✭ 19 (-9.52%)
Mutual labels:  material-ui
PowerPreference
πŸ’Ύ A Powerful library to control and simplify the usage of shared preference in Android.
Stars: ✭ 95 (+352.38%)
Mutual labels:  preferences
rtainjapan-layouts
The on-stream layouts for RTA in Japan events
Stars: ✭ 20 (-4.76%)
Mutual labels:  material-ui
pokedex
A simple PokΓ©mon catalogue, built with React, Material-UI and PokΓ©API.
Stars: ✭ 115 (+447.62%)
Mutual labels:  material-ui
best-of-react
πŸ† A ranked list of awesome React open-source libraries and tools. Updated weekly.
Stars: ✭ 364 (+1633.33%)
Mutual labels:  material-ui
dashblocks-template
Dashblocks Vue Material Admin Template
Stars: ✭ 143 (+580.95%)
Mutual labels:  material-ui
react-material-ui-keyboard
Virtual keyboard for TextField when needed
Stars: ✭ 54 (+157.14%)
Mutual labels:  material-ui
mui-form-fields
Material UI + Final Form Forms and Components
Stars: ✭ 15 (-28.57%)
Mutual labels:  material-ui
android-material-design-in-practice
A project to demonstrate the latest material design principles with simple examples. It has additional examples on how to easily scale texts on different screen sizes without extra effort.
Stars: ✭ 67 (+219.05%)
Mutual labels:  material-ui

MaterialPreferences license

πŸ‰ An Android library that lets you implement customizing MaterialPreferences on Setting UI by Battle Entertainment.

preview

Including in your project

build.gradle

dependencies {
  implementation "com.github.battleent:MaterialPreferences:0.3.0"
}

Usage

Can be used just like using Preferences.

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <com.battleent.materialpreferences.MaterialPreferenceCategory
        android:title="Notification"
        app:pref_category_background="@color/white_three"
        app:pref_category_title_color="@color/colorPrimary"/>

    <com.battleent.materialpreferences.MaterialSwitchPreference
        android:defaultValue="true"
        android:key="Notification0"
        android:title="Marketing"
        android:summary="receive events, promotions like marketing messages."
        app:pref_switch_title_color="@android:color/holo_blue_dark"
        app:pref_switch_summary_color="@android:color/holo_blue_light"/>

    <com.battleent.materialpreferences.MaterialSwitchPreference
        android:defaultValue="true"
        android:key="Notification1"
        android:title="Snooze"
        android:summary="do not receiving notifications at night."
        app:pref_switch_title_color="@android:color/holo_green_dark"
        app:pref_switch_summary_color="@android:color/holo_green_light"
        app:pref_switch_checked_thumb_color="@android:color/holo_blue_dark"
        app:pref_switch_checked_track_color="@android:color/holo_blue_light"
        app:pref_switch_unchecked_thumb_color="@android:color/holo_green_dark"
        app:pref_switch_unchecked_track_color="@android:color/holo_green_light"/>

    <com.battleent.materialpreferences.MaterialPreference
        android:defaultValue="true"
        android:title="More"
        android:summary="show more details"/>
</PreferenceScreen>

MaterialPreferenceCategory

Material PreferenceCategory is composed of just title. It is used to split sections.

<com.battleent.materialpreferences.MaterialPreferenceCategory
        android:title="Category"
        app:pref_category_background="@color/white_three"
        app:pref_category_title_color="@color/md_deep_orange_700"
        app:pref_category_title_size="18sp"
        app:pref_category_padding_bottom="6dp"
        app:pref_category_padding_left="6dp"
        app:pref_category_padding_top="6dp"/>

MaterialPreference

Material Preference is composed of title and summary.

<com.battleent.materialpreferences.MaterialPreference
        android:defaultValue="true"
        android:title="More"
        android:summary="show more details"
        app:pref_title_color="@android:color/holo_green_dark"
        app:pref_summary_color="@android:color/holo_green_light"
        app:pref_title_size="18sp"
        app:pref_summary_size="13sp"
        app:pref_title_background="@color/greyish_brown"
        app:pref_summary_background="@android:color/white"/>

MaterialSwitchPreference

Material Preference is composed of title, summary and switch. It saves switch's on-off status.

<com.battleent.materialpreferences.MaterialSwitchPreference
        android:defaultValue="true"
        android:key="Notification1"
        android:title="Snooze"
        android:summary="do not receiving notifications at night."
        app:pref_switch_background="@color/white_three"
        app:pref_switch_title_color="@android:color/holo_green_dark"
        app:pref_switch_summary_color="@android:color/holo_green_light"
        app:pref_switch_checked_thumb_color="@android:color/holo_blue_dark"
        app:pref_switch_checked_track_color="@android:color/holo_blue_light"
        app:pref_switch_unchecked_thumb_color="@android:color/holo_green_dark"
        app:pref_switch_unchecked_track_color="@android:color/holo_green_light"/>

MaterialCheckBoxPreference

Material Preference is composed of title, summary and checkbox. It saves checkbox's isChecked status.

    <com.battleent.materialpreferences.MaterialCheckBoxPreference
        android:defaultValue="true"
        android:key="Notification4"
        android:title="Marketing"
        android:summary="receive events, promotions like marketing messages."
        app:pref_checkbox_background="@color/background800"
        app:pref_checkbox_title_color="@android:color/holo_blue_light"
        app:pref_checkbox_title_background="@color/background"
        app:pref_checkbox_summary_color="@android:color/white"/>

MaterialProgressPreference

Material Preference is componsed of title, summary and progress.
It can be used to showing progress during synchronize or fetching data.

<com.battleent.materialpreferences.MaterialProgressPreference
        android:title="Marketing"
        android:summary="receive events, promotions like marketing messages."
        app:pref_progress_visibility="true"/>

you can set visibility using below method.

.visible(Boolean visibility)

License

MIT License

Copyright (c) 2018 Battle Entertainment

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].