postMultipleTerms(@Body OneMultipleTermsModel body);
47 | }
48 |
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/network/OnApiGetTaskCompleted.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.network;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | public interface OnApiGetTaskCompleted{
10 | void onTaskCompleted(String result);
11 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/network/OnSettingsApiGetTaskCompleted.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.network;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.content.Intent;
10 | import android.util.Log;
11 |
12 | import com.technikh.onedrupal.activities.ActivityDashboard;
13 | import com.technikh.onedrupal.activities.SiteContentTabsActivity;
14 | import com.technikh.onedrupal.app.MyApplication;
15 | import com.technikh.onedrupal.models.ModelNodeType;
16 | import com.technikh.onedrupal.models.SettingsType;
17 |
18 | import org.json.JSONArray;
19 | import org.json.JSONException;
20 | import org.json.JSONObject;
21 |
22 | public class OnSettingsApiGetTaskCompleted implements OnApiGetTaskCompleted{
23 | private String TAG = "OnSettingsApiGetTaskCompleted";
24 | @Override
25 | public void onTaskCompleted(String responseStr) {
26 | // do something with result here!
27 | //Log.d(TAG, "onTaskCompleted: "+responseStr);
28 | Log.d(TAG, "fetchSettingsAPI: responseStr "+responseStr);
29 | if(responseStr == null){
30 | return;
31 | }
32 | try {
33 | JSONObject responseBodyObj = new JSONObject(responseStr);
34 | if (responseBodyObj.has("types")) {
35 | Log.d(TAG, "fetchSettingsAPI: in types");
36 | JSONArray ja = responseBodyObj.getJSONArray("types");
37 | MyApplication.gblNodeTypeSettings.clear();
38 | for (int j = 0; j < ja.length(); j++) {
39 | Log.d(TAG, "fetchSettingsAPI: in for");
40 | JSONObject jo = (JSONObject) ja.get(j);
41 | //SettingsType modelNodeType = new SettingsType(jo);
42 | //MyApplication.gblNodeTypeSettings.add(modelNodeType);
43 | }
44 | Intent intent1 = new Intent(MyApplication.getAppContext(), SiteContentTabsActivity.class);
45 | intent1.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
46 | MyApplication.getAppContext().startActivity(intent1);
47 | }
48 | } catch (JSONException e) {
49 | e.printStackTrace();
50 | } catch (Exception e) {
51 | e.printStackTrace();
52 | }
53 | }
54 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/network/ProvideCacheInterceptor.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.network;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.util.Log;
10 |
11 | import java.io.IOException;
12 | import java.util.concurrent.TimeUnit;
13 |
14 | import okhttp3.CacheControl;
15 | import okhttp3.Interceptor;
16 | import okhttp3.Request;
17 | import okhttp3.Response;
18 |
19 | public class ProvideCacheInterceptor implements Interceptor {
20 | private String TAG = "ProvideCacheInterceptor";
21 |
22 | @Override
23 | public Response intercept(Chain chain) throws IOException {
24 | Request request = chain.request();
25 | Response originalResponse = chain.proceed(request);
26 | String cacheControl = originalResponse.header("Cache-Control");
27 |
28 | if (cacheControl == null || cacheControl.contains("no-store") || cacheControl.contains("no-cache") ||
29 | cacheControl.contains("must-revalidate") || cacheControl.contains("max-stale=0")) {
30 | //Log.d(TAG, "intercept: if chain "+cacheControl);
31 | if(true)
32 | return originalResponse;
33 | CacheControl cc = new CacheControl.Builder()
34 | .maxStale(1, TimeUnit.DAYS)
35 | .build();
36 |
37 |
38 |
39 | request = request.newBuilder()
40 | .cacheControl(cc)
41 | .build();
42 | return originalResponse.newBuilder()
43 | .removeHeader("Pragma")
44 | .header("Cache-Control", "public, max-age=" + 5000)
45 | .build();
46 | //return chain.proceed(request);
47 |
48 | } else {
49 | Log.d(TAG, "intercept: else originalResponse");
50 | return originalResponse;
51 | }
52 | }
53 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/network/ProvideOfflineCacheInterceptor.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.network;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.util.Log;
10 |
11 | import java.io.IOException;
12 | import java.util.concurrent.TimeUnit;
13 |
14 | import okhttp3.CacheControl;
15 | import okhttp3.Interceptor;
16 | import okhttp3.Request;
17 | import okhttp3.Response;
18 |
19 | public class ProvideOfflineCacheInterceptor implements Interceptor {
20 | private String TAG = "ProvideOfflineCacheInterceptor";
21 |
22 | @Override
23 | public Response intercept(Chain chain) throws IOException {
24 | Log.d(TAG, "intercept: provideOfflineCacheInterceptor");
25 | try {
26 | return chain.proceed(chain.request());
27 | } catch (Exception e) {
28 |
29 |
30 | CacheControl cacheControl = new CacheControl.Builder()
31 | .onlyIfCached()
32 | .maxStale(1, TimeUnit.DAYS)
33 | .build();
34 |
35 | Request offlineRequest = chain.request().newBuilder()
36 | .cacheControl(cacheControl)
37 | .build();
38 | return chain.proceed(offlineRequest);
39 | }
40 | }
41 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/network/ReceivedCookiesInterceptor.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.network;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.content.Context;
10 | import android.content.SharedPreferences;
11 | import android.util.Log;
12 |
13 | import com.technikh.onedrupal.app.MyApplication;
14 |
15 | import java.io.IOException;
16 | import java.util.HashSet;
17 |
18 | import okhttp3.Interceptor;
19 | import okhttp3.Request;
20 | import okhttp3.Response;
21 |
22 | /**
23 | * This Interceptor add all received Cookies to the app DefaultPreferences.
24 | * Your implementation on how to save the Cookies on the Preferences MAY VARY.
25 | *
26 | * Created by tsuharesu on 4/1/15.
27 | */
28 | public class ReceivedCookiesInterceptor implements Interceptor {
29 | private Context context;
30 | public static final String APP_PREFERENCES = "mysettings";
31 | private SharedPreferences mSettings;
32 | private String TAG = "ReceivedCookiesInterceptor";
33 | @Override
34 | public Response intercept(Chain chain) throws IOException {
35 | context = MyApplication.getAppContext();
36 | Response originalResponse = chain.proceed(chain.request());
37 | mSettings = context.getSharedPreferences(APP_PREFERENCES, Context.MODE_PRIVATE);
38 |
39 | if (!originalResponse.headers("Set-Cookie").isEmpty()) {
40 | HashSet cookies = (HashSet) mSettings.getStringSet("PREF_COOKIES", new HashSet());
41 |
42 | for (String header : originalResponse.headers("Set-Cookie")) {
43 | cookies.add(header);
44 | }
45 | Log.d(TAG, "intercept: "+cookies.toString());
46 |
47 | SharedPreferences.Editor memes = mSettings.edit();
48 | memes.putStringSet("PREF_COOKIES", cookies).apply();
49 | memes.commit();
50 | }
51 |
52 | return originalResponse;
53 | }
54 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/network/RetrofitOneDrupalInstance.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.network;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import retrofit2.Retrofit;
10 | import retrofit2.converter.gson.GsonConverterFactory;
11 |
12 | public class RetrofitOneDrupalInstance {
13 |
14 | private static Retrofit retrofit = null;
15 | private static final String BASE_URL = "https://pastebin.com/raw/";
16 |
17 | private RetrofitOneDrupalInstance() {}
18 |
19 | public static Retrofit getRetrofitOneDrupalInstance() {
20 | if (retrofit == null) {
21 | retrofit = new Retrofit.Builder()
22 | .baseUrl(BASE_URL)
23 | .addConverterFactory(GsonConverterFactory.create())
24 | .build();
25 | }
26 | return retrofit;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/network/TipkrService.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.network;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | public interface TipkrService {
10 |
11 | /*@POST("users/authentication")
12 | Call otpDetails(@Body ModelRequestAuthOTP modelRequestAuthOTP);
13 |
14 | @Multipart
15 | @POST("rest/session/token")
16 | Call otpDetails(@FieldMap Map stringStringMap);*/
17 |
18 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/provider/GenericFileProvider.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.provider;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import androidx.core.content.FileProvider;
10 |
11 | public class GenericFileProvider extends FileProvider {
12 | }
13 |
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/provider/IServerAuthenticator.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.provider;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | public interface IServerAuthenticator {
10 |
11 | /**
12 | * Tells the server to create the new user and return its auth token.
13 | * @param email
14 | * @param username
15 | * @param password
16 | * @return Access token
17 | */
18 | public String signUp (final String email, final String username, final String password);
19 |
20 | /**
21 | * Logs the user in and returns its auth token.
22 | * @param email
23 | * @param password
24 | * @return Access token
25 | */
26 | public String signIn (final String site_domain, final String email, final String password);
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/util/AccountUtils.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.util;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.accounts.Account;
10 | import android.accounts.AccountManager;
11 | import android.content.Context;
12 |
13 | import com.technikh.onedrupal.provider.IServerAuthenticator;
14 | import com.technikh.onedrupal.provider.MyServerAuthenticator;
15 |
16 | public class AccountUtils {
17 |
18 | public static final String ACCOUNT_TYPE = "com.technikh.onedrupal";
19 | public static final String AUTH_TOKEN_TYPE = "com.technikh.onedrupal.sitetoken";
20 |
21 | public static IServerAuthenticator mServerAuthenticator = new MyServerAuthenticator();
22 |
23 | public static Account getAccount(Context context, String accountName) {
24 | AccountManager accountManager = AccountManager.get(context);
25 | Account[] accounts = accountManager.getAccountsByType(ACCOUNT_TYPE);
26 | for (Account account : accounts) {
27 | if (account.name.equalsIgnoreCase(accountName)) {
28 | return account;
29 | }
30 | }
31 | return null;
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/util/LruBitmapCache.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.util;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.graphics.Bitmap;
10 | import androidx.collection.LruCache;
11 |
12 | import com.android.volley.toolbox.ImageLoader.ImageCache;
13 |
14 | public class LruBitmapCache extends LruCache implements
15 | ImageCache {
16 | public static int getDefaultLruCacheSize() {
17 | final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);
18 | final int cacheSize = maxMemory / 8;
19 |
20 | return cacheSize;
21 | }
22 |
23 | public LruBitmapCache() {
24 | this(getDefaultLruCacheSize());
25 | }
26 |
27 | public LruBitmapCache(int sizeInKiloBytes) {
28 | super(sizeInKiloBytes);
29 | }
30 |
31 | @Override
32 | protected int sizeOf(String key, Bitmap value) {
33 | return value.getRowBytes() * value.getHeight() / 1024;
34 | }
35 |
36 | @Override
37 | public Bitmap getBitmap(String url) {
38 | return get(url);
39 | }
40 |
41 | @Override
42 | public void putBitmap(String url, Bitmap bitmap) {
43 | put(url, bitmap);
44 | }
45 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/util/StringUtils.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.util;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import java.util.ArrayList;
10 | import java.util.Collections;
11 | import java.util.HashMap;
12 | import java.util.Iterator;
13 | import java.util.LinkedHashMap;
14 | import java.util.List;
15 |
16 | public class StringUtils {
17 |
18 | private static String TAG = "ApiUtils";
19 |
20 | public static String implode(String separator, List data) {
21 | StringBuilder sb = new StringBuilder();
22 | for (int i = 0; i < data.size() - 1; i++) {
23 | //data.length - 1 => to not add separator at the end
24 | if (!data.get(i).matches(" *")) {//empty string are ""; " "; " "; and so on
25 | sb.append(data.get(i));
26 | sb.append(separator);
27 | }
28 | }
29 | sb.append(data.get(data.size() - 1).trim());
30 | return sb.toString();
31 | }
32 |
33 | public static LinkedHashMap sortHashMapByValues(
34 | HashMap passedMap) {
35 | List mapKeys = new ArrayList<>(passedMap.keySet());
36 | List mapValues = new ArrayList<>(passedMap.values());
37 | Collections.sort(mapValues);
38 | Collections.sort(mapKeys);
39 |
40 | LinkedHashMap sortedMap =
41 | new LinkedHashMap<>();
42 |
43 | Iterator valueIt = mapValues.iterator();
44 | while (valueIt.hasNext()) {
45 | String val = valueIt.next();
46 | Iterator keyIt = mapKeys.iterator();
47 |
48 | while (keyIt.hasNext()) {
49 | Integer key = keyIt.next();
50 | String comp1 = passedMap.get(key);
51 | String comp2 = val;
52 |
53 | if (comp1.equals(comp2)) {
54 | keyIt.remove();
55 | sortedMap.put(key, val);
56 | break;
57 | }
58 | }
59 | }
60 | return sortedMap;
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/widgets/ProgressDialogAsync.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.widgets;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.app.Dialog;
10 | import android.content.Context;
11 | import android.graphics.Color;
12 | import android.graphics.drawable.ColorDrawable;
13 | import android.view.Window;
14 |
15 | import com.technikh.onedrupal.R;
16 |
17 | public class ProgressDialogAsync extends Dialog {
18 |
19 | public ProgressDialogAsync(Context context) {
20 | super(context);
21 | requestWindowFeature(Window.FEATURE_NO_TITLE);
22 | getWindow().getAttributes().windowAnimations = R.style.dialog_animation_fade;
23 | getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
24 | setContentView(R.layout.fw_general_progress);
25 | setCancelable(false);
26 | }
27 |
28 | public void cancel() {
29 | if (isShowing())
30 | dismiss();
31 | }
32 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/widgets/SFImageViewRectangle.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.widgets;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.content.Context;
10 | import android.util.AttributeSet;
11 | import android.widget.ImageView;
12 |
13 | public class SFImageViewRectangle extends ImageView {
14 |
15 | public SFImageViewRectangle(Context context) {
16 | super(context);
17 | }
18 |
19 | public SFImageViewRectangle(Context context, AttributeSet attrs) {
20 | super(context, attrs);
21 | }
22 |
23 | public SFImageViewRectangle(Context context, AttributeSet attrs, int defStyle) {
24 | super(context, attrs, defStyle);
25 | }
26 |
27 | @Override
28 | public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
29 | super.onMeasure(widthMeasureSpec, heightMeasureSpec); // This is the key that will make the height equivalent to its width
30 | setMeasuredDimension(getMeasuredWidth(), (int) (getMeasuredWidth() / 1.3)); //Snap to width
31 | }
32 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/technikh/onedrupal/widgets/SFImageViewSquare.java:
--------------------------------------------------------------------------------
1 | package com.technikh.onedrupal.widgets;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.content.Context;
10 | import android.util.AttributeSet;
11 | import android.widget.ImageView;
12 |
13 | public class SFImageViewSquare extends ImageView {
14 |
15 | public SFImageViewSquare(Context context) {
16 | super(context);
17 | }
18 |
19 | public SFImageViewSquare(Context context, AttributeSet attrs) {
20 | super(context, attrs);
21 | }
22 |
23 | public SFImageViewSquare(Context context, AttributeSet attrs, int defStyle) {
24 | super(context, attrs, defStyle);
25 | }
26 |
27 | @Override
28 | public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
29 | super.onMeasure(widthMeasureSpec, heightMeasureSpec); // This is the key that will make the height equivalent to its width
30 | setMeasuredDimension(getMeasuredWidth(), getMeasuredWidth()); //Snap to width
31 | }
32 | }
--------------------------------------------------------------------------------
/app/src/main/java/treeutil/MyObject.java:
--------------------------------------------------------------------------------
1 | package treeutil;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | public class MyObject { // The actual object
10 | public int parentId;
11 | public int tid;
12 | public String name;
13 | public String vocabularyId;
14 | public Boolean isSelected = false;
15 |
16 | /*public String getParentId() {
17 | return parentId;
18 | }
19 |
20 | public void setParentId(String parentId) {
21 | this.parentId = parentId;
22 | }*/
23 |
24 | public Boolean isSelected() {
25 | return isSelected;
26 | }
27 |
28 | public void setSelected(Boolean selected) {
29 | this.isSelected = selected;
30 | }
31 |
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/app/src/main/java/treeutil/Node.java:
--------------------------------------------------------------------------------
1 | package treeutil;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import java.util.ArrayList;
10 | import java.util.List;
11 |
12 | public class Node {
13 | public List children = new ArrayList();
14 | public Node parent;
15 | public MyObject associatedObject;
16 | public Node(){
17 |
18 | }
19 | public Node(MyObject associatedObject) {
20 | this.associatedObject = associatedObject;
21 | }
22 |
23 | public List getChildren() {
24 | return children;
25 | }
26 |
27 | public void setChildren(List children) {
28 | this.children = children;
29 | }
30 |
31 | public Node getParent() {
32 | return parent;
33 | }
34 |
35 | public void setParent(Node parent) {
36 | this.parent = parent;
37 | }
38 |
39 | public MyObject getAssociatedObject() {
40 | return associatedObject;
41 | }
42 |
43 | public void setAssociatedObject(MyObject associatedObject) {
44 | this.associatedObject = associatedObject;
45 | }
46 |
47 | }
--------------------------------------------------------------------------------
/app/src/main/java/treeutil/Tree.java:
--------------------------------------------------------------------------------
1 | package treeutil;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import com.annimon.stream.Stream;
10 |
11 | import java.util.ArrayList;
12 | import java.util.Collection;
13 | import java.util.HashMap;
14 | import java.util.Iterator;
15 | import java.util.List;
16 | import java.util.Map;
17 |
18 | public class Tree {
19 |
20 | public Iterator buildTreeAndGetRoots(List actualObjects) {
21 | Map lookup = new HashMap<>();
22 |
23 | for (MyObject object : actualObjects) {
24 | lookup.put(object.tid, new Node(object));
25 | }
26 | //foreach (var item in lookup.Values)
27 | Collection nodes = lookup.values();
28 | for (Node item : nodes) {
29 | Node proposedParent;
30 | if (lookup.containsKey(item.associatedObject.parentId)) {
31 | proposedParent = lookup.get(item.associatedObject.parentId);
32 | item.parent = proposedParent;
33 | proposedParent.children.add(item);
34 | }
35 | }
36 | return (Iterator) Stream.of(lookup.values()).filter(x -> x.parent == null).iterator();
37 | //return lookup.values.Where(x =>x.Parent ==null);
38 | }
39 |
40 | }
41 |
42 |
43 |
--------------------------------------------------------------------------------
/app/src/main/java/treeutil/TreeHolder.java:
--------------------------------------------------------------------------------
1 | package treeutil;
2 |
3 | /*
4 | * Copyright (c) 2019. Nikhil Dubbaka from TechNikh.com under GNU AFFERO GENERAL PUBLIC LICENSE
5 | * Copyright and license notices must be preserved.
6 | * When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
7 | */
8 |
9 | import android.content.Context;
10 | import android.view.LayoutInflater;
11 | import android.view.View;
12 | import android.widget.LinearLayout;
13 | import android.widget.TextView;
14 |
15 | import com.technikh.onedrupal.R;
16 | import com.unnamed.b.atv.model.TreeNode;
17 |
18 | import java.util.logging.Level;
19 |
20 | public class TreeHolder extends TreeNode.BaseNodeViewHolder {
21 | int level;
22 |
23 | public TreeHolder(Context context, int level) {
24 | super(context);
25 | this.level = level;
26 | }
27 |
28 | @Override
29 | public View createNodeView(TreeNode node, MyObject value) {
30 | final LayoutInflater inflater = LayoutInflater.from(context);
31 | final View view = inflater.inflate(R.layout.layout_node, null, false);
32 | View leadingView = view.findViewById(R.id.leadingView);
33 | if (level != 0) {
34 | LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(dpToPx(50*level),dpToPx(25));
35 |
36 | leadingView.setLayoutParams(layoutParams);
37 | }
38 | TextView tvValue = (TextView) view.findViewById(R.id.node_value);
39 | tvValue.setText(value.name + level);
40 | return view;
41 | }
42 |
43 | public int dpToPx(int dp) {
44 | float density = context.getResources()
45 | .getDisplayMetrics()
46 | .density;
47 | return Math.round((float) dp * density);
48 | }
49 | }
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_close_enter.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
21 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_close_exit.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
22 |
31 |
39 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_open_enter.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
22 |
30 |
38 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_open_exit.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
22 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-anydpi/ic_back.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
13 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-anydpi/ic_left.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
13 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-anydpi/ic_right.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
13 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_action_redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_action_redo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_action_undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_action_undo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_back.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_bunch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_bunch.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_bold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_format_bold.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_format_bullet.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_format_clear.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_italic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_format_italic.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_quote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_format_quote.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_strikethrough.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_format_strikethrough.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_underline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_format_underline.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_insert_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_insert_link.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_left.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_right.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_taxonomy_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/ic_taxonomy_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/juggling_transparent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-hdpi/juggling_transparent.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_action_redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_action_redo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_action_undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_action_undo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_back.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_bunch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_bunch.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_bold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_format_bold.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_format_bullet.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_format_clear.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_italic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_format_italic.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_quote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_format_quote.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_strikethrough.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_format_strikethrough.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_underline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_format_underline.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_insert_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_insert_link.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_left.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_right.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_taxonomy_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/ic_taxonomy_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/juggling_transparent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-mdpi/juggling_transparent.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/appwidget_preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-nodpi/appwidget_preview.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/example_appwidget_preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-nodpi/example_appwidget_preview.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/marker2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-nodpi/marker2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
13 |
18 |
19 |
25 |
28 |
31 |
32 |
33 |
34 |
40 |
41 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_action_redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_action_redo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_action_undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_action_undo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_back.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_bunch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_bunch.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_bold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_format_bold.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_format_bullet.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_format_clear.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_italic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_format_italic.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_quote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_format_quote.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_strikethrough.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_format_strikethrough.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_underline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_format_underline.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_insert_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_insert_link.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_left.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_right.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_taxonomy_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/ic_taxonomy_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/juggling_transparent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xhdpi/juggling_transparent.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_action_redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_action_redo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_action_undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_action_undo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_back.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_bunch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_bunch.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_bold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_format_bold.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_format_bullet.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_format_clear.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_italic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_format_italic.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_quote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_format_quote.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_strikethrough.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_format_strikethrough.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_underline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_format_underline.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_insert_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_insert_link.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_left.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_right.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_taxonomy_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/ic_taxonomy_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/juggling_transparent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxhdpi/juggling_transparent.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_action_redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_action_redo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_action_undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_action_undo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_bunch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_bunch.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_bold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_format_bold.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_format_bullet.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_format_clear.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_italic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_format_italic.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_quote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_format_quote.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_strikethrough.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_format_strikethrough.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_underline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_format_underline.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_insert_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_insert_link.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_taxonomy_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/ic_taxonomy_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/juggling_transparent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable-xxxhdpi/juggling_transparent.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg_one_drupal.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg_one_drupal_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg_white_rectangle.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bottomborder.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 | -
10 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | -
19 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/breadcumbtn.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/button_selector_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 | -
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | -
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | -
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/cursor_drawable_white.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_arrow_back.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
12 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_baseline_settings_applications.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
12 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
13 |
18 |
19 |
25 |
28 |
31 |
32 |
33 |
34 |
40 |
41 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_photo.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
12 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_post.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
12 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/profile_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/drawable/profile_pic.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/toolbar_shadow.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
10 |
11 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/font/sf_medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/font/sf_medium.ttf
--------------------------------------------------------------------------------
/app/src/main/res/font/sf_regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/font/sf_regular.ttf
--------------------------------------------------------------------------------
/app/src/main/res/font/sf_thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/font/sf_thin.ttf
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_featured_sites.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
16 |
17 |
24 |
25 |
26 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_shared_data_receiver.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_splash.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
19 |
20 |
26 |
27 |
28 |
29 |
43 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/breadcum_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/content_taxonomy_browser.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/custom_marker_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/dialog_link.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
13 |
14 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/frag_simple_bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_ad_home.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
27 |
28 |
31 |
32 |
37 |
38 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_ad_post_detail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_demo.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
19 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_images_grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_site_content_tabs.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
17 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_taxonomy_browser.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
19 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fw_general_progress.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
17 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fw_toolbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/layout_node.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
18 |
19 |
30 |
38 |
39 |
46 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/list_item_barchart.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
15 |
16 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/navigation_header.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
12 |
13 |
20 |
21 |
29 |
35 |
36 |
42 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/row_autocomplete.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
15 |
16 |
24 |
25 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/row_gallery.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
23 |
24 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/row_pager_image.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
11 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/row_progress.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
16 |
17 |
25 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/row_site.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
16 |
17 |
23 |
24 |
25 |
29 |
30 |
31 |
35 |
36 |
37 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/row_teaser_term_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
16 |
17 |
26 |
27 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/user.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/drawer_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_site_content_tabs.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_taxonomy_browser.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/values-v14/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
14 | 0dp
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
11 | 64dp
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 | #323232
10 | #3F51B5
11 | #303F9F
12 | #FF4081
13 | #FFFFFF
14 | #9EFFFFFF
15 | #000000
16 | #40000000
17 | #212121
18 | #989898
19 | #414141
20 | #00aa8d
21 |
22 | #80B6B6B6
23 | #EEEEEE
24 | #FFFFFF
25 | #575757
26 | #ffcccccc
27 | #b23f33
28 | #a33a2f
29 | #00000000
30 | #1A000000
31 |
32 | #01172F
33 | #9E9E9E
34 | #3c3c3c
35 | #ABABAB
36 | #80ABABAB
37 |
38 | #FF90CAF9
39 | #2196F3
40 | #FF1976D2
41 |
42 | #FFB6C1
43 |
44 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 | 1dp
9 | 2dp
10 | 4dp
11 | 5dp
12 | 6dp
13 | 8dp
14 | 10dp
15 | 15dp
16 | 20dp
17 | 25dp
18 | 30dp
19 | 35dp
20 | 40dp
21 | 45dp
22 | 50dp
23 | 60dp
24 | 70dp
25 | 80dp
26 | 90dp
27 | 100dp
28 | 120dp
29 | 150dp
30 |
31 | 2dp
32 | 8dp
33 | 8dp
34 | 2dp
35 |
36 | 16dp
37 | 16dp
38 | 16dp
39 | 8dp
40 |
41 |
45 | 8dp
46 |
47 |
--------------------------------------------------------------------------------
/app/src/main/res/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 | #FFFFFF
10 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
16 |
17 |
21 |
22 |
26 |
27 |
32 |
33 |
36 |
37 |
40 |
41 |
42 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/authenticator.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/provider_paths.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/slider_input_control_widget_info.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 |
5 | repositories {
6 | google()
7 | jcenter()
8 | maven { url 'https://jitpack.io' }
9 | }
10 | dependencies {
11 | classpath 'com.android.tools.build:gradle:3.3.2'
12 |
13 |
14 | // NOTE: Do not place your application dependencies here; they belong
15 | // in the individual module build.gradle files
16 | classpath 'com.google.gms:google-services:4.2.0'
17 | }
18 | }
19 |
20 | allprojects {
21 | repositories {
22 | google()
23 | jcenter()
24 | maven { url "https://jitpack.io" }
25 | }
26 | }
27 |
28 | task clean(type: Delete) {
29 | delete rootProject.buildDir
30 | }
31 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | android.enableJetifier=true
10 | android.useAndroidX=true
11 | org.gradle.jvmargs=-Xmx1536m
12 | # When configured, Gradle will run in incubating parallel mode.
13 | # This option should only be used with decoupled projects. More details, visit
14 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
15 | # org.gradle.parallel=true
16 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 14:18:24 EDT 2019
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
7 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/screenshots/Screenshot_20190328-203100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/Screenshot_20190328-203100.png
--------------------------------------------------------------------------------
/screenshots/Screenshot_20190328-203323.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/Screenshot_20190328-203323.png
--------------------------------------------------------------------------------
/screenshots/Screenshot_20190328-203507.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/Screenshot_20190328-203507.png
--------------------------------------------------------------------------------
/screenshots/Screenshot_20190328-203529.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/Screenshot_20190328-203529.png
--------------------------------------------------------------------------------
/screenshots/Screenshot_20190328-203635.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/Screenshot_20190328-203635.png
--------------------------------------------------------------------------------
/screenshots/blog_screen1_google_signin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/blog_screen1_google_signin.png
--------------------------------------------------------------------------------
/screenshots/blog_screen2_signout_auto_disappear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/blog_screen2_signout_auto_disappear.png
--------------------------------------------------------------------------------
/screenshots/blog_screen3_dashboard_posts_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/blog_screen3_dashboard_posts_list.png
--------------------------------------------------------------------------------
/screenshots/blog_screen4_form_post_blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/onedrupal/One-Drupal-Android/21bbbdec85cf8e31dde6ac807ed54ab387ee398f/screenshots/blog_screen4_form_post_blog.png
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------