diff options
author | Nagesh Susarla <nageshs@google.com> | 2014-11-10 16:33:43 -0800 |
---|---|---|
committer | Nagesh Susarla <nageshs@google.com> | 2014-11-11 10:40:19 -0800 |
commit | 236b66bed42f4b09298237362ec1fcae595fbc77 (patch) | |
tree | 66b49254242dacc31dd24d0aafb349cdab2e5966 /MusicDemo/src/main/res | |
parent | 372eb5f8210ae554e2e4c08efae429b2f03b994f (diff) | |
download | demos-236b66bed42f4b09298237362ec1fcae595fbc77.tar.gz |
Minor cleanup to fix a few things in the media sample
Change-Id: Ie11b8f79ff1f5661b3fc17dc9410a61c021f7dee
Diffstat (limited to 'MusicDemo/src/main/res')
-rw-r--r-- | MusicDemo/src/main/res/layout/fragment_list.xml | 2 | ||||
-rw-r--r-- | MusicDemo/src/main/res/layout/media_list_item.xml (renamed from MusicDemo/src/main/res/layout/list_item.xml) | 2 | ||||
-rw-r--r-- | MusicDemo/src/main/res/values/dimens.xml | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/MusicDemo/src/main/res/layout/fragment_list.xml b/MusicDemo/src/main/res/layout/fragment_list.xml index a40240f..c169fec 100644 --- a/MusicDemo/src/main/res/layout/fragment_list.xml +++ b/MusicDemo/src/main/res/layout/fragment_list.xml @@ -17,7 +17,7 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" - android:padding="16dp"> + android:padding="@dimen/fragment_list_padding"> <LinearLayout android:id="@+id/controls" diff --git a/MusicDemo/src/main/res/layout/list_item.xml b/MusicDemo/src/main/res/layout/media_list_item.xml index 729628f..72c0ccf 100644 --- a/MusicDemo/src/main/res/layout/list_item.xml +++ b/MusicDemo/src/main/res/layout/media_list_item.xml @@ -31,7 +31,7 @@ android:layout_height="wrap_content" android:minHeight="?android:attr/listPreferredItemHeight" android:mode="twoLine" - android:padding="4dp" + android:padding="@dimen/list_item_padding" android:orientation="vertical"> <TextView diff --git a/MusicDemo/src/main/res/values/dimens.xml b/MusicDemo/src/main/res/values/dimens.xml index f905809..e57a8c9 100644 --- a/MusicDemo/src/main/res/values/dimens.xml +++ b/MusicDemo/src/main/res/values/dimens.xml @@ -15,5 +15,7 @@ limitations under the License. --> <resources> - <dimen name="margin_text_view">6dip</dimen> + <dimen name="fragment_list_padding">16dp</dimen> + <dimen name="list_item_padding">4dp</dimen> + <dimen name="margin_text_view">6dp</dimen> </resources> |