diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-05-26 18:03:47 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-05-26 18:03:47 -0700 |
commit | 117c246d7e619ab9a3c0fb36fb152b8ad8bf9afe (patch) | |
tree | cd3e5f986ce8449b4b0937c5923f61434bbf72f0 /app/src/main/res/layout | |
parent | 096f97542c1f8b9baa6cc53fb2f6909f969e261f (diff) | |
download | dsub-117c246d7e619ab9a3c0fb36fb152b8ad8bf9afe.tar.gz dsub-117c246d7e619ab9a3c0fb36fb152b8ad8bf9afe.tar.bz2 dsub-117c246d7e619ab9a3c0fb36fb152b8ad8bf9afe.zip |
Abstract out common logic into SectionAdapter
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/basic_header.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/layout/basic_list_item.xml | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/app/src/main/res/layout/basic_header.xml b/app/src/main/res/layout/basic_header.xml new file mode 100644 index 00000000..39f8722d --- /dev/null +++ b/app/src/main/res/layout/basic_header.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/item_name" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + android:background="@android:color/transparent" + android:textColor="@color/cyan" + android:textStyle="bold" + android:paddingLeft="6dp" + android:paddingRight="6dp"/>
\ No newline at end of file diff --git a/app/src/main/res/layout/basic_list_item.xml b/app/src/main/res/layout/basic_list_item.xml index 2338f7e0..4974f4f5 100644 --- a/app/src/main/res/layout/basic_list_item.xml +++ b/app/src/main/res/layout/basic_list_item.xml @@ -3,7 +3,7 @@ android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="@android:color/transparent"> + android:background="@drawable/abc_item_background_holo_light"> <TextView android:id="@+id/item_name" |