denley / wearpreferenceactivity Goto Github PK
View Code? Open in Web Editor NEWA preferences framework for Android Wear apps. Equivalent to Android's PreferenceActivity, but for Android Wear.
License: Apache License 2.0
A preferences framework for Android Wear apps. Equivalent to Android's PreferenceActivity, but for Android Wear.
License: Apache License 2.0
WearPreference should be capable of instantiation, as a generic preference - like android.preference.Preference.
I implemented a PreferenceChangeListener to demonstrate this here:
https://github.com/alertedsnake/WearPreferenceActivity/commit/2912223587c0b2a714e7153dde29e91840b17524
The normal prefs all work, but lists don't seem to actually fire this event. I can confirm the preferences do get changed though, I looked at the preference file stored in /data/data.
I'll see if I can make it work.
Similar to PreferenceActivity
, we should support section headers to group preferences.
We should be able to add PreferenceScreen
s inside other PreferenceScreen
s, that open a new page when clicked.
This will probably require mirroring the Preference
elements used for definition into something like PreferenceImpl
so that they can implement Serializable
and be passed between Activity
s
https://developer.android.com/wear/preview/features/wearable-recycler-view.html
It natively displays little scrollbar at the side of the screen and can optionally layouts items in curved layout.
By using a custom LayoutInflator Factory, we should be able to remove the preference.
prefix from the layout xml files to make them more closely resemble real preference xml files. This may also allow us to remove the superfluous android:layout_width
attributes.
With the Wearable Support Library version 1.3.0, the icons for the list items appear larger than the circles they are contained within. They should be made to be a fixed size.
This possibly depends on the size of the icon supplied for the list item.
To display a different icon for each entry
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.