アプリ作って海外移住

コピペプログラマーのメモ

2013-12-28から1日間の記事一覧

shape 例

パディングは、下記の例で、赤いボーダーラインと内側のコンテンツとの間の隙間に相当します。赤いボーダーラインと周りのコンテンツとの間の隙間(マージン)を指定するにはmarginを指定します。 <padding android:left="5dp" android:right="5dp" android:top="5dp" android:bottom="5dp"/> <selector xmlns:android="http://schemas.android.com/apk/res/android" > </selector></padding>