aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/app_bar_main.xml2
-rw-r--r--app/src/main/res/layout/fragment_fragment_thread_list.xml5
-rw-r--r--app/src/main/res/values/attrs.xml1
-rw-r--r--app/src/main/res/values/colors.xml4
-rw-r--r--app/src/main/res/values/styles.xml5
-rw-r--r--app/src/main/res/xml/preferences.xml4
6 files changed, 18 insertions, 3 deletions
diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml
index 088b082..9202c71 100644
--- a/app/src/main/res/layout/app_bar_main.xml
+++ b/app/src/main/res/layout/app_bar_main.xml
@@ -29,7 +29,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
- android:src="@drawable/ic_edit"
+ android:src="@drawable/ic_action_add"
android:alpha="128" />
</android.support.design.widget.CoordinatorLayout>
diff --git a/app/src/main/res/layout/fragment_fragment_thread_list.xml b/app/src/main/res/layout/fragment_fragment_thread_list.xml
index 477c236..f83f48c 100644
--- a/app/src/main/res/layout/fragment_fragment_thread_list.xml
+++ b/app/src/main/res/layout/fragment_fragment_thread_list.xml
@@ -54,7 +54,10 @@
android:layout_weight="1"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true" />
+ android:layout_alignParentStart="true"
+ android:cacheColorHint="@android:color/transparent"
+ android:fastScrollEnabled="true"
+ android:persistentDrawingCache="scrolling"/>
</RelativeLayout>
</RelativeLayout>
diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml
index ad73763..8badacd 100644
--- a/app/src/main/res/values/attrs.xml
+++ b/app/src/main/res/values/attrs.xml
@@ -5,4 +5,5 @@
<attr name="nameColor" format="reference"/>
<attr name="tripcodeColor" format="reference"/>
<attr name="isDarkTheme" format="boolean"/>
+ <attr name="quoteColor" format="reference"/>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 8274b32..7df736f 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -9,6 +9,7 @@
<color name="defaultNameColor">#008000</color>
<color name="defaultMarginColor">#CCCCCC</color>
<color name="defaultTripcodeColor">#FF0000</color>
+ <color name="defaultQuote">#000000</color>
<color name="nightBackground">#2F3D48</color> <!-- 1 -->
<color name="nightMarginColor">#58636c</color> <!-- 3 58636c-->
@@ -17,6 +18,7 @@
<color name="nightNameColor">#5f962e</color>
<color name="nightSageColor">#2e5f96</color>
<color name="nightTripcodeColor">#962e5f</color>
+ <color name="nightQuote">#7eab57</color>
<color name="headlineBackground">#DDDDDD</color> <!-- 1 -->
<color name="headlineMarginColor">#EEEEEE</color> <!-- 3 58636c-->
@@ -25,6 +27,7 @@
<color name="headlineNameColor">#004A99</color>
<color name="headlineSageColor">#FF6600</color>
<color name="headlineTripcodeColor">#d279ef</color>
+ <color name="headlineQuote">#ff8533</color>
<color name="blackBackground">#282A2E</color> <!-- 1 -->
<color name="blackMarginColor">#1D1F21</color> <!-- 3 58636c-->
@@ -33,4 +36,5 @@
<color name="blackNameColor">#c5c8c6</color>
<color name="blackSageColor">#81a2be</color>
<color name="blackTripcodeColor">#b294bb</color>
+ <color name="blackQuote">#9dbb94</color>
</resources>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 40acf9b..5fb2316 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -17,6 +17,7 @@
<item name="marginColor">@color/defaultMarginColor</item>
<item name="tripcodeColor">@color/defaultTripcodeColor</item>
<item name="isDarkTheme">false</item>
+ <item name="quoteColor">@color/defaultQuote</item>
</style>
<style name="AppTheme.Dark" parent="AppTheme.NoActionBar">
@@ -29,6 +30,7 @@
<item name="marginColor">@color/nightMarginColor</item>
<item name="tripcodeColor">@color/nightTripcodeColor</item>
<item name="isDarkTheme">true</item>
+ <item name="quoteColor">@color/nightQuote</item>
</style>
<style name="AppTheme.HeadLineActionBar.NoActionBar" parent="AppTheme.HeadLineActionBar">
@@ -56,6 +58,7 @@
<item name="colorPrimaryDark">@color/headlineLinkColor</item>
<item name="colorAccent">@color/headlineLinkColor</item>
<item name="isDarkTheme">false</item>
+ <item name="quoteColor">@color/headlineQuote</item>
</style>
<style name="AppTheme.BlackActionBar.NoActionBar" parent="AppTheme.BlackActionBar">
@@ -83,6 +86,7 @@
<item name="colorPrimaryDark">@color/blackMarginColor</item>
<item name="colorAccent">@color/blackSageColor</item>
<item name="isDarkTheme">true</item>
+ <item name="quoteColor">@color/blackQuote</item>
</style>
<style name="AppTheme.NoActionBar">
@@ -94,5 +98,4 @@
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
-
</resources>
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 7226743..29161cf 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -29,6 +29,10 @@
android:key="setting_downloadOnlyWithWifi"
android:defaultValue="true" />
<SwitchPreference
+ android:title="Utilizar miniaturas de versión movil"
+ android:key="pref_usemobilethumbs"
+ android:defaultValue="true"/>
+ <SwitchPreference
android:title="Ir al final al abrir un hilo"
android:key="setting_scrollatnewthread"
android:defaultValue="false" />