Cleanup res/ folder. Add license headers.

captchafix
Florens Douwes 11 years ago
parent 4b4b71ba62
commit 18cb729d3e
  1. 17
      Clover/app/src/debug/java/org/floens/chan/ChanBuild.java
  2. 88
      Clover/app/src/main/AndroidManifest.xml
  3. 17
      Clover/app/src/main/java/org/floens/chan/utils/ThemeHelper.java
  4. 26
      Clover/app/src/main/res/anim/fade_in.xml
  5. 26
      Clover/app/src/main/res/anim/fade_out.xml
  6. 33
      Clover/app/src/main/res/drawable/pin_icon_blue.xml
  7. 33
      Clover/app/src/main/res/drawable/pin_icon_gray.xml
  8. 33
      Clover/app/src/main/res/drawable/pin_icon_red.xml
  9. 29
      Clover/app/src/main/res/layout/activity_base.xml
  10. 24
      Clover/app/src/main/res/layout/board_edit_item.xml
  11. 18
      Clover/app/src/main/res/layout/board_select_add.xml
  12. 18
      Clover/app/src/main/res/layout/board_select_spinner.xml
  13. 33
      Clover/app/src/main/res/layout/image_pager.xml
  14. 85
      Clover/app/src/main/res/layout/pin_item.xml
  15. 43
      Clover/app/src/main/res/layout/pin_item_header.xml
  16. 17
      Clover/app/src/main/res/layout/post_replies.xml
  17. 26
      Clover/app/src/main/res/layout/preference_pass.xml
  18. 28
      Clover/app/src/main/res/layout/reply_captcha.xml
  19. 40
      Clover/app/src/main/res/layout/reply_input.xml
  20. 44
      Clover/app/src/main/res/layout/reply_view.xml
  21. 19
      Clover/app/src/main/res/menu/action_bar_switch.xml
  22. 45
      Clover/app/src/main/res/menu/base.xml
  23. 29
      Clover/app/src/main/res/menu/board_edit.xml
  24. 19
      Clover/app/src/main/res/menu/image_view.xml
  25. 8
      Clover/app/src/main/res/values-sw600dp/dimens.xml
  26. 8
      Clover/app/src/main/res/values-sw720dp-land/dimens.xml
  27. 25
      Clover/app/src/main/res/values/attrs.xml
  28. 17
      Clover/app/src/main/res/values/colors.xml
  29. 18
      Clover/app/src/main/res/values/dimens.xml
  30. 19
      Clover/app/src/main/res/values/strings.xml
  31. 17
      Clover/app/src/main/res/values/styles.xml
  32. 55
      Clover/app/src/main/res/xml/preference.xml
  33. 25
      Clover/app/src/main/res/xml/preference_pass.xml
  34. 23
      Clover/app/src/main/res/xml/preference_watch.xml
  35. 17
      Clover/app/src/release/java/org/floens/chan/ChanBuild.java
  36. 18
      docs/FileNotice.txt

@ -1,3 +1,20 @@
/*
* Clover - 4chan browser https://github.com/Floens/Clover/
* Copyright (C) 2014 Floens
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.floens.chan; package org.floens.chan;
// debug version // debug version

@ -1,125 +1,143 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.floens.chan" package="org.floens.chan"
android:installLocation="auto" > android:installLocation="auto">
<uses-sdk <uses-sdk
android:minSdkVersion="14" android:minSdkVersion="14"
android:targetSdkVersion="19" /> android:targetSdkVersion="19"/>
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.NFC" /> <uses-permission android:name="android.permission.NFC"/>
<application <application
android:name="org.floens.chan.ChanApplication" android:name="org.floens.chan.ChanApplication"
android:allowBackup="true" android:allowBackup="true"
android:icon="@drawable/ic_launcher" android:icon="@drawable/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/AppTheme" > android:theme="@style/AppTheme">
<activity <activity
android:name="org.floens.chan.ui.activity.BoardActivity" android:name="org.floens.chan.ui.activity.BoardActivity"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name" > android:label="@string/app_name">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<action android:name="android.nfc.action.NDEF_DISCOVERED" > <action android:name="android.nfc.action.NDEF_DISCOVERED">
</action> </action>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data <data
android:host="4chan.org" android:host="4chan.org"
android:pathPrefix="/" android:pathPrefix="/"
android:scheme="http" /> android:scheme="http"/>
<data <data
android:host="4chan.org" android:host="4chan.org"
android:pathPrefix="/" android:pathPrefix="/"
android:scheme="https" /> android:scheme="https"/>
<data <data
android:host="www.4chan.org" android:host="www.4chan.org"
android:pathPrefix="/" android:pathPrefix="/"
android:scheme="http" /> android:scheme="http"/>
<data <data
android:host="www.4chan.org" android:host="www.4chan.org"
android:pathPrefix="/" android:pathPrefix="/"
android:scheme="https" /> android:scheme="https"/>
<data <data
android:host="boards.4chan.org" android:host="boards.4chan.org"
android:pathPrefix="/" android:pathPrefix="/"
android:scheme="http" /> android:scheme="http"/>
<data <data
android:host="boards.4chan.org" android:host="boards.4chan.org"
android:pathPrefix="/" android:pathPrefix="/"
android:scheme="https" /> android:scheme="https"/>
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name="org.floens.chan.ui.activity.ReplyActivity" android:name="org.floens.chan.ui.activity.ReplyActivity"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize" > android:windowSoftInputMode="adjustResize">
</activity> </activity>
<activity <activity
android:name="org.floens.chan.ui.activity.SettingsActivity" android:name="org.floens.chan.ui.activity.SettingsActivity"
android:label="@string/action_settings" android:label="@string/action_settings"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" > android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" /> android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity> </activity>
<activity <activity
android:name="org.floens.chan.ui.activity.WatchSettingsActivity" android:name="org.floens.chan.ui.activity.WatchSettingsActivity"
android:label="@string/preference_watch_settings" android:label="@string/preference_watch_settings"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" > android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" /> android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity> </activity>
<activity <activity
android:name="org.floens.chan.ui.activity.PassSettingsActivity" android:name="org.floens.chan.ui.activity.PassSettingsActivity"
android:label="@string/preference_pass_settings" android:label="@string/preference_pass_settings"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" > android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" /> android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity> </activity>
<activity <activity
android:name="org.floens.chan.ui.activity.AboutActivity" android:name="org.floens.chan.ui.activity.AboutActivity"
android:label="@string/preference_about" android:label="@string/preference_about"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" > android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" /> android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity> </activity>
<activity <activity
android:name="org.floens.chan.ui.activity.BoardEditor" android:name="org.floens.chan.ui.activity.BoardEditor"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/board_edit" android:label="@string/board_edit"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" > android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" /> android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity> </activity>
<activity <activity
android:name="org.floens.chan.ui.activity.ImageViewActivity" android:name="org.floens.chan.ui.activity.ImageViewActivity"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop" android:launchMode="singleTop"
android:theme="@style/Theme.ImageList" > android:theme="@style/Theme.ImageList">
</activity> </activity>
<activity android:name="org.floens.chan.ui.activity.ImagePickActivity" > <activity android:name="org.floens.chan.ui.activity.ImagePickActivity">
</activity> </activity>
<activity android:name="org.floens.chan.ui.activity.DeveloperActivity" > <activity android:name="org.floens.chan.ui.activity.DeveloperActivity">
</activity> </activity>
<service <service
android:name="org.floens.chan.service.WatchService" android:name="org.floens.chan.service.WatchService"
android:exported="false" > android:exported="false">
</service> </service>
</application> </application>

@ -1,3 +1,20 @@
/*
* Clover - 4chan browser https://github.com/Floens/Clover/
* Copyright (C) 2014 Floens
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.floens.chan.utils; package org.floens.chan.utils;
import android.app.Activity; import android.app.Activity;

@ -1,8 +1,24 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" > <!--
<alpha Clover - 4chan browser https://github.com/Floens/Clover/
android:fromAlpha="0.0" Copyright (C) 2014 Floens
android:toAlpha="1.0"
android:duration="200" /> This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="200"/>
</set> </set>

@ -1,8 +1,24 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" > <!--
<alpha Clover - 4chan browser https://github.com/Floens/Clover/
android:fromAlpha="1.0" Copyright (C) 2014 Floens
android:toAlpha="0.0"
android:duration="200" /> This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:fromAlpha="1.0"
android:toAlpha="0.0"
android:duration="200"/>
</set> </set>

@ -1,16 +1,31 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<inset
xmlns:android="http://schemas.android.com/apk/res/android"
android:insetLeft="8dp" android:insetLeft="8dp"
android:insetTop="8dp" android:insetTop="8dp"
android:insetRight="8dp" android:insetRight="8dp"
android:insetBottom="8dp" > android:insetBottom="8dp">
<shape> <shape>
<solid <solid
android:color="#FF33B5E5" /> android:color="#FF33B5E5"/>
<corners
<corners android:radius="4dp"/>
android:radius="4dp" />
</shape> </shape>
</inset> </inset>

@ -1,16 +1,31 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<inset
xmlns:android="http://schemas.android.com/apk/res/android"
android:insetLeft="8dp" android:insetLeft="8dp"
android:insetTop="8dp" android:insetTop="8dp"
android:insetRight="8dp" android:insetRight="8dp"
android:insetBottom="8dp" > android:insetBottom="8dp">
<shape> <shape>
<solid <solid
android:color="#FF898989" /> android:color="#FF898989"/>
<corners
<corners android:radius="4dp"/>
android:radius="4dp" />
</shape> </shape>
</inset> </inset>

@ -1,16 +1,31 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<inset
xmlns:android="http://schemas.android.com/apk/res/android"
android:insetLeft="8dp" android:insetLeft="8dp"
android:insetTop="8dp" android:insetTop="8dp"
android:insetRight="8dp" android:insetRight="8dp"
android:insetBottom="8dp" > android:insetBottom="8dp">
<shape> <shape>
<solid <solid
android:color="#FFFF4444" /> android:color="#FFFF4444"/>
<corners
<corners android:radius="4dp"/>
android:radius="4dp" />
</shape> </shape>
</inset> </inset>

@ -1,18 +1,37 @@
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout" android:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" > android:layout_height="match_parent">
<android.support.v4.widget.SlidingPaneLayout <android.support.v4.widget.SlidingPaneLayout
android:id="@+id/pane_container" android:id="@+id/pane_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" > android:layout_height="match_parent">
<FrameLayout <FrameLayout
android:id="@+id/left_pane" android:id="@+id/left_pane"
android:layout_width="100dp" android:layout_width="100dp"
android:layout_height="match_parent" android:layout_height="match_parent"
style="?board_pane_left_style" /> style="?board_pane_left_style"/>
<FrameLayout <FrameLayout
android:id="@+id/right_pane" android:id="@+id/right_pane"
@ -30,6 +49,6 @@
android:background="#444" android:background="#444"
android:choiceMode="singleChoice" android:choiceMode="singleChoice"
android:divider="#333" android:divider="#333"
android:dividerHeight="1dp" /> android:dividerHeight="1dp"/>
</android.support.v4.widget.DrawerLayout> </android.support.v4.widget.DrawerLayout>

@ -1,8 +1,26 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="horizontal" > android:orientation="horizontal">
<org.floens.chan.ui.view.DragGripView <org.floens.chan.ui.view.DragGripView
android:id="@+id/drag_handle" android:id="@+id/drag_handle"
@ -21,6 +39,6 @@
android:layout_marginLeft="36dp" android:layout_marginLeft="36dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="50sp" android:minHeight="50sp"
android:textSize="24sp" /> android:textSize="24sp"/>
</FrameLayout> </FrameLayout>

@ -1,5 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<TextView <TextView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1" android:id="@android:id/text1"
@ -13,4 +29,4 @@
android:minHeight="?android:attr/listPreferredItemHeightSmall" android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:textStyle="italic" android:textStyle="italic"
android:singleLine="true" android:singleLine="true"
android:ellipsize="end" /> android:ellipsize="end"/>

@ -1,5 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<TextView <TextView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1" android:id="@android:id/text1"
@ -12,4 +28,4 @@
android:paddingRight="?android:attr/listPreferredItemPaddingRight" android:paddingRight="?android:attr/listPreferredItemPaddingRight"
android:minHeight="?android:attr/listPreferredItemHeightSmall" android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:singleLine="true" android:singleLine="true"
android:ellipsize="end" /> android:ellipsize="end"/>

@ -1,14 +1,33 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/image_list_background" android:background="@color/image_list_background"
android:orientation="vertical" > android:orientation="vertical">
<org.floens.chan.ui.view.HackyViewPager xmlns:android="http://schemas.android.com/apk/res/android" <org.floens.chan.ui.view.HackyViewPager
android:id="@+id/image_pager" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:id="@+id/image_pager"
android:layout_height="wrap_content"> android:layout_width="match_parent"
</org.floens.chan.ui.view.HackyViewPager> android:layout_height="wrap_content">
</org.floens.chan.ui.view.HackyViewPager>
</RelativeLayout> </RelativeLayout>

@ -1,41 +1,58 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="48dp" android:layout_height="48dp"
android:orientation="horizontal" > android:orientation="horizontal">
<TextView <TextView
android:id="@+id/drawer_item_text" android:id="@+id/drawer_item_text"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="48dp" android:layout_height="48dp"
android:layout_weight="1" android:layout_weight="1"
android:paddingTop="8dp" android:paddingTop="8dp"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:paddingLeft="16dp" android:paddingLeft="16dp"
android:paddingRight="8dp" android:paddingRight="8dp"
android:textSize="19sp" android:textSize="19sp"
android:textColor="#fff" android:textColor="#fff"
android:gravity="center_vertical" android:gravity="center_vertical"
android:ellipsize="end" android:ellipsize="end"
android:lines="1" android:lines="1"
android:singleLine="true"> android:singleLine="true">
</TextView> </TextView>
<FrameLayout <FrameLayout
android:id="@+id/drawer_item_count_container" android:id="@+id/drawer_item_count_container"
android:background="@drawable/pin_icon_blue" android:background="@drawable/pin_icon_blue"
android:layout_width="48dp" android:layout_width="48dp"
android:layout_height="48dp" > android:layout_height="48dp">
<TextView <TextView
android:id="@+id/drawer_item_count" android:id="@+id/drawer_item_count"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="center" android:gravity="center"
android:textSize="16dp" android:textSize="16dp"
android:textColor="#fff" /> android:textColor="#fff"/>
</FrameLayout> </FrameLayout>
</LinearLayout> </LinearLayout>

@ -1,15 +1,34 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView
android:id="@+id/drawer_item_header" <TextView
android:layout_width="match_parent" android:id="@+id/drawer_item_header"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:paddingTop="24dp" android:layout_height="wrap_content"
android:paddingLeft="16dp" android:paddingTop="24dp"
android:paddingRight="56dp" android:paddingLeft="16dp"
android:paddingBottom="8dp" android:paddingRight="56dp"
style="?android:attr/listSeparatorTextViewStyle" android:paddingBottom="8dp"
android:orientation="vertical" /> style="?android:attr/listSeparatorTextViewStyle"
android:orientation="vertical"/>
</LinearLayout> </LinearLayout>

@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -1,9 +1,27 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:gravity="center" > android:gravity="center">
<TextView <TextView
android:id="@+id/pass_info" android:id="@+id/pass_info"
@ -12,7 +30,7 @@
android:gravity="center" android:gravity="center"
android:paddingTop="16dp" android:paddingTop="16dp"
android:text="@string/pass_info_text" android:text="@string/pass_info_text"
android:textSize="24sp" /> android:textSize="24sp"/>
<TextView <TextView
android:id="@+id/pass_link" android:id="@+id/pass_link"
@ -24,6 +42,6 @@
android:text="@string/pass_info_learn_more" android:text="@string/pass_info_learn_more"
android:textColor="@android:color/holo_blue_light" android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" android:textSize="20sp"
android:textStyle="italic" /> android:textStyle="italic"/>
</LinearLayout> </LinearLayout>

@ -1,28 +1,46 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp" > android:padding="8dp">
<TextView <TextView
android:id="@+id/reply_captcha_text" android:id="@+id/reply_captcha_text"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/reply_captcha_tap_to_reload" android:text="@string/reply_captcha_tap_to_reload"
android:textSize="16sp" /> android:textSize="16sp"/>
<org.floens.chan.ui.view.LoadView <org.floens.chan.ui.view.LoadView
android:id="@+id/reply_captcha_container" android:id="@+id/reply_captcha_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="100dp" android:layout_height="100dp"
android:layout_gravity="center" /> android:layout_gravity="center"/>
<EditText <EditText
android:id="@+id/reply_captcha" android:id="@+id/reply_captcha"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="@string/reply_captcha" android:hint="@string/reply_captcha"
android:inputType="textNoSuggestions" /> android:inputType="textNoSuggestions"/>
</LinearLayout> </LinearLayout>

@ -1,11 +1,29 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:floatlabel="http://schemas.android.com/apk/res-auto" xmlns:floatlabel="http://schemas.android.com/apk/res-auto"
android:id="@+id/reply_data" android:id="@+id/reply_data"
style="?android:attr/buttonBarStyle" style="?android:attr/buttonBarStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical">
<EditText <EditText
android:id="@+id/reply_comment" android:id="@+id/reply_comment"
@ -15,7 +33,7 @@
android:imeActionLabel="@string/reply_submit" android:imeActionLabel="@string/reply_submit"
android:inputType="textMultiLine|textCapSentences|textAutoCorrect" android:inputType="textMultiLine|textCapSentences|textAutoCorrect"
android:minLines="4" android:minLines="4"
android:textSize="16sp" /> android:textSize="16sp"/>
<com.micromobs.android.floatlabel.FloatLabelEditText <com.micromobs.android.floatlabel.FloatLabelEditText
android:id="@+id/reply_name" android:id="@+id/reply_name"
@ -25,7 +43,7 @@
floatlabel:hint="@string/reply_name" floatlabel:hint="@string/reply_name"
floatlabel:textColorHintFocused="@color/holo_blue_dark" floatlabel:textColorHintFocused="@color/holo_blue_dark"
floatlabel:textColorHintUnFocused="@android:color/darker_gray" floatlabel:textColorHintUnFocused="@android:color/darker_gray"
floatlabel:textSize="16sp" /> floatlabel:textSize="16sp"/>
<com.micromobs.android.floatlabel.FloatLabelEditText <com.micromobs.android.floatlabel.FloatLabelEditText
android:id="@+id/reply_email" android:id="@+id/reply_email"
@ -36,7 +54,7 @@
floatlabel:hint="@string/reply_email" floatlabel:hint="@string/reply_email"
floatlabel:textColorHintFocused="@color/holo_blue_dark" floatlabel:textColorHintFocused="@color/holo_blue_dark"
floatlabel:textColorHintUnFocused="@android:color/darker_gray" floatlabel:textColorHintUnFocused="@android:color/darker_gray"
floatlabel:textSize="16sp" /> floatlabel:textSize="16sp"/>
<com.micromobs.android.floatlabel.FloatLabelEditText <com.micromobs.android.floatlabel.FloatLabelEditText
android:id="@+id/reply_subject" android:id="@+id/reply_subject"
@ -46,31 +64,31 @@
floatlabel:hint="@string/reply_subject" floatlabel:hint="@string/reply_subject"
floatlabel:textColorHintFocused="@color/holo_blue_dark" floatlabel:textColorHintFocused="@color/holo_blue_dark"
floatlabel:textColorHintUnFocused="@android:color/darker_gray" floatlabel:textColorHintUnFocused="@android:color/darker_gray"
floatlabel:textSize="16sp" /> floatlabel:textSize="16sp"/>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" > android:orientation="horizontal">
<Button <Button
android:id="@+id/reply_file" android:id="@+id/reply_file"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/reply_file" /> android:text="@string/reply_file"/>
<Button <Button
android:id="@+id/reply_file_delete" android:id="@+id/reply_file_delete"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/reply_file_delete" /> android:text="@string/reply_file_delete"/>
</LinearLayout> </LinearLayout>
<org.floens.chan.ui.view.LoadView <org.floens.chan.ui.view.LoadView
@ -79,7 +97,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:minHeight="200dp" android:minHeight="200dp"
android:scaleType="centerCrop" /> android:scaleType="centerCrop"/>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

@ -1,13 +1,30 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <!--
xmlns:floatlabel="http://schemas.android.com/apk/res-auto" Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:divider="?android:attr/dividerHorizontal" android:divider="?android:attr/dividerHorizontal"
android:minHeight="500dp" android:minHeight="500dp"
android:minWidth="600dp" android:minWidth="600dp"
android:orientation="vertical" android:orientation="vertical"
android:showDividers="middle" > android:showDividers="middle">
<!-- global viewflipper --> <!-- global viewflipper -->
@ -16,32 +33,33 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1"
android:orientation="horizontal" > android:orientation="horizontal">
<!-- input view: --> <!-- input view: -->
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" > android:layout_height="match_parent">
<include layout="@layout/reply_input" /> <include layout="@layout/reply_input"/>
</ScrollView> </ScrollView>
<!-- captcha view: --> <!-- captcha view: -->
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" > android:layout_height="match_parent">
<include layout="@layout/reply_captcha" /> <include layout="@layout/reply_captcha"/>
</ScrollView> </ScrollView>
<!-- response view: --> <!-- response view: -->
<org.floens.chan.ui.view.LoadView
<org.floens.chan.ui.view.LoadView
android:id="@+id/reply_response" android:id="@+id/reply_response"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" > android:orientation="vertical">
</org.floens.chan.ui.view.LoadView> </org.floens.chan.ui.view.LoadView>
</ViewFlipper> </ViewFlipper>
@ -49,7 +67,7 @@
style="?android:attr/buttonBarStyle" style="?android:attr/buttonBarStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" > android:orientation="horizontal">
<Button <Button
android:id="@+id/reply_cancel" android:id="@+id/reply_cancel"
@ -57,7 +75,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/cancel" /> android:text="@string/cancel"/>
<Button <Button
android:id="@+id/reply_submit" android:id="@+id/reply_submit"
@ -65,7 +83,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/reply_submit" /> android:text="@string/reply_submit"/>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

@ -1,5 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" > <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item <item
android:id="@+id/action_bar_switch" android:id="@+id/action_bar_switch"

@ -1,18 +1,35 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" > <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item <item
android:id="@+id/action_reload_tablet" android:id="@+id/action_reload_tablet"
android:icon="@drawable/ic_action_refresh" android:icon="@drawable/ic_action_refresh"
android:orderInCategory="1" android:orderInCategory="1"
android:showAsAction="always" android:showAsAction="always"
android:title="@string/action_reload" > android:title="@string/action_reload">
<menu> <menu>
<item <item
android:id="@+id/action_reload_tablet_board" android:id="@+id/action_reload_tablet_board"
android:title="@string/action_reload_board" /> android:title="@string/action_reload_board"/>
<item <item
android:id="@+id/action_reload_tablet_thread" android:id="@+id/action_reload_tablet_thread"
android:title="@string/action_reload_thread" /> android:title="@string/action_reload_thread"/>
</menu> </menu>
</item> </item>
@ -21,35 +38,35 @@
android:icon="@drawable/ic_action_refresh" android:icon="@drawable/ic_action_refresh"
android:orderInCategory="1" android:orderInCategory="1"
android:showAsAction="always" android:showAsAction="always"
android:title="@string/action_reload_board" /> android:title="@string/action_reload_board"/>
<item <item
android:id="@+id/action_pin" android:id="@+id/action_pin"
android:icon="@drawable/ic_action_make_available_offline" android:icon="@drawable/ic_action_make_available_offline"
android:orderInCategory="2" android:orderInCategory="2"
android:showAsAction="always" android:showAsAction="always"
android:title="@string/action_pin" /> android:title="@string/action_pin"/>
<item <item
android:id="@+id/action_reply" android:id="@+id/action_reply"
android:icon="@drawable/ic_action_chat" android:icon="@drawable/ic_action_chat"
android:orderInCategory="4" android:orderInCategory="4"
android:showAsAction="ifRoom" android:showAsAction="ifRoom"
android:title="@string/action_reply" /> android:title="@string/action_reply"/>
<item <item
android:id="@+id/action_reply_tablet" android:id="@+id/action_reply_tablet"
android:icon="@drawable/ic_action_chat" android:icon="@drawable/ic_action_chat"
android:orderInCategory="4" android:orderInCategory="4"
android:showAsAction="ifRoom" android:showAsAction="ifRoom"
android:title="@string/action_reply" > android:title="@string/action_reply">
<menu> <menu>
<item <item
android:id="@+id/action_reply_board" android:id="@+id/action_reply_board"
android:title="@string/action_reply_board" /> android:title="@string/action_reply_board"/>
<item <item
android:id="@+id/action_reply_thread" android:id="@+id/action_reply_thread"
android:title="@string/action_reply_thread" /> android:title="@string/action_reply_thread"/>
</menu> </menu>
</item> </item>
@ -59,25 +76,25 @@
android:icon="@drawable/ic_action_refresh" android:icon="@drawable/ic_action_refresh"
android:orderInCategory="5" android:orderInCategory="5"
android:showAsAction="never" android:showAsAction="never"
android:title="@string/action_reload" /> android:title="@string/action_reload"/>
<item <item
android:id="@+id/action_share" android:id="@+id/action_share"
android:orderInCategory="6" android:orderInCategory="6"
android:showAsAction="never" android:showAsAction="never"
android:title="@string/action_share" android:title="@string/action_share"
android:actionProviderClass="android.widget.ShareActionProvider" /> android:actionProviderClass="android.widget.ShareActionProvider"/>
<item <item
android:id="@+id/action_open_browser" android:id="@+id/action_open_browser"
android:orderInCategory="7" android:orderInCategory="7"
android:showAsAction="never" android:showAsAction="never"
android:title="@string/action_open_browser" /> android:title="@string/action_open_browser"/>
<item <item
android:id="@+id/action_settings" android:id="@+id/action_settings"
android:orderInCategory="100" android:orderInCategory="100"
android:showAsAction="never" android:showAsAction="never"
android:title="@string/action_settings" /> android:title="@string/action_settings"/>
</menu> </menu>

@ -1,10 +1,27 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" > <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
<item This program is free software: you can redistribute it and/or modify
android:id="@+id/action_add_board" it under the terms of the GNU General Public License as published by
android:icon="@drawable/ic_action_new" the Free Software Foundation, either version 3 of the License, or
android:showAsAction="always" (at your option) any later version.
android:title="@string/board_add" />
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/action_add_board"
android:icon="@drawable/ic_action_new"
android:showAsAction="always"
android:title="@string/board_add"/>
</menu> </menu>

@ -1,5 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" > <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item <item
android:id="@+id/action_image_play_state" android:id="@+id/action_image_play_state"

@ -1,8 +0,0 @@
<resources>
<!--
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw600dp devices (e.g. 7" tablets) here.
-->
</resources>

@ -1,8 +0,0 @@
<resources>
<!--
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
-->
</resources>

@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources> <resources>
<declare-styleable name="FloatLabelEditText"> <declare-styleable name="FloatLabelEditText">
<attr name="hint" format="string"/> <attr name="hint" format="string"/>
@ -12,15 +29,15 @@
</attr> </attr>
</declare-styleable> </declare-styleable>
<attr name="board_pane_style" format="reference"></attr> <attr name="board_pane_style" format="reference"/>
<attr name="board_pane_left_style" format="reference" /> <attr name="board_pane_left_style" format="reference"/>
<attr name="board_pane_right_style" format="reference" /> <attr name="board_pane_right_style" format="reference"/>
<declare-styleable name="BoardPane"> <declare-styleable name="BoardPane">
<attr name="fade_color" format="color"/> <attr name="fade_color" format="color"/>
</declare-styleable> </declare-styleable>
<attr name="post_style" format="reference" /> <attr name="post_style" format="reference"/>
<declare-styleable name="PostView"> <declare-styleable name="PostView">
<attr name="thumbnail_background" format="color"/> <attr name="thumbnail_background" format="color"/>

@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources> <resources>
<color name="holo_blue_dark">#ff0099cc</color> <color name="holo_blue_dark">#ff0099cc</color>
</resources> </resources>

@ -1,3 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources> <resources>
<dimen name="general_padding">12dp</dimen> <dimen name="general_padding">12dp</dimen>

@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources> <resources>
<string name="app_name">Clover</string> <string name="app_name">Clover</string>
@ -172,7 +189,7 @@
<string name="download_confirm">COUNT images will be downloaded to FOLDER</string> <string name="download_confirm">COUNT images will be downloaded to FOLDER</string>
<string name="board_select_add">Add more...</string> <string name="board_select_add">Add more&#8230;</string>
</resources> </resources>

@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources> <resources>
<style name="Theme.ImageList" parent="AppTheme"> <style name="Theme.ImageList" parent="AppTheme">

@ -1,44 +1,61 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<Preference <Preference
android:summary="@string/preference_board_edit_summary" android:summary="@string/preference_board_edit_summary"
android:title="@string/preference_board_edit" > android:title="@string/preference_board_edit">
<intent <intent
android:action="android.intent.action.VIEW" android:action="android.intent.action.VIEW"
android:targetClass="org.floens.chan.ui.activity.BoardEditor" android:targetClass="org.floens.chan.ui.activity.BoardEditor"
android:targetPackage="org.floens.chan" /> android:targetPackage="org.floens.chan"/>
</Preference> </Preference>
<Preference <Preference
android:key="watch_settings" android:key="watch_settings"
android:title="@string/preference_watch_settings" > android:title="@string/preference_watch_settings">
<intent <intent
android:action="android.intent.action.VIEW" android:action="android.intent.action.VIEW"
android:targetClass="org.floens.chan.ui.activity.WatchSettingsActivity" android:targetClass="org.floens.chan.ui.activity.WatchSettingsActivity"
android:targetPackage="org.floens.chan" /> android:targetPackage="org.floens.chan"/>
</Preference> </Preference>
<Preference <Preference
android:key="pass_settings" android:key="pass_settings"
android:title="@string/preference_pass_settings" > android:title="@string/preference_pass_settings">
<intent <intent
android:action="android.intent.action.VIEW" android:action="android.intent.action.VIEW"
android:targetClass="org.floens.chan.ui.activity.PassSettingsActivity" android:targetClass="org.floens.chan.ui.activity.PassSettingsActivity"
android:targetPackage="org.floens.chan" /> android:targetPackage="org.floens.chan"/>
</Preference> </Preference>
<PreferenceCategory android:title="@string/preference_general" > <PreferenceCategory android:title="@string/preference_general">
<ListPreference <ListPreference
android:key="preference_theme" android:key="preference_theme"
android:defaultValue="light" android:defaultValue="light"
android:dialogTitle="@string/preference_theme" android:dialogTitle="@string/preference_theme"
android:entries="@array/preference_themes" android:entries="@array/preference_themes"
android:entryValues="@array/preference_themes_values" android:entryValues="@array/preference_themes_values"
android:title="@string/preference_theme" /> android:title="@string/preference_theme"/>
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="preference_open_link_confirmation" android:key="preference_open_link_confirmation"
android:title="@string/preference_open_link_confirmation" /> android:title="@string/preference_open_link_confirmation"/>
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
@ -49,37 +66,37 @@
android:defaultValue="false" android:defaultValue="false"
android:key="preference_autoplay" android:key="preference_autoplay"
android:dependency="preference_image_auto_load" android:dependency="preference_image_auto_load"
android:title="@string/preference_autoplay" /> android:title="@string/preference_autoplay"/>
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="preference_auto_refresh_thread" android:key="preference_auto_refresh_thread"
android:title="@string/preference_auto_refresh_thread" /> android:title="@string/preference_auto_refresh_thread"/>
<EditTextPreference <EditTextPreference
android:key="preference_default_name" android:key="preference_default_name"
android:title="@string/preference_default_name" /> android:title="@string/preference_default_name"/>
<EditTextPreference <EditTextPreference
android:key="preference_default_email" android:key="preference_default_email"
android:title="@string/preference_default_email" /> android:title="@string/preference_default_email"/>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:key="group_about" android:key="group_about"
android:title="@string/preference_about" > android:title="@string/preference_about">
<Preference <Preference
android:key="about_licences" android:key="about_licences"
android:summary="@string/preference_licences_summary" android:summary="@string/preference_licences_summary"
android:title="@string/preference_licenses" /> android:title="@string/preference_licenses"/>
<Preference <Preference
android:key="about_version" android:key="about_version"
android:title="Chan" /> android:title="Chan"/>
<Preference <Preference
android:key="about_developer" android:key="about_developer"
android:title="@string/preference_developer" > android:title="@string/preference_developer">
<intent <intent
android:action="android.intent.action.VIEW" android:action="android.intent.action.VIEW"
android:targetClass="org.floens.chan.ui.activity.DeveloperActivity" android:targetClass="org.floens.chan.ui.activity.DeveloperActivity"
android:targetPackage="org.floens.chan" /> android:targetPackage="org.floens.chan"/>
</Preference> </Preference>
</PreferenceCategory> </PreferenceCategory>

@ -1,17 +1,34 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<EditTextPreference <EditTextPreference
android:key="preference_pass_token" android:key="preference_pass_token"
android:title="@string/pass_token" /> android:title="@string/pass_token"/>
<EditTextPreference <EditTextPreference
android:key="preference_pass_pin" android:key="preference_pass_pin"
android:title="@string/pass_pin" android:title="@string/pass_pin"
android:inputType="numberPassword" /> android:inputType="numberPassword"/>
<Preference <Preference
android:key="preference_pass_login" android:key="preference_pass_login"
android:title="@string/pass_login" /> android:title="@string/pass_login"/>
</PreferenceScreen> </PreferenceScreen>

@ -1,12 +1,29 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference <CheckBoxPreference
android:key="preference_watch_background_enabled" android:key="preference_watch_background_enabled"
android:summaryOff="@string/watch_enable_background_off" android:summaryOff="@string/watch_enable_background_off"
android:summaryOn="@string/watch_enable_background_on" android:summaryOn="@string/watch_enable_background_on"
android:title="@string/watch_enable_background" android:title="@string/watch_enable_background"
android:defaultValue="off" /> android:defaultValue="off"/>
<ListPreference <ListPreference
android:dependency="preference_watch_background_enabled" android:dependency="preference_watch_background_enabled"
@ -15,6 +32,6 @@
android:entries="@array/watch_background_timeouts" android:entries="@array/watch_background_timeouts"
android:entryValues="@array/watch_background_timeouts_int" android:entryValues="@array/watch_background_timeouts_int"
android:key="preference_watch_background_timeout" android:key="preference_watch_background_timeout"
android:title="@string/watch_background_timeout_description" /> android:title="@string/watch_background_timeout_description"/>
</PreferenceScreen> </PreferenceScreen>

@ -1,3 +1,20 @@
/*
* Clover - 4chan browser https://github.com/Floens/Clover/
* Copyright (C) 2014 Floens
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.floens.chan; package org.floens.chan;
// release version // release version

@ -15,3 +15,21 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
<!--
Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

Loading…
Cancel
Save