From a24d0b7f55ffd5ccb9d3ab6ff6654bc1fbf4a7de Mon Sep 17 00:00:00 2001 From: Trinea Date: Sat, 4 Jan 2014 20:35:46 +0800 Subject: [PATCH] modify lint error --- AndroidManifest.xml | 7 +------ .../button_press.9.png | Bin res/drawable-ldpi/button_press.9.png | Bin 0 -> 145 bytes res/drawable-mdpi/button_press.9.png | Bin 0 -> 145 bytes res/drawable-xhdpi/button_press.9.png | Bin 0 -> 145 bytes res/drawable-xhdpi/icon_stop.png | Bin 513 -> 636 bytes res/drawable-xxhdpi/button_press.9.png | Bin 0 -> 145 bytes res/drawable-xxhdpi/icon_stop.png | Bin 513 -> 636 bytes res/drawable/{image3.jpg => image3.png} | Bin res/layout/divider.xml | 2 +- res/layout/image_list_item.xml | 1 + res/layout/image_sdcard_cache_demo.xml | 19 +++++++----------- res/values/colors.xml | 1 + res/values/dimens.xml | 1 - .../android/demo/ImageSDCardCacheDemo.java | 2 +- 15 files changed, 12 insertions(+), 21 deletions(-) rename res/{drawable => drawable-hdpi}/button_press.9.png (100%) create mode 100644 res/drawable-ldpi/button_press.9.png create mode 100644 res/drawable-mdpi/button_press.9.png create mode 100644 res/drawable-xhdpi/button_press.9.png create mode 100644 res/drawable-xxhdpi/button_press.9.png rename res/drawable/{image3.jpg => image3.png} (100%) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a940c4e..fb8a108 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -15,6 +15,7 @@ @@ -64,12 +65,6 @@ android:label="@string/imagesdcardcache_demo_activity_title" android:theme="@style/AppTheme" > - - tb+dvRSkAnOsCAfpA1a&a#Aa(~T!RbJ$KvV~r4wMe;4xA3G3gi!Q0R^DM zxw8y50(d_8Sl$EdF79%1I-R&@KD7=|%Pi2ES)etuKx<}!*4(|oXY~bl{|an@2Vi4n zFWHZ~`xaONotbr+F&0V}>cby^e{cPzBe2RyxO)eDzqs_2kqA$rf$#udfP=d)m5&aD z2iUp$qcRR?Yv91&;R}+)mGF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fv=8Kk(3a^KbhGtAyZty%-%^zh~c|vo`STE_JM|Wqalv{a~2pje-$1Q0w765 zNQZ}Hl@O-W7**k+q60dQQ|q0Y^k7}$i^1r&3Yh6NPjq#HL&J-T?loXfW+R+o`p=(iR^{p z&Lb7G8xngndyI}#kanR9i87s1t@1+RcYo<;COjlhWd9R)|8sX1Xw59pnpvPVvp{P; Y0Hs6b;+Y%A!vFvP07*qoM6N<$f&e}1IsgCw delta 410 zcmV;L0cHOD1c3x0iBL{Q4GJ0x0000DNk~Le0000a0000a2nGNE0O0_bn2{lJe_2UH zK~z|U?bpF^!Y~kp;h#+Ip_8}-cd$+cfeu^(>3|M^3W7SI1n4BGfE-XJ9>=47vY5mN z?+p;>8*BYoFRs@sQ>usm2J~wNc{PK)nn7MYDvLr070?1lGdrq39ztk<258OfL;23a z3&w~!0Z;L*wVCY&%nI1WmlvQ`e^ALI8^8eU;$|ua;2AiD5SB$CVAI36r~ynD)s}+x ziO+ta5*UC_!0o>zC^qm~K?#`J%+4OjZE9gNfCKPaijhGgsu%+q!5DA#)bSN#vOt-r zQJ8E{2X%0kZO33BqldmLqnD&a?^o6p%4}>m(ThMM@3L%^1QJ5;?OrGsa3m)11~JjS zN;Y+zXWkvmxwC#n`dDAQdCI#&jfw#&rz&SZ7u0eau3U_Ox&YfEP@M4U4oXVk0hBy3 zs{i&&er9SpfnyI=+>-k~GxcBB + android:background="@color/divider_color" /> diff --git a/res/layout/image_list_item.xml b/res/layout/image_list_item.xml index fa1fbb9..6e6b2af 100644 --- a/res/layout/image_list_item.xml +++ b/res/layout/image_list_item.xml @@ -8,6 +8,7 @@ android:layout_width="300dp" android:layout_height="500dp" android:layout_centerInParent="true" + android:contentDescription="@string/image_content" android:scaleType="fitCenter" /> \ No newline at end of file diff --git a/res/layout/image_sdcard_cache_demo.xml b/res/layout/image_sdcard_cache_demo.xml index 9e3afc0..bdcc14a 100644 --- a/res/layout/image_sdcard_cache_demo.xml +++ b/res/layout/image_sdcard_cache_demo.xml @@ -1,21 +1,16 @@ + android:layout_height="match_parent" + android:orientation="vertical" > - - - - - + android:layout_above="@+id/trinea_info_layout" + android:layout_gravity="center" + android:spacing="4dp" /> #5200D5 + #D8D8D8 \ No newline at end of file diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 2636c40..78aeffd 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -5,7 +5,6 @@ 15dp 4dp 8dp - 60dp 40dp 16sp 55dp diff --git a/src/cn/trinea/android/demo/ImageSDCardCacheDemo.java b/src/cn/trinea/android/demo/ImageSDCardCacheDemo.java index 49a219e..458d05a 100644 --- a/src/cn/trinea/android/demo/ImageSDCardCacheDemo.java +++ b/src/cn/trinea/android/demo/ImageSDCardCacheDemo.java @@ -33,7 +33,7 @@ public class ImageSDCardCacheDemo extends BaseActivity { @Override public void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState, R.layout.slide_one_page_gallery_demo); + super.onCreate(savedInstanceState, R.layout.image_sdcard_cache_demo); Context context = getApplicationContext(); initImageUrlList();