aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-12 16:53:35 -0700
committerAllan Wang <me@allanwang.ca>2017-06-12 16:53:35 -0700
commita7a37f8f5b1955f006a83d4713a2c6af500c28af (patch)
tree967491b652e92ba182b39199e4fb0470f13b605e
parenta17ae247c496d2ec8038f36428812f3c2e410d87 (diff)
downloadfrost-a7a37f8f5b1955f006a83d4713a2c6af500c28af.tar.gz
frost-a7a37f8f5b1955f006a83d4713a2c6af500c28af.tar.bz2
frost-a7a37f8f5b1955f006a83d4713a2c6af500c28af.zip
Clean up resources
-rw-r--r--app/src/main/res/layout/changelog_content.xml27
-rw-r--r--app/src/main/res/layout/changelog_title.xml14
-rw-r--r--app/src/main/res/layout/preference_frost.xml68
-rw-r--r--app/src/main/res/values/strings.xml2
4 files changed, 0 insertions, 111 deletions
diff --git a/app/src/main/res/layout/changelog_content.xml b/app/src/main/res/layout/changelog_content.xml
deleted file mode 100644
index e4084796..00000000
--- a/app/src/main/res/layout/changelog_content.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:paddingBottom="8.4sp"
- android:paddingLeft="@dimen/dialog_margin"
- android:paddingRight="@dimen/dialog_margin">
-
- <!--padding bottom is 14sp * 0.6-->
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:lineSpacingMultiplier="1.6"
- android:paddingRight="5dp"
- android:text="@string/u2022"
- android:textAppearance="@style/TextAppearance.AppCompat.Small" />
-
- <TextView
- android:id="@+id/changelog_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:lineSpacingMultiplier="1.6"
- android:textAppearance="@style/TextAppearance.AppCompat.Small" />
-
-</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/changelog_title.xml b/app/src/main/res/layout/changelog_title.xml
deleted file mode 100644
index d00e54f1..00000000
--- a/app/src/main/res/layout/changelog_title.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/changelog_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:lineSpacingMultiplier="1.6"
- android:paddingBottom="@dimen/dialog_margin_bottom"
- android:paddingLeft="@dimen/dialog_margin"
- android:paddingRight="@dimen/dialog_margin"
- android:paddingTop="@dimen/dialog_margin_bottom"
- android:textAppearance="@style/TextAppearance.AppCompat.Medium"
- android:textStyle="bold" />
-
diff --git a/app/src/main/res/layout/preference_frost.xml b/app/src/main/res/layout/preference_frost.xml
deleted file mode 100644
index 939c6d32..00000000
--- a/app/src/main/res/layout/preference_frost.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?android:attr/activatedBackgroundIndicator"
- android:baselineAligned="false"
- android:clipToPadding="false"
- android:gravity="center_vertical"
- android:minHeight="?android:attr/listPreferredItemHeightSmall"
- android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
- android:paddingStart="?android:attr/listPreferredItemPaddingStart">
-
- <LinearLayout
- android:id="@id/pref_view_icon_frame"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="-4dp"
- android:gravity="start|center_vertical"
- android:minWidth="60dp"
- android:orientation="horizontal"
- android:paddingBottom="4dp"
- android:paddingEnd="12dp"
- android:paddingTop="4dp"
- android:visibility="gone">
-
- <ImageView
- android:id="@id/pref_view_icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:maxHeight="48dp"
- android:maxWidth="48dp" />
- </LinearLayout>
-
- <RelativeLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:paddingBottom="16dp"
- android:paddingTop="16dp">
-
- <TextView
- android:id="@id/pref_view_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ellipsize="marquee"
- android:textAppearance="?android:attr/textAppearanceListItem" />
-
- <TextView
- android:id="@id/pref_view_desc"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignStart="@id/pref_view_title"
- android:layout_below="@id/pref_view_title"
- android:ellipsize="end"
- android:maxLines="10"
- android:textAppearance="?android:attr/textAppearanceListItemSecondary"
- android:textColor="?android:attr/textColorSecondary" />
-
- </RelativeLayout>
-
- <LinearLayout android:id="@id/pref_view_inner_frame"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="end|center_vertical"
- android:paddingLeft="16dp"
- android:orientation="vertical" />
-
-</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 323cb42a..ee5d1294 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -2,10 +2,8 @@
<string name="action_settings">Settings</string>
<string name="section_format">Hello World from section: %1$d</string>
-
<string name="changelog">Changelog</string>
<string name="great">Great</string>
- <string name="u2022">•</string>
<string name="feed">Feed</string>
<string name="most_recent">Most Recent</string>
<string name="top_stories">Top Stories</string>