License headers and formatting.

tempwork
Floens 11 years ago
parent bfef68a78b
commit d7ffe9e8e8
  1. 17
      Clover/app/src/main/java/org/floens/chan/controller/Controller.java
  2. 17
      Clover/app/src/main/java/org/floens/chan/controller/ControllerTransition.java
  3. 17
      Clover/app/src/main/java/org/floens/chan/controller/NavigationController.java
  4. 17
      Clover/app/src/main/java/org/floens/chan/controller/PopControllerTransition.java
  5. 17
      Clover/app/src/main/java/org/floens/chan/controller/PushControllerTransition.java
  6. 17
      Clover/app/src/main/java/org/floens/chan/core/model/ChanThread.java
  7. 17
      Clover/app/src/main/java/org/floens/chan/core/presenter/ThreadPresenter.java
  8. 17
      Clover/app/src/main/java/org/floens/chan/ui/controller/BrowseController.java
  9. 17
      Clover/app/src/main/java/org/floens/chan/ui/controller/RootNavigationController.java
  10. 17
      Clover/app/src/main/java/org/floens/chan/ui/controller/SettingsController.java
  11. 17
      Clover/app/src/main/java/org/floens/chan/ui/controller/ViewThreadController.java
  12. 17
      Clover/app/src/main/java/org/floens/chan/ui/drawable/ArrowMenuDrawable.java
  13. 17
      Clover/app/src/main/java/org/floens/chan/ui/helper/PostPopupHelper.java
  14. 17
      Clover/app/src/main/java/org/floens/chan/ui/layout/ImageViewLayout.java
  15. 17
      Clover/app/src/main/java/org/floens/chan/ui/layout/ThreadLayout.java
  16. 17
      Clover/app/src/main/java/org/floens/chan/ui/layout/ThreadListLayout.java
  17. 17
      Clover/app/src/main/java/org/floens/chan/ui/toolbar/NavigationItem.java
  18. 17
      Clover/app/src/main/java/org/floens/chan/ui/toolbar/Toolbar.java
  19. 17
      Clover/app/src/main/java/org/floens/chan/ui/toolbar/ToolbarMenu.java
  20. 17
      Clover/app/src/main/java/org/floens/chan/ui/toolbar/ToolbarMenuItem.java
  21. 17
      Clover/app/src/main/java/org/floens/chan/ui/toolbar/ToolbarMenuSubItem.java
  22. 17
      Clover/app/src/main/java/org/floens/chan/ui/toolbar/ToolbarMenuSubMenu.java
  23. 17
      Clover/app/src/main/java/org/floens/chan/utils/AndroidUtils.java
  24. 17
      Clover/app/src/main/java/org/floens/chan/utils/AnimationUtils.java
  25. 17
      Clover/app/src/main/java/org/floens/chan/utils/FileCache.java
  26. 4
      Clover/app/src/main/res/anim/fade_in.xml
  27. 4
      Clover/app/src/main/res/anim/fade_out.xml
  28. 18
      Clover/app/src/main/res/drawable/gray_background_selector.xml
  29. 4
      Clover/app/src/main/res/drawable/pin_icon_blue.xml
  30. 4
      Clover/app/src/main/res/drawable/pin_icon_gray.xml
  31. 4
      Clover/app/src/main/res/drawable/pin_icon_red.xml
  32. 8
      Clover/app/src/main/res/layout/activity_base.xml
  33. 4
      Clover/app/src/main/res/layout/board_edit_item.xml
  34. 10
      Clover/app/src/main/res/layout/board_select_add.xml
  35. 8
      Clover/app/src/main/res/layout/board_select_spinner.xml
  36. 8
      Clover/app/src/main/res/layout/board_select_spinner_dropdown.xml
  37. 2
      Clover/app/src/main/res/layout/image_view.xml
  38. 18
      Clover/app/src/main/res/layout/image_view_layout.xml
  39. 6
      Clover/app/src/main/res/layout/preference_pass.xml
  40. 39
      Clover/app/src/main/res/layout/root_layout.xml
  41. 18
      Clover/app/src/main/res/layout/settings_layout.xml
  42. 4
      Clover/app/src/main/res/layout/toolbar_activity.xml
  43. 6
      Clover/app/src/main/res/layout/toolbar_menu_item.xml
  44. 10
      Clover/app/src/main/res/layout/watch_description.xml
  45. 2
      Clover/app/src/main/res/menu/action_bar_switch.xml
  46. 48
      Clover/app/src/main/res/menu/base.xml
  47. 8
      Clover/app/src/main/res/menu/board_edit.xml
  48. 24
      Clover/app/src/main/res/menu/image_view.xml
  49. 4
      Clover/app/src/main/res/menu/settings.xml
  50. 20
      Clover/app/src/main/res/values/ids.xml
  51. 4
      Clover/app/src/main/res/xml/preference_pass.xml

@ -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.controller;
import android.content.Context;

@ -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.controller;
public abstract class ControllerTransition {

@ -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.controller;
import android.content.Context;

@ -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.controller;
import android.animation.Animator;

@ -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.controller;
import android.animation.Animator;

@ -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.core.model;
import java.util.List;

@ -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.core.presenter;
import android.text.TextUtils;

@ -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.ui.controller;
import android.content.Context;

@ -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.ui.controller;
import android.content.Context;

@ -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.ui.controller;
import android.content.Context;

@ -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.ui.controller;
import android.app.AlertDialog;

@ -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.ui.drawable;
import android.graphics.Canvas;

@ -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.ui.helper;
import android.app.Activity;

@ -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.ui.layout;
import android.animation.Animator;

@ -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.ui.layout;
import android.app.AlertDialog;

@ -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.ui.layout;
import android.content.Context;

@ -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.ui.toolbar;
import android.widget.LinearLayout;

@ -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.ui.toolbar;
import android.animation.Animator;

@ -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.ui.toolbar;
import android.content.Context;

@ -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.ui.toolbar;
import android.content.Context;

@ -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.ui.toolbar;
public class ToolbarMenuSubItem {

@ -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.ui.toolbar;
import android.content.Context;

@ -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.Dialog;

@ -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.graphics.Matrix;

@ -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.content.Context;

@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:duration="200"
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="200" />
android:toAlpha="1.0" />
</set>

@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:duration="200"
android:fromAlpha="1.0"
android:toAlpha="0.0"
android:duration="200" />
android:toAlpha="0.0" />
</set>

@ -1,4 +1,20 @@
<?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/>.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>

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

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

@ -16,10 +16,10 @@ 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:insetBottom="8dp"
android:insetLeft="8dp"
android:insetTop="8dp"
android:insetRight="8dp"
android:insetBottom="8dp">
android:insetTop="8dp">
<shape>
<solid android:color="#FFFF4444" />
<corners android:radius="4dp" />

@ -34,16 +34,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<FrameLayout
android:id="@+id/left_pane"
style="?board_pane_left_style"
android:layout_width="100dp"
android:layout_height="match_parent"
style="?board_pane_left_style" />
android:layout_height="match_parent" />
<FrameLayout
android:id="@+id/right_pane"
style="?board_pane_right_style"
android:layout_width="100dp"
android:layout_height="match_parent"
android:layout_weight="1"
style="?board_pane_right_style" />
android:layout_weight="1" />
</android.support.v4.widget.SlidingPaneLayout>
</LinearLayout>

@ -22,13 +22,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<org.floens.chan.ui.view.DragGripView
android:id="@+id/drag_handle"
style="?attr/board_edit_item_style"
android:layout_width="64dp"
android:layout_height="match_parent"
android:layout_gravity="fill_vertical|start"
android:paddingBottom="12dp"
android:paddingLeft="16dp"
android:paddingTop="12dp"
style="?attr/board_edit_item_style" />
android:paddingTop="12dp" />
<TextView
android:id="@+id/text"

@ -19,12 +19,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textColor="#ff000000"
android:ellipsize="end"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
android:paddingRight="?android:attr/listPreferredItemPaddingRight"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:textStyle="italic"
android:singleLine="true"
android:ellipsize="end" />
android:textColor="#ff000000"
android:textSize="16sp"
android:textStyle="italic" />

@ -19,11 +19,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textColor="#ffffffff"
android:ellipsize="end"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
android:paddingRight="?android:attr/listPreferredItemPaddingRight"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:singleLine="true"
android:ellipsize="end" />
android:textColor="#ffffffff"
android:textSize="16sp" />

@ -19,11 +19,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textColor="#ff000000"
android:ellipsize="end"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
android:paddingRight="?android:attr/listPreferredItemPaddingRight"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:singleLine="true"
android:ellipsize="end" />
android:textColor="#ff000000"
android:textSize="16sp" />

@ -38,8 +38,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="match_parent" />
<ProgressBar
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:id="@+id/progress_bar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="-7dp" />

@ -1,4 +1,20 @@
<?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/>.
-->
<org.floens.multipanetest.layout.ImageViewLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"

@ -18,16 +18,16 @@ 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:orientation="vertical"
android:padding="24dp">
<TextView
style="?android:attr/textAppearanceMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/pass_info_text"
style="?android:attr/textAppearanceMedium" />
android:text="@string/pass_info_text" />
<TextView
android:id="@+id/pass_link"

@ -1,3 +1,20 @@
<?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"
@ -5,17 +22,17 @@
<LinearLayout
android:id="@+id/root_layout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffffff">
android:background="#ffffffff"
android:orientation="vertical">
<org.floens.chan.ui.toolbar.Toolbar
android:elevation="8dp"
android:id="@+id/toolbar"
android:background="@color/primary"
android:layout_width="match_parent"
android:layout_height="56dp" />
android:layout_height="56dp"
android:background="@color/primary"
android:elevation="8dp" />
<FrameLayout
android:id="@+id/container"
@ -26,17 +43,17 @@
</LinearLayout>
<FrameLayout
android:background="#ffffff00"
android:id="@+id/drawer"
android:layout_gravity="left"
android:layout_width="200dp"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:layout_gravity="left"
android:background="#ffffff00">
<TextView
android:text="Hello, world!"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:text="Hello, world!" />
</FrameLayout>
</FrameLayout>
</android.support.v4.widget.DrawerLayout>

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

@ -16,9 +16,9 @@ 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:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:orientation="vertical">
<include layout="@layout/toolbar" />

@ -2,8 +2,8 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="48dp"
android:textSize="16sp"
android:textColor="#ff000000"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp" />
android:paddingRight="16dp"
android:textColor="#ff000000"
android:textSize="16sp" />

@ -16,17 +16,17 @@ 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:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp"
android:gravity="center">
android:gravity="center"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:id="@+id/text"
style="?android:attr/textAppearanceMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
style="?android:attr/textAppearanceMedium" />
android:gravity="center" />
</LinearLayout>

@ -20,8 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<item
android:id="@+id/action_bar_switch"
android:title=""
android:actionViewClass="android.widget.Switch"
android:title=""
app:showAsAction="always" />
</menu>

@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/action_reload_tablet"
android:icon="@drawable/ic_action_refresh"
android:orderInCategory="1"
app:showAsAction="always"
android:title="@string/action_reload">
android:title="@string/action_reload"
app:showAsAction="always">
<menu>
<item
android:id="@+id/action_reload_tablet_board"
@ -37,29 +37,29 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/action_reload_board"
android:icon="@drawable/ic_action_refresh"
android:orderInCategory="1"
app:showAsAction="always"
android:title="@string/action_reload_board" />
android:title="@string/action_reload_board"
app:showAsAction="always" />
<item
android:id="@+id/action_pin"
android:icon="@drawable/ic_bookmark"
android:orderInCategory="2"
app:showAsAction="always"
android:title="@string/action_pin" />
android:title="@string/action_pin"
app:showAsAction="always" />
<item
android:id="@+id/action_reply"
android:icon="@drawable/ic_action_write"
android:orderInCategory="4"
app:showAsAction="ifRoom"
android:title="@string/action_reply" />
android:title="@string/action_reply"
app:showAsAction="ifRoom" />
<item
android:id="@+id/action_reply_tablet"
android:icon="@drawable/ic_action_write"
android:orderInCategory="4"
app:showAsAction="ifRoom"
android:title="@string/action_reply">
android:title="@string/action_reply"
app:showAsAction="ifRoom">
<menu>
<item
android:id="@+id/action_reply_board"
@ -75,8 +75,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/action_reload_thread"
android:icon="@drawable/ic_action_refresh"
android:orderInCategory="5"
app:showAsAction="never"
android:title="@string/action_reload" />
android:title="@string/action_reload"
app:showAsAction="never" />
<item
android:id="@+id/action_search"
@ -86,8 +86,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<item
android:id="@+id/action_search_tablet"
android:orderInCategory="6"
app:showAsAction="never"
android:title="@string/action_search">
android:title="@string/action_search"
app:showAsAction="never">
<menu>
<item
android:id="@+id/action_search_board"
@ -103,26 +103,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/action_share"
android:actionProviderClass="android.widget.ShareActionProvider"
android:orderInCategory="7"
app:showAsAction="never"
android:title="@string/action_share" />
android:title="@string/action_share"
app:showAsAction="never" />
<item
android:id="@+id/action_download_album"
android:orderInCategory="8"
app:showAsAction="never"
android:title="@string/action_download_album" />
android:title="@string/action_download_album"
app:showAsAction="never" />
<item
android:id="@+id/action_open_browser"
android:orderInCategory="9"
app:showAsAction="never"
android:title="@string/action_open_browser" />
android:title="@string/action_open_browser"
app:showAsAction="never" />
<item
android:id="@+id/action_board_view_mode"
android:orderInCategory="10"
app:showAsAction="never"
android:title="@string/action_board_view_mode">
android:title="@string/action_board_view_mode"
app:showAsAction="never">
<menu>
<group android:checkableBehavior="single">
<item
@ -138,7 +138,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
app:showAsAction="never"
android:title="@string/action_settings" />
android:title="@string/action_settings"
app:showAsAction="never" />
</menu>

@ -21,13 +21,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<item
android:id="@+id/action_add_board"
android:icon="@drawable/ic_action_new"
app:showAsAction="always"
android:title="@string/board_add" />
android:title="@string/board_add"
app:showAsAction="always" />
<item
android:id="@+id/action_show_filler"
app:showAsAction="never"
android:checkable="true"
android:title="@string/board_edit_enable_filler" />
android:title="@string/board_edit_enable_filler"
app:showAsAction="never" />
</menu>

@ -22,34 +22,34 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/action_image_play_state"
android:icon="@drawable/ic_action_play"
android:orderInCategory="1"
app:showAsAction="always"
android:title="@string/image_play_state" />
android:title="@string/image_play_state"
app:showAsAction="always" />
<item
android:id="@+id/action_image_save"
android:orderInCategory="2"
app:showAsAction="never"
android:title="@string/image_save" />
android:title="@string/image_save"
app:showAsAction="never" />
<item
android:id="@+id/action_open_browser"
android:orderInCategory="3"
app:showAsAction="never"
android:title="@string/action_open_browser" />
android:title="@string/action_open_browser"
app:showAsAction="never" />
<item
android:id="@+id/action_share"
android:orderInCategory="4"
app:showAsAction="never"
android:title="@string/action_share" />
android:title="@string/action_share"
app:showAsAction="never" />
<item
android:id="@+id/action_image_search"
android:orderInCategory="5"
app:showAsAction="never"
android:title="@string/action_search_image">
android:title="@string/action_search_image"
app:showAsAction="never">
<menu></menu>
</item>
<item
android:id="@+id/action_download_album"
android:orderInCategory="6"
app:showAsAction="never"
android:title="@string/action_download_album" />
android:title="@string/action_download_album"
app:showAsAction="never" />
</menu>

@ -20,6 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<item
android:id="@+id/action_settings_advanced"
android:orderInCategory="1"
app:showAsAction="never"
android:title="@string/action_settings_advanced" />
android:title="@string/action_settings_advanced"
app:showAsAction="never" />
</menu>

@ -17,14 +17,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<!-- placeholder id's for when programmatically xml is needed -->
<item type="id" name="action_0" />
<item type="id" name="action_1" />
<item type="id" name="action_2" />
<item type="id" name="action_3" />
<item type="id" name="action_4" />
<item type="id" name="action_5" />
<item type="id" name="action_6" />
<item type="id" name="action_7" />
<item type="id" name="action_8" />
<item type="id" name="action_9" />
<item name="action_0" type="id" />
<item name="action_1" type="id" />
<item name="action_2" type="id" />
<item name="action_3" type="id" />
<item name="action_4" type="id" />
<item name="action_5" type="id" />
<item name="action_6" type="id" />
<item name="action_7" type="id" />
<item name="action_8" type="id" />
<item name="action_9" type="id" />
</resources>

@ -22,9 +22,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:title="@string/pass_token" />
<EditTextPreference
android:inputType="numberPassword"
android:key="preference_pass_pin"
android:title="@string/pass_pin"
android:inputType="numberPassword" />
android:title="@string/pass_pin" />
<Preference
android:key="preference_pass_login"

Loading…
Cancel
Save