aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-05-26 18:03:47 -0700
committerScott Jackson <daneren2005@gmail.com>2015-05-26 18:03:47 -0700
commit117c246d7e619ab9a3c0fb36fb152b8ad8bf9afe (patch)
treecd3e5f986ce8449b4b0937c5923f61434bbf72f0 /app/src/main/res/layout
parent096f97542c1f8b9baa6cc53fb2f6909f969e261f (diff)
downloaddsub-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.xml11
-rw-r--r--app/src/main/res/layout/basic_list_item.xml2
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"