duyojiぶろぐ

技術系ときどき日常系

2011-11-03から1日間の記事一覧

作成

まずはじめにxmlで次のようにlayoutを作るres/layout/gallery.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> </linearlayout>

内容

AppStoreのスクリーンショットのように次の画像が少し右端に見えているスクリーンショット画面を作る。 Galleryクラスを使うのだがそのままGalleryクラスを使うと横スクロールの際フリックに違和感を感じたので今回使うGalleryは少しカスタムしたGalleryを使…