mirror of https://github.com/kurisufriend/Clover
parent
4b4b71ba62
commit
18cb729d3e
@ -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,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,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,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,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,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> |
||||
<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,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> |
||||
|
Loading…
Reference in new issue