summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-08-28 09:17:59 -0700
committerClark Scheff <clark@cyngn.com>2014-08-28 09:17:59 -0700
commitc0d722b992aa20235434a48d9efec44d6aff4dbd (patch)
tree78ea0ccc473e0db754df0343252c983d29bd71ec /res/layout
parentdf731fe710593c2d8693959c6ab2fd899843e707 (diff)
downloadpackages_apps_ThemeChooser-c0d722b992aa20235434a48d9efec44d6aff4dbd.zip
packages_apps_ThemeChooser-c0d722b992aa20235434a48d9efec44d6aff4dbd.tar.gz
packages_apps_ThemeChooser-c0d722b992aa20235434a48d9efec44d6aff4dbd.tar.bz2
Clean up unused items
Change-Id: I8c24c18a4927718970a49a6b77c9b92b4eea1ed6
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/activity_main.xml2
-rw-r--r--res/layout/save_apply_button.xml25
-rw-r--r--res/layout/save_apply_button_2.xml37
3 files changed, 18 insertions, 46 deletions
diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml
index 834a525..54d0eb3 100644
--- a/res/layout/activity_main.xml
+++ b/res/layout/activity_main.xml
@@ -31,7 +31,7 @@
</LinearLayout>
<include layout="@layout/component_selector"/>
- <include layout="@layout/save_apply_button_2"/>
+ <include layout="@layout/save_apply_button"/>
<include layout="@layout/shop_themes"/>
</FrameLayout>
diff --git a/res/layout/save_apply_button.xml b/res/layout/save_apply_button.xml
index 79a5ff8..70d3b18 100644
--- a/res/layout/save_apply_button.xml
+++ b/res/layout/save_apply_button.xml
@@ -8,18 +8,27 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|left"
- android:background="#000000"
android:visibility="gone">
- <Button
- android:id="@+id/save_apply_button"
+ <LinearLayout
+ android:orientation="horizontal"
android:layout_width="match_parent"
- android:layout_height="48dp"
- android:text="@string/save_and_apply_title"
- android:textAllCaps="true"
- android:textColor="@android:color/white"
- android:background="@drawable/save_apply_button_selector"/>
+ android:layout_height="wrap_content">
+ <Space
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"/>
+
+ <Button
+ android:id="@+id/save_apply_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="8dp"
+ android:layout_marginBottom="8dp"
+ android:background="@drawable/save_apply_button_selector"/>
+
+ </LinearLayout>
<Space
android:id="@+id/navbar_padding"
android:layout_width="match_parent"
diff --git a/res/layout/save_apply_button_2.xml b/res/layout/save_apply_button_2.xml
deleted file mode 100644
index e255bb1..0000000
--- a/res/layout/save_apply_button_2.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/save_apply_layout"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom|left"
- android:visibility="gone">
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
- <Space
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"/>
-
- <Button
- android:id="@+id/save_apply_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginBottom="8dp"
- android:background="@drawable/save_apply_button_selector_2"/>
-
- </LinearLayout>
- <Space
- android:id="@+id/navbar_padding"
- android:layout_width="match_parent"
- android:layout_height="@*android:dimen/system_bar_height"/>
-
-</LinearLayout> \ No newline at end of file