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" > - - + 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();