【ニュース】東京メトロのインバウンド向けモバイルDXをヤプリが支援 〜多言語対応した訪日外国人旅行者用アプリ「Tokyo Metro For Tourists」を開発〜
iOS、Android、IT技術等のまとめブログ。小さくても大きな効果を発揮する知的ツールの調査、開発結果を報告しています。 Android端末を傾けても画面を一定の向きで固定しておく方法を調べました。その方法は2つあります。ひとつはAndroidManifest.xmlで静的に向きを設定する方法、もうひとつはActivityクラスのsetRequestOrientationメソッドで動的に向きを設定する方法です。 AndroidManifest.xmlで静的に設定する方法 activityタグのandroid:screenOrientationに向きを表す属性値を設定することで、端末の向きを固定できます。 設定例 <activity android:name=".ScreenTest" android:label="@string/app_name" android:screenOrie
Responsive Showcase PsdOur responsive showcase psd presentation slide is a collection of different hardware screen resolution to present your responsive project.
きっかけはいつもTwitter。 YUKIさんからの、おたすけツイートを見かけたので、WordPressのカレンダーのthにclassを追加するコード(日本語限定)に続き、頑張ってみました。 後で知ったのですが、widthとheightを削る理由は、スマートフォン対応。なるほど画面サイズに合わせて縮小できるようにするには、サイズ指定が邪魔になるわけですね。納得。 編集画面に挿入される画像のHTMLソースは、wp-admin/includes/media.php の get_image_send_to_editor 関数で作成されています。ここの生成ロジックを追っていくと下記の通り。 get_image_send_to_editor 関数で、画像のリンクを含めたソースを生成。imgタグ部分の生成は、get_image_tag 関数を呼び出し get_image_tag 関数で、imgタグを生
※コメントにも頂いておりますが、この公開版はバグがありますので、承知の上でご利用になるか、ご自身でカスタマイズされる方がお使いください。 スマートフォンサイトにおいて、左のムービーのようなフリック動作ができる画像スライドのjQueryプラグインを作りました。(ムービーはiOSシミュレータによるデモです)iPhone・Androidでご覧の方はデモに直接アクセスしてください(ムービーは再生されません)。 【デモを見る(iPhone・Androidで見てください)】 【ダウンロード】 なぜプラグイン化したか 横向き対応がハードルを高くする ご自身でこの手のUIを組んだ経験がある方はわかると思いますが、絶対配置(position:absolute)を使ったリキッドレイアウトを組むのはなかなか手の込んだことが必要で、今後の仕事で都度ゼロからUI作成を行うのは効率が悪くなってしまうと思ったからです。
1 pixel|サイバーエージェント公式クリエイターズブログ サイバーエージェントのクリエイターの取り組みを紹介するオフィシャルブログです。最新技術への挑戦やサービス誕生の裏話、勉強会やイベントのレポートなどCAクリエイターの情報が満載です。 はじめまして、ブロググループでフロントエンドの開発を担当している泉と申します。 クリエイティブアカデミー※1を経て、2012年5月に中途入社いたしました。 クリエイティブアカデミー レポート 仕様について1、フリックを使った画像の切り替え 今までは、現在見ている画像から次(前)の画像を見るためには、リンクをタップしてもらって該当の画像ページに遷移させる必要がありました。 しかし今回はユーザにストレスを与えないために、ページ遷移しなくても画像が切り替わるように実装します。 2、表示されている画像のピンチイン/アウト(拡大/縮小) タップされた時のイベン
Gaming Laptop 4 Best Mini-LED Laptops in 2023 Regardless of whether you’re gaming or just need an excellent display, our recommendation for the best Mini-LED laptops in 2023 that you can buy should help. Read More 2-in-1 Laptops 4 Best 2-In-1 Gaming Laptops 2-in-1 gaming laptops do exist. Certain 2-in-1 laptops have beefy specs that make them viable for modern gaming. Read More Buying Guides 5 Bes
iOSアプリを作成する際に、アプリ内で使用する画像は通常のディスプレイ用とRetinaディスプレイ用の2種類を用意する必要がありますが、これが非常に面倒な作業です。 ほとんどのデバイスがRetina Displayになった今となっては、通常のディスプレイのサポートはもう辞めてしまいたいところですが、iOS 6でiPhone 3GSもサポートされることが決まり、やはり当面は通常のディスプレイもサポートしなければならなくなりそうなので、対策を考えました。 Photoshopを使って通常のディスプレイ用とRetinaディスプレイ用の2種類の画像を用意する方法にはさまざまなやり方が考えられますが、一例としてPhotoshopスクリプトを使った私のやり方を書いてみます。 1.Retinaディスプレイ用の画像ファイルを用意する まずは、Retinaディスプレイ用の画像ファイルを用意します。 Retin
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く