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. 31
      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. 89
      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. 71
      Clover/app/src/main/res/menu/base.xml
  23. 33
      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. 24
      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. 37
      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;
// debug version

@ -1,125 +1,143 @@
<?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"
android:installLocation="auto" >
android:installLocation="auto">
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
android:targetSdkVersion="19"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.NFC"/>
<application
android:name="org.floens.chan.ChanApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:theme="@style/AppTheme">
<activity
android:name="org.floens.chan.ui.activity.BoardActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name" >
android:label="@string/app_name">
<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>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" >
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.nfc.action.NDEF_DISCOVERED">
</action>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data
android:host="4chan.org"
android:pathPrefix="/"
android:scheme="http" />
android:scheme="http"/>
<data
android:host="4chan.org"
android:pathPrefix="/"
android:scheme="https" />
android:scheme="https"/>
<data
android:host="www.4chan.org"
android:pathPrefix="/"
android:scheme="http" />
android:scheme="http"/>
<data
android:host="www.4chan.org"
android:pathPrefix="/"
android:scheme="https" />
android:scheme="https"/>
<data
android:host="boards.4chan.org"
android:pathPrefix="/"
android:scheme="http" />
android:scheme="http"/>
<data
android:host="boards.4chan.org"
android:pathPrefix="/"
android:scheme="https" />
android:scheme="https"/>
</intent-filter>
</activity>
<activity
android:name="org.floens.chan.ui.activity.ReplyActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize" >
android:windowSoftInputMode="adjustResize">
</activity>
<activity
android:name="org.floens.chan.ui.activity.SettingsActivity"
android:label="@string/action_settings"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" >
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" />
android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity>
<activity
android:name="org.floens.chan.ui.activity.WatchSettingsActivity"
android:label="@string/preference_watch_settings"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" >
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" />
android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity>
<activity
android:name="org.floens.chan.ui.activity.PassSettingsActivity"
android:label="@string/preference_pass_settings"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" >
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" />
android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity>
<activity
android:name="org.floens.chan.ui.activity.AboutActivity"
android:label="@string/preference_about"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" >
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" />
android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity>
<activity
android:name="org.floens.chan.ui.activity.BoardEditor"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/board_edit"
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity" >
android:parentActivityName="org.floens.chan.ui.activity.BoardActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.floens.chan.ui.activity.BoardActivity" />
android:value="org.floens.chan.ui.activity.BoardActivity"/>
</activity>
<activity
android:name="org.floens.chan.ui.activity.ImageViewActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:theme="@style/Theme.ImageList" >
android:theme="@style/Theme.ImageList">
</activity>
<activity android:name="org.floens.chan.ui.activity.ImagePickActivity" >
<activity android:name="org.floens.chan.ui.activity.ImagePickActivity">
</activity>
<activity android:name="org.floens.chan.ui.activity.DeveloperActivity" >
<activity android:name="org.floens.chan.ui.activity.DeveloperActivity">
</activity>
<service
android:name="org.floens.chan.service.WatchService"
android:exported="false" >
android:exported="false">
</service>
</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;
import android.app.Activity;

@ -1,8 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="200" />
<!--
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/>.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="200"/>
</set>

@ -1,8 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<alpha
android:fromAlpha="1.0"
android:toAlpha="0.0"
android:duration="200" />
<!--
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/>.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:fromAlpha="1.0"
android:toAlpha="0.0"
android:duration="200"/>
</set>

@ -1,16 +1,31 @@
<?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:insetTop="8dp"
android:insetRight="8dp"
android:insetBottom="8dp" >
android:insetBottom="8dp">
<shape>
<solid
android:color="#FF33B5E5" />
<corners
android:radius="4dp" />
<solid
android:color="#FF33B5E5"/>
<corners
android:radius="4dp"/>
</shape>
</inset>

@ -1,16 +1,31 @@
<?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:insetTop="8dp"
android:insetRight="8dp"
android:insetBottom="8dp" >
android:insetBottom="8dp">
<shape>
<solid
android:color="#FF898989" />
<corners
android:radius="4dp" />
<solid
android:color="#FF898989"/>
<corners
android:radius="4dp"/>
</shape>
</inset>

@ -1,16 +1,31 @@
<?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:insetTop="8dp"
android:insetRight="8dp"
android:insetBottom="8dp" >
android:insetBottom="8dp">
<shape>
<solid
android:color="#FFFF4444" />
<corners
android:radius="4dp" />
<solid
android:color="#FFFF4444"/>
<corners
android:radius="4dp"/>
</shape>
</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:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent">
<android.support.v4.widget.SlidingPaneLayout
android:id="@+id/pane_container"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/left_pane"
android:layout_width="100dp"
android:layout_height="match_parent"
style="?board_pane_left_style" />
style="?board_pane_left_style"/>
<FrameLayout
android:id="@+id/right_pane"
@ -30,6 +49,6 @@
android:background="#444"
android:choiceMode="singleChoice"
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"?>
<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_height="match_parent"
android:orientation="horizontal" >
android:orientation="horizontal">
<org.floens.chan.ui.view.DragGripView
android:id="@+id/drag_handle"
@ -21,6 +39,6 @@
android:layout_marginLeft="36dp"
android:gravity="center_vertical"
android:minHeight="50sp"
android:textSize="24sp" />
android:textSize="24sp"/>
</FrameLayout>

@ -1,5 +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/>.
-->
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
@ -13,4 +29,4 @@
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:textStyle="italic"
android:singleLine="true"
android:ellipsize="end" />
android:ellipsize="end"/>

@ -1,5 +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/>.
-->
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
@ -12,4 +28,4 @@
android:paddingRight="?android:attr/listPreferredItemPaddingRight"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:singleLine="true"
android:ellipsize="end" />
android:ellipsize="end"/>

@ -1,14 +1,33 @@
<?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_height="match_parent"
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"
android:id="@+id/image_pager"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</org.floens.chan.ui.view.HackyViewPager>
<org.floens.chan.ui.view.HackyViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/image_pager"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</org.floens.chan.ui.view.HackyViewPager>
</RelativeLayout>

@ -1,41 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
<!--
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_height="48dp"
android:orientation="horizontal" >
<TextView
android:id="@+id/drawer_item_text"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingLeft="16dp"
android:paddingRight="8dp"
android:textSize="19sp"
android:textColor="#fff"
android:gravity="center_vertical"
android:ellipsize="end"
android:lines="1"
android:singleLine="true">
</TextView>
<FrameLayout
android:id="@+id/drawer_item_count_container"
android:background="@drawable/pin_icon_blue"
android:layout_width="48dp"
android:layout_height="48dp" >
<TextView
android:id="@+id/drawer_item_count"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:textSize="16dp"
android:textColor="#fff" />
</FrameLayout>
android:orientation="horizontal">
<TextView
android:id="@+id/drawer_item_text"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingLeft="16dp"
android:paddingRight="8dp"
android:textSize="19sp"
android:textColor="#fff"
android:gravity="center_vertical"
android:ellipsize="end"
android:lines="1"
android:singleLine="true">
</TextView>
<FrameLayout
android:id="@+id/drawer_item_count_container"
android:background="@drawable/pin_icon_blue"
android:layout_width="48dp"
android:layout_height="48dp">
<TextView
android:id="@+id/drawer_item_count"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:textSize="16dp"
android:textColor="#fff"/>
</FrameLayout>
</LinearLayout>

@ -1,15 +1,34 @@
<?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_height="wrap_content" >
<TextView
android:id="@+id/drawer_item_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="24dp"
android:paddingLeft="16dp"
android:paddingRight="56dp"
android:paddingBottom="8dp"
style="?android:attr/listSeparatorTextViewStyle"
android:orientation="vertical" />
android:layout_height="wrap_content">
<TextView
android:id="@+id/drawer_item_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="24dp"
android:paddingLeft="16dp"
android:paddingRight="56dp"
android:paddingBottom="8dp"
style="?android:attr/listSeparatorTextViewStyle"
android:orientation="vertical"/>
</LinearLayout>

@ -1,4 +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/>.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"

@ -1,9 +1,27 @@
<?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_height="match_parent"
android:orientation="vertical"
android:gravity="center" >
android:gravity="center">
<TextView
android:id="@+id/pass_info"
@ -12,7 +30,7 @@
android:gravity="center"
android:paddingTop="16dp"
android:text="@string/pass_info_text"
android:textSize="24sp" />
android:textSize="24sp"/>
<TextView
android:id="@+id/pass_link"
@ -24,6 +42,6 @@
android:text="@string/pass_info_learn_more"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp"
android:textStyle="italic" />
android:textStyle="italic"/>
</LinearLayout>

@ -1,28 +1,46 @@
<?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_height="wrap_content"
android:orientation="vertical"
android:padding="8dp" >
android:padding="8dp">
<TextView
android:id="@+id/reply_captcha_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reply_captcha_tap_to_reload"
android:textSize="16sp" />
android:textSize="16sp"/>
<org.floens.chan.ui.view.LoadView
android:id="@+id/reply_captcha_container"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_gravity="center" />
android:layout_gravity="center"/>
<EditText
android:id="@+id/reply_captcha"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/reply_captcha"
android:inputType="textNoSuggestions" />
android:inputType="textNoSuggestions"/>
</LinearLayout>

@ -1,11 +1,29 @@
<?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"
android:id="@+id/reply_data"
style="?android:attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
android:orientation="vertical">
<EditText
android:id="@+id/reply_comment"
@ -15,7 +33,7 @@
android:imeActionLabel="@string/reply_submit"
android:inputType="textMultiLine|textCapSentences|textAutoCorrect"
android:minLines="4"
android:textSize="16sp" />
android:textSize="16sp"/>
<com.micromobs.android.floatlabel.FloatLabelEditText
android:id="@+id/reply_name"
@ -25,7 +43,7 @@
floatlabel:hint="@string/reply_name"
floatlabel:textColorHintFocused="@color/holo_blue_dark"
floatlabel:textColorHintUnFocused="@android:color/darker_gray"
floatlabel:textSize="16sp" />
floatlabel:textSize="16sp"/>
<com.micromobs.android.floatlabel.FloatLabelEditText
android:id="@+id/reply_email"
@ -36,7 +54,7 @@
floatlabel:hint="@string/reply_email"
floatlabel:textColorHintFocused="@color/holo_blue_dark"
floatlabel:textColorHintUnFocused="@android:color/darker_gray"
floatlabel:textSize="16sp" />
floatlabel:textSize="16sp"/>
<com.micromobs.android.floatlabel.FloatLabelEditText
android:id="@+id/reply_subject"
@ -46,31 +64,31 @@
floatlabel:hint="@string/reply_subject"
floatlabel:textColorHintFocused="@color/holo_blue_dark"
floatlabel:textColorHintUnFocused="@android:color/darker_gray"
floatlabel:textSize="16sp" />
floatlabel:textSize="16sp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
android:orientation="horizontal">
<Button
android:id="@+id/reply_file"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/reply_file" />
android:text="@string/reply_file"/>
<Button
android:id="@+id/reply_file_delete"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/reply_file_delete" />
android:text="@string/reply_file_delete"/>
</LinearLayout>
<org.floens.chan.ui.view.LoadView
@ -79,7 +97,7 @@
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:minHeight="200dp"
android:scaleType="centerCrop" />
android:scaleType="centerCrop"/>
</LinearLayout>
</LinearLayout>

@ -1,13 +1,30 @@
<?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_height="match_parent"
android:divider="?android:attr/dividerHorizontal"
android:minHeight="500dp"
android:minWidth="600dp"
android:orientation="vertical"
android:showDividers="middle" >
android:showDividers="middle">
<!-- global viewflipper -->
@ -16,32 +33,33 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal" >
android:orientation="horizontal">
<!-- input view: -->
<ScrollView
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>
<!-- captcha view: -->
<ScrollView
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>
<!-- response view: -->
<org.floens.chan.ui.view.LoadView
<org.floens.chan.ui.view.LoadView
android:id="@+id/reply_response"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
android:orientation="vertical">
</org.floens.chan.ui.view.LoadView>
</ViewFlipper>
@ -49,7 +67,7 @@
style="?android:attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
android:orientation="horizontal">
<Button
android:id="@+id/reply_cancel"
@ -57,7 +75,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/cancel" />
android:text="@string/cancel"/>
<Button
android:id="@+id/reply_submit"
@ -65,7 +83,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/reply_submit" />
android:text="@string/reply_submit"/>
</LinearLayout>
</LinearLayout>

@ -1,5 +1,22 @@
<?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
android:id="@+id/action_bar_switch"

@ -1,83 +1,100 @@
<?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
android:id="@+id/action_reload_tablet"
android:icon="@drawable/ic_action_refresh"
android:orderInCategory="1"
android:showAsAction="always"
android:title="@string/action_reload" >
android:title="@string/action_reload">
<menu>
<item
android:id="@+id/action_reload_tablet_board"
android:title="@string/action_reload_board" />
android:title="@string/action_reload_board"/>
<item
android:id="@+id/action_reload_tablet_thread"
android:title="@string/action_reload_thread" />
android:title="@string/action_reload_thread"/>
</menu>
</item>
<item
android:id="@+id/action_reload_board"
<item
android:id="@+id/action_reload_board"
android:icon="@drawable/ic_action_refresh"
android:orderInCategory="1"
android:showAsAction="always"
android:title="@string/action_reload_board" />
android:title="@string/action_reload_board"/>
<item
android:id="@+id/action_pin"
android:icon="@drawable/ic_action_make_available_offline"
android:orderInCategory="2"
android:showAsAction="always"
android:title="@string/action_pin" />
android:title="@string/action_pin"/>
<item
<item
android:id="@+id/action_reply"
android:icon="@drawable/ic_action_chat"
android:orderInCategory="4"
android:showAsAction="ifRoom"
android:title="@string/action_reply" />
<item
android:title="@string/action_reply"/>
<item
android:id="@+id/action_reply_tablet"
android:icon="@drawable/ic_action_chat"
android:orderInCategory="4"
android:showAsAction="ifRoom"
android:title="@string/action_reply" >
android:title="@string/action_reply">
<menu>
<item
android:id="@+id/action_reply_board"
android:title="@string/action_reply_board" />
android:title="@string/action_reply_board"/>
<item
android:id="@+id/action_reply_thread"
android:title="@string/action_reply_thread" />
android:title="@string/action_reply_thread"/>
</menu>
</item>
<item
android:id="@+id/action_reload_thread"
android:id="@+id/action_reload_thread"
android:icon="@drawable/ic_action_refresh"
android:orderInCategory="5"
android:showAsAction="never"
android:title="@string/action_reload" />
android:title="@string/action_reload"/>
<item
android:id="@+id/action_share"
android:orderInCategory="6"
android:showAsAction="never"
android:title="@string/action_share"
android:actionProviderClass="android.widget.ShareActionProvider" />
android:actionProviderClass="android.widget.ShareActionProvider"/>
<item
android:id="@+id/action_open_browser"
android:orderInCategory="7"
android:showAsAction="never"
android:title="@string/action_open_browser" />
android:title="@string/action_open_browser"/>
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:showAsAction="never"
android:title="@string/action_settings" />
android:title="@string/action_settings"/>
</menu>

@ -1,10 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<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" />
<!--
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
android:id="@+id/action_add_board"
android:icon="@drawable/ic_action_new"
android:showAsAction="always"
android:title="@string/board_add"/>
</menu>

@ -1,5 +1,22 @@
<?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
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"?>
<!--
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>
<declare-styleable name="FloatLabelEditText">
<attr name="hint" format="string"/>
@ -12,15 +29,15 @@
</attr>
</declare-styleable>
<attr name="board_pane_style" format="reference"></attr>
<attr name="board_pane_left_style" format="reference" />
<attr name="board_pane_right_style" format="reference" />
<attr name="board_pane_style" format="reference"/>
<attr name="board_pane_left_style" format="reference"/>
<attr name="board_pane_right_style" format="reference"/>
<declare-styleable name="BoardPane">
<attr name="fade_color" format="color"/>
</declare-styleable>
<attr name="post_style" format="reference" />
<attr name="post_style" format="reference"/>
<declare-styleable name="PostView">
<attr name="thumbnail_background" format="color"/>

@ -1,4 +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>
<color name="holo_blue_dark">#ff0099cc</color>
</resources>

@ -1,14 +1,32 @@
<?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>
<dimen name="general_padding">12dp</dimen>
<dimen name="post_padding">10dp</dimen>
<dimen name="post_comment_padding">11dp</dimen>
<dimen name="post_icon_padding">6dp</dimen>
<dimen name="thumbnail_size">70dp</dimen>
<dimen name="post_icon_width">24dp</dimen>
<dimen name="post_icon_height">14dp</dimen>
<dimen name="post_max_height">200dp</dimen>
<dimen name="image_view_padding">8dp</dimen>
</resources>

@ -1,4 +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>
<string name="app_name">Clover</string>
@ -172,7 +189,7 @@
<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>

@ -1,4 +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>
<style name="Theme.ImageList" parent="AppTheme">

@ -1,44 +1,61 @@
<?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
android:summary="@string/preference_board_edit_summary"
android:title="@string/preference_board_edit" >
android:title="@string/preference_board_edit">
<intent
android:action="android.intent.action.VIEW"
android:targetClass="org.floens.chan.ui.activity.BoardEditor"
android:targetPackage="org.floens.chan" />
android:targetPackage="org.floens.chan"/>
</Preference>
<Preference
android:key="watch_settings"
android:title="@string/preference_watch_settings" >
android:title="@string/preference_watch_settings">
<intent
android:action="android.intent.action.VIEW"
android:targetClass="org.floens.chan.ui.activity.WatchSettingsActivity"
android:targetPackage="org.floens.chan" />
android:targetPackage="org.floens.chan"/>
</Preference>
<Preference
android:key="pass_settings"
android:title="@string/preference_pass_settings" >
android:title="@string/preference_pass_settings">
<intent
android:action="android.intent.action.VIEW"
android:targetClass="org.floens.chan.ui.activity.PassSettingsActivity"
android:targetPackage="org.floens.chan" />
android:targetPackage="org.floens.chan"/>
</Preference>
<PreferenceCategory android:title="@string/preference_general" >
<PreferenceCategory android:title="@string/preference_general">
<ListPreference
android:key="preference_theme"
android:defaultValue="light"
android:dialogTitle="@string/preference_theme"
android:entries="@array/preference_themes"
android:entryValues="@array/preference_themes_values"
android:title="@string/preference_theme" />
android:title="@string/preference_theme"/>
<CheckBoxPreference
android:defaultValue="true"
android:key="preference_open_link_confirmation"
android:title="@string/preference_open_link_confirmation" />
android:title="@string/preference_open_link_confirmation"/>
<CheckBoxPreference
android:defaultValue="true"
@ -49,37 +66,37 @@
android:defaultValue="false"
android:key="preference_autoplay"
android:dependency="preference_image_auto_load"
android:title="@string/preference_autoplay" />
android:title="@string/preference_autoplay"/>
<CheckBoxPreference
android:defaultValue="true"
android:key="preference_auto_refresh_thread"
android:title="@string/preference_auto_refresh_thread" />
android:title="@string/preference_auto_refresh_thread"/>
<EditTextPreference
android:key="preference_default_name"
android:title="@string/preference_default_name" />
android:title="@string/preference_default_name"/>
<EditTextPreference
android:key="preference_default_email"
android:title="@string/preference_default_email" />
android:title="@string/preference_default_email"/>
</PreferenceCategory>
<PreferenceCategory
android:key="group_about"
android:title="@string/preference_about" >
android:title="@string/preference_about">
<Preference
android:key="about_licences"
android:summary="@string/preference_licences_summary"
android:title="@string/preference_licenses" />
android:title="@string/preference_licenses"/>
<Preference
android:key="about_version"
android:title="Chan" />
android:title="Chan"/>
<Preference
android:key="about_developer"
android:title="@string/preference_developer" >
android:title="@string/preference_developer">
<intent
android:action="android.intent.action.VIEW"
android:targetClass="org.floens.chan.ui.activity.DeveloperActivity"
android:targetPackage="org.floens.chan" />
android:targetPackage="org.floens.chan"/>
</Preference>
</PreferenceCategory>

@ -1,17 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<EditTextPreference
<!--
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
android:key="preference_pass_token"
android:title="@string/pass_token" />
<EditTextPreference
android:title="@string/pass_token"/>
<EditTextPreference
android:key="preference_pass_pin"
android:title="@string/pass_pin"
android:inputType="numberPassword" />
<Preference
android:inputType="numberPassword"/>
<Preference
android:key="preference_pass_login"
android:title="@string/pass_login" />
android:title="@string/pass_login"/>
</PreferenceScreen>

@ -1,12 +1,29 @@
<?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
android:key="preference_watch_background_enabled"
android:summaryOff="@string/watch_enable_background_off"
android:summaryOn="@string/watch_enable_background_on"
android:title="@string/watch_enable_background"
android:defaultValue="off" />
android:defaultValue="off"/>
<ListPreference
android:dependency="preference_watch_background_enabled"
@ -15,6 +32,6 @@
android:entries="@array/watch_background_timeouts"
android:entryValues="@array/watch_background_timeouts_int"
android:key="preference_watch_background_timeout"
android:title="@string/watch_background_timeout_description" />
android:title="@string/watch_background_timeout_description"/>
</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;
// release version

@ -15,3 +15,21 @@
* You should have received a copy of the GNU General Public License
* 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