Update support libs, add design lib, fix some issues with the update

filtering
Floens 10 years ago
parent 475b9faccd
commit 422b343514
  1. 8
      Clover/app/build.gradle
  2. 4
      Clover/app/src/main/java/org/floens/chan/ui/helper/SwipeListener.java
  3. 5
      Clover/app/src/main/res/layout/cell_post.xml
  4. 1
      Clover/app/src/main/res/values/attrs.xml
  5. 2
      Clover/app/src/main/res/values/styles.xml

@ -71,9 +71,11 @@ android {
} }
dependencies { dependencies {
compile 'com.android.support:support-v13:22.1.0' compile 'com.android.support:support-v13:22.2.0'
compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.1.0' compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.android.support:support-annotations:22.2.0'
compile 'com.android.support:design:22.2.0'
compile 'org.jsoup:jsoup:1.8.1' compile 'org.jsoup:jsoup:1.8.1'
compile 'com.j256.ormlite:ormlite-core:4.48' compile 'com.j256.ormlite:ormlite-core:4.48'

@ -116,6 +116,10 @@ public class SwipeListener extends RecyclerView.ItemDecoration implements Recycl
maxFlingPixels = viewConfiguration.getScaledMaximumFlingVelocity(); maxFlingPixels = viewConfiguration.getScaledMaximumFlingVelocity();
} }
@Override
public void onRequestDisallowInterceptTouchEvent(boolean b) {
}
@Override @Override
public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) {
switch (e.getActionMasked()) { switch (e.getActionMasked()) {

@ -52,7 +52,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignWithParentIfMissing="true" android:layout_alignWithParentIfMissing="true"
android:layout_below="@id/icons" android:layout_below="@id/icons"
android:layout_toRightOf="@id/thumbnail_view" /> android:layout_toRightOf="@id/thumbnail_view"
android:textColor="?attr/text_color_primary" />
<TextView <TextView
android:id="@+id/replies" android:id="@+id/replies"
@ -62,7 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:layout_below="@id/comment" android:layout_below="@id/comment"
android:layout_toRightOf="@id/thumbnail_view" android:layout_toRightOf="@id/thumbnail_view"
android:singleLine="true" android:singleLine="true"
android:textColor="?attr/post_reply_count_color" /> android:textColor="?attr/text_color_secondary" />
<View <View
android:id="@+id/divider" android:id="@+id/divider"

@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<attr name="post_saved_reply_color" format="color" /> <attr name="post_saved_reply_color" format="color" />
<attr name="post_highlighted_color" format="color" /> <attr name="post_highlighted_color" format="color" />
<attr name="post_reply_count_color" format="color" />
<attr name="post_reply_color" format="color" /> <attr name="post_reply_color" format="color" />
<attr name="post_name_color" format="color" /> <attr name="post_name_color" format="color" />
<attr name="post_subject_color" format="color" /> <attr name="post_subject_color" format="color" />

@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<item name="post_saved_reply_color">#FFBCBCBC</item> <item name="post_saved_reply_color">#FFBCBCBC</item>
<item name="post_highlighted_color">#FFD6BAD0</item> <item name="post_highlighted_color">#FFD6BAD0</item>
<item name="post_reply_count_color">#FF646464</item>
<item name="post_reply_color">#FF646464</item> <item name="post_reply_color">#FF646464</item>
<item name="post_name_color">#ff117743</item> <item name="post_name_color">#ff117743</item>
<item name="post_subject_color">#ff0F0C5D</item> <item name="post_subject_color">#ff0F0C5D</item>
@ -66,7 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<item name="post_saved_reply_color">#ff5C5C5C</item> <item name="post_saved_reply_color">#ff5C5C5C</item>
<item name="post_highlighted_color">#ff444444</item> <item name="post_highlighted_color">#ff444444</item>
<item name="post_reply_count_color">#ff9f9f9f</item>
<item name="post_subject_color">#ff625cff</item> <item name="post_subject_color">#ff625cff</item>
<item name="post_link_color">#ff625cff</item> <item name="post_link_color">#ff625cff</item>
<item name="post_spoiler_color">#ff000000</item> <item name="post_spoiler_color">#ff000000</item>

Loading…
Cancel
Save