diff --git a/library/build.gradle b/library/build.gradle index ed83687..9dbc012 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -16,6 +16,11 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + android { + lintOptions { + abortOnError false + } + } } dependencies { diff --git a/sample/.gitignore b/sample/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/sample/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/sample/build.gradle b/sample/build.gradle deleted file mode 100644 index 85e0728..0000000 --- a/sample/build.gradle +++ /dev/null @@ -1,26 +0,0 @@ -apply plugin: 'com.android.application' - -android { - compileSdkVersion 21 - buildToolsVersion "21.1.1" - - defaultConfig { - applicationId "com.amulyakhare.td" - minSdkVersion 10 - targetSdkVersion 21 - versionCode 2 - versionName "1.0" - } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - compile project(':library') - compile 'com.android.support:appcompat-v7:21.0.3' -} \ No newline at end of file diff --git a/sample/proguard-rules.pro b/sample/proguard-rules.pro deleted file mode 100644 index 38b532c..0000000 --- a/sample/proguard-rules.pro +++ /dev/null @@ -1,17 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in /home/gardev/android/adt-bundle-linux/sdk/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/sample/sample.iml b/sample/sample.iml deleted file mode 100644 index b303902..0000000 --- a/sample/sample.iml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample/src/main/AndroidManifest.xml b/sample/src/main/AndroidManifest.xml deleted file mode 100644 index 3f1ab69..0000000 --- a/sample/src/main/AndroidManifest.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/sample/src/main/java/com/amulyakhare/td/sample/ListActivity.java b/sample/src/main/java/com/amulyakhare/td/sample/ListActivity.java deleted file mode 100644 index f9832d7..0000000 --- a/sample/src/main/java/com/amulyakhare/td/sample/ListActivity.java +++ /dev/null @@ -1,193 +0,0 @@ -package com.amulyakhare.td.sample; - -import android.content.Intent; -import android.graphics.Color; -import android.os.Bundle; -import android.support.v7.app.ActionBarActivity; -import android.view.View; -import android.view.ViewGroup; -import android.widget.BaseAdapter; -import android.widget.ImageView; -import android.widget.ListView; -import android.widget.TextView; - -import com.amulyakhare.td.R; -import com.amulyakhare.td.sample.sample.DrawableProvider; -import com.amulyakhare.textdrawable.TextDrawable; -import com.amulyakhare.textdrawable.util.ColorGenerator; - -import java.util.Arrays; -import java.util.List; - -public class ListActivity extends ActionBarActivity { - - private static final int HIGHLIGHT_COLOR = 0x999be6ff; - - // list of data items - private List mDataList = Arrays.asList( - new ListData("Iron Man"), - new ListData("Captain America"), - new ListData("James Bond"), - new ListData("Harry Potter"), - new ListData("Sherlock Holmes"), - new ListData("Black Widow"), - new ListData("Hawk Eye"), - new ListData("Iron Man"), - new ListData("Guava"), - new ListData("Tomato"), - new ListData("Pineapple"), - new ListData("Strawberry"), - new ListData("Watermelon"), - new ListData("Pears"), - new ListData("Kiwi"), - new ListData("Plums") - ); - - // declare the color generator and drawable builder - private ColorGenerator mColorGenerator = ColorGenerator.MATERIAL; - private TextDrawable.IBuilder mDrawableBuilder; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_list); - - Intent intent = getIntent(); - int type = intent.getIntExtra(MainActivity.TYPE, DrawableProvider.SAMPLE_RECT); - - // initialize the builder based on the "TYPE" - switch (type) { - case DrawableProvider.SAMPLE_RECT: - mDrawableBuilder = TextDrawable.builder() - .rect(); - break; - case DrawableProvider.SAMPLE_ROUND_RECT: - mDrawableBuilder = TextDrawable.builder() - .roundRect(10); - break; - case DrawableProvider.SAMPLE_ROUND: - mDrawableBuilder = TextDrawable.builder() - .round(); - break; - case DrawableProvider.SAMPLE_RECT_BORDER: - mDrawableBuilder = TextDrawable.builder() - .beginConfig() - .withBorder(4) - .endConfig() - .rect(); - break; - case DrawableProvider.SAMPLE_ROUND_RECT_BORDER: - mDrawableBuilder = TextDrawable.builder() - .beginConfig() - .withBorder(4) - .endConfig() - .roundRect(10); - break; - case DrawableProvider.SAMPLE_ROUND_BORDER: - mDrawableBuilder = TextDrawable.builder() - .beginConfig() - .withBorder(4) - .endConfig() - .round(); - break; - } - - // init the list view and its adapter - ListView listView = (ListView) findViewById(R.id.listView); - listView.setAdapter(new SampleAdapter()); - } - - private class SampleAdapter extends BaseAdapter { - - @Override - public int getCount() { - return mDataList.size(); - } - - @Override - public ListData getItem(int position) { - return mDataList.get(position); - } - - @Override - public long getItemId(int position) { - return position; - } - - @Override - public View getView(final int position, View convertView, ViewGroup parent) { - final ViewHolder holder; - if (convertView == null) { - convertView = View.inflate(ListActivity.this, R.layout.list_item_layout, null); - holder = new ViewHolder(convertView); - convertView.setTag(holder); - } else { - holder = (ViewHolder) convertView.getTag(); - } - - ListData item = getItem(position); - - // provide support for selected state - updateCheckedState(holder, item); - holder.imageView.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View v) { - // when the image is clicked, update the selected state - ListData data = getItem(position); - data.setChecked(!data.isChecked); - updateCheckedState(holder, data); - } - }); - holder.textView.setText(item.data); - - return convertView; - } - - private void updateCheckedState(ViewHolder holder, ListData item) { - if (item.isChecked) { - holder.imageView.setImageDrawable(mDrawableBuilder.build(" ", 0xff616161)); - holder.view.setBackgroundColor(HIGHLIGHT_COLOR); - holder.checkIcon.setVisibility(View.VISIBLE); - } - else { - TextDrawable drawable = mDrawableBuilder.build(String.valueOf(item.data.charAt(0)), mColorGenerator.getColor(item.data)); - holder.imageView.setImageDrawable(drawable); - holder.view.setBackgroundColor(Color.TRANSPARENT); - holder.checkIcon.setVisibility(View.GONE); - } - } - } - - private static class ViewHolder { - - private View view; - - private ImageView imageView; - - private TextView textView; - - private ImageView checkIcon; - - private ViewHolder(View view) { - this.view = view; - imageView = (ImageView) view.findViewById(R.id.imageView); - textView = (TextView) view.findViewById(R.id.textView); - checkIcon = (ImageView) view.findViewById(R.id.check_icon); - } - } - - private static class ListData { - - private String data; - - private boolean isChecked; - - public ListData(String data) { - this.data = data; - } - - public void setChecked(boolean isChecked) { - this.isChecked = isChecked; - } - } -} diff --git a/sample/src/main/java/com/amulyakhare/td/sample/MainActivity.java b/sample/src/main/java/com/amulyakhare/td/sample/MainActivity.java deleted file mode 100644 index fd2ca43..0000000 --- a/sample/src/main/java/com/amulyakhare/td/sample/MainActivity.java +++ /dev/null @@ -1,119 +0,0 @@ -package com.amulyakhare.td.sample; - -import android.content.Intent; -import android.graphics.drawable.AnimationDrawable; -import android.graphics.drawable.Drawable; -import android.os.Bundle; -import android.support.v7.app.ActionBarActivity; -import android.view.View; -import android.view.ViewGroup; -import android.widget.*; - -import com.amulyakhare.td.R; -import com.amulyakhare.td.sample.sample.DataItem; -import com.amulyakhare.td.sample.sample.DataSource; - -public class MainActivity extends ActionBarActivity implements AdapterView.OnItemClickListener { - - public static final String TYPE = "TYPE"; - private DataSource mDataSource; - private ListView mListView; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - - mListView = (ListView) findViewById(R.id.listView); - mDataSource = new DataSource(this); - mListView.setAdapter(new SampleAdapter()); - mListView.setOnItemClickListener(this); - } - - @Override - public void onItemClick(AdapterView parent, View view, int position, long id) { - DataItem item = (DataItem) mListView.getItemAtPosition(position); - - // if navigation is supported, open the next activity - if (item.getNavigationInfo() != DataSource.NO_NAVIGATION) { - Intent intent = new Intent(this, ListActivity.class); - intent.putExtra(TYPE, item.getNavigationInfo()); - startActivity(intent); - } - } - - private class SampleAdapter extends BaseAdapter { - - @Override - public int getCount() { - return mDataSource.getCount(); - } - - @Override - public DataItem getItem(int position) { - return mDataSource.getItem(position); - } - - @Override - public long getItemId(int position) { - return position; - } - - @Override - public View getView(int position, View convertView, ViewGroup parent) { - ViewHolder holder; - if (convertView == null) { - convertView = View.inflate(MainActivity.this, R.layout.list_item_layout, null); - holder = new ViewHolder(convertView); - convertView.setTag(holder); - } else { - holder = (ViewHolder) convertView.getTag(); - } - - DataItem item = getItem(position); - - final Drawable drawable = item.getDrawable(); - holder.imageView.setImageDrawable(drawable); - holder.textView.setText(item.getLabel()); - - // if navigation is supported, show the ">" navigation icon - if (item.getNavigationInfo() != DataSource.NO_NAVIGATION) { - holder.textView.setCompoundDrawablesWithIntrinsicBounds(null, - null, - getResources().getDrawable(R.drawable.ic_action_next_item), - null); - } - else { - holder.textView.setCompoundDrawablesWithIntrinsicBounds(null, - null, - null, - null); - } - - // fix for animation not playing for some below 4.4 devices - if (drawable instanceof AnimationDrawable) { - holder.imageView.post(new Runnable() { - @Override - public void run() { - ((AnimationDrawable) drawable).stop(); - ((AnimationDrawable) drawable).start(); - } - }); - } - - return convertView; - } - } - - private static class ViewHolder { - - private ImageView imageView; - - private TextView textView; - - private ViewHolder(View view) { - imageView = (ImageView) view.findViewById(R.id.imageView); - textView = (TextView) view.findViewById(R.id.textView); - } - } -} diff --git a/sample/src/main/java/com/amulyakhare/td/sample/sample/DataItem.java b/sample/src/main/java/com/amulyakhare/td/sample/sample/DataItem.java deleted file mode 100644 index 30b247d..0000000 --- a/sample/src/main/java/com/amulyakhare/td/sample/sample/DataItem.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.amulyakhare.td.sample.sample; - -import android.graphics.drawable.Drawable; - -/** - * @author amulya - * @datetime 17 Oct 2014, 3:50 PM - */ -public class DataItem { - - private String label; - - private Drawable drawable; - - private int navigationInfo; - - public DataItem(String label, Drawable drawable, int navigationInfo) { - this.label = label; - this.drawable = drawable; - this.navigationInfo = navigationInfo; - } - - public String getLabel() { - return label; - } - - public Drawable getDrawable() { - return drawable; - } - - public int getNavigationInfo() { - return navigationInfo; - } -} diff --git a/sample/src/main/java/com/amulyakhare/td/sample/sample/DataSource.java b/sample/src/main/java/com/amulyakhare/td/sample/sample/DataSource.java deleted file mode 100644 index 8180a84..0000000 --- a/sample/src/main/java/com/amulyakhare/td/sample/sample/DataSource.java +++ /dev/null @@ -1,99 +0,0 @@ -package com.amulyakhare.td.sample.sample; - -import android.content.Context; -import android.graphics.drawable.Drawable; - -import java.util.ArrayList; - -/** - * @author amulya - * @datetime 17 Oct 2014, 3:49 PM - */ -public class DataSource { - - public static final int NO_NAVIGATION = -1; - - private ArrayList mDataSource; - private DrawableProvider mProvider; - - public DataSource(Context context) { - mProvider = new DrawableProvider(context); - mDataSource = new ArrayList(); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_RECT)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_ROUND_RECT)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_ROUND)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_RECT_BORDER)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_ROUND_RECT_BORDER)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_ROUND_BORDER)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_MULTIPLE_LETTERS)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_FONT)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_SIZE)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_ANIMATION)); - mDataSource.add(itemFromType(DrawableProvider.SAMPLE_MISC)); - } - - public int getCount() { - return mDataSource.size(); - } - - public DataItem getItem(int position) { - return mDataSource.get(position); - } - - private DataItem itemFromType(int type) { - String label = null; - Drawable drawable = null; - switch (type) { - case DrawableProvider.SAMPLE_RECT: - label = "Rectangle with Text"; - drawable = mProvider.getRect("A"); - break; - case DrawableProvider.SAMPLE_ROUND_RECT: - label = "Round Corner with Text"; - drawable = mProvider.getRoundRect("B"); - break; - case DrawableProvider.SAMPLE_ROUND: - label = "Round with Text"; - drawable = mProvider.getRound("C"); - break; - case DrawableProvider.SAMPLE_RECT_BORDER: - label = "Rectangle with Border"; - drawable = mProvider.getRectWithBorder("D"); - break; - case DrawableProvider.SAMPLE_ROUND_RECT_BORDER: - label = "Round Corner with Border"; - drawable = mProvider.getRoundRectWithBorder("E"); - break; - case DrawableProvider.SAMPLE_ROUND_BORDER: - label = "Round with Border"; - drawable = mProvider.getRoundWithBorder("F"); - break; - case DrawableProvider.SAMPLE_MULTIPLE_LETTERS: - label = "Support multiple letters"; - drawable = mProvider.getRectWithMultiLetter(); - type = NO_NAVIGATION; - break; - case DrawableProvider.SAMPLE_FONT: - label = "Support variable font styles"; - drawable = mProvider.getRoundWithCustomFont(); - type = NO_NAVIGATION; - break; - case DrawableProvider.SAMPLE_SIZE: - label = "Support for custom size"; - drawable = mProvider.getRectWithCustomSize(); - type = NO_NAVIGATION; - break; - case DrawableProvider.SAMPLE_ANIMATION: - label = "Support for animations"; - drawable = mProvider.getRectWithAnimation(); - type = NO_NAVIGATION; - break; - case DrawableProvider.SAMPLE_MISC: - label = "Miscellaneous"; - drawable = mProvider.getRect("\u03c0"); - type = NO_NAVIGATION; - break; - } - return new DataItem(label, drawable, type); - } -} diff --git a/sample/src/main/java/com/amulyakhare/td/sample/sample/DrawableProvider.java b/sample/src/main/java/com/amulyakhare/td/sample/sample/DrawableProvider.java deleted file mode 100644 index e183b11..0000000 --- a/sample/src/main/java/com/amulyakhare/td/sample/sample/DrawableProvider.java +++ /dev/null @@ -1,146 +0,0 @@ -package com.amulyakhare.td.sample.sample; - -import android.content.Context; -import android.content.res.Resources; -import android.graphics.Color; -import android.graphics.Typeface; -import android.graphics.drawable.AnimationDrawable; -import android.graphics.drawable.Drawable; -import android.graphics.drawable.InsetDrawable; -import android.graphics.drawable.LayerDrawable; -import android.util.TypedValue; - -import com.amulyakhare.textdrawable.TextDrawable; -import com.amulyakhare.textdrawable.util.ColorGenerator; - -/** - * @author amulya - * @datetime 17 Oct 2014, 4:02 PM - */ -public class DrawableProvider { - - public static final int SAMPLE_RECT = 1; - public static final int SAMPLE_ROUND_RECT = 2; - public static final int SAMPLE_ROUND = 3; - public static final int SAMPLE_RECT_BORDER = 4; - public static final int SAMPLE_ROUND_RECT_BORDER = 5; - public static final int SAMPLE_ROUND_BORDER = 6; - public static final int SAMPLE_MULTIPLE_LETTERS = 7; - public static final int SAMPLE_FONT = 8; - public static final int SAMPLE_SIZE = 9; - public static final int SAMPLE_ANIMATION = 10; - public static final int SAMPLE_MISC = 11; - - private final ColorGenerator mGenerator; - private final Context mContext; - - public DrawableProvider(Context context) { - mGenerator = ColorGenerator.DEFAULT; - mContext = context; - } - - public TextDrawable getRect(String text) { - return TextDrawable.builder() - .buildRect(text, mGenerator.getColor(text)); - } - - public TextDrawable getRound(String text) { - return TextDrawable.builder() - .buildRound(text, mGenerator.getColor(text)); - } - - public TextDrawable getRoundRect(String text) { - return TextDrawable.builder() - .buildRoundRect(text, mGenerator.getColor(text), toPx(10)); - } - - public TextDrawable getRectWithBorder(String text) { - return TextDrawable.builder() - .beginConfig() - .withBorder(toPx(2)) - .endConfig() - .buildRect(text, mGenerator.getColor(text)); - } - - public TextDrawable getRoundWithBorder(String text) { - return TextDrawable.builder() - .beginConfig() - .withBorder(toPx(2)) - .endConfig() - .buildRound(text, mGenerator.getColor(text)); - } - - public TextDrawable getRoundRectWithBorder(String text) { - return TextDrawable.builder() - .beginConfig() - .withBorder(toPx(2)) - .endConfig() - .buildRoundRect(text, mGenerator.getColor(text), toPx(10)); - } - - public TextDrawable getRectWithMultiLetter() { - String text = "AK"; - return TextDrawable.builder() - .beginConfig() - .fontSize(toPx(20)) - .toUpperCase() - .endConfig() - .buildRect(text, mGenerator.getColor(text)); - } - - public TextDrawable getRoundWithCustomFont() { - String text = "Bold"; - return TextDrawable.builder() - .beginConfig() - .useFont(Typeface.DEFAULT) - .fontSize(toPx(15)) - .textColor(0xfff58559) - .bold() - .endConfig() - .buildRect(text, Color.DKGRAY /*toPx(5)*/); - } - - public Drawable getRectWithCustomSize() { - String leftText = "I"; - String rightText = "J"; - - TextDrawable.IBuilder builder = TextDrawable.builder() - .beginConfig() - .width(toPx(29)) - .withBorder(toPx(2)) - .endConfig() - .rect(); - - TextDrawable left = builder - .build(leftText, mGenerator.getColor(leftText)); - - TextDrawable right = builder - .build(rightText, mGenerator.getColor(rightText)); - - Drawable[] layerList = { - new InsetDrawable(left, 0, 0, toPx(31), 0), - new InsetDrawable(right, toPx(31), 0, 0, 0) - }; - return new LayerDrawable(layerList); - } - - public Drawable getRectWithAnimation() { - TextDrawable.IBuilder builder = TextDrawable.builder() - .rect(); - - AnimationDrawable animationDrawable = new AnimationDrawable(); - for (int i = 10; i > 0; i--) { - TextDrawable frame = builder.build(String.valueOf(i), mGenerator.getRandomColor()); - animationDrawable.addFrame(frame, 1200); - } - animationDrawable.setOneShot(false); - animationDrawable.start(); - - return animationDrawable; - } - - public int toPx(int dp) { - Resources resources = mContext.getResources(); - return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, resources.getDisplayMetrics()); - } -} diff --git a/sample/src/main/res/drawable-hdpi/check_alpha.png b/sample/src/main/res/drawable-hdpi/check_alpha.png deleted file mode 100644 index 8fc3239..0000000 Binary files a/sample/src/main/res/drawable-hdpi/check_alpha.png and /dev/null differ diff --git a/sample/src/main/res/drawable-hdpi/check_sm.9.png b/sample/src/main/res/drawable-hdpi/check_sm.9.png deleted file mode 100644 index 7cf7352..0000000 Binary files a/sample/src/main/res/drawable-hdpi/check_sm.9.png and /dev/null differ diff --git a/sample/src/main/res/drawable-hdpi/check_sm1.9.png b/sample/src/main/res/drawable-hdpi/check_sm1.9.png deleted file mode 100644 index 7d2fcc0..0000000 Binary files a/sample/src/main/res/drawable-hdpi/check_sm1.9.png and /dev/null differ diff --git a/sample/src/main/res/drawable-hdpi/ic_action_next_item.png b/sample/src/main/res/drawable-hdpi/ic_action_next_item.png deleted file mode 100644 index 67f1482..0000000 Binary files a/sample/src/main/res/drawable-hdpi/ic_action_next_item.png and /dev/null differ diff --git a/sample/src/main/res/drawable-hdpi/ic_launcher.png b/sample/src/main/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index 96a442e..0000000 Binary files a/sample/src/main/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/sample/src/main/res/drawable-ldpi/check_sm.9.png b/sample/src/main/res/drawable-ldpi/check_sm.9.png deleted file mode 100644 index 1dbf4f7..0000000 Binary files a/sample/src/main/res/drawable-ldpi/check_sm.9.png and /dev/null differ diff --git a/sample/src/main/res/drawable-mdpi/check_sm.9.png b/sample/src/main/res/drawable-mdpi/check_sm.9.png deleted file mode 100644 index d44d02c..0000000 Binary files a/sample/src/main/res/drawable-mdpi/check_sm.9.png and /dev/null differ diff --git a/sample/src/main/res/drawable-mdpi/ic_action_next_item.png b/sample/src/main/res/drawable-mdpi/ic_action_next_item.png deleted file mode 100644 index 47365a3..0000000 Binary files a/sample/src/main/res/drawable-mdpi/ic_action_next_item.png and /dev/null differ diff --git a/sample/src/main/res/drawable-mdpi/ic_launcher.png b/sample/src/main/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index 359047d..0000000 Binary files a/sample/src/main/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/sample/src/main/res/drawable-xhdpi/check_sm.9.png b/sample/src/main/res/drawable-xhdpi/check_sm.9.png deleted file mode 100644 index 9981a75..0000000 Binary files a/sample/src/main/res/drawable-xhdpi/check_sm.9.png and /dev/null differ diff --git a/sample/src/main/res/drawable-xhdpi/ic_action_next_item.png b/sample/src/main/res/drawable-xhdpi/ic_action_next_item.png deleted file mode 100644 index 5f30474..0000000 Binary files a/sample/src/main/res/drawable-xhdpi/ic_action_next_item.png and /dev/null differ diff --git a/sample/src/main/res/drawable-xhdpi/ic_launcher.png b/sample/src/main/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index 71c6d76..0000000 Binary files a/sample/src/main/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/sample/src/main/res/drawable-xxhdpi/check_sm.9.png b/sample/src/main/res/drawable-xxhdpi/check_sm.9.png deleted file mode 100644 index 8766797..0000000 Binary files a/sample/src/main/res/drawable-xxhdpi/check_sm.9.png and /dev/null differ diff --git a/sample/src/main/res/drawable-xxhdpi/ic_action_next_item.png b/sample/src/main/res/drawable-xxhdpi/ic_action_next_item.png deleted file mode 100644 index 51479d8..0000000 Binary files a/sample/src/main/res/drawable-xxhdpi/ic_action_next_item.png and /dev/null differ diff --git a/sample/src/main/res/drawable-xxhdpi/ic_launcher.png b/sample/src/main/res/drawable-xxhdpi/ic_launcher.png deleted file mode 100644 index 4df1894..0000000 Binary files a/sample/src/main/res/drawable-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/sample/src/main/res/layout/activity_check_box.xml b/sample/src/main/res/layout/activity_check_box.xml deleted file mode 100644 index cd5a02c..0000000 --- a/sample/src/main/res/layout/activity_check_box.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/sample/src/main/res/layout/activity_list.xml b/sample/src/main/res/layout/activity_list.xml deleted file mode 100644 index b87aee7..0000000 --- a/sample/src/main/res/layout/activity_list.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/sample/src/main/res/layout/activity_main.xml b/sample/src/main/res/layout/activity_main.xml deleted file mode 100644 index c3942ff..0000000 --- a/sample/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/sample/src/main/res/layout/list_item_layout.xml b/sample/src/main/res/layout/list_item_layout.xml deleted file mode 100644 index bd69f42..0000000 --- a/sample/src/main/res/layout/list_item_layout.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sample/src/main/res/menu/check_box.xml b/sample/src/main/res/menu/check_box.xml deleted file mode 100644 index 734bf82..0000000 --- a/sample/src/main/res/menu/check_box.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/sample/src/main/res/menu/list.xml b/sample/src/main/res/menu/list.xml deleted file mode 100644 index 77fb30e..0000000 --- a/sample/src/main/res/menu/list.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/sample/src/main/res/menu/main.xml b/sample/src/main/res/menu/main.xml deleted file mode 100644 index 7fe7424..0000000 --- a/sample/src/main/res/menu/main.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/sample/src/main/res/values-w820dp/dimens.xml b/sample/src/main/res/values-w820dp/dimens.xml deleted file mode 100644 index 63fc816..0000000 --- a/sample/src/main/res/values-w820dp/dimens.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - 64dp - diff --git a/sample/src/main/res/values/dimens.xml b/sample/src/main/res/values/dimens.xml deleted file mode 100644 index 47c8224..0000000 --- a/sample/src/main/res/values/dimens.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - 16dp - 16dp - diff --git a/sample/src/main/res/values/strings.xml b/sample/src/main/res/values/strings.xml deleted file mode 100644 index 6e1ab46..0000000 --- a/sample/src/main/res/values/strings.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - TextDrawable Sample - Hello world! - Settings - TextDrawable Sample - TextDrawable Sample - - diff --git a/sample/src/main/res/values/styles.xml b/sample/src/main/res/values/styles.xml deleted file mode 100644 index 766ab99..0000000 --- a/sample/src/main/res/values/styles.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - -