現在ドットインストールを参考にAndroidアプリ開発の勉強をしているプログラミング初心者です。
写真の赤色の「カテゴリー」の回りの余白をなくしアクションバーの下にぴったりとくっつく感じで配置したいとですがやり方が分からず困っています。やり方を分かる方がいれば教えて頂ければ幸いです。
よろしくお願いします。
![イメージ説明]WIDTH:376
activity_main.xml
lang
1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent" 5 android:paddingBottom="@dimen/activity_vertical_margin" 6 android:paddingLeft="@dimen/activity_horizontal_margin" 7 android:paddingRight="@dimen/activity_horizontal_margin" 8 android:paddingTop="@dimen/activity_vertical_margin" 9 tools:context=".MainActivity" 10 android:background="@drawable/bg" 11 android:orientation="vertical" 12 android:weightSum="1" 13 > 14 15 <TextView 16 android:layout_width="match_parent" 17 android:layout_height="wrap_content" 18 android:text="カテゴリー" 19 android:background="#ff0000" 20 /> 21 22 23 24 25</LinearLayout>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/07/09 07:22