mirror of https://github.com/kurisufriend/Clover
parent
4b4b71ba62
commit
18cb729d3e
@ -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,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,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"?> |
||||||
<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" |
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,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,83 +1,100 @@ |
|||||||
<?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> |
||||||
|
|
||||||
<item |
<item |
||||||
android:id="@+id/action_reload_board" |
android:id="@+id/action_reload_board" |
||||||
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> |
||||||
|
|
||||||
<item |
<item |
||||||
android:id="@+id/action_reload_thread" |
android:id="@+id/action_reload_thread" |
||||||
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/ |
||||||
<item |
Copyright (C) 2014 Floens |
||||||
android:id="@+id/action_add_board" |
|
||||||
android:icon="@drawable/ic_action_new" |
This program is free software: you can redistribute it and/or modify |
||||||
android:showAsAction="always" |
it under the terms of the GNU General Public License as published by |
||||||
android:title="@string/board_add" /> |
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> |
</menu> |
||||||
|
@ -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> |
||||||
<color name="holo_blue_dark">#ff0099cc</color> |
<color name="holo_blue_dark">#ff0099cc</color> |
||||||
</resources> |
</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> |
<resources> |
||||||
<dimen name="general_padding">12dp</dimen> |
<dimen name="general_padding">12dp</dimen> |
||||||
|
|
||||||
<dimen name="post_padding">10dp</dimen> |
<dimen name="post_padding">10dp</dimen> |
||||||
<dimen name="post_comment_padding">11dp</dimen> |
<dimen name="post_comment_padding">11dp</dimen> |
||||||
<dimen name="post_icon_padding">6dp</dimen> |
<dimen name="post_icon_padding">6dp</dimen> |
||||||
|
|
||||||
<dimen name="thumbnail_size">70dp</dimen> |
<dimen name="thumbnail_size">70dp</dimen> |
||||||
<dimen name="post_icon_width">24dp</dimen> |
<dimen name="post_icon_width">24dp</dimen> |
||||||
<dimen name="post_icon_height">14dp</dimen> |
<dimen name="post_icon_height">14dp</dimen> |
||||||
<dimen name="post_max_height">200dp</dimen> |
<dimen name="post_max_height">200dp</dimen> |
||||||
|
|
||||||
<dimen name="image_view_padding">8dp</dimen> |
<dimen name="image_view_padding">8dp</dimen> |
||||||
</resources> |
</resources> |
||||||
|
@ -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/ |
||||||
<EditTextPreference |
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: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> |
||||||
|
Loading…
Reference in new issue