<commit_before>WaerSettings
=======

A library for easy implementaion of WearableListView with header view

![](website/static/screens.png)


Sample
--------

Download [the latest JAR][2] or grab via Gradle:
```java
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        WearableSettingListView settingListView = new WearableSettingListView(this);

        // Set styles in XML or Java
        settingListView.setTextColor(Color.CYAN);
        settingListView.setImageTintColor(Color.CYAN);
        settingListView.setCircleBackgroundColor(Color.MAGENTA);
        settingListView.setCircleBorderColor(Color.CYAN);
        settingListView.setCircleBorderWidth(getResources().getDimensionPixelSize(R.dimen.circle_border_width));

        // Click handler for SimpleSettingsItems and HeaderView
        settingListView.setClickListener(new WearableSettingListView.ClickListener() {
            @Override
            public void onHeaderClicked() {
            }

            @Override
            public void onSimpleItemClicked(SimpleSettingsItem simpleSettingsItem) {
                // Do something with selected item
                Toast.makeText(SecondActivity.this, simpleSettingsItem.title, Toast.LENGTH_SHORT).show();
                finish();
            }
        });<commit_msg>Fix readme<commit_after>WearSettings
=======

A library for easy implementaion of WearableListView with header view

![](website/static/screens.png)


Sample
--------

```java
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        WearableSettingListView settingListView = new WearableSettingListView(this);

        // Set styles in XML or Java
        settingListView.setTextColor(Color.CYAN);
        settingListView.setImageTintColor(Color.CYAN);
        settingListView.setCircleBackgroundColor(Color.MAGENTA);
        settingListView.setCircleBorderColor(Color.CYAN);
        settingListView.setCircleBorderWidth(getResources().getDimensionPixelSize(R.dimen.circle_border_width));

        // Click handler for SimpleSettingsItems and HeaderView
        settingListView.setClickListener(new WearableSettingListView.ClickListener() {
            @Override
            public void onHeaderClicked() {
            }

            @Override
            public void onSimpleItemClicked(SimpleSettingsItem simpleSettingsItem) {
                // Do something with selected item
                Toast.makeText(SecondActivity.this, simpleSettingsItem.title, Toast.LENGTH_SHORT).show();
                finish();
            }
        });
{'fraction_non_alphanumeric': 0.08615500376222723, 'fraction_numerical': 0.0003762227238525207, 'mean_word_length': 2.921828908554572, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3762472', 'n_tokens_mistral': 696, 'n_tokens_neox': 638, 'n_words': 131}